Quantcast
Channel: SCN : All Content - All Communities
Viewing all 2129 articles
Browse latest View live

Deadline Monitoring - Multiple Escalation/Approver in SAP Workflow

$
0
0

Hi Experts,

 

I have a scenario where work item should be sent for approval and if approver take more than 3 days then it should be sent to his immediate supervisor for approval (if not approved within 3 days then sends to the immediate supervisor and so on).

 

In below screenshot, I want that loop should go back to step 1 (Get Approver id).

 

1. Activity - Get user id

2. User Decision - Approve , reject and Modeled

3. Modeled - I have tried to put a loop after Modeled step so it should go to step 1. But it is not happening.

 

Deadline Monitoring.JPG

 

Can anybody provide how to achieve it.

 

I know there are many threads related to deadline monitoring. I unable to find as per my requirement.

 

Thanks,

Ankur


Navigation not enable after extending fiori app using WEBIDE

$
0
0

Hi everyone,

 

I have successfully extended the PO Approval App using WEBIDE.

But now the navigation/when clicking at item list, it does not work.

 

While in the standard PO Approval App, when clicking at item list, it will open the item detail.

 

I saw an error in using  Chrome browser saying that "segment {SAP__Origin} is required."

 

Can any body help me to tell what does it mean?

 

Thanks and Regards,

Tj

Validation for Bank GLs

$
0
0

Dear Experts,

 

I have created a Set (ZGL1) in GS01 and assigned bank GLs (cheque issue) then maintained validation like below but it;s not working. please through some light on this.

 

Prerequisite:  SYST-TCODE = F-48 OR SYST-TCODE = F-53


Check:      BSEG-HKONT IN ZGL1

 

Message number - Error Message ZFI    002

 

But it's still accepting other GLs too...

 

Kindly add your expertise

Download Workload Statistics as CSV via RFC and CCo

$
0
0

Hello community,

 

RFC connections offers a lot of possibilities. Here is an example how to download workload statistics as CSV file. Normally you get this information via the Workload Monitor - TAC ST03. On this way you have the possibility to download this kind of information from different systems automatically For this example I use COM connector (CCo) and VBScript. The information I get from the FM SWNC_GET_WORKLOAD_STATISTIC. I get the top response time of dialog steps and top DB accesses of dialog steps.

 

Enjoy it.

 

Cheers

Stefan

 

 

'-Begin-----------------------------------------------------------------

'-

'- To execute this script your user needs a role with the authorization

'- object S_RFC, the activity execute (16), the type Function group and

'- with the names RFC1, SCSM_GLOB_SYSTEM, SDIFRUNTIME and SYST

'-

'-----------------------------------------------------------------------

 

  '-Directives----------------------------------------------------------

    Option Explicit

 

  '-Constants-----------------------------------------------------------

    Const RFC_OK = 0

    Const Sep = ";"

 

  '-Sub getStat---------------------------------------------------------

    Sub getStat(strConn, SID, PeriodStart)

 

      '-Variables-------------------------------------------------------

        Dim SAP, hRFC, rc, hFuncDesc, hFunc, hTable, RowCount, i, hRow

        Dim charBuffer, Stat, fltBuffer, FSO, oFile

 

      Set SAP = CreateObject("COMNWRFC")

      If IsObject(SAP) Then

        SAP.UsePwdRequest = 0

        rc = SAP.RfcSetIniPath("C:\Dummy")

        hRFC = SAP.RfcOpenConnection(strConn)

        If hRFC Then

 

          hFuncDesc = SAP.RfcGetFunctionDesc(hRFC, _

            "SWNC_GET_WORKLOAD_STATISTIC")

          If hFuncDesc Then

            hFunc = SAP.RfcCreateFunction(hFuncDesc)

            If hFunc Then

 

              rc = SAP.RfcSetChars(hFunc, "SYSTEMID", SID)

              rc = SAP.RfcSetChars(hFunc, "INSTANCE", "TOTAL")

              rc = SAP.RfcSetChars(hFunc, "PERIODTYPE", "M")

              rc = SAP.RfcSetDate(hFunc, "PERIODSTRT", PeriodStart)

 

              If SAP.RfcInvoke(hRFC, hFunc) = RFC_OK Then

 

                '-Top Response Time of Dialog Steps (All data)----------

                If SAP.RfcGetTable(hFunc, "HITLIST_RESPTIME", hTable) = _

                  RFC_OK Then

 

                  rc = SAP.RfcGetRowCount(hTable, RowCount)

                  rc = SAP.RfcMoveToFirstRow(hTable)

 

                  Stat = ""

 

                  For i = 1 To RowCount

                    hRow = SAP.RfcGetCurrentRow(hTable)

 

                    rc = SAP.RfcGetChars(hRow, "ACCOUNT", charBuffer, 12)

                    Stat = Stat & charBuffer & Sep                 'User

                    rc = SAP.RfcGetChars(hRow, "TCODE", charBuffer, 20)

                    Stat = Stat & charBuffer & Sep 'Report / Transaction

                    rc = SAP.RfcGetChars(hRow, "REPORT", charBuffer, 40)

                    Stat = Stat & charBuffer & Sep 'Name of ABAP Program

                    rc = SAP.RfcGetFloat(hRow, "DBCALLS", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & Sep           'Calls

                    rc = SAP.RfcGetFloat(hRow, "RESPTI", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & Sep      'Resp. Time

                    rc = SAP.RfcGetFloat(hRow, "PROCTI", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & Sep      'Proc. Time

                    rc = SAP.RfcGetFloat(hRow, "QUEUETI", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & Sep       'Wait Time

                    rc = SAP.RfcGetFloat(hRow, "CPUTI", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & vbCrLf     'CPU Time

 

                    If i < RowCount Then

                      rc = SAP.RfcMoveToNextRow(hTable)

                    End If

                  Next

 

                  Set FSO = CreateObject("Scripting.FileSystemObject")

                  Set oFile = FSO.CreateTextFile("C:\Dummy\" & SID & _

                    "_" & PeriodStart & "_Hitlist_Resptime.csv", True)

                  oFile.Write "ACCOUNT" & Sep & "TCODE" & Sep & _

                    "REPORT" & Sep & "DBCALLS" & Sep & "RESPTI" & _

                    Sep & "PROCTI" & Sep & "QUEUETI" & Sep & _

                    "CPUTI" & vbCrLf

                  oFile.Write Stat

                  oFile.Close

                  Set FSO = Nothing

 

                End If

 

                '-Top DB Accesses of Dialog Steps (All data)------------

                If SAP.RfcGetTable(hFunc, "HITLIST_DATABASE", hTable) = _

                  RFC_OK Then

 

                  rc = SAP.RfcGetRowCount(hTable, RowCount)

                  rc = SAP.RfcMoveToFirstRow(hTable)

 

                  Stat = ""

 

                  For i = 1 To RowCount

                    hRow = SAP.RfcGetCurrentRow(hTable)

 

                    rc = SAP.RfcGetChars(hRow, "ACCOUNT", charBuffer, 12)

                    Stat = Stat & charBuffer & Sep                 'User

                    rc = SAP.RfcGetChars(hRow, "TCODE", charBuffer, 20)

                    Stat = Stat & charBuffer & Sep 'Report / Transaction

                    rc = SAP.RfcGetChars(hRow, "REPORT", charBuffer, 40)

                    Stat = Stat & charBuffer & Sep 'Name of ABAP Program

                    rc = SAP.RfcGetFloat(hRow, "DBCALLS", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & Sep           'Calls

                    rc = SAP.RfcGetFloat(hRow, "RESPTI", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & Sep      'Resp. Time

                    rc = SAP.RfcGetFloat(hRow, "PROCTI", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & Sep      'Proc. Time

                    rc = SAP.RfcGetFloat(hRow, "QUEUETI", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & Sep       'Wait Time

                    rc = SAP.RfcGetFloat(hRow, "CPUTI", fltBuffer)

                    Stat = Stat & CStr(fltBuffer) & vbCrLf     'CPU Time

 

                    If i < RowCount Then

                      rc = SAP.RfcMoveToNextRow(hTable)

                    End If

                  Next

 

                  Set FSO = CreateObject("Scripting.FileSystemObject")

                  Set oFile = FSO.CreateTextFile("C:\Dummy\" & SID & _

                    "_" & PeriodStart & "_Hitlist_Database.csv", True)

                  oFile.Write "ACCOUNT" & Sep & "TCODE" & Sep & _

                    "REPORT" & Sep & "DBCALLS" & Sep & "RESPTI" & _

                    Sep & "PROCTI" & Sep & "QUEUETI" & Sep & _

                    "CPUTI" & vbCrLf

                  oFile.Write Stat

                  oFile.Close

                  Set FSO = Nothing

 

                End If

              End If

              rc = SAP.RfcDestroyFunction(hFunc)

            End If

          End If

 

          rc = SAP.RfcCloseConnection(hRFC)

        End If

        Set SAP = Nothing

      End If

 

    End Sub

 

  '-Sub Main------------------------------------------------------------

    Sub Main()

 

      '-Variables-------------------------------------------------------

        Dim PeriodStart

 

      PeriodStart = "20151201"

 

      getStat "DEST=NSP", "NSP", PeriodStart

      getStat "DEST=NPL", "NPL", PeriodStart

 

      MsgBox "Ready"

 

    End Sub

 

 

  '-Main----------------------------------------------------------------

    Main()

 

'-End-------------------------------------------------------------------

 

How to get different section on different reports?

$
0
0

Hi;

 

Wish you all a very happy new year.

 

I don't know what I am doing is write or wrong. Kindly help me with a solution. What I am doing is as below

 

I want to print two documents 1. Invoice 2. Delivery Information

 

Steps I followed for this?

 

First - I created Page header A to F

Page header A, C & E contains that I want on the Invoice and B, D & F contains that I want on Delivery Information

Details Section A contains for the invoice report and B contains for the Delivery Information

 

I created a parameter field and if I select any one parameter then I am able to hide the other sections but If I select both so that I could print both the documents together then I am not able to print it successfully. Please do suggest me a method so that the user could print both the docs by selecting both the parameters.

Thanks in advance for an early reply

Parameter.jpg

query to modify for back dates

$
0
0

hi,  

 

 

i have a query but this qyuer gives me only the current day stock , i want to check the backdated stocks .

 

Can some one modify this to check for the backdated stock reports .

 

SELECT T5.FirmName as "Firm_Name", T4.[ItmsGrpNam] as "Group_Name",T0.ItemCode as [ItemCode] ,t0.indate,   T0.ItemName as "Item_Name", T0.[U_EA_Packgroup] as "Pack_Group", T3.[BLength1] as "Length", T3.[BWidth1] as "Width", T3.[BHeight1] as "Height", T6.[AvgPrice] as 'North item cost',0 as'south Item Cost',

Count(T0.DistNumber) as "Avl_In_Nh_Qty", SUM(T1.Quantity) as "Avl_In_Nh_Sqm",0 as "Avl_In_Sh_Qty", 0 as "Avl_In_Sh_Sqm" ,SUM(T1.Quantity) * T6.AvgPrice as 'North Total Cost' ,0 as 'South Total Cost'

       FROM OBTN AS T0   LEFT OUTER JOIN dbo.OBTQ AS T1 ON T0.ItemCode = T1.ItemCode AND T0.SysNumber = T1.SysNumber  

INNER JOIN dbo.OBTW AS T2 ON T0.ItemCode = T2.ItemCode AND T0.SysNumber = T2.SysNumber AND T1.WhsCode = T2.WhsCode

INNER JOIN OITM T3 ON T1.[ItemCode] = T3.[ItemCode] INNER JOIN OITB T4 ON T3.[ItmsGrpCod] = T4.[ItmsGrpCod]INNER JOIN OMRC T5 ON T3.[FirmCode] = T5.[FirmCode]

INNER JOIN OITW T6 ON T3.[ItemCode] = T6.[ItemCode] AND T0.ItemCode=T6.ItemCode AND T1.ItemCode=T6.ItemCode and T2.ItemCode=T6.ItemCode and T1.[WhsCode]=T6.[WhsCode]

where T3.[ManBtchNum] = 'Y' and T1.Quantity <>0 and T2.WhsCode <> 'Port' and T2.WhsCode <> 'HIGH SEA' and T2.WhsCode <> 'South'

group by T5.FirmName, T4.[ItmsGrpNam],T0.ItemCode , t0.indate,T0.ItemName,  T0.[U_EA_Packgroup], T3.[BLength1], T3.[BWidth1], T3.[BHeight1],T6.[AvgPrice] Having Count(T0.DistNumber) >=1 and  SUM(T1.Quantity) >1

SAP Design Studio Landing Page design

$
0
0

Hello Guru's,

I have a requirement where the Director wants a Initial Screen (Home page) where he can view the status of all budgets at a glance to see if there are any subgroups with issues, indicated by a Stop light.

This is in Design Studio 1.5 and the Data is coming from Hana Views and Universes.

When you cliclk on the indicator (Stop light) you will be taken to the Cross-tab of this group for further analysis.

 

So in the nut shell I need recommendations on the:

1. Home page construction there will be 24 groups to track

2. (Alerts without Bex Query conditions) and then

3. Script to jump from Stop light to cross-tab.

 

I initially started with Blank canvas, Pulled in a Panel, then placed a Grid with 5 columns and 8 rows top Row for Title

then in each grid i pulled in the Tabstrip, thinking I could have the stop light on tab 1 and then onto the crosstab on tab 2.  ...your thoughts?  Is this sound construction, or can you suggest a better method.

 

Attached is an example of the Home page as a POC.

BO Reports to PPT which tool can be used?

$
0
0

Hi Team,

 

We are in BO 4.1 SP2  and we want to have a option to export the report to PPT, i have checked the forum but not able to find proper results,, i have checked WEBI, Explorer, Crystal reports, Design studio, SAP Lumira, Xcelsius, OLAP, without any success.

 

We want an option at browser were the users can download the report to ppt . Pls share your thoughts regarding the same.

 

Regards,

Bala


SAP BO 4.0 Compatible with Tomcat 7

$
0
0

Hi ,

 

Could anyone help to provide details on below

 

Does latest tomcat 7.0 supports BusinessObjects 4.0 SP9

 

We are currently using tomcat 6.0 and our network team claiming below are the concerns with tomcat 6.0 and recommendations:

 

Vulnerability

 

 

Apache Tomcat: Important: Session fixation (CVE-2013-2067) (High)

Missing Secure Flag From SSL Cookie

Click Jacking

TLS/SSL Server Supports SSL version 3

 

 

Recommendations:

Upgrade to latest Apache Tomcat version

Add the Secure flag to cookies sent over SSL. For each cookie sent over SSL in your web-site, add the "Secure" flag to the cookie.

Use HTTP X-Frame-Options. Send the HTTP response headers with X-Frame-Options that instruct the browser to restrict framing where it is not allowed.

Disable SSLv3 protocol support. Configure the server to require clients to use TLS.

Moving reports and users from SAP BI 4.1 SP3 to SAP BI 4.1 SP6

$
0
0

Hi

 

I need to move reports(50 webi) and users(100 users, where some are Windows AD user) from BI 4.1 SP3 to the fresh installed BI 4.1 SP6 system.


Is this will be the best way to move reports and user -> upgrade management tool in 4.1 SP3 - Live to BIAR and by using promotion management in 4.1 SP6 to import the BIAR file?


I have gone through some documents but I haven't get a proper steps.

Can anyone guide me step by step process to move the users.

 

Thanks in advance.

 

Regards

Raja S

Under SMQ1 SYSFAIL- error at Table level (note 513550)

$
0
0

Hi ,

 

   In my project we are trying to replicate the Material from SAP ECC to SAP CRM via Middleware. We are getting the error message "Error at Table level (refer note 513550) in SMQL.

 

   We have referred the notes we need to understand why this issue is happening. In my previous project i have not faced this kind of issue during replication.

 

Kindly share your experience and solution.

 

With regards,

Selvam T

Asset Revaluation: depreciation getting posted double

$
0
0

Dear All,

 

I am trying to post revaluation entry but system post depreciation to both depreciation area 01-Book Dep Area, 20- Revaluation Dep Area.

 

 

Revaluation of asset on 1st April, 2011  by  ₹ 1,000

 

(Dep Area 20)                                                                                                                     1

    Entry for Revaluation
Asset   A/c   (at Gross Block) Dr.         1000
       To  Revaluation Reserve  A/c                                 Cr.                    1000
  
(Dep Area 20 & 01)                                                                                                             2   Entry for Depreciation
Depreciation  A/c Dr.         500
Revaluation Reserve A/c Dr.        250
       To  Accumulated Depreciation   A/c                     Cr.                    750

 

 

Second entry may be split as well (both way it will do)

(dep area 01)

Depreciation A/c Dr. 500

    to Accumulated Depreciation     500  

 

(dep area 20)

Revaluation Reserve A/c Dr. 250

   to Accumulated Depreciation     250

 

 

But system posting as much depreciation in 20 (750) as in dep area 01-Bokk Depreciation). I want to post depreciation revalued value only in dep area 20.

 

Please help in reaching this solution.

 

Best Regards

Ruksana Khan

Information About RFC Context

$
0
0

Hello community,

 

SAP offers an RFC enabled FM to get information about the RFC context, it is RFC_GET_ATTRIBUTES. It delivers interesting information which can be used to analyze error situations. To call this function module I use CCo. Below two examples, the first in PowerShell the second in VBScript, how to use this FM.

 

Enjoy it.

 

Cheers

Stefan

 

 

PowerShell Example

 

#-Begin-----------------------------------------------------------------

 

  #-Variables-----------------------------------------------------------

    $RFC_OK = 0

    $VarByRef = -1

 

  #-Includes------------------------------------------------------------

    ."C:\Dummy\COM.ps1"

 

  #-Function Get-RFCAttributes------------------------------------------

    Function Get-RFCAttributes {

      param([String] $FMName)

 

      $SAP = $null

      $SAP = Create-Object "COMNWRFC"

      if ($SAP -eq $null) {

        Break

      }

 

      $Argument = @("ASHOST=ABAP, SYSNR=00, CLIENT=001, USER=BCUSER")

      $hRFC = Invoke-Method $SAP "RfcOpenConnection" $Argument

      if ($hRFC -eq 0) {

        Free-Object $SAP

        Remove-Variable SAP

        Break

      }

 

      $Argument = @($hRFC, "RFC_GET_ATTRIBUTES")

      $hFuncDesc = Invoke-Method $SAP "RfcGetFunctionDesc" $Argument

      if ($hFuncDesc -eq 0) {

        Invoke-Method $SAP "RfcCloseConnection" $hRFC > $Null

        Free-Object $SAP

        Remove-Variable SAP

        Break

      }

 

      $hFunc = Invoke-Method $SAP "RfcCreateFunction" $hFuncDesc

      if ($hFunc -eq 0) {

        Invoke-Method $SAP "RfcCloseConnection" $hRFC > $Null

        Free-Object $SAP

        Remove-Variable SAP

        Break

      }

 

      $rc = Invoke-Method $SAP "RfcInvoke" @($hRFC, $hFunc)

      if ($rc -eq $RFC_OK) {

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_DESTINATION",

          $VarByRef, 32) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_IP",

          $VarByRef, 32) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_RFC_TYPE",

          $VarByRef, 1) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_START_INFO",

          $VarByRef, 32) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_PROGRAM",

          $VarByRef, 20) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_SYSTEM_RELEASE",

          $VarByRef, 4) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_KERNEL_RELEASE",

          $VarByRef, 4) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_ASYNC_TYPE",

          $VarByRef, 1) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_TRANS_TYPE",

          $VarByRef, 1) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_PCS",

          $VarByRef, 1) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_CODEPAGE",

          $VarByRef, 4) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

        Invoke-Method $SAP "RfcGetChars" @($hFunc, "CALLER_MDMP",

          $VarByRef, 1) > $Null

        $charBuffer = Get-Property $SAP "strByRef"

        Write-Host $charBuffer

      }

      Invoke-Method $SAP "RfcDestroyFunction" $hFunc > $Null

 

      Invoke-Method $SAP "RfcCloseConnection" $hRFC > $Null

      Free-Object $SAP

      Remove-Variable SAP

    }

 

  #-Sub Main------------------------------------------------------------

    Function Main {

      Get-RFCAttributes

    }

 

  #-Main----------------------------------------------------------------

    Main

 

#-End-------------------------------------------------------------------

 

 

VBScript Example

 

'-Begin-----------------------------------------------------------------

 

  '-Directives----------------------------------------------------------

    Option Explicit

 

  '-Constants-----------------------------------------------------------

    Const RFC_OK = 0

 

  '-Function RfcGetAttributes-------------------------------------------

    Function RfcGetAttributes()

 

      '-Variables-------------------------------------------------------

        Dim SAP, hRFC, rc, hFuncDesc, hFunc, hTable, RowCount, i, Row

        Dim charBuffer, strText

 

      Set SAP = CreateObject("COMNWRFC")

      If Not IsObject(SAP) Then

        Exit Function

      End If

 

      hRFC = SAP.RfcOpenConnection("ASHOST=ABAP, SYSNR=00, " & _

        "CLIENT=001, USER=BCUSER")

      If hRFC = 0 Then

        Set SAP = Nothing

        Exit Function

      End If

 

      hFuncDesc = SAP.RfcGetFunctionDesc(hRFC, "RFC_GET_ATTRIBUTES")

      If hFuncDesc = 0 Then

        rc = SAP.RfcCloseConnection(hRFC)

        Set SAP = Nothing

        Exit Function

      End If

 

      hFunc = SAP.RfcCreateFunction(hFuncDesc)

      If hFunc = 0 Then

        rc = SAP.RfcCloseConnection(hRFC)

        Set SAP = Nothing

        Exit Function

      End If

 

      If SAP.RfcInvoke(hRFC, hFunc) = RFC_OK Then

        rc = SAP.RfcGetChars(hFunc, "CALLER_DESTINATION", charBuffer, 32)

        strText = Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_IP", charBuffer, 32)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_RFC_TYPE", charBuffer, 1)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_START_INFO", charBuffer, 32)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_PROGRAM", charBuffer, 20)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_SYSTEM_RELEASE", charBuffer, 4)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_KERNEL_RELEASE", charBuffer, 4)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_ASYNC_TYPE", charBuffer, 1)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_TRANS_TYPE", charBuffer, 1)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_PCS", charBuffer, 1)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_CODEPAGE", charBuffer, 4)

        strText = strText & Trim(charBuffer) & vbCrLf

        rc = SAP.RfcGetChars(hFunc, "CALLER_MDMP", charBuffer, 1)

        strText = strText & Trim(charBuffer) & vbCrLf

      End If

 

      rc = SAP.RfcDestroyFunction(hFunc)

      rc = SAP.RfcCloseConnection(hRFC)

      Set SAP = Nothing

 

      RfcGetAttributes = strText

    End Function

 

  '-Sub Main------------------------------------------------------------

    Sub Main()

      MsgBox RfcGetAttributes()

    End Sub

 

  '-Main----------------------------------------------------------------

    Main

 

'-End-------------------------------------------------------------------

MAKE THE FUNCTIONAL AREA AS MANDATORY IN COST CENTRE CREATING

$
0
0

Hi ALL

 

SUGUST ME FOR THIS :MAKE THE FUNCTIONAL AREA AS MANDATORY IN COST CENTRE CREATING (T.code KS01)

 

thanks

vijay

Excel output error

$
0
0

Hi,

 

I am getting this error when exporting the Webi document to excel, any help appreciated.

 

<error>
    <error_code>RWS 00008</error_code>
    <message>No logon token provided in the X-SAP-LogonToken HTTP header or query parameter. (RWS 00008)</message>
</error>

 

Thanks,
Arun


Maintain calculation Schema

$
0
0

Dears,

 

I am new to SAP mm , I am Practicing in SAP mm IDES demo version, while on maintaining the calculation schema i unfortunately deleted all SAP default calculation schema!

 

can any one help me out of this, how would i get back the SAP default calculation schema to my system ?

 

Also i defined RM0000 on my own with PB00 condition type but it is not working properly

 

 

 

 

Thanks in advance

Inventory- differences posting

$
0
0

Hello,

 

I am trying to make an inventory but I bump into a little problem. Can we set inventory today or this current year 2016- and post settlement differences only 2015?

 

Thank you

How to nest a not secuencial flat file using FCC

$
0
0

Hi gurus, I have to convert a flat file in not a secuencial order into a deep nest xml file

 

the input file after FCC is as follow

 

<Recordset>

     <Header>

          <Value1>H1</Value1>

          <Value2>H2</Value2>

     </Header>

     <HeaderPed>         

          <Value1>1</Value1>

          <Value2>2</Value2>

     </HeaderPed>

     <DetailsPed>         

          <Value1>D1</Value1>

          <Value2>D2</Value2>

     </DetailsPed>    

     <HeaderPed>         

          <Value1>3</Value1>

          <Value2>4</Value2>

     </HeaderPed>

     <DetailsPed>         

          <Value1>D3</Value1>

          <Value2>D4</Value2>

     </DetailsPed>

     <DetailsPed>         

          <Value1>D5</Value1>

          <Value2>D6</Value2>

     </DetailsPed>    

     <DetailsPed>         

          <Value1>D7</Value1>

          <Value2>D8</Value2>

     </DetailsPed>

     <Footer>         

          <Value1>1</Value1>

          <Value2>2</Value2>

     </Footer>

</Recordset>


The output file most be generate as follow:


<Recordset>

     <Header>

          <Value1>H1</Value1>

          <Value2>H2</Value2>

     </Header>

     <HeaderPed>         

          <Value1>1</Value1>

          <Value2>2</Value2>         

          <DetailsPed>         

               <Value1>D1</Value1>

               <Value2>D2</Value2>

          </DetailsPed>

     </HeaderPed>         

     <HeaderPed>         

          <Value1>3</Value1>

          <Value2>4</Value2>         

          <DetailsPed>         

               <Value1>D3</Value1>

               <Value2>D4</Value2>

          </DetailsPed>

          <DetailsPed>         

               <Value1>D5</Value1>

               <Value2>D6</Value2>

          </DetailsPed>    

          <DetailsPed>         

               <Value1>D7</Value1>

               <Value2>D8</Value2>

          </DetailsPed>

     </HeaderPed>    

     <Footer>         

          <Value1>1</Value1>

          <Value2>2</Value2>

     </Footer>

</Recordset>


That's it, each <DetailsPed> Node in its corresponding <HeaderPed> Node.


Thanks

Copy of a model

$
0
0

Hi,

 

We have a need to copy a model along with its transaction data from one system to another system. Will it be possible. If yes, please let me know the details.

 

For Eg., We have a XYZ model in ABC system in environment PQR, now we wants to copy the model along with its transaction data to DEF system.

 

Thanks,

Sekhar

Persistent HTTP Requests in BSP: Can you Flush the Response without Ending It?

$
0
0

Hello all,

 

I have been looking for a way to implement a persistent HTTP Request in a BSP.  This means the server keeps the request open as long as possible and sends data periodically to the browser without closing the request.  In other development environments, there would be a way to flush the response to the client, separate from closing the connection, thus making this possible.  I have looked and do not see any way to do this.

 

Also, if it is not possible with a BSP, is there another way to do this via the Web Application Server?

 

Thanks for any help,

-Chris

Viewing all 2129 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>