ST03N ABAP dump while accessing BI Workload

Hello,
I'm getting ABAP dump "Exception condition "X_MESSAGE" raised." while I. trying to access BI Workload part of transaction ST03 or ST03N."
I tried to debug ti and it seems that Function Module (RSDRI_INFOPROV_READ) which is reading multi provider 0TCT_MC01 is returning error 8 = INHERITED_ERROR, Error in Called Routine. There is a LOOP in this code for fetching data out of underlying cube and it seems; that system is not able to determine end of data. Even in last iteration of LOOP variable L_END_OF_DATA is not set to X.
Might be that my virtual cube 0TCT_VC01 of which Mprov is comprised is not consisted? I already went through note 934848 - Collective note: (FAQ) BI Administration Cockpit - step no 5: "Activate direct access for virtual providers.
Please assign source system for all the virtual providers (0TCT_VC*)." Cube 0TCT_VC01 has source system assigned.
PS: I'm on BW 7.0 SP17, SAP_BASIS and ABAP SP15.
-update 29/08/2010-
I tried to retransport cube 0TCT_VC01 but dump still persist. There is a strange error in TA RSRV while I try to test its "Consistency of the Time Dimension for an InfoCube". Error is: Unknown, fatal error when creating instance in test "CL_RSRV_CHK_TIM_DIM" Message no. RSRV313
Can it be that it has something to do with dump in ST03?
Thanks.
m./
Edited by: Martin Maruskin on Aug 19, 2010 9:34 PM

- Check RSA1 Data Warehouse Workbench -> Modeling -> InfoProvider;
- Search for InfoCube 0TCT_VC01; in the context, check "Activate
  Direct Access"; Then, click on the "Source Syst.for InfoSource 3.x"
  tab, you have to activate the direct access by marking the source
  system (system name) and save.
Please also refer to SAP Note 934848(action 5).
As you may know, ST03N BI workload retrieves data of frontend and OLAP
statistics largely from MultiProvider 0TCT_MC01, which consists of two
InfoProviders 0TCT_C01 and 0TCT_VC01. Correct activation of BI technical
contents is a prerequisite for ST03N BI workload to behave properly.

Similar Messages

  • ABAP Dumps while loading data form one DSO to another DSO

    Hi All,
    We are getting following ABAP dump while loading data from one DSO to another DSO.
    Please find below ABAP Dump we are getting.
    Please let us know how we can resolve this issue.
    Category          ABAP Programming Error
    Runtime Errors          MESSAGE_TYPE_X
    ABAP Program          CL_RSBK_CMD_DP_LOOP===========CP
    Application Component          BW-WHM-DST
    Date and Time          30.05.2014    07:10:03
    Short text
      The current application triggered a termination with a short dump.
    What happened?
      The current application program detected a situation which really
      should not occur. Therefore, a termination with a short dump was
      triggered on purpose by the key word MESSAGE (type X).
    What can you do?
      Note down which actions and inputs caused the error.
      To process the problem further, contact you SAP system
      administrator.
      Using Transaction ST22 for ABAP Dump Analysis, you can look
      at and manage termination messages, and you can also
      keep them for a long time.
    Error analysis
      Short text of error message:
      Invalid program status
      Long text of error message:
      Technical information about the message:
      Message class....... "RSBK"
      Number.............. 299
      Variable 1.......... " "
      Variable 2.......... " "
      Variable 3.......... " "
      Variable 4.......... " "
    How to correct the error
      Probably the only way to eliminate the error is to correct the program.
      If the error occures in a non-modified SAP program, you may be able to
      find an interim solution in an SAP Note.
      If you have access to SAP Notes, carry out a search with the following
      keywords:
      "MESSAGE_TYPE_X" " "
      "CL_RSBK_CMD_DP_LOOP===========CP" or "CL_RSBK_CMD_DP_LOOP===========CM00Q"
      "GET_LOG"
      If you cannot solve the problem yourself and want to send an error
      notification to SAP, include the following information:
      1. The description of the current problem (short dump)
         To save the description, choose "System->List->Save->Local File
      (Unconverted)".
      2. Corresponding system log
         Display the system log by calling transaction SM21.
         Restrict the time interval to 10 minutes before and five minutes
      after the short dump. Then choose "System->List->Save->Local File
      (Unconverted)".
      3. If the problem occurs in a problem of your own or a modified SAP
      program: The source code of the program
         In the editor, choose "Utilities->More
      Utilities->Upload/Download->Download".
      4. Details about the conditions under which the error occurred or which
      actions and input led to the error.
    System environment
      SAP Release..... 731
      SAP Basis Level. 0004
      Application server... "cab-bi-prod1"
      Network address...... "10.10.72.43"
      Operating system..... "Windows NT"
      Release.............. "6.1"
      Hardware type........ "4x AMD64 Level"
      Character length.... 16 Bits
      Pointer length....... 64 Bits
      Work process number.. 12
      Shortdump setting.... "full"
      Database server... "nguksvamds039"
      Database type..... "ORACLE"
      Database name..... "PWB"
      Database user ID.. "SAPSR3"
      Terminal.......... " "
      Char.set.... "C"
      SAP kernel....... 720
      created (date)... "Dec 20 2011 02:14:54"
      create on........ "NT 6.0 6002 S x86 MS VC++ 16.00"
      Database version. "OCI_11201_SHARE, 11.2.0.3.0 "
      Patch level. 117
      Patch text.. " "
      Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"
      SAP database version. 720
      Operating system..... "Windows NT 5.1, Windows NT 5.2, Windows NT 6.0, Windows
       NT 6.1"
      Memory consumption
      Roll.... 0
      EM...... 12569376
      Heap.... 0
      Page.... 24576
      MM Used. 3422928
      MM Free. 764192
    User and Transaction
      Client.............. 100
      User................ "THARDEEP"
      Language key........ "E"
      Transaction......... " "
      Transaction ID...... "03C1E7E3F560F14CA2AD00505698028E"
      EPP Whole Context ID.... "53873353A7E31150E10080000A0A2142"
      EPP Connection ID....... 00000000000000000000000000000000
      EPP Caller Counter...... 0
      Program............. "CL_RSBK_CMD_DP_LOOP===========CP"
      Screen.............. "SAPMSSY0 1000"
      Screen Line......... 6
      Debugger Active..... "none"
    Information on where terminated
      Termination occurred in the ABAP program "CL_RSBK_CMD_DP_LOOP===========CP" -
       in "GET_LOG".
      The main program was "RSBATCH_EXECUTE_PROZESS ".
      In the source code you have the termination point in line 7
      of the (Include) program "CL_RSBK_CMD_DP_LOOP===========CM00Q".
      The program "CL_RSBK_CMD_DP_LOOP===========CP" was started as a background job.
      Job Name....... "BIDTPR_10616_1"
      Job Initiator.. "THARDEEP"
      Job Number..... 07100200
    Source Code Extract
    Line  SourceCde
         1  METHOD get_log.
         2    DATA: l_r_request TYPE REF TO cl_rsbk_request.
         3    IF p_r_log IS INITIAL.
         4      TRY.
         5          l_r_request = cl_rsbk_request=>create_from_db( if_rsbk_cmd~n_requid ).
         6        CATCH cx_rs_not_found.
    >>>>>          MESSAGE x299(rsbk).
         8      ENDTRY.
         9      IF l_r_request->get_uses_new_log( ) = rs_c_false.
        10        p_r_log = cl_rsbm_log_cursor_process=>create_for_process( i_r_process ).
        11      ELSE.
        12
        13        TRY.
        14            DATA l_runid TYPE rsbrun.
        15            l_runid = l_r_request->get_runid( ).
        16            IF l_runid = 0.
        17              l_runid = 1.
        18            ENDIF.
        19            p_r_log = cl_rsbm_log_cursor_process_dtp=>create_new(
        20                i_requid               = if_rsbk_cmd~n_requid
        21                i_runid                = l_runid    ).
        22            IF n_datapakid IS NOT INITIAL.
        23              p_r_log->goto_datapackage( n_datapakid ).
        24            ENDIF.
        25          CATCH cx_rs_not_found .
        26            MESSAGE x299.
    Contents of system fields
    Name    Val.
    SY-SUBRC    0
    SY-INDEX    1
    SY-TABIX    0
    SY-DBCNT    1
    SY-FDPOS    25
    SY-LSIND    0
    SY-PAGNO    0
    SY-LINNO    1
    SY-COLNO    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE    Execute Batch Process
    SY-MSGTY    X
    SY-MSGID    RSBK
    SY-MSGNO    299
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO    0
    SY-DATUM    20140530
    SY-UZEIT    071002
    SY-XPROG    SAPCNVE
    SY-XFORM    CONVERSION_EXIT
    Active Calls/Events
    No.  Ty.      Program            Include       Line
       Name
         7  METHOD      CL_RSBK_CMD_DP_LOOP===========CP            CL_RSBK_CMD_DP_LOOP===========CM00Q           7
       CL_RSBK_CMD_DP_LOOP=>GET_LOG
         6  METHOD      CL_RSBK_CMD_DP_LOOP===========CP            CL_RSBK_CMD_DP_LOOP===========CM00J          38
       CL_RSBK_CMD_DP_LOOP=>SET_DP_IN_PROCESS
         5  METHOD      CL_RSBK_CMD_DP_LOOP===========CP            CL_RSBK_CMD_DP_LOOP===========CM00B           9
       CL_RSBK_CMD_DP_LOOP=>IF_RSBK_CMD~SET_PROCESS_PARAMETERS
         4  METHOD      CL_RSBK_PROCESS===============CP            CL_RSBK_PROCESS===============CM00E          15
       CL_RSBK_PROCESS=>SET_MEMENTO
         3  METHOD      CL_RSBK_PROCESS===============CP            CL_RSBK_PROCESS===============CM003          30
       CL_RSBK_PROCESS=>IF_RSBATCH_EXECUTE~GET_OBJECT_REF
         2  FUNCTION      SAPLRSBATCH            LRSBATCHU13         428
       RSBATCH_EXECUTE_PROCESS
         1  EVENT      RSBATCH_EXECUTE_PROZESS            RSBATCH_EXECUTE_PROZESS         374
       START-OF-SELECTION
    Chosen variables
    Name
      Val.
    No.      7    Ty.     METHOD
    Name  CL_RSBK_CMD_DP_LOOP=>GET_LOG
    I_R_PROCESS
      {O:1*\CLASS=CL_RSBK_PROCESS}
      F0000000
      E0001000
      FE00000001000000
    SCREEN
      %_17NNS0005639652_%_%_%_%_%_%_
      2533445333333333352525252525252222222222222222222222222222222222222222222222222222222222222222
      5F17EE30005639652F5F5F5F5F5F5F0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      25005F00310037004E004E00530030003000300035003600330039003600350032005F0025005F0025005F0025005F
    SPACE
      2
      0
      0
      0
      2000
    SY-REPID
      CL_RSBK_CMD_DP_LOOP===========CP
      4455544544454554445333333333334522222222
      3CF232BF3D4F40FCFF0DDDDDDDDDDD3000000000
      0000000000000000000000000000000000000000
      0000000000000000000000000000000000000000
      43004C005F005200530042004B005F0043004D0044005F00440050005F004C004F004F0050003D003D003D003D003D
    ME->IF_RSBK_CMD~N_REQUID
      0
      0000
      0000
      00000000
    L_R_REQUEST
      {O:initial}
      F0000000
      F0000000
      FF00000000000000
    %_DUMMY$$
      2222
      0000
      0000
      0000
      2000200020002000
    SY-XPROG
      SAPCNVE
      5454454222222222222222222222222222222222
      3103E65000000000000000000000000000000000
      0000000000000000000000000000000000000000
      0000000000000000000000000000000000000000
      53004100500043004E0056004500200020002000200020002000200020002000200020002000200020002000200020
    RSJOBINFO
                                      00000000000000                                  ##
      2222222222222222222222222222222233333333333333222222222222222222222222222222222200
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    %_ARCHIVE
      2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    SY-MSGID
      RSBK
      55442222222222222222
      232B0000000000000000
      00000000000000000000
      00000000000000000000
      5200530042004B002000200020002000200020002000200020002000200020002000200020002000
    SY-MSGNO
      299
      333
      299
      000
      000
      320039003900
    SY-MSGV1
      22222222222222222222222222222222222222222222222222
      00000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    SY-MSGV2
      22222222222222222222222222222222222222222222222222
      00000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    SY-MSGV3
      22222222222222222222222222222222222222222222222222
      00000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    SY-MSGV4
      22222222222222222222222222222222222222222222222222
      00000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    %_##TVREG_001
      2
      0
      0
      0
      2000
    RS_C_FALSE
      2
      0
      0
      0
      2000
    No.      6    Ty.     METHOD
    Name  CL_RSBK_CMD_DP_LOOP=>SET_DP_IN_PROCESS
    I_R_PROCESS
      {O:1*\CLASS=CL_RSBK_PROCESS}
      F0000000
      E0001000
      FE00000001000000
    I_DATAPAKID
      000236
      333333
      000236
      000000
      000000
      300030003000320033003600
    L_TH_RANGE_X
      Table[initial]
    L_S_RANGE_X
      2222222222222222222222222222220022222222222222222222222222222222222222222222222222222222222222
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    L_TH_RANGE
      Table[initial]
    L_S_RANGE
      2222222222222222222222222222220022222222222222222222222222222222222222222222222222222222222222
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    RSBC_C_DPSTATE-ACTIVE
      5
      3
      5
      0
      0
      3500
    L_R_ROOT
      {O:1091*\CLASS=CX_RS_FAILED}
      B0004000
      C0003400
      BC00000043040000
    ME
      {O:72*\CLASS=CL_RSBK_CMD_DP_LOOP}
      B0004000
      70008000
      B700000048000000
    ME->P_R_LOG
      {O:initial}
      F0000000
      F0000000
      FF00000000000000
    No.      5    Ty.     METHOD
    Name  CL_RSBK_CMD_DP_LOOP=>IF_RSBK_CMD~SET_PROCESS_PARAMETERS
    I_MEMENTO
      ÿ#######4103##############D#####################D#A#T#A#P#A#K#I#D#¼####0#0#0#2#3#6#½#
      F00000803333000000000000004000000000000000000000404050405040404040B0000303030303030B0
      F621120041030000160000C0004900000000000000000000401040100010B09040C000C000000203060D4
      FF0602010102800034313033000000000106000000000C000000440900000000000000000000000000000000000000
    I_R_PROCESS
      {O:1*\CLASS=CL_RSBK_PROCESS}
      F0000000
      E0001000
      FE00000001000000
    SY-XFORM
      CONVERSION_EXIT
      444545544454545222222222222222
      3FE65239FEF5894000000000000000
      000000000000000000000000000000
      000000000000000000000000000000
      43004F004E00560045005200530049004F004E005F0045005800490054002000200020002000200020002000200020
    SY-SUBRC
      0
      0000
      0000
      00000000
    ME->N_DATAPAKID
      000236
      333333
      000236
      000000
      000000
      300030003000320033003600
    ME
      {O:72*\CLASS=CL_RSBK_CMD_DP_LOOP}
      B0004000
      70008000
      B700000048000000
    No.      4    Ty.     METHOD
    Name  CL_RSBK_PROCESS=>SET_MEMENTO
    I_TH_CMD_MEMENTO
      Table IT_42[5x52]
      \CLASS=CL_RSBK_PROCESS\METHOD=IF_RSBATCH_EXECUTE~GET_OBJECT_REF\DATA=L_S_PROCESS-TH_CMD_MEMENT
      Table reference: 21
      TABH+  0(20) = 10C64700DF070000000000000000000000000000
      TABH+ 20(20) = 150000002A000000050000003400000020000000
      TABH+ 40(16) = 045A0000A006000005000000A425C000
      store        = 0x10C64700DF070000
      ext1         = 0x0000000000000000
      shmId        = 0     (0x00000000)
      id           = 21    (0x15000000)
      label        = 42    (0x2A000000)
      fill         = 5     (0x05000000)
      leng         = 52    (0x34000000)
      loop         = 32    (0x20000000)
      xtyp         = TYPE#000010
      occu         = 5     (0x05000000)
      accKind      = 4     (ItAccessHashed)
      idxKind      = 0     (ItIndexNone)
      uniKind      = 1     (ItUniYes)
      keyKind      = 3     (user defined)
      cmpMode      = 2     (cmpSingleMcmpR)
      occu0        = 1
      stMode       = 0
      groupCntl    = 0
      rfc          = 0
      unShareable  = 0
      mightBeShared = 0
      sharedWithShmTab = 0
      isShmLockId  = 0
      isUsed       = 1
      isCtfyAble   = 1
      hasScndKeys  = 0
      hasRowId     = 0
      scndKeysOutdated = 0
      scndUniKeysOutdated = 0
      ----- Shareable Table Header Data -----
      tabi         = 0x607B4100DF070000
      pgHook       = 0x0000000000000000
      idxPtr       = 0xC08D5000DF070000
      id           = 36    (0x24000000)
      shmTabhSet   = 0x0000000000000000
      refCount     = 0     (0x00000000)
      tstRefCount  = 0     (0x00000000)
      lineAdmin    = 5     (0x05000000)
      lineAlloc    = 5     (0x05000000)
      shmVersId    = 0     (0x00000000)
      shmRefCount  = 1     (0x01000000)
      rowId        = 18446744073709551615
      scndKeyAdmin = 0x0000000000000000
      ##LOOP_DP             ###쀀
      00444554522222222222221000
      30CFF0F4000000000000004020
      0000000000000000000000000C
      00000000000000000000000000
      030000004C004F004F0050005F00440050002000200020002000200020002000200020002000200020002000140000
      ##X_DATASTORE         ###쀀
      00554454554542222222221000
      408F414134F250000000004030
      0000000000000000000000000C
      00000000000000000000000000
      0400000058005F004400410054004100530054004F0052004500200020002000200020002000200020002000140000
      ##ERROR_FILTER        ###쀀
      FF455455444545222222221000
      FF522F2F69C452000000004040
      FF00000000000000000000000C
      FF000000000000000000000000
      FFFFFFFF4500520052004F0052005F00460049004C0054004500520020002000200020002000200020002000140000
      ##TRFN                ###쀀
      FF554422222222222222221000
      EF426E00000000000000004040
      FF00000000000000000000000C
      FF000000000000000000000000
      FEFFFFFF5400520046004E002000200020002000200020002000200020002000200020002000200020002000140000
      ##U_ODSO              ###쀀
      00554454222222222222221000
      605FF43F000000000000004040
      0000000000000000000000000C
      00000000000000000000000000
      0600000055005F004F00440053004F0020002000200020002000200020002000200020002000200020002000140000
    %_DUMMY$$
      2222
      0000
      0000
      0000
      2000200020002000
    SYST
      ##########################A###P#######|#########<#############################T#########XC####
      0000000000000000000000100040005000000070000000003000000000000000000000000000105000100000540000
      10000010000010000000109010101000000000C000000000C000000000000000000000000000604000E00000830500
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C
      0100000000000000000000000100000000000000000000000100000000000000000000000000000001000000190000
    SYST-REPID
      CL_RSBK_PROCESS===============CP
      4455544555444553333333333333334522222222
      3CF232BF02F3533DDDDDDDDDDDDDDD3000000000
      0000000000000000000000000000000000000000
      0000000000000000000000000000000000000000
      43004C005F005200530042004B005F00500052004F0043004500530053003D003D003D003D003D003D003D003D003D
    L_R_ERROR
      {O:initial}
      F0000000
      F0000000
      FF00000000000000
    L_S_CMD_MEMENTO
      ##LOOP_DP             ###쀀
      00444554522222222222221000
      30CFF0F4000000000000004020
      0000000000000000000000000C
      00000000000000000000000000
      030000004C004F004F0050005F00440050002000200020002000200020002000200020002000200020002000140000
    ME->P_TH_CMD_R
      Table IT_724[8x48]
      {O:1*\CLASS=CL_RSBK_PROCESS}\DATA=P_TH_CMD_R
      Table reference: 353
      TABH+  0(20) = 00306E00DF070000000000000000000000000000
      TABH+ 20(20) = 61010000D40200000800000030000000FFFFFFFF
      TABH+ 40(16) = 04E100005042030009000000BC25C800
      store        = 0x00306E00DF070000
      ext1         = 0x0000000000000000
      shmId        = 0     (0x00000000)
      id           = 353   (0x61010000)
      label        = 724   (0xD4020000)
      fill         = 8     (0x08000000)
      leng         = 48    (0x30000000)
      loop         = -1    (0xFFFFFFFF)
      xtyp         = TYPE#000037
      occu         = 9     (0x09000000)
      accKind      = 4     (ItAccessHashed)
      idxKind      = 3     (ItIndexList)
      uniKind      = 1     (ItUniYes)
      keyKind      = 3     (user defined)
      cmpMode      = 2     (cmpSingleMcmpR)
      occu0        = 1
      stMode       = 0
      groupCntl    = 0
      rfc          = 0
      unShareable  = 0
      mightBeShared = 1
      sharedWithShmTab = 0
      isShmLockId  = 0
      isUsed       = 1
      isCtfyAble   = 1
      hasScndKeys  = 0
      hasRowId     = 0
      scndKeysOutdated = 0
      scndUniKeysOutdated = 0
      ----- Shareable Table Header Data -----
      tabi         = 0x302E6E00DF070000
      pgHook       = 0x0000000000000000
      idxPtr       = 0x80306E00DF070000
      id           = 647   (0x87020000)
      shmTabhSet   = 0x0000000000000000
      refCount     = 1     (0x01000000)
      tstRefCount  = 0     (0x00000000)
      lineAdmin    = 9     (0x09000000)
      lineAlloc    = 9     (0x09000000)
      shmVersId    = 0     (0x00000000)
      shmRefCount  = 2     (0x02000000)
      rowId        = 18446744073709551615
      scndKeyAdmin = 0x0000000000000000
      ########P         Í#2# #
      000000005222222222C03020
      103000000000000000D02000
      000000000000000000000000
      000000000000000000000000
      010000000300000000000000000000005000200020002000200020002000200020002000CD00000032000000200000
      ########P         ·#H# #
      000000005222222222B04020
      300040100000000000708000
      000000000000000000000000
      000000000000000000000000
      030000000000000004000000010000005000200020002000200020002000200020002000B700000048000000200000
      ########X         ¶#I# #
      00FF00005222222222B04020
      40FF70108000000000609000
      00FF00000000000000000000
      00FF00000000000000000000
      04000000FFFFFFFF07000000010000005800200020002000200020002000200020002000B600000049000000200000
      ########T         °#O# #
      FF00FF005222222222B04020
      FF00EF40400000000000F000
      FF00FF000000000000000000
      FF00FF000000000000000000
      FFFFFFFF00000000FEFFFFFF040000005400200020002000200020002000200020002000B00000004F000000200000
      ########T         ®#Q# #
      FF0000005222222222A05020
      EF0060404000000000E01000
      FF0000000000000000000000
      FF0000000000000000000000
      FEFFFFFF0000000006000000040000005400200020002000200020002000200020002000AE00000051000000200000
    L_S_CMD_R
      ########P         ·#H# #
      000000005222222222B04020
      300040100000000000708000
      000000000000000000000000
      000000000000000000000000
      030000000000000004000000010000005000200020002000200020002000200020002000B700000048000000200000
    SY-REPID
      CL_RSBK_PROCESS===============CP
      4455544555444553333333333333334522222222
      3CF232BF02F3533DDDDDDDDDDDDDDD3000000000
      0000000000000000000000000000000000000000
      0000000000000000000000000000000000000000
      43004C005F005200530042004B005F00500052004F0043004500530053003D003D003D003D003D003D003D003D003D
    CX_RS_STEP_FAILED=>FAILED_IN_PARALLEL_MODE
    L_S_CMD_MEMENTO-NODE
      3
      0000
      3000
      03000000
    SY-SUBRC
      0
      0000
      0000
      00000000
    L_S_CMD_MEMENTO-MEMENTO
      ÿ#######4103##############D#####################D#A#T#A#P#A#K#I#D#¼####0#0#0#2#3#6#½#
      F00000803333000000000000004000000000000000000000404050405040404040B0000303030303030B0
      F621120041030000160000C0004900000000000000000000401040100010B09040C000C000000203060D4
      FF0602010102800034313033000000000106000000000C000000440900000000000000000000000000000000000000
    ME
      {O:1*\CLASS=CL_RSBK_PROCESS}
      F0000000
      E0001000
      FE00000001000000
    No.      3    Ty.     METHOD
    Name  CL_RSBK_PROCESS=>IF_RSBATCH_EXECUTE~GET_OBJECT_REF
    I_PROCESS_TYPE
      DTP_LOAD
      4555444422
      440FCF1400
      0000000000
      0000000000
      4400540050005F004C004F004100440020002000
    I_BATCH_ID
      DTPR_10616_1
      455553333353222222222222222222
      4402F10616F1000000000000000000
      000000000000000000000000000000
      000000000000000000000000000000
      44005400500052005F00310030003600310036005F0031002000200020002000200020002000200020002000200020
    I_BATCH_PROCESS
            238
      2222223332
      0000002380
      0000000000
      0000000000
      2000200020002000200020003200330038002000
    I_PARAMETER
      ۿĂȁ#ㄴ㌰##༅##(Ѐޱ##########PROCESSྫ##ꨨ##Ѐڪ##ꨌ##Ѐ###ꨄ##Ѐª##ꨂ##Ȁྭ##ꨴ##Ѐª##ꨨ###ྮ##갴##⠀¼#砠)   ㈀㌀㘀##ÿ#
      F008330000020B00000000005544455A002000A000000A000000A000000A003000A002100A003000B0220000000FF0
      F2104000500801000000000002F3533B008800A00C800A004800A002000D004800A008400E004F00C0090000000FF0
      0000330000000000000000000000000000A000000A000000A000000A000000A000000A000000A0020070333333FF00
      61201300F0004700000000000000000F00A004600A004800A004000A002F00A004000A008F00C0080080000236FF00
      FF060201010280003431303300000000050F0000000028000004B10700000000000000000000000000000000000000
    R_R_RSBATCH_EXECUTE
      {O:initial}
      F0000000
      F0000000
      FF00000000000000
    L_S_PROCESS-PROCESSTYPE
      2
      0
      0
      0
      2000
    L_S_PROCESS-NO_COMMIT
      2
      0
      0
      0
      2000
    L_R_PROCESS
      {O:1*\CLASS=CL_RSBK_PROCESS}
      F0000000
      E0001000
      FE00000001000000
    L_S_PROCESS-DATAPAKID
      000236
      333333
      000236
      000000
      000000
      300030003000320033003600
    RSJOBINFO
                                      00000000000000                                  ##
      2222222222222222222222222222222233333333333333222222222222222222222222222222222200
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    L_S_PROCESS-NODE
      -1
      FFFF
      FFFF
      FFFFFFFF
    L_S_PROCESS-TH_CMD_MEMENTO
      Table IT_42[5x52]
    No.      2    Ty.     FUNCTION
    Name  RSBATCH_EXECUTE_PROCESS
    ID
      DTPR_10616_1
      455553333353222222222222222222
      4402F10616F1000000000000000000
      000000000000000000000000000000
      000000000000000000000000000000
      44005400500052005F00310030003600310036005F0031002000200020002000200020002000200020002000200020
    I_DIALOG_DEBUG_MODE
      2
      0
      0
      0
      2000
    PROCESS
      238
      E000
      E000
      EE000000
    G_T_COLS[]
      Table[initial]
    SY-REPID
      SAPLRSBATCH
      5454554454422222222222222222222222222222
      310C232143800000000000000000000000000000
      0000000000000000000000000000000000000000
      0000000000000000000000000000000000000000
      5300410050004C00520053004200410054004300480020002000200020002000200020002000200020002000200020
    L_MODULE_TYPE
      M
      4
      D
      0
      0
      4D00
    G_PROCESS_TYPE
      2222222222
      0000000000
      0000000000
      0000000000
      2000200020002000200020002000200020002000
    %_FL2*CTRL_200_WAIT
      <initial>
      <initial>
      <initial>
      <<iinniittiiaall>>
    ICON_SELECT_DETAIL
      @16@
      4334
      0160
      0000
      0000
      4000310036004000
    L_S_CTRL-LANGU
      E
      4
      5
      0
      0
      4500
    SY-LANGU
      E
      4
      5
      0
      0
      4500
    SYST-REPID
      SAPLRSBATCH
      5454554454422222222222222222222222222222
      310C232143800000000000000000000000000000
      0000000000000000000000000000000000000000
      0000000000000000000000000000000000000000
      5300410050004C00520053004200410054004300480020002000200020002000200020002000200020002000200020
    SYST
      ##########################A###P#######|#########<#############################T#########XC####
      0000000000000000000000100040005000000070000000003000000000000000000000000000105000100000540000
      10000010000010000000109010101000000000C000000000C000000000000000000000000000604000E00000830500
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C
      0100000000000000000000000100000000000000000000000100000000000000000000000000000001000000190000
    %_FL2*CTRL_1100
      <initial>
      <initial>
      <initial>
      <<iinniittiiaall>>
    %_DUMMY$$
      2222
      0000
      0000
      0000
      2000200020002000
    L_MODULE_NAME
      CL_RSBK_PROCESS
      4455544555444552222222222222222222222222
      3CF232BF02F35330000000000000000000000000
      0000000000000000000000000000000000000000
      0000000000000000000000000000000000000000
      43004C005F005200530042004B005F00500052004F0043004500530053002000200020002000200020002000200020
    %_SPACE
      2
      0
      0
      0
      2000
    G_T_BATCH_SERV
                                                                                       00
      22222222222222222222222222222222222222222222222222222222222222222222222222222222233
      00000000000000000000000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    L_S_CTRL-PROCESS_TYPE
      DTP_LOAD
      4555444422
      440FCF1400
      0000000000
      0000000000
      4400540050005F004C004F004100440020002000
    G_SUBRC
      0
      0000
      0000
      00000000
    L_S_CTRL-BATCH_ID
      DTPR_10616_1
      455553333353222222222222222222
      4402F10616F1000000000000000000
      000000000000000000000000000000
      000000000000000000000000000000
      44005400500052005F00310030003600310036005F0031002000200020002000200020002000200020002000200020
    OKCODE
      2222222222222222222222222222222222222222222222222222222222222222222222
      0000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    L_S_CTRL-BATCH_PROCESS
            238
      2222223332
      0000002380
      0000000000
      0000000000
      2000200020002000200020003200330038002000
    SAVEOK
      2222222222222222222222222222222222222222222222222222222222222222222222
      0000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000
      2000200020002000200020002000200020002000200020002000200020002000200020002000200020002000200020
    L_PARAMETER
      ۿĂȁ#ㄴ㌰##༅##(Ѐޱ##########PROCESSྫ##ꨨ##Ѐڪ##ꨌ##Ѐ###ꨄ##Ѐª##ꨂ##Ȁྭ##ꨴ##Ѐª##ꨨ###ྮ##갴##⠀¼#砠)   ㈀㌀㘀##ÿ#
      F008330000020B00000000005544455A002000A000000A000000A000000A003000A002100A003000B0220000000FF0
      F2104000500801000000000002F3533B008800A00C800A004800A002000D004800A008400E004F00C0090000000FF0
      0000330000000000000000000000000000A000000A000000A000000A000000A000000A000000A0020070333333FF00
      61201300F0004700000000000000000F00A004600A004800A004000A002F00A004000A008F00C0080080000236FF00
      FF060201010280003431303300000000050F0000000028000004B10700000000000000000000000000000000000000
    L_R_BATCH_EXECUTE
      {O:initial}
      F0000000
      F0000000
      FF00000000000000
    L_RETURN
      <empty string>
      10000000
      40001000
      1400000001000000
    L_T_MSG
      Table[initial]
    %_TAG*CTRL_200_VAL
      <initial>
      <initial>
      <initial>
      <<iinniittiiaall>>
    G_CURSOR_LINE
      0
      0000
      0000
      00000000
    SY-SUBRC
      0
      0000
      0000
      00000000
    No.      1    Ty.     EVENT
    Name  START-OF-SELECTION
    L_T_CTRL
      Table IT_26[1x424]
      \PROGRAM=RSBATCH_EXECUTE_PROZESS\DATA=L_T_CTRL
      Table reference: 15
      TABH+  0(20) = D08B4C00DF070000000000000000000000000000
      TABH+ 20(20) = 0F0000001A00000001000000A8010000FFFFFFFF
      TABH+ 40(16) = 040000005090000004000000C130C000
      store        = 0xD08B4C00DF070000
      ext1         = 0x0000000000000000
      shmId        = 0     (0x00000000)
      id           = 15    (0x0F000000)
      label        = 26    (0x1A000000)
      fill         = 1     (0x01000000)
      leng         = 424   (0xA8010000)
      loop         = -1    (0xFFFFFFFF)
      xtyp         = TYPE#000013
      occu         = 4     (0x04000000)
      accKind      = 1     (ItAccessStandard)
      idxKind      = 0     (ItIndexNone)
      uniKind      = 2     (ItUniNo)
      keyKind      = 1     (default)
      cmpMode      = 8     (cmpManyEq)
      occu0        = 1
      stMode       = 0
      groupCntl    = 0
      rfc          = 0
      unShareable  = 0
      mightBeShared = 0
      sharedWithShmTab = 0
      isShmLockId  = 0
      isUsed       = 1
      isCtfyAble   = 1
      hasScndKeys  = 0
      hasRowId     = 0
      scndKeysOutdated = 0
      scndUniKeysOutdated = 0
      ----- Shareable Table Header Data -----
      tabi         = 0x10854C00DF070000
      pgHook       = 0x508C4C00DF070000
      idxPtr       = 0x0000000000000000
      id           = 21    (0x15000000)
      shmTabhSet   = 0x0000000000000000
      refCount     = 0     (0x00000000)
      tstRefCount  = 0     (0x00000000)
      lineAdmin    = 508   (0xFC010000)
      lineAlloc    = 12    (0x0C000000)
      shmVersId    = 0     (0x00000000)
      shmRefCount  = 1     (0x01000000)
      rowId        = 18446744073709551615
      scndKeyAdmin = 0x0000000000000000
      DTPR_10616_1                        238
      4555533333532222222222222222222222223332222222222222222222222222222222222222222222222222222222
      4402F10616F10000000000000000000000002380000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      44005400500052005F00310030003600310036005F0031002000200020002000200020002000200020002000200020
    SYST
      ##########################A###P#######|#########<#############################T#########XC####
      0000000000000000000000100040005000000070000000003000000000000000000000000000105000100000540000
      10000010000010000000109010101000000000C000000000C000000000000000000000000000604000E00000830500
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C
      0100000000000000000000000100000000000000000000000100000000000000000000000000000001000000190000
    L_S_CTRL
      DTPR_10616_1                        238  BIDTPR_10616_1                  07100200cab-bi-prod1_
      4555533333532222222222222222222222223332244455553333353222222222222222222333333336662662776635
      4402F10616F100000000000000000000000023800294402F10616F100000000000000000007100200312D29D02F41F
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      44005400500052005F00310030003600310036005F0031002000200020002000200020002000200020002000200020
    SCREEN
      %_17NNS0005639652_%_%_%_%_%_%_
      2533445333333333352525252525252222222222222222222222222222222222222222222222222222222222222222
      5F17EE30005639652F5F5F5F5F5F5F0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      25005F00310037004E004E00530030003000300035003600330039003600350032005F0025005F0025005F0025005F
    L_S_CTRL-BATCH_PROCESS
            238
      2222223332
      0000002380
      0000000000
      0000000000
      2000200020002000200020003200330038002000
    %_SPACE
      2
      0
      0
      0
      2000
    L_S_PAR-WP_NO
      12
      332
      120
      000
      000
      310032002000
    ID
      DTPR_10616_1
      455553333353222222222222222222
      4402F10616F1000000000000000000
      000000000000000000000000000000
      000000000000000000000000000000
      44005400500052005F00310030003600310036005F0031002000200020002000200020002000200020002000200020
    L_PROCESS
      238
      E000
      E000
      EE000000
    L_S_HEADER-HOLD_PAR_PROCS
      X
      5
      8
      0
      0
      5800
    SY
      ##########################A###P#######|#########<#############################T#########XC####
      0000000000000000000000100040005000000070000000003000000000000000000000000000105000100000540000
      10000010000010000000109010101000000000C000000000C000000000000000000000000000604000E00000830500
      0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C
      0100000000000000000000000100000000000000000000000100000000000000000000000000000001000000190000
    PROCESS
      999999999
      FC93
      F9AB
      FFC99A3B
    Internal notes
      The termination was triggered in function "ab_jmess"
      of the SAP kernel, in line 1411 of the module
       "//bas/720_REL/src/krn/runt/abdynpro.c#7".
      The internal operation just processed is "MESS".
      Internal mode was started at 20140530071002.
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Callstack without Exception:
    App       : disp+work.EXE (pid=1724)
    When      : 5/30/2014 7:9:54.12
    Threads   : 2
    Computer Name       : NGUKSVRMDS040
    User Name           : pwbadm
    Number of Processors: 4
    Processor Type: Intel64 Family 6 Model 37 Stepping 1
    Windows Version     : 6.1 Current Build: 7601
    State Dump for Thread Id 1374
    0000000002178EF0 0000000140F6F2A1 0020002000200020 disp+work!DumpStacks [ntstcdbg.c (548)]
    0000000002178FF0 000000013FB0E304 0000000074D126B0 disp+work!NTDebugProcess [ntstcdbg.c (383)]
    0000000002179020 000000013FD1C439 0000000074D126B0 disp+work!CTrcStack2 [dptstack.c (354)]
    0000000002179070 000000013FD21A7F 0000000002179AD0 disp+work!rabax_CStackSave [abrabax.c (8649)]
    0000000002179980 000000013FCD37FC 000000000000005C disp+work!ab_rabax [abrabax.c (1419)]
    00000000021799C0 000000013FD0BBE1 0000000000000000 disp+work!ab_jmess [abdynpro.c (1418)]
    0000000002179B50 000000013FD7E5D8 0000000000000001 disp+work!ab_extri [abextri.c (721)]
    0000000002179BA0 000000013FD7EEC5 0000000000000001 disp+work!ab_xevent [abrunt1.c (278)]
    0000000002179C30 000000013FD5C589 000007DF000002A0 disp+work!ab_trigg [abrunt1.c (57)]
    0000000002179CC0 000000013FB77126 0000000000000016 disp+work!ab_run [absubmit.c (511)]
    0000000002179E70 000000013FB7BA2D 0000000000000000 disp+work!dynpmcal [dymainstp.c (2732)]
    0000000002179F00 000000013FB7ACDC 000000000217A0E0 disp+work!dynppai0 [dymainstp.c (1355)]
    0000000002179FD0 000000013FB34EEF 0000000000000020 disp+work!dynprctl [dymainstp.c (470)]
    000000000217F3C0 000000013F9C3CC0 0000000000000000 disp+work!dynpen00 [dymain.c (2026)]
    000000000217F690 000000013F9C44BC FFFFFFFFFFFFFF00 disp+work!TskhLoop [thxxhead.c (4871)]
    000000000217F6F0 000000013F8EC603 00000000000D9E9C disp+work!ThStart [thxxhead.c (1195)]
    000000000217F790 000000013F8C10A1 FFFFFFFF00000001 disp+work!DpMain [dpxxdisp.c (1174)]
    000000000217F7C0 0000000141246B8E 0000000000000001 disp+work!nlsui_main [thxxanf.c (80)]
    000000000217F7F0 000000007799652D 0000000000000000 disp+work!__tmainCRTStartup [crtexe.c (552)]
    000000000217F820 0000000077ACC541 0000000000000000 kernel32!BaseThreadInitThunk
    000000000217F870 0000000000000000 0000000000000000 ntdll!RtlUserThreadStart
    State Dump for Thread Id 290
    000000000E0BF880 000007FEFDAB3C2F 00000000DBAAC265 ntdll!NtFsControlFile
    000000000E0BF8F0 0000000141139FAF FFFFFFFFFFFFFFFE KERNELBASE!ConnectNamedPipe
    000000000E0BF990 0000000074C81D9F 00000000024BC0D0 disp+work!SigIMsgFunc [signt.c (717)]
    000000000E0BF9C0 0000000074C81E3B 0000000074D12AC0 MSVCR100!endthreadex
    000000000E0BF9F0 000000007799652D 0000000000000000 MSVCR100!endthreadex
    000000000E0BFA20 0000000077ACC541 0000000000000000 kernel32!BaseThreadInitThunk
    000000000E0BFA70 0000000000000000 0000000000000000 ntdll!RtlUserThreadStart
    List of ABAP programs affected
    Index   Typ  Program              Group  Date  Time Size Lang.
          0   Prg  RSBATCH_EXECUTE_PROZESS                   0  13.08.2013  12:28:38     45056 E
          1   Prg  SAPMSSY0                   1  13.08.2013  09:12:51    111616 E
          2   Prg  SAPMSSYD                   1  13.08.2013  10:17:05     23552 E
          3   Prg  SAPFSYSCALLS                   1  07.03.2005  18:01:13      8192 E
          4   Prg  RSDBRUNT                   0  13.08.2013  10:51:31    306176 E
          5   Prg  SAPLSPRI                   5  13.08.2013  10:49:40    407552 E
          6   Typ  PRI_PARAMS                   0  27.10.1998  15:01:35      5120
          7   Typ  ARC_PARAMS                   0  08.08.1997  14:45:20      5120
          8   Typ  PRI_LAYOUT                   0  04.09.2002  14:38:36      3072
          9   Typ  PRIPAR_EXT                   0  09.09.2011  20:56:18      3072
         10   Typ  PRIPAR_EX2                   0  09.09.2011  20:54:51      2048
         11   Typ  PRIPAR_EX3                   0  09.09.2011  20:54:52      3072
         12   Typ  TPRI_DEF                   0  01.02.2001  17:50:49      5120
         13   Prg  SAPLSPOO                  13  13.08.2013  10:14:36    181248 E
         14   Typ  TSP03                   0  13.08.1998  16:56:08      5120
         15   Typ  USR01                   0  09.09.2011  20:55:50      4096
         16   Typ  TSP1D                   0  09.09.2011  20:57:01      5120
         17   Prg  SAPLRSPOLSTDRV                  17  28.05.2009  08:18:25     64512 E
         18   Typ  TSPOPTIONS                   0  06.12.1996  16:09:18      2048
         19   Prg  SAPCNVE                  19  07.03.2005  18:01:13      9216 E
         20   Prg  SAPLSPOC                  20  09.09.2011  21:19:41    177152 E
         21   Typ  RSPOCHECK                   0  14.07.1997  13:01:20      4096
         22   Typ  DEVPAR                   0  09.09.2011  20:54:15      3072
         23   Typ  RSPOATTR                   0  19.01.2000  18:34:33      2048
         24   Typ  RSSCR                   0  23.11.1999  09:24:41      5120
         25   Prg  RSDBSPBL                   0  07.03.2005  18:01:13     84992 E
         26   Prg  SAPDB__S                   0  07.03.2005  18:01:13     21504 E
         27   Typ  VARID                   0  28.05.2009  08:12:55      5120
         28   Typ  SSCRFIELDS                   0  02.05.1997  13:16:39      5120
         29   Prg  RSDBSPVA                   0  13.08.2013  10:51:31    160768 E
         30   Prg  %_CSYDB0                   0  07.03.2005  18:01:13     40960 E
         31   Typ  RSVAMEMKEY                   0  16.12.1996  19:31:50      2048
         32   Prg  RSDBSPMC                   0  05.09.2006  14:14:08     92160 E
         33   Typ  DDSHDESCR                   0  28.11.1997  16:26:30      4096
         34   Typ  SPPARAMS                   0  07.03.1997  14:48:48      2048
         35   Prg  SAPLICON                  35  13.12.2007  11:37:48     31744 E
         36   Prg  %_CICON                  35  13.12.2007  11:37:48    126976 E
         37   Typ  ICONT                   0  05.09.2006  14:14:08      2048
         38   Prg  SAPLSABE                  38  09.09.2011  21:09:40     14336 E
         39   Prg  SAPLSECU                  39  13.08.2013  10:16:43    110592 E
         40   Typ  RSSUBINFO                   0  22.11.1999  21:15:17      3072
         41   Prg  RSDBSPVD                   0  09.09.2011  21:33:31    102400 E
         42   Typ  DFIES                   0  09.09.2011  20:54:19     10240
         43   Typ  VARI                   0  16.12.1996  19:38:11      6144
         44   Typ  RSDSFIELDS                   0  28.05.2009  08:12:29      3072
         45   Prg  %_CRSDS                   0  07.03.2005  18:01:13     11264 E
         46   Typ  RSDSEXPR                   0  16.12.1996  19:31:30      3072
         47   Typ  RVARI                   0  18.06.1999  11:23:08      4096
         48   Prg  SAPLSVAR                  48  13.08.2013  10:49:34    936960 E
         49   Typ  RSVARKEY                   0  16.12.1996  19:31:51      2048
         50   Prg  SAPLSSEL                  50  13.08.2013  10:42:32   1699840 E
         51   Prg  RSDBSPDS                   0  13.12.2007  11:37:48     66560 E
         52   Typ  RSEXFCODE                   0  18.07.1997  17:04:17      2048
         53   Prg  SAPLDSYA                  53  13.08.2013  10:45:29     52224 E
         54   Prg  SAPFSDS1                  53  07.03.2005  18:01:13     61440 E
         55   Typ  TDCLD                   0  14.07.1998  14:53:43      5120
         56   Prg  SAPLSDOD                  56  13.08.2013  10:42:31     50176 E
         57   Typ  DOKIL                   0  07.04.1997  18:29:04      3072
         58   Prg  SAPLLANG                  58  09.09.2011  21:12:32     11264 E
         59   Typ  T002                   0  25.09.2007  11:09:36      2048
         60   Prg  SAPFSPOR                   0  24.06.2008  18:36:49     16384 E
         61   Typ  RSPARINT                   0  10.03.1995  17:53:00      2048
         62   Prg  SAPLSCNT                  62  07.03.2005  18:01:13     34816 E
         63   Prg  SAPSHDTV                  62  13.08.2013  08:38:56     38912 E
         64   Prg  SAPFGUICNTL                   1  07.03.2005  18:01:13     27648 E
         65   Prg  SAPLOLEA                  65  13.08.2013  08:38:34    110592 E
         66   Prg  SAPLSGUI                  66  04.12.2009  20:43:32    105472 E
         67   Prg  SAPLSTTM                  67  09.09.2011  21:26:18     79872 E
         68   Prg  SAPLSBDC                  68  13.12.2007  10:50:07     49152 E
         69   Prg  SAPLSFES                  69  13.08.2013  10:47:09    316416 E
         70   Prg  SAPLTHFB                  70  13.08.2013  10:21:30    472064 E
         71   Typ  WPINFO                   0  28.05.2009  08:12:57      6144
         72   Prg  SAPLURFC                  72  13.08.2013  10:49:32     29696 E
         73   Prg  SAPLSPLUGIN                  73  09.09.2011  21:19:29      9216 E
         74   Typ  SWCBCONT                   0  09.09.2011  20:56:57      3072
         75   Typ  OLE_VERBS                   0  09.02.1995  13:23:37      2048
         76   Typ  OLE_PA                   0  13.01.1995  11:06:59      2048
         77   Typ  SSCRTEXTS                   0  15.08.1997  14:15:15      3072
         78   Prg  SAPLRSBATCH                  78  13.08.2013  12:29:38    689152 E
         79   Prg  /1BCDWBEN/SAPLREN0002                  79  23.11.2005  13:29:42    294912 E
         80   Prg  SAPLSENA                  80  28.05.2009  08:20:47     39936 E
         81   Prg  SAPLBTCH                  81  13.08.2013  10:51:12   2248704 E
         82   Prg  SAPLRS_GENERAL                  82  13.08.2013  12:20:02    120832 E
         83   Prg  /1BCDWBEN/SAPLREN0003                  83  23.11.2005  13:29:44    282624 E
         84   Prg  SAPLSYDB                  84  09.09.2011  21:28:17     65536 E
         85   Typ  MSXXLIST_V6                   0  28.05.2009  08:12:22      4096
         86   Typ  BAL_S_MSG                   0  09.09.2011  20:53:51      7168
         87   Prg  CL_RSBK_PROCESS===============CP                  87  10.09.2011  08:11:36    103424 E
         88   Prg  IF_RSBATCH_CALLBACK===========IP                  78  09.09.2011  22:39:45      9216 E
         89   Prg  IF_RSBATCH_EXECUTE============IP                  78  09.09.2011  22:39:45      8192 E
         90   Typ  RSBK_S_PROCESS                   0  09.09.2011  20:56:47      4096
         91   Typ  RSBK_S_CMD_MEMENTO                   0  09.09.2011  20:54:56      2048
         92   Prg  CL_RSBK_REQUEST===============CP                  92  13.08.2013  11:53:19    222208 E
         93   Prg  CL_RSBK_REQUEST_GENERAL=======CP                  93  10.09.2011  08:12:31     38912 E
         94   Prg  SAPLRRSI                  94  13.08.2013  12:29:38    393216 E
         95   Typ  RSD_S_COB_PRO                   0  09.09.2011  20:56:49     26624
         96   Prg  CL_RSR========================CP                  96  13.08.2013  12:06:59    180224 E
         97   Prg  CL_RS_BASE====================CP                  97  13.08.2013  12:27:37     15360 E
         98   Prg  CL_RSD_CHA====================CP                  98  13.08.2013  11:55:18    563200 E
         99   Prg  CL_RSD_IOBJ_VERS==============CP                  99  13.08.2013  12:03:26    301056 E
        100   Prg  SAPLRRMS                 100  13.08.2013  12:29:38     49152 E
        101   Prg  SAPLRRI1                 101  13.08.2013  12:29:38    496640 E
        102   Typ  RSR_S_DEBUGFLAGS                   0  13.08.2013  12:01:28     14336
        103   Prg  CL_RSDDTREX_CORE==============CP                 103  13.08.2013  12:29:38     49152 E
        104   Prg  SAPLRSDI                 104  09.09.2011  22:19:14     43008 E
        105   Prg  SAPLRSDG_IOBJ_DB_READ                 105  13.08.2013  12:29:38    355328 E
        106   Typ  RSD_S_AGGRINFO                   0  09.09.2011  20:55:04      2048
        107   Typ  RSD_S_VIOBJ                   0  09.09.2011  20:55:07     30720
        108   Prg  SAPLRSDN_IOBJ                 108  13.08.2013  12:29:38    163840 E
        109   Prg  CL_RSROA_VQ_SERVICES==========CP                 109  13.08.2013  12:29:37     86016 E
        110   Prg  CL_ABAP_ELEMDESCR=============CP                 110  28.05.2009  08:29:24     41984 E
        111   Prg  CL_ABAP_DATADESCR=============CP                 111  28.05.2009  08:29:18     21504 E
        112   Prg  CL_ABAP_TYPEDESCR=============CP                 112  13.08.2013  10:48:27     33792 E
        113   Prg  CL_ABAP_REFDESCR==============CP                 113  13.08.2013  10:48:27     34816 E
        114   Prg  CL_ABAP_STRUCTDESCR===========CP                 114  13.08.2013  10:48:27     49152 E
        115   Prg  CL_ABAP_COMPLEXDESCR==========CP                 115  28.05.2009  08:29:17     19456 E
        116   Prg  CL_ABAP_TABLEDESCR============CP                 116  09.09.2011  21:11:02     37888 E
        117   Prg  CL_ABAP_CLASSDESCR============CP                 117  28.05.2009  08:29:15     34816 E
        118   Prg  CL_ABAP_OBJECTDESCR===========CP                 118  28.05.2009  08:29:28     37888 E
        119   Prg  CL_ABAP_INTFDESCR=============CP                 119  28.05.2009  08:29:25     27648 E
        120   Prg  CL_ABAP_SOFT_REFERENCE========CP                 120  18.11.2005  14:35:28     10240 E
        121   Prg  CL_ABAP_REFERENCE=============CP                 121  07.03.2005  18:01:13      8192 E
        122   Prg  CL_RSRTS_METADATA=============CP                 122  13.08.2013  12:28:25    106496 E
        123   Prg  CL_RSRTS_METADATA_R3IS========CP                 123  13.08.2013  11:55:22    157696 E
        124   Prg  IF_RSRTS_METADATA=============IP                 117  13.08.2013  11:55:54     26624 E
        125   Prg  %_CABAP                 117  28.05.2009  08:14:56     36864 E
        126   Prg  IF_SERIALIZABLE_OBJECT========IP                 117  07.03.2005  18:01:13      5120 E
        127   Prg  CL_RSROA_VQ_METADATA==========CP                 127  13.08.2013  11:55:22    252928 E
        128   Prg  CL_RSL_ME_METADATA============CP                 128  13.08.2013  12:28:21    233472 E
        129   Prg  IF_RSDRV_TREX_NAME_MAPPER=====IP                 117  13.08.2013  12:29:31      8192 E
        130   Prg  CL_RSDDLTIP_IPROV_TABLE=======CP                 130  13.08.2013  11:55:15    147456 E
        131   Prg  CL_RSAN_PR_ANPR_PROV_TRANSIENTCP                 131  13.08.2013  11:55:06    117760 E
        132   Prg  CL_RSD_DTA====================CP                 132  13.08.2013  12:03:25    320512 E
        133   Typ  LVC_S_ROID                   0  19.01.2000  18:31:34      2048
        134   Typ  RSZCOMPKEY                   0  09.09.2011  20:55:16      3072
        135   Prg  IF_RSO_TLOGO_MAINTAIN=========IP                 117  09.09.2011  22:36:34     13312 E
        136   Prg  IF_RSD_DTA====================IP                 117  09.09.2011  22:35:40     30720 E
        137   Prg  CL_RSRTS_METADATA_ODP=========CP                 137  13.08.2013  12:03:31    396288 E
        138   Prg  IF_RSRTS_TRPR=================IP                 117  13.08.2013  12:10:34     10240 E
        139   Prg  CL_RSR_QPROV_METADATA=========CP                 139  13.08.2013  11:55:23    248832 E
        140   Typ  RSD_S_DTA_PRO                   0  09.09.2011  20:55:08     26624
        141   Typ  RSD_S_IOBJ_OBN                   0  09.09.2011  20:56:49      2048
        142   Prg  CX_RSD_IOBJ_NOT_FOUND=========CP                 142  09.09.2011  22:36:07     16384 E
        143   Prg  CX_RSD_IOBJ_EXCEPTION=========CP                 143  09.09.2011  22:36:07     14336 E
        144   Prg  CX_RS_STATIC_CHECK============CP                 144  09.09.2011  22:37:44     19456 E
        145   Prg  CX_RS_ERROR===================CP                 145  09.09.2011  22:37:36     13312 E
        146   Prg  CX_STATIC_CHECK===============CP                 146  18.11.2005  14:35:29     11264 E
        147   Prg  CX_ROOT=======================CP                 147  09.09.2011  21:51:41     13312 E
        148   Prg  CX_NO_CHECK===================CP                 148  18.11.2005  14:35:29     11264 E
        149   Typ  RSAROUT                   0  09.09.2011  20:49:50      4096
        150   Typ  RSAROUTT                   0  09.09.2011  20:50:52      2048
        151   Typ  RSDVDPA                   0  09.09.2011  20:56:49      9216
        152   Typ  RSDIOBJV                   0  09.09.2011  20:54:57      5120
        153   Typ  RSDKYF                   0  09.09.2011  20:46:44      5120
        154   Typ  RSDVTIM                   0  09.09.2011  20:56:49     12288
        155   Typ  RSDVUNI                   0  09.09.2011  20:56:49      9216
        156   Typ  RSDVCHA                   0  09.09.2011  20:55:09     14336
        157   Prg  CL_RSDRC_NCUM_GEN_TYPES=======CP                 157  13.08.2013  12:28:48      9216 E
        158   Prg  CL_RSD_IOBJ_UTILITIES=========CP                 158  09.09.2011  22:25:11     57344 E
        159   Prg  SAPLRSDN                 159  13.08.2013  12:29:38     86016 E
        160   Prg  SAPLRSVERS                 160  13.08.2013  12:29:38    371712 E
        161   Typ  RSNPAR                   0  09.09.2011  20:55:07      3072
        162   Prg  SAPLSTR4                 162  13.08.2013  10:42:32     74752 E
        163   Prg  %_CTRNSP                 162  07.03.2005  18:01:13     10240 E
        164

    Hi Hardeep,
    Looks like the transformation and DTP need to be activated again.
    The error is RSBK (299) - 'Invalid program status'. So please activate the transformation and DTP possibly activate the DSO's too.
    It should then work.
    Thanks
    Amit

  • ABAP dump while running the tcode MIGO

    Hi All,
    I am getting the abap dump while running the tcode MIGO when I searched I got two relevant sap notes but our functional team said that its not applicable in our case.
    Please find the details of ST22 analysis-:
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          17.04.2009 13:18:45
    Short text
         The current application triggered a termination with a short dump.
    What happened?
         The current application program detected a situation which really
         should not occur. Therefore, a termination with a short dump was
         triggered on purpose by the key word MESSAGE (type X).
    Error analysis
        Short text of error message:
        No RFC destination is defined for SAP Global Trade Services
        Long text of error message:
        Technical information about the message:
        Message class....... "/SAPSLL/PLUGINR3"
        Number.............. 002
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "SAPLMBWL" or "LMBWLU21"
        "MB_POST_GOODS_MOVEMENT"
    SAP Notes i have reffered 1098491, 1041122
    Currently we are running on SAP_APPL     600     0007     SAPKH60007     
    Regards,
    Prashant

    Hi Rohit,
    This particular note is valid for
    Support
    Packages Release Package
    Name
    PI 2004_1_46B SAPKIPZI38
    PI 2004_1_46C SAPKIPZI48
    PI 2004_1_470 SAPKIPZI58
    PI 2004_1_500 SAPKIPZI68
    Our system is running on PI_BASIS     2006_1_700     0005     SAPKIPYM05
    Pls suggest.
    Regards,
    Prashant

  • ABAP DUMP While doing GI Through Zmovement type in MIGO Transaction

    Hi ,
    We have migrated from FM FBS to BCS from 12.01.2015.
    And we are using 101 profile with GR and IR update.
    We received blow ABAP Dump while doing the GI through MIGO Transaction.
    Can you please help on this.
    Dump detatils
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           CL_BUAVC_ENTRY================CP
    Application Component  PSM-FM-BCS-AC
    Date and Time          13.01.2015 09:10:00
    Operating system..... "AIX 1 6, AIX 1 7"                                                      |
    |                                                                                                  |
    |    Memory consumption                                                                            |
    |    Roll.... 0                                                                                    |
    |    EM...... 33518336                                                                             |
    |    Heap.... 0                                                                                    |
    |    Page.... 196608                                                                               |
    |    MM Used. 21989120                                                                             |
    |    MM Free. 3145840                                                                              |
    |User and Transaction                                                                              |
    |    Client.............. 256                                                                      |
    |    User................ "MM_BUX00_ZZ"                                                            |
    |    Language key........ "R"                                                                      |
    |    Transaction......... "MIGO_GI "                                                               |
    |    Transaction ID...... "54AEDD9E3EE60710E10080000A15C616"                                       |
    |                                                                                                  |
    |    EPP Whole Context ID.... "54B35F7088300910E10080000A15C616"                                   |
    |    EPP Connection ID....... 00000000000000000000000000000000                                     |
    |    EPP Caller Counter...... 0                                                                    |
    |                                                                                                  |
    |    Program............. "CL_BUAVC_ENTRY================CP"                                       |
    |    Screen.............. "SAPLMIGO 0001"                                                          |
    |    Screen Line......... 18                                                                       |
    |    Debugger Active..... "none"                                                                   |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "CL_BUAVC_ENTRY================CP" -                 |
    |     in "POST".                                                                                   |
    |    The main program was "SAPLMIGO ".                                                             |
    |                                                                                                  |
    |    In the source code you have the termination point in line 82                                  |
    |    of the (Include) program "CL_BUAVC_ENTRY================CM00J".                               |
    |Source Code Extract                                                                               |
    |Line |SourceCde                                                                                   |
    |   52|*--- method has provided some errors!):                                                     |
    |   53|                                                                                            |
    |   54|* Note 1499464:                                                                             |
    |   55|*      IF cl_abap_aab_utilities=>is_active( id = 'BUAVC_GROUP'                              |
    |   56|*       mode_assert_dump = 'X' ) = 'X'.                                                     |
    |   57|      MOVE 'X' TO l_flg_dump.                                                               |
    |   58|*      ENDIF.                                                                               |
    |   59|                                                                                            |
    |   60|*--- Check if the entry buffer of the AVC ledger contains data records                      |
    |   61|*--- from previous COLLECT events:                                                          |
    |   62|      IF ( l_f_avc_ledger-ref_ledger->entry_buffer_lines_count( ) > 0 ).                    |
    |   63|*--- Sorry, must dump:                                                                      |
    |   64|        ASSERT ID buavc_group                                                               |
    |   65|               FIELDS c_avc_text 'POSTING_NOT_ALLOWED'                                      |
    |   66|               CONDITION l_flg_dump <> 'X'.                                                 |
    |   67|        IF l_flg_dump = 'X'.                                                                |
    |   68|          MESSAGE x002(buavc) WITH c_avc_text space                                         |
    |   69|                                   'POSTING_NOT_ALLOWED' space.                             |
    |   70|        ENDIF.                                                                              |
    |   71|      ENDIF.                                                                                |
    |   72|    ENDIF.                                                                                  |
    |   73|*----------------------------------------------------------------------                     |
    |   74|* Note 1666556:                                                                             |
    |   75|    IF me->g_commit_before_post EQ 'X'.                                                     |
    |   76|*--- An unauthorized COMMIT WORK occurred before calling this POST                          |
    |   77|*--- method. This COMMIT WORK has refreshed the AVC entry buffer and                        |
    |   78|*--- would thus create a database inconsistency!                                            |
    |   79|      MOVE 'X' TO l_flg_dump.                                                               |
    |   80|      IF l_flg_dump = 'X'.                                                                  |
    |   81|*--- Sorry, must dump (see note 1666556):                                                   |
    |>>>>>|        MESSAGE x002(buavc) WITH c_avc_text space                                           |
    |   83|                                 'INVALID_COMMIT' space.                                    |
    |   84|      ENDIF.                                                                                |
    |   85|    ENDIF.                                                                                  |
    |   86|*----------------------------------------------------------------------                     |
    |   87|                                                                                            |
    |   88|                                                                                            |
    |   89|*--- Call the POST method of the corresponding ledger instance:                             |
    |   90|    CALL METHOD l_f_avc_ledger-ref_ledger->post                                             |
    |   91|      EXPORTING                                                                             |
    |   92|        i_ref_appl_log = me->g_ref_appl_log                                                 |
    |   93|        i_doc_ref      = i_doc_ref.                                                         |
    |   94|                                                                                            |
    |   95|  ENDLOOP.                                                                                  |
    |   96|                      
    Thanks Advance.
    SAM

    Hi Sam,
    Please check if there is any commit statement written in badi or enhancement before calling this method for posting which is leading to update termination.
    Regards,
    Prakash.

  • ABAP dump while executing transaction *PC00_M99_CIPE*

    Hi,
    Getting ABAP dump while executing transaction PC00_M99_CIPE  ,hence cannot do payroll posting .
        Information on where terminated
        Termination occurred in the ABAP program "CL_HRFPM_CD_CLOSING_HANDLER===CP" -
         in "GET_FM_POS_CHECK_DATA".
        The main program was "RPCIPE00 ".
        In the source code you have the termination point in line 13
        of the (Include) program "CL_HRFPM_CD_CLOSING_HANDLER===CM00E".
    We have recently upgraded our patch level.
    SAP_OCS(SPAM/SAINT)          SAPKD70026            SAPKD70033
    SAP_ABA                                SAPKA70012            SAPKA70018
    SAP_BASIS                              SAPKB70012           SAPKB70018
    PI_BASIS                                 SAPKIPYJ7B            SAPKIPYJ7I
    SAP_BW                                  SAPKW70012           SAPKW70020
    SAP_AP                                   SAPKNA7008           SAPKNA7015
    SAP_APPL                                SAPKH60009           SAPKH60015
    SAP_HR                                  SAPKE60028            SAPKE60039
    EA-HR                                     SAPKGPHD07          SAPKGPHD26
    Kindly guide me.
    Regards,
    Rachel

    thanks for the quick response.
    By applying  note 1137655,problem got resoved.
    FORM CHECK_CMTNT_UPDATE_CLOSED
    Delta001
    Context Block
    FORM check_cmtnt_update_closed
               USING
                  u_key_date TYPE begda
               CHANGING
                  c_flg_cmtnt_closed.
    Delete Block
      DATA ls_encumb_iv TYPE t77hrfpm_encumb.
      DATA l_gsval TYPE t77s0-gsval.
      DATA ls_fm_pos_key TYPE hrfpm_fm_doc_pos-key_pos.
      DATA lx TYPE REF TO cx_hrfpm.
      STATICS so_closing_handler TYPE REF TO cl_hrfpm_cd_closing_handler.
      CLEAR c_flg_cmtnt_closed .
    *--- old switch from note??? active?
    *--- if so: use the old logic
      cl_hr_t77s0=>read_gsval(
        EXPORTING
          grpid       = 'HRFPM'
          semid       = 'CHKAC'
        IMPORTING
          returnvalue = l_gsval ).
      TRY.
          IF NOT l_gsval IS INITIAL .
            TRY.
                c_flg_cmtnt_closed = 'X'.
    Insert Block
      DATA: ls_encumb_iv TYPE t77hrfpm_encumb.
      STATICS:
          s_gsval TYPE t77s0-gsval,
          s_gsval_read TYPE flag.
      IF s_gsval_read IS INITIAL .
        SELECT SINGLE gsval
           FROM t77s0
          INTO s_gsval
          WHERE grpid = 'HRFPM'
            AND semid = 'CHKAC' .
        s_gsval_read = 'X'.
      ENDIF.
      CLEAR c_flg_cmtnt_closed .
      TRY.
          c_flg_cmtnt_closed = 'X'.
    Delta002
    Context Block
        CATCH
            cx_hrfpm_db_operation
            cx_hrfpm_ad_customizing .
    Delete Block
            ENDTRY.
          ELSE.
    *--- using closed period functionality of PBC
            IF so_closing_handler IS INITIAL .
              CREATE OBJECT so_closing_handler.
            ENDIF.
            IF so_closing_handler->consumption_in_closed_period(
                       i_key_date = u_key_date
                       is_fm_pos_key = ls_fm_pos_key )
                 IS INITIAL.
              c_flg_cmtnt_closed = 'X'.
            ENDIF.
          ENDIF.
        CATCH cx_hrfpm INTO lx.
        lx->raise_sy_message( ).
      ENDTRY.
    ENDFORM.                    "check_cmtnt_update_closed
    Insert Block
      ENDTRY.
    ENDFORM.                    "check_cmtnt_update_closed

  • Short Dump While Accessing RSA1 in BI7.0 with SP 21

    Hi,
    The following short dump occurs, while Accessing RSA1 in BI7.0
    Runtime Errors SYNTAX_ERROR
    Date and Time 26.10.2010 10:19:35
    Short text
         Syntax error in program "CL_RSTRAN_STAT================CP ".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "CL_RSAWBN_OBJ_TRFN============CP" had to be
          terminated because it has
         come across a statement that unfortunately cannot be executed.
         The following syntax error occurred in program
          "CL_RSTRAN_STAT================CP " in include
          "CL_RSTRAN_STAT================CM00X " in
         line 34:
         "Der formale Parameter "E_TLOGO_MASK" existiert nicht."
         The include has been created and last changed by:
         Created by: "SAP "
         Last changed by: "SAP "
         Error in the ABAP Application Program
         The current ABAP program "CL_RSAWBN_OBJ_TRFN============CP" had to be
          terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
        Please eliminate the error by performing a syntax check
        (or an extended program check) on the program "CL_RSTRAN_STAT================CP
        You can also perform the syntax check from the ABAP Editor.
        If the problem persists, proceed as follows:
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        The following syntax error was found in the program
         CL_RSTRAN_STAT================CP :
        "Der formale Parameter "E_TLOGO_MASK" existiert nicht."
    i.e parameter E_TLOGO_MASK is not existing.
    I have gone through below old thread, but its for old SP
    Runtime Error SYNTAX_ERROR while accessing the T-code RSA1
    In our case, I guess it refers to our patch level as this SAP Note is referring to support package 17,
    but we have implemented support package 21.
    Please help <REMOVED_BY_MODERATOR> as this is blocking our next level in BI upgrade process.
    Thanks in advance.
    Regards,
    Manikandan Dhanakoti
    Edited by: Manikandan.D on Oct 29, 2010 8:37 AM
    Edited by: Pravender on Nov 1, 2010 12:30 PM

    See if below threat is any help.
    Runtime Error SYNTAX_ERROR while accessing the T-code RSA1

  • ABAP Dump while creating Group Asset

    Hi all
    I am getting the following dump while creating Group Asset through AS21-
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL
    Date and Time          19.11.2007 21:16:06
    Short text
         Access via 'NULL' object reference not possible.
    What happened?
         Error in the ABAP Application Program
    The current ABAP program "SAPLGLO_FIAA_SCREENS" had to be terminated because it
    has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
    caught in  procedure "SET_MANAGER_FOR_UPDATE" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: "GO_ASSET_MAINDATA").
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    Source Code Extract
    Line  SourceCde
      545 *      -->P_LS_WORK  text
      546 *      <--P_LO_ASSET_MANAGER  text
      547 *      <--P_LO_TIMEDPNDNT_MANGER  text
      548 *----
      549 FORM set_manager_for_update
      550        USING
      551          is_work TYPE raist03
      552        CHANGING
      553          co_asset_manager    LIKE go_asset_manager
      554          co_timedpndt_manger LIKE go_timedpndt_manager
      555          ct_err_msg          TYPE tt_err_msg.
      556
      557   DATA:
      558     ls_asset_maindata TYPE gty_s_asset_maindata,
      559     ls_anla_key       TYPE anla_key,
      560     ls_err_msg        LIKE LINE OF ct_err_msg.
      561
      562 * check operation
      563   IF is_work-kz      EQ con_ins AND
      564      is_work-flg_unr NE on.
      565
      566     MOVE-CORRESPONDING is_work TO ls_anla_key.
      567     ls_anla_key-mandt = sy-mandt.
      568     ls_anla_key-anln1 = is_work-anln1_new.
      569 * start of Note # 954513
      570     IF ls_anla_key-anln1 IS INITIAL.
      571       ls_anla_key-anln1 = is_work-anln1.
      572     ENDIF.
      573 * end of Note # 954513
    >>>>>     ls_asset_maindata = go_asset_maindata->get( ).
      576
      577 * clone time-independent asset data manager
      578     TRY.
      579         co_asset_manager = lcl_amd_mngr_clone_factory=>clone_asset_manager( ls_anla_key ).
      580
      581       CATCH cx_faa_asset.
    Any1 has a clue where I might be going wrong?
    Cheers
    Hrishi

    Hello Hrishi
    I have researched your issue and note 1063792 should resolve it. The
    SAP_APPL that it is included in is SAPKH60011. I recommend you to upgrade to the latest support package available to avoid eventual errors.
    For program errors you should open a support ticket in the SAP Service Market place.
    Regards
    Javier

  • ABAP DUMP while loading master data

    hi Gurus,
                  I am trying to load master data but I am getting the following dump , I cannot infer anything from the Dump message, I would be grateful if anyone could throw some light on it..
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC                                                             
    Exception              CX_SY_OPEN_SQL_DB                                                                      
           Occurred on     11/13/2006 at 13:17:57                                                                               
    The ABAP/4 Open SQL array insert results in duplicate database records.                                                                               
    What happened?                                                                               
    Error in ABAP application program.                                                                               
    The current ABAP program "CL_RSDMD_UPDATE_MASTER_DATA===CP " had to be                                        
    terminated because one of the                                                                               
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                                                                               
    What can you do?                                                                               
    Print out the error message (using the "Print" function)                                                      
    and make a note of the actions and input that caused the                                                      
    error.                                                                               
    To resolve the problem, contact your SAP system administrator.                                                
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer                                      
    termination messages, especially those beyond their normal deletion                                          
    date.                                                                               
    is especially useful if you want to keep a particular message.                                                                               
    rror analysis                                                                               
    n exception occurred. This exception is dealt with in more detail below   
    The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was   
    neither                                                                   
    aught nor passed along using a RAISING clause, in the procedure "_DB_FIRE"
    "(METHOD)"                                                                               
    ince the caller of the procedure could not have expected this exception   
    to occur, the running program was terminated.                             
    he reason for the exception is:                                           
    f you use an ABAP/4 Open SQL array insert to insert a record in           
    he database and that record already exists with the same key,             
    his results in a termination.                                                                               
    With an ABAP/4 Open SQL single record insert in the same error            
    ituation, processing does not terminate, but SY-SUBRC is set to 4.)                                                                               
    ow to correct the error                                                                               
    he exception must either be prevented, caught within the procedure "_DB_FIR
    (METHOD)", or declared in the procedure's RAISING clause.                 
    o prevent the exception, note the following:                              
    se an ABAP/4 Open SQL array insert only if you are sure that none of      
    he records passed already exists in the database.                                                                               
    ou may able to find an interim solution to the problem                    
    n the SAP note system. If you have access to the note system yourself,    
    se the following search criteria:                                                                               
    APSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC                                
    L_RSDMD_UPDATE_MASTER_DATA===CP " or "CL_RSDMD_UPDATE_MASTER_DATA===CM00Y "  
    DB_FIRE"

    one of the response says " In the infopackage set processing as 'Only PSA' and tick the checkboxes for 'Update subsequently in data targets' and 'delete duplicate records'.then try to reload."
    I do not find the Delete duplicate records check box in the IP...cananyonepls tell me where to find thid check box?
    thanks

  • ABAP Dump while using "Upload from clipboard"

    Hi,
    We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.
    "Upload data" is working fine if some data exists on the clipboard. If in case of no data on the clipboard, it is leading to an ABAP dump.
    Appreciate if anyone could point some OSS note or any solution if you've already faced this issue.
    This is happening in our BW system with SAP_BASIS "SAPKB62018" and SAP_ABA "SAPKA62018".
    Same thing happens in our BW test systems which are upgraded to the latest support pack.
    Following is the error analysis
    Error analysis                                                                               
    A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP " raised the        
    exception                                                                             
    condition "CNTL_ERROR".                                                                
    Since the exception was not intercepted by a superior program                          
    in the hierarchy, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    For detailed documentation of the exception condition, use                             
    Transaction SE37 (Function Library). You can take the called                           
    function module from the display of active calls.                                      
    How to correct the error                                                                               
    You may able to find an interim solution to the problem                                
    in the SAP note system. If you have access to the note system yourself,                
    use the following search criteria:                                                                               
    "RAISE_EXCEPTION" C                                                                    
    "CL_GUI_FRONTEND_SERVICES======CP " or "CL_GUI_FRONTEND_SERVICES======CM00T "          
    "CLIPBOARD_IMPORT"

    Hi,
    When you say 'We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.', are you using this in a custom program and are you running your custom program in the background?
    From the error you mentioned, to me it looks like you had a control error and controls are for foreground, online process and not suitable for background processing. Same argument holds good for most of the enjoy SAP transactions when you try to do BDC, they will give you a similar error if you hit the piece of code where controls are used.
    Controls are created on the desktop of the user and in background this is not possible.
    Please let me know if this is the reason.
    Srinivas

  • ABAP Dump while doing total(summing up)

    Hello Experts
    I have a report:
    This program reads Sales Order and Delivery information. When i tried to sum the Order Quantity, an ABAP Dump is coming. Can anyone help me in correcting my Code?
    Program looks like following and DUMP follows.
    Global data declaration
    TYPE-POOLS: slis.
    TABLES: vbap, vbrk, vbfa, vbak, vbrp, konv, kna1, bkpf, bsad, bkpf_bsad,
    knvv, pa0002, t005u, mvke, lips, likp, vbpa, vbep.
    DATA: BEGIN OF i_list OCCURS 0,
          vbeln LIKE vbak-vbeln,
          posnr LIKE vbap-posnr,
          etenr like vbep-etenr,
          matnr LIKE vbap-matnr,
          erdat LIKE vbap-erdat,
          mvgr1 LIKE mvke-mvgr1,
          wadat_ist LIKE likp-wadat_ist,
          days TYPE i,
          werks LIKE vbap-werks,
          lgort LIKE vbap-lgort,
          kwmeng LIKE vbap-kwmeng,"                                  CH01+
          lfimg  LIKE lips-lfimg,"                                   CH01+
          pstyv  LIKE vbap-pstyv,"                                   CH01+
          obd    LIKE lips-vbeln,"                                   CH01+
          obd_pos LIKE lips-posnr,"                                  CH01+
          soldto  LIKE vbaK-kunnr,"                                  JR+
          shipto  LIKE vbpa-kunnr,"                                  JR+
          edatu like vbep-edatu,"                                    PR+
          END OF i_list.
    DATA: i_list2 LIKE i_list OCCURS 0 WITH HEADER LINE,
          i_list3 LIKE i_list OCCURS 0 WITH HEADER LINE.
    DATA: i_list4 LIKE vbap OCCURS 0 WITH HEADER LINE.
    *ALV Output Header
    DATA: gt_list_top_of_page TYPE slis_t_listheader,
          prognm     LIKE sy-repid,
          gc_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE',
          gt_events   TYPE slis_t_event,
          is_layout TYPE slis_layout_alv,
          is_variant LIKE disvariant,
          it_sort  TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    DATA:gt_fieldcat TYPE slis_t_fieldcat_alv.
    DATA:gt_outtab LIKE i_list OCCURS 0 WITH HEADER LINE.
    DATA:   g_repid LIKE sy-repid,
            g_count LIKE sy-tabix.
    SELECTION-SCREEN BEGIN OF BLOCK block0 WITH FRAME TITLE text-t01.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(79) text-t10.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(79) text-t11.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(79) text-t12.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN END OF BLOCK block0.
    */ Selection and Input Parameters
    SELECTION-SCREEN BEGIN OF BLOCK blocko WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_vbeln FOR vbap-vbeln, "SO
                    s_auart FOR vbak-auart DEFAULT 'KB' OBLIGATORY,
                    s_matnr FOR vbap-matnr," obligatory,
                    s_mvgr1 FOR mvke-mvgr1,
                    s_erdat FOR vbap-erdat OBLIGATORY,
                    s_werks FOR vbap-werks,
                    s_lgort FOR vbap-lgort,
                    s_edatu FOR vbep-edatu.
    PARAMETERS:     p_vkorg LIKE vbak-vkorg DEFAULT '5010'.
    SELECTION-SCREEN SKIP 2.
    +EC1
    Addition                                                          +EC1
    +EC1
    PARAMETERS: p_vari LIKE disvariant-variant.
    +EC1
    End Addition                                                      +EC1
    +EC1
    SELECTION-SCREEN END OF BLOCK blocko.
    +EC1
    Addition                                                          +EC1
    +EC1
    DATA:   g_save(1) TYPE c,
           g_default(1) TYPE c,
            g_exit(1) TYPE c,
            gx_variant LIKE disvariant,
            g_variant LIKE disvariant.
    +EC1
    End Addition                                                      +EC1
    +EC1
    Initialization fieldcatalog
    INITIALIZATION.
    PERFORM clear_tables.
      g_repid = sy-repid.
      PERFORM fieldcat_init USING gt_fieldcat[].
    +EC1
    Addition                                                          +EC1
    +EC1
      g_save = 'A'.
      PERFORM variant_init.
    Get default variant
      gx_variant = g_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save     = g_save
           CHANGING
                cs_variant = gx_variant
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc = 0.
        p_vari = gx_variant-variant.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
      PERFORM f4_for_variant.
    AT SELECTION-SCREEN.
      PERFORM auth_check.  "+ESC
      PERFORM pai_of_selection_screen.
    +EC1
    End Addition                                                      +EC1
    +EC1
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM alv.
    END-OF-SELECTION.
          FORM get_data                                                 *
    FORM get_data.
    *CH01 - Added kwmeng(order qty) to selection, excluded rejects
    *JR -added soldto and shipto code
      SELECT avbeln aposnr amatnr aerdat awerks algort
             akwmeng apstyv bkunnr cedatu
    CH01+
      INTO
    (i_list-vbeln, i_list-posnr, i_list-matnr, i_list-erdat, i_list-werks,
    i_list-lgort,
    i_list-kwmeng , i_list-pstyv, i_list-soldto,i_list-edatu)
           CH01+
      FROM vbap AS a INNER JOIN vbak AS b ON avbeln = bvbeln
                     INNER JOIN vbep AS c ON avbeln = cvbeln
      WHERE b~vkorg = p_vkorg
      AND   a~werks IN s_werks
      AND   a~lgort IN s_lgort
      AND   b~auart IN s_auart
      AND   a~vbeln IN s_vbeln
      AND   a~erdat IN s_erdat
      AND   a~abgru = ''"                                            CH01+
      AND   a~matnr IN s_matnr
      AND   c~edatu IN s_edatu.
        APPEND i_list.
      ENDSELECT.
      COMMIT WORK AND WAIT.
    SORT i_list BY VBELN POSNR EDATU.
    DELETE ADJACENT DUPLICATES FROM i_list COMPARING vbeln posnr.
      LOOP AT i_list.
        SELECT SINGLE mvgr1 INTO i_list-mvgr1 FROM mvke
        WHERE matnr = i_list-matnr.
        MODIFY i_list.
        CLEAR: i_list.
      ENDLOOP.
      COMMIT WORK AND WAIT.
      LOOP AT i_list.
        IF i_list-mvgr1 IN s_mvgr1.
          CONTINUE.
        ELSE.
          DELETE i_list.
          COMMIT WORK AND WAIT.
        ENDIF.
      ENDLOOP.
    CH01 - commented these lines out and redid logic below
    LOOP AT i_list.
       select single vbeln into lips-vbeln from lips
       where vgbel = i_list-vbeln
       and   vgpos = i_list-posnr.
       select single wadat_ist into i_list-wadat_ist from likp
       where vbeln = lips-vbeln.
       SELECT b~wadat_ist  INTO i_list-wadat_ist
       FROM lips AS a INNER JOIN
       likp AS b ON avbeln = bvbeln WHERE a~vgbel = i_list-vbeln
                                      AND   a~vgpos = i_list-posnr.
         MODIFY i_list.
         CLEAR: i_list, lips-vbeln.
       ENDSELECT.
    ENDLOOP.
    CH01 - Changed to select multiple delivery lines & del qty
    summing the total deliveries per OBD# and date
      LOOP AT i_list.
        SELECT avbeln   sum( alfimg ) b~wadat_ist
        INTO (i_list-obd , i_list-lfimg , i_list-wadat_ist)
        FROM lips AS a INNER JOIN
        likp AS b ON avbeln = bvbeln WHERE a~vgbel = i_list-vbeln
                                       AND   a~vgpos = i_list-posnr
                                       AND   a~pstyv = i_list-pstyv
          group by avbeln bwadat_ist.
          i_list2 = i_list.
          APPEND i_list2.
        ENDSELECT.
        IF sy-subrc <> 0.
          i_list2 = i_list.
          APPEND i_list2.
        ENDIF.
      ENDLOOP.
      i_list[] = i_list2[].
    *End CH01
      COMMIT WORK AND WAIT.
      LOOP AT i_list.
        IF  i_list-wadat_ist IS INITIAL.
          CONTINUE.
        ELSE.
          i_list-days = i_list-wadat_ist - i_list-erdat.
        ENDIF.
        MODIFY i_list.
        CLEAR: i_list.
        COMMIT WORK AND WAIT.
      ENDLOOP.
      COMMIT WORK AND WAIT.
      LOOP AT i_list.
        IF i_list-vbeln IS INITIAL.
          DELETE i_list.
        ENDIF.
      ENDLOOP.
      COMMIT WORK AND WAIT.
    *JR
      LOOP AT i_list.
        SELECT SINGLE KUNNR INTO i_list-shipto FROM vbpa
        WHERE vbeln = i_list-vbeln
         AND parvw = 'WE'.
        MODIFY i_list.
      ENDLOOP.
    *END JR
      gt_outtab[] = i_list[].
      COMMIT WORK AND WAIT.
    ENDFORM.
          FORM alv                                                      *
    FORM alv.
      PERFORM e03_eventtab_build USING gt_events[].             "+EC1
      PERFORM e04_comment_build  USING gt_list_top_of_page[].   "+EC1
      prognm = sy-repid.                                        "+EC1
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
               i_callback_user_command = 'USER_COMMAND'
               i_callback_program      = g_repid
               it_fieldcat             = gt_fieldcat[]
               it_events               = gt_events[]    "+ESC
               it_sort                 = it_sort[]
    +EC1
    Addition                                                          +EC1
    +EC1
               is_variant              = g_variant
               i_save                  = g_save
    +EC1
    End Addition                                                      +EC1
    +EC1
          TABLES
               t_outtab                = gt_outtab.
      COMMIT WORK AND WAIT.
    ENDFORM.
          FORM fieldcat_init                                            *
    -->  I_FIELDCAT                                                    *
    FORM fieldcat_init
          USING i_fieldcat TYPE slis_t_fieldcat_alv.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      DATA: pos TYPE i VALUE 1.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'VBELN'.
      ls_fieldcat-ref_tabname   = 'VBAK'.
      ls_fieldcat-key           = 'X'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'POSNR'.
      ls_fieldcat-ref_tabname   = 'VBAP'.
      ls_fieldcat-key           = 'X'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'MATNR'.
      ls_fieldcat-ref_tabname   = 'VBAP'.
      ls_fieldcat-key           = 'X'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'MVGR1'.
      ls_fieldcat-ref_tabname   = 'MVKE'.
      ls_fieldcat-key           = 'X'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'WERKS'.
      ls_fieldcat-ref_tabname   = 'VBAP'.
    ls_fieldcat-key           = 'X'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'LGORT'.
      ls_fieldcat-ref_tabname   = 'VBAP'.
    ls_fieldcat-key           = 'X'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'ERDAT'.
      ls_fieldcat-ref_tabname   = 'VBAP'.
    ls_fieldcat-key           = 'X'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'WADAT_IST'.
      ls_fieldcat-ref_tabname   = 'LIKP'.
    ls_fieldcat-key           = 'X'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'DAYS'.
      ls_fieldcat-ref_fieldname = 'DAYS'.
      ls_fieldcat-seltext_s     = '# Of Days'.
      ls_fieldcat-seltext_m     = '# Of Days'.
      ls_fieldcat-seltext_l     = '# Of Days'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
    *Begin CH01
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'KWMENG'.
      ls_fieldcat-ref_tabname   = 'VBAP'.
      ls_fieldcat-outputlen     = 7.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'LFIMG'.
      ls_fieldcat-ref_tabname   = 'LIPS'.
      ls_fieldcat-outputlen     = 7.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'OBD'.
      ls_fieldcat-seltext_s     = 'OBD'.
      ls_fieldcat-seltext_m     = 'Outbound Del'.
      ls_fieldcat-seltext_l     = 'Outbound Delivery'.
      ls_fieldcat-outputlen     = 10.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
    ls_fieldcat-col_pos       =  pos.
    ls_fieldcat-fieldname     = 'OBD_POS'.
    ls_fieldcat-seltext_s     = 'OBD Ln'.
    ls_fieldcat-seltext_m     = 'Outbound Del Ln'.
    ls_fieldcat-seltext_l     = 'Outbound Del Line'.
    ls_fieldcat-outputlen     = 10.
    APPEND ls_fieldcat TO i_fieldcat.
    CLEAR ls_fieldcat.
    *End CH01
    *JR
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'SOLDTO'.
      ls_fieldcat-ref_tabname   = 'VBAP'.
      ls_fieldcat-seltext_m     = 'Sold To'.
      ls_fieldcat-seltext_l     = 'Sold To'.
      ls_fieldcat-outputlen     = 10.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos       =  pos.
      ls_fieldcat-fieldname     = 'SHIPTO'.
      ls_fieldcat-ref_tabname   = 'VBPA'.
      ls_fieldcat-seltext_m     = 'Ship To'.
      ls_fieldcat-seltext_l     = 'Ship To'.
      ls_fieldcat-outputlen     = 10.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
      pos = pos + 1.
      ls_fieldcat-col_pos = pos.
      ls_fieldcat-fieldname = 'ETERN'.
      ls_fieldcat-ref_tabname = 'VBEP'.
      ls_fieldcat-seltext_m     = 'Schedule line number'.
      ls_fieldcat-seltext_l     = 'Schedule line number'.
    ls_fieldcat-key = 'Schedule line number'.
      APPEND ls_fieldcat TO i_fieldcat.
      CLEAR ls_fieldcat.
    *END JR
    pos = pos + 1.
    ls_fieldcat-col_pos = pos.
    ls_fieldcat-fieldname = 'EDATU'.
    ls_fieldcat-ref_tabname = 'VBEP'.
    ls_fieldcat-seltext_m = 'Requested Delivery date'.
    ls_fieldcat-seltext_l = 'Requested Delivery date'.
    ls_fieldcat-outputlen = 20.
    APPEND ls_fieldcat TO i_fieldcat.
    CLEAR ls_fieldcat.
    *FOR ALV SORT & SUBTOTAL
      CLEAR it_sort.
      it_sort-spos = '0'.
      it_sort-fieldname = 'VBELN'.
      it_sort-tabname = 'GT_OUTTAB'.
      it_sort-up = 'X'.
    it_sort-subtot = 'X'.
      APPEND it_sort.
      CLEAR it_sort.
      it_sort-spos = '1'.
      it_sort-fieldname = 'POSNR'.
      it_sort-tabname = 'GT_OUTTAB'.
      it_sort-up = 'X'.
      it_sort-subtot = 'X'.
    it_sort-subtot = 'X'.
      APPEND it_sort.
      CLEAR it_sort.
      it_sort-spos = '2'.
      it_sort-fieldname = 'MATNR'.
      it_sort-tabname = 'GT_OUTTAB'.
      it_sort-up = 'X'.
    it_sort-subtot = 'X'.
      APPEND it_sort.
      CLEAR it_sort.
      it_sort-spos = '3'.
      it_sort-fieldname = 'MVGR1'.
      it_sort-tabname = 'GT_OUTTAB'.
      it_sort-up = 'X'.
    it_sort-subtot = 'X'.
      APPEND it_sort.
      CLEAR it_sort.
      it_sort-spos = '4'.
      it_sort-fieldname = 'ERDAT'.
      it_sort-tabname = 'GT_OUTTAB'.
      it_sort-up = 'X'.
    it_sort-subtot = 'X'.
      APPEND it_sort.
      CLEAR it_sort.
      it_sort-spos = '5'.
      it_sort-fieldname = 'WADAT_IST'.
      it_sort-tabname = 'GT_OUTTAB'.
      it_sort-down = 'X'.
    it_sort-subtot = 'X'.
      APPEND it_sort.
    CLEAR it_sort.
    it_sort-spos = '6'.
    it_sort-fieldname = 'PERNR'.
    it_sort-tabname = 'GT_OUTTAB'.
    it_sort-up = 'X'.
    it_sort-subtot = 'X'.
    APPEND it_sort.
    CLEAR it_sort.
    it_sort-spos = '7'.
    it_sort-fieldname = 'VORNA'.
    it_sort-tabname = 'GT_OUTTAB'.
    it_sort-up = 'X'.
    it_sort-subtot = 'X'.
    APPEND it_sort.
    CLEAR it_sort.
    it_sort-spos = '8'.
    it_sort-fieldname = 'NACHN'.
    it_sort-tabname = 'GT_OUTTAB'.
    it_sort-up = 'X'.
    it_sort-subtot = 'X'.
    APPEND it_sort.
    CLEAR it_sort.
    it_sort-spos = '9'.
    it_sort-fieldname = 'VKGRP'.
    it_sort-tabname = 'GT_OUTTAB'.
    it_sort-up = 'X'.
    it_sort-subtot = 'X'.
    APPEND it_sort.
    CLEAR it_sort.
    it_sort-spos = '10'.
    it_sort-fieldname = 'VBELN'.
    it_sort-tabname = 'GT_OUTTAB'.
    it_sort-up = 'X'.
    it_sort-subtot = 'X'.
    APPEND it_sort.
    CLEAR it_sort.
    it_sort-spos = '11'.
    it_sort-fieldname = 'ERDAT'.
    it_sort-tabname = 'GT_OUTTAB'.
    it_sort-up = 'X'.
    it_sort-subtot = 'X'.
    APPEND it_sort.
    CLEAR it_sort.
    it_sort-spos = '12'.
    it_sort-fieldname = 'BEZEI'.
    it_sort-tabname = 'GT_OUTTAB'.
    it_sort-up = 'X'.
    it_sort-subtot = 'X'.
    APPEND it_sort.
    clear it_sort.
    it_sort-spos = '1'.
    it_sort-fieldname = 'BELNR'.
    it_sort-tabname = 'GT_OUTTAB'.
    it_sort-up = 'X'.
    append it_sort.
    ENDFORM.
    +EC1
    Addition                                                          +EC1
    +EC1
    *&      Form  VARIANT_INIT
          text
    -->  p1        text
    <--  p2        text
    FORM variant_init.
      CLEAR g_variant.
      g_variant-report = g_repid.
    ENDFORM.                               " VARIANT_INIT
          FORM f4_for_variant                                           *
    FORM f4_for_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant          = g_variant
                i_save              = g_save
              it_default_fieldcat =
           IMPORTING
                e_exit              = g_exit
                es_variant          = gx_variant
           EXCEPTIONS
                not_found = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S'      NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF g_exit = space.
          p_vari = gx_variant-variant.
        ENDIF.
      ENDIF.
    ENDFORM.
    *&      Form  PAI_OF_SELECTION_SCREEN
          text
    FORM pai_of_selection_screen.
      IF NOT p_vari IS INITIAL.
        MOVE g_variant TO gx_variant.
        MOVE p_vari TO gx_variant-variant.
        CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
             EXPORTING
                  i_save     = g_save
             CHANGING
                  cs_variant = gx_variant.
        g_variant = gx_variant.
      ELSE.
        PERFORM variant_init.
      ENDIF.
    ENDFORM.                               " PAI_OF_SELECTION_SCREEN
    +EC1
    End Addition                                                      +EC1
    +EC1
          FORM e03_eventtab_build                                       *
    -->  E03_LT_EVENTS                                                 *
    FORM e03_eventtab_build USING e03_lt_events TYPE slis_t_event.
      DATA: ls_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                i_list_type = 0
           IMPORTING
                et_events   = e03_lt_events.
      READ TABLE e03_lt_events WITH KEY name =  slis_ev_top_of_page
                               INTO ls_event.
      IF sy-subrc = 0.
        MOVE gc_formname_top_of_page TO ls_event-form.
        APPEND ls_event TO e03_lt_events.
      ENDIF.
    ENDFORM.
          FORM e04_comment_build                                        *
    -->  E04_LT_TOP_OF_PAGE                                            *
    FORM e04_comment_build USING e04_lt_top_of_page TYPE slis_t_listheader.
      DATA: ls_line TYPE slis_listheader.
    *Report Title
      CLEAR ls_line.
      ls_line-typ  = 'H'.
      ls_line-info = text-007.
      APPEND ls_line TO e04_lt_top_of_page.
    **Doc Type Desc.
    clear ls_line.
    ls_line-typ  = 'S'.
    ls_line-key = text-008.
    ls_line-info = p_matnr.
    append ls_line to e04_lt_top_of_page.
    clear ls_line.
    ls_line-typ  = 'S'.
    ls_line-key  = text-009.
    ls_line-info = p_werks.
    append ls_line to e04_lt_top_of_page.
    clear ls_line.
    ls_line-typ  = 'S'.
    ls_line-key = text-010.
    ls_line-info = p_stlan.
    append ls_line to e04_lt_top_of_page.
    clear ls_line.
    ls_line-typ  = 'S'.
    ls_line-key = text-011.
    ls_line-info = p_stlal.
    append ls_line to e04_lt_top_of_page.
    clear ls_line.
    ls_line-typ  = 'S'.
    ls_line-key = text-012.
    ls_line-info = p_stlal.
    append ls_line to e04_lt_top_of_page.
    ENDFORM.
          FORM top_of_page                                              *
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = gt_list_top_of_page.
    ENDFORM.
          FORM auth_check                                               *
    FORM auth_check.
      AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
                      ID 'VKORG' FIELD p_vkorg.
      IF sy-subrc NE 0.
        MESSAGE e054 WITH p_vkorg.
      ENDIF.
    ENDFORM.                    " auth_check
    *&      Form  USER_COMMAND
    FORM user_command  USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&IC1'.
          PERFORM display_so_order USING r_ucomm
                                        rs_selfield.
      ENDCASE.
    ENDFORM.
    *&      Form  display_sales_order
          text
         -->P_R_UCOMM  text
         -->P_RS_SELFIELD  text
    FORM display_so_order USING    r_ucomm LIKE sy-ucomm
                                             rs_selfield TYPE slis_selfield.
      CASE rs_selfield-sel_tab_field.
        WHEN '1-VBELN'.
          SET PARAMETER ID 'AUN' FIELD rs_selfield-value.
          CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
        WHEN '1-MATNR'.
          SET PARAMETER ID 'MAT' FIELD rs_selfield-value.
          CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
        WHEN '1-OBD'.
          SET PARAMETER ID 'VL' FIELD rs_selfield-value.
          CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
        WHEN OTHERS.
          MESSAGE i000(z1) WITH 'Please Click on the Valid Selection'.
          EXIT.
      ENDCASE.
    ENDFORM.                    " display_sales_order
          FORM EDit_table                                               *
    -do_sum = 'C'.     
    009350   *     save the actual grouplevel information                        
    009360         gs_grouplevels = rs_grouplevels.                              
    009370         clear g_lines.                                                
    009380                                                                       
    009390   *     get number of lines of the collect table                      
    009400         describe table rt_data lines g_lines.                         
    009410   *     if there is only one line or the field has no references so   
    009420   *     that only the first line has to be considered                                                                               
    Contents of system fields                                                                               
    SY field contents..................... SY field contents.....................                                                                               
    SY-SUBRC 4                             SY-INDEX 1                                      
    SY-TABIX 15                            SY-DBCNT 1                                      
    SY-FDPOS 1                             SY-LSIND 0                                      
    SY-PAGNO 0                             SY-LINNO 1            
    SY-COLNO 1                                                                               
    Chosen variables                                                                               
    Name.......................... Contents.1........2........3....+....4                                                                               
    %_ARCHIVE                                                                               
    4444444444444444444444444444444444444444            
                                   0000000000000000000000000000000000000000            
    ... +  40                                                                               
    4444444444444444444444444444444444444444            
                                   0000000000000000000000000000000000000000            
    ... +  80                                                                               
    4444444444444444444444444444444444444444            
                                   0000000000000000000000000000000000000000            
    ... + 120                                                                               
    44444444                                            
                                   0000000                                             
    -FIELDNAME        ETERN                                                                               
    CECDD4444444444444444444444444                       
                                  535950000000000000000000000000                       
    T_DATA                        00004082920002000000                  00             
                                  FFFFFFFFFFFFFFFFFFFF444444444444444444FF             
                                  0000408292000200000000000000000000000000             
    .. +  40                      000000   00000000#######        ########             
                                  FFFFFF444FFFFFFFF00000004444444400000000             
                                  000000000000000000000000000000000000000C             
    .. +  80                      #######              000000                          
                                  000000044444444444444FFFFFF4444444444444             
                                  000000C000000000000000000000000000000000             
    .. + 120                             00000000#                                     
                                  4444444F                                             
                                  0000000                                              
    S_DRAGDROP                                                    ####                 
                                  444444444444444444444444444444440000                 
                                  000000000000000000000000000000000000
                                   000000000000000000000000000000000000             
    SY-SUBRC                       4                                                                               
    0000                                             
                                   0004                                             
    SY-XPROG                       SAPCNVE                                          
                                   ECDCDEC444444444444444444444444444444444         
                                   2173555000000000000000000000000000000000         
    %_SPACE                                                                               
    0                                                                               
    0                                                
    SY-MSGID                       0K                                                                               
    FD444444444444444444                             
                                   02000000000000000000                             
    %_PRINT                            000                                          
                                   4444FFF444444444444444444444444444444444         
                                   0000000000000000000000000000000000000000         
    ... +  40                                                                               
    4444444444444444444444444444444444444444         
                                   0000000000000000000000000000000000000000         
    ... +  80                                0 ########                             
                                   4444444444F40000000044444444444444444444         
                                   0000000000000000000000000000000000000000         
    ... + 120                                                                               
    44444444                                         
                                   0000000                                          
    SY-MSGNO                       000                                              
                                   FFF                                              
                                   000
                                   000                                                   
    %_ITAB_MODIFY_LIST             ###########################ø##Èø########              
                                   0000000000000000000000000007007700000000              
                                   0000000000000000000000004000004000000000              
    ... +  40                      ###################################Ø#²#0              
                                   0001000100010000FFFF00000000020000083E0F              
                                   0009000900090000FFFF04000002900000000A50              
    ... +  80                      ########################################              
                                   0000000000000000000000000000000000000000              
                                   0000000000000000000000000000000000000000              
    ... + 120                      ################################                      
                                   00000000                                              
                                   0000000                                               
    SY-MSGV1                                                                               
    4444444444444444444444444444444444444444              
                                   0000000000000000000000000000000000000000              
    ... +  40                                                                               
    4444444444                                            
                                   0000000000                                            
    SY-MSGV2                                                                               
    4444444444444444444444444444444444444444              
                                   0000000000000000000000000000000000000000              
    ... +  40                                                                               
    4444444444                                            
                                   0000000000                                            
    SY-MSGV3                                                                               
    4444444444444444444444444444444444444444              
                                   0000000000000000000000000000000000000000
                                   0000000000000000000000000000000000000000          
    ... +  40                                                                               
    4444444444                                        
                                

    Hi Experts,
    I tried with  OUTPUT length, still Dump Persists, Any Ideas??
    <b>Source code extract on the dump is:</b>
    Thanks
    SP
                                                                                    008930         gs_roid-row_id = rs_row-index * -1.        
    008940       endif.                                                                               
    008950       gs_roid-sub_row_id = rs_row-rowtype+7(10).   
    008960       gs_poid-row_id = gs_roid-row_id.             
    008970       gs_poid-sub_row_id = gs_roid-sub_row_id.     
    008980       gs_poid-rowtype    = rs_row-rowtype.         
    008990       gs_poid-index      = rs_row-index.           
    009000       insert gs_poid into table rt_poid.           
    009010     endif.                                                                               
    009020     append gs_roid to rt_roid.                     
    009030                                                                               
    009040     loop at rt_fieldcat assigning <ls_fieldcat>
    where tech ne 'X' and                    
    009050                                                    
      no_out ne 'X'.                     
    009060                                                                               
    009070       if gflg_invisible = 'X'.                     
    009080         if <ls_fieldcat>-do_sum is initial.        
    009090           clear gflg_invisible.                    
    009100           continue.                                
    009110         else.                                                                               
    009120           clear g_col_counter.                     
    009130           clear gflg_invisible.                    
    009140         endif.                                                                               
    009150       endif.                                                                               
    009160                                                                               
    009170       clear gs_lvc_data.                           
    009180       clear g_style.                               
    009190                                                                               
    009200       assign component                             
    009200       assign component                             
    009210              <ls_fieldcat>-fieldname of structure
    rt_data to <g_field>.                        
    009220       if sy-subrc ne 0.                                                                               
    >         message x000(0k).                          
    009240       endif.                                                                               
    009250                                                                               
    009260       g_col_counter = g_col_counter + 1.           
    009270                                                                               
    009280       gs_lvc_data-row_pos = r_row_counter.         
    009290       gs_lvc_data-col_pos = g_col_counter.         
    009300       gs_lvc_data-row_id  = gs_roid-row_id.        
    009310       gs_lvc_data-sub_row_id = gs_roid-sub_row_id. 
    009320                                                                               
    009330   *   Endtotal and average                         
    009340       if rs_row-rowtype(1) ca 'T' and
    <ls_fieldcat>-do_sum = 'C'.                              
    009350   *     save the actual grouplevel information     
    009360         gs_grouplevels = rs_grouplevels.           
    009370         clear g_lines.                             
    009380                                                                               
    009390   *     get number of lines of the collect table   
    009400         describe table rt_data lines g_lines.      
    009410   *     if there is only one line or the field has
    no references so                            
    009420   *     that only the first line has to be
    considered

  • Getting ABAP dump while cancelling invoice through MR8M

    Hi Experts,
    When i try to cancel the invoice through MR8M i am getting the ABAP dump saying "Conversion error Occured".
    Could u please help me to resolve this.
    Infact the error is coming when i press "display doc" after giving the invoice details.
    Thanks,
    Amar Y.
    Edited by: amaranath yerragunta on Apr 19, 2010 10:34 AM

    Hi ,
    Is the any enhanemnet done for MR8M Tcode?
    I think in the enhancement code converion is wrong.
    Regards,
    Pravin

  • ABAP Dump while Changing the Layout fields in Report output - RCOPCA02

    Hi,
    I Copied the Standard Program RCOPCA02 to ZRCOPCA02. I added two new fields(AUART, AUGRU) in the report output. It is executing correctly with default layout, While Changing the layout for displaying new fields it is dumping.
    I am not understanding, What should i do...
    Here is the Code.
    report ZRCOPCA02 no standard page heading message-id km
                    line-count (2) line-size 81.
    type-pools: slis, ecarc.
    DDIC-Tabellen *******************************************************
    tables: glpca,                         "Einzelposten / Ist
            glu1,                          "Übergabestruktur FI-SL-Anzeige
            t000,
            tka01,
            sscrfields,
            vbak.
    Variablen und int. Tabellen *****************************************
    data: l_vbeln like vbak-vbeln,
    l_auart like vbak-auart,
    l_augru like vbak-augru.
    data: afield type slis_fieldcat_alv,
    sp_group type slis_sp_group_alv,
    t_listheader type slis_t_listheader with header line,
    t_layout type slis_layout_alv,
    t_fieldcat type slis_t_fieldcat_alv,
    t_spec_groups type slis_t_sp_group_alv,
    event type slis_alv_event,
    t_events type slis_t_event,
    g_variant like disvariant,
    gx_variant like disvariant,
    g_exit(1) type c,
    g_save(1) type c,
    g_repid like sy-repid,
    msgtyp like sy-msgty,
    lt_dynpread like dynpread occurs 1 with header line,
    ls_rpcak like rpcak, "note 0310592
    packsize type i value 1000,
    text1(60) type c,
    text2(60) type c,
    oldkokrs like glpca-kokrs,
    oldracct like glpca-racct.
    data: whr_size type i value 50,"Maximum of single values per MIC 46a
    "charact. in the where-clause of the select-statement
    lines type i, "number of lines of range table MIC 46a
    cnt_rldnr type i, "Zähler Anzahl selektierter Ledger
    cnt_kokrs type i, "Zähler Anzahl selektierter KoReKreise
    cnt_poper type i, "Zähler Anzahl selektierter Perioden
    cnt_ryear type i, "Zähler Anzahl selektierter GeschJahre
    cnt_rvers type i, "Zähler Anzahl selektierter Versionen
    cnt_bukrs type i, "Zähler Anzahl selektierter BuKreise
    empge like dkobr-empge,
    ksl_curr like tka01-pcacur,
    hsl_curr like t001-waers,
    a_rec like rstirec.
    data: begin of dim_data.
    include structure rgcdi. "data for dimensions
    data: end of dim_data.
    data: begin of tab_fields occurs 80,
    name like dntab-fieldname, "fields in table i_glpca
    end of tab_fields.
    data: begin of i_glpca occurs 0.
    include structure rpca2.
    data: racct_ktext like rpcak-ktext,
    psppp like prps-posid,
    v_auart like vbak-auart,
    v_augru like vbak-augru,
          end of i_glpca.
    data: rw_subrc   like sy-subrc,      "Flag: Report-Writer-Schnittstelle
          re_subrc   like sy-subrc,        "Flag: Recherche-Schnittstelle
          subrc      like sy-subrc.
    data: set_id    like sethier-setid,    "Set-ID        "RDI_SETS_4.0
          set_class like sethier-setclass, "Setklasse     "RDI_SETS_4.0
          set_sname like sethier-shortname."Setname (24)  "RDI_SETS_4.0
    data: authorised(1),
          s_message(1),
          auth_dbcount like sy-tabix,
        Hex-Konstanten für Minimum/Maximum-Werte
          begin of hex00,
            x1(12) type c,
            x2(12) type c,
          end of hex00,
          begin of hexff,
            x1(12) type c,
            x2(12) type c,
          end of hexff.
    ranges rclnt for glpca-rclnt.
    field-symbols:  type ecarc_glpca_curr.
    Selektionsoptionen *************************************************
    select-options:
      rldnr    for glpca-rldnr   default '8A' no-display,
      rassc    for glpca-rassc                no-display,
    rrcty    for glpca-rrcty   default 0,
      rrcty    for glpca-rrcty,
      rvers    for glpca-rvers   default '000',
      kokrs    for glpca-kokrs   memory id cac,
      bukrs    for glpca-rbukrs  memory id buk,
    poper    for glpca-poper   default sy-datlo+4(2),
    ryear    for glpca-ryear   default sy-datlo,
      poper    for glpca-poper,
      ryear    for glpca-ryear,
      prctr    for glpca-rprctr  matchcode object prct,
      pprctr   for glpca-sprctr  matchcode object prct,
    RACCT    FOR GLPCA-RACCT   MATCHCODE OBJECT KART,      "RD_P30K128304
      racct    for glpca-racct,            "RD_P30K128304
      drcrk    for glpca-drcrk,
      activ    for glpca-activ,
      rhoart   for glpca-rhoart,
      rfarea   for glpca-rfarea,
      stagr    for glpca-stagr,
      rtcur    for glpca-rtcur,
      runit    for glpca-runit,
      versa    for glpca-versa  no-display,
      eprctr   for glpca-eprctr no-display,
      afabe    for glpca-afabe  no-display,
      rmvct    for glpca-rmvct  no-display,
      hrkft    for glpca-hrkft  no-display,  "note 550972
      sbukrs   for glpca-sbukrs no-display,  "note 550972
      shoart   for glpca-shoart no-display,  "note 550972
      sfarea   for glpca-sfarea no-display,  "note 550972
      docct    for glpca-docct,
      docnr    for glpca-docnr,
      refdocct for glpca-refdocct,
      refdocnr for glpca-refdocnr,
      werks    for glpca-werks,
      repmatnr for glpca-rep_matnr matchcode object pca_shlp_rep_matnr,
      rscope   for glpca-rscope.
    parameters: no_rrint no-display default ' '." skip       "MICP40K066037
    " report-report-interface
    display variant                                       ">>MICP40K039857
    selection-screen begin of block 0 with frame title text-e01.
    parameters: p_vari like disvariant-variant.
    selection-screen comment 47(40) varname for field p_vari.
    selection-screen end of block 0.
    parameters log_grp(4) type c no-display default 'KE5Z'.
    "<<MICP40K039857
    ranges: v_racct  for glpca-racct,
            v_prctr  for glpca-rprctr,
            v_pprctr for glpca-sprctr.
    Tabelle mit Werten aus den Berichts-Set vom Report-Writer           *
    data  begin of val_tab occurs 50.
            include structure rgciv.
    data  end of val_tab.
           MICP30K166368
    feldkatalog und interface für bb-schnittstelle rw        MICP30K166368
           MICP30K166368
    "MICP30K166368
    data  begin of bbs_fieldtab occurs 20. "MICP30K166368
            include structure rstifields.  "MICP30K166368
    data  end of bbs_fieldtab.             "MICP30K166368
    archiv
    type-pools: rsds.
    types:      begin of ty_archive_objects,
                   object       like arch_obj-object,
                end   of ty_archive_objects,
                ty_t_archive_objects type ty_archive_objects occurs 2.
    constants:  lc_set          type  c           value 'X',
                lc_report       type  progname    value 'KE5Z',
                lc_reporttype   type  reporttype  value 'TR'.
    tables:     admi_files.
    select-options lr_files for admi_files-archiv_key no-display.
    parameter:  read_db       type c            default 'X' no-display,
                read_ar       type c                        no-display,
                arc_obj       like arch_obj-object          no-display,
                read_as       type c            default 'X' no-display.
    data  :     lt_arch_obj     type ty_t_archive_objects with header line,
                ls_selections   type rsds_frange,
                lt_selections   type rsds_frange_t,
                ls_selopt type rsdsselopt,
                lt_glpca_archiv type ecarc_t_glpca_curr.
    *********************************************************>>MICP40K039857
    INITIALIZATION
    initialization.
    Diverse Initialisierungen
      perform init_vars.
      g_repid = sy-repid.
    Set default values for record type
      rrcty-sign = 'I'.
      rrcty-option = 'EQ'.
      rrcty-low    = '0'.
      append rrcty.
      rrcty-low = '2'.
      append rrcty.
    Set default values for period and year (if kokrs or bukrs is known)
      get parameter id 'BUK' field bukrs-low.
      get parameter id 'CAC' field kokrs-low.
      if     kokrs-low is initial       "get contr. area from company code
         and not bukrs-low is initial.
        call function 'KOKRS_GET_FROM_BUKRS'
          exporting
            i_bukrs        = bukrs-low
          importing
            e_kokrs        = kokrs-low
          exceptions
            no_kokrs_found = 1
            others         = 2.
        if sy-subrc <> 0.
          clear kokrs-low.
        endif.
      endif.
      if not kokrs-low is initial.
        call function 'K_KOKRS_READ'       "get fiscal year variant
             exporting
                  kokrs           = kokrs-low
              importing
                  e_tka01         = tka01
            exceptions
                  not_found       = 1
                  not_found_gjahr = 2
                  others          = 3.
        if sy-subrc = 0.
          call function 'G_PERIOD_GET'
            exporting
              date                           = sy-datlo
              variant                        = tka01-lmona
            importing
              period                         = poper-low
              year                           = ryear-low
            exceptions
              ledger_not_assigned_to_company = 1
              period_not_defined             = 2
              variant_not_defined            = 3
              others                         = 4.
          if sy-subrc = 0.
            poper-sign = 'I'.
            poper-option = 'EQ'.
            append poper.
            ryear-sign = 'I'.
            ryear-option = 'EQ'.
            append ryear.
          endif.
        endif.
      endif.
    Settings for display variants
      g_save = 'A'.  "Schalter Varianten benutz./allg. speichern
      clear g_variant.
      g_variant-report = g_repid.
      g_variant-log_group = log_grp.
      g_variant-username = sy-uname.
    Get default variant
      gx_variant = g_variant.
      call function 'REUSE_ALV_VARIANT_DEFAULT_GET'
        exporting
          i_save     = g_save
        changing
          cs_variant = gx_variant
        exceptions
          not_found  = 2.
      if sy-subrc = 0.
        p_vari = gx_variant-variant.
      endif.
    Set variant
      if p_vari is initial.
        p_vari = '1SAP'.
        move p_vari to gx_variant-variant.
        call function 'REUSE_ALV_VARIANT_EXISTENCE'
          exporting
            i_save     = g_save
          changing
            cs_variant = gx_variant
          exceptions
            not_found  = 1.
        if sy-subrc ne 0.
          clear p_vari.
          clear gx_variant-variant.
        endif.
      endif.
      varname = gx_variant-text.
      "<<MICP40K039857
    archiv
      call function 'KARL_DATA_INPUT_INIT'
        exporting
          i_report     = lc_report
          i_reporttype = lc_reporttype
        importing
          e_xusedb     = read_db
          e_xusear     = read_ar
          e_archobj    = arc_obj
          e_infosys    = read_as
        tables
          t_arch_sel   = lr_files.
      data: lt_excluding like sy-ucomm occurs 0 with header line.
      call function 'RS_SET_SELSCREEN_STATUS'
        exporting
          p_status  = 'SELSCREEN'
          p_program = 'RCOPCA02'
        tables
          p_exclude = lt_excluding.
    Initialisieren der Bericht/Bericht-Schnittstellen                   *
      data: ld_no_rrint type boole_d.      "note 490484 begin
      import rri = ld_no_rrint from memory id 'RCOPCA02_NO_RRI'.
      if ld_no_rrint = 'X'.
        free memory id 'RCOPCA02_NO_RRI'.
      else.                                "note 490484 end
        call function 'G_REPORT_INTERFACE_INIT'   "Report-Writer?
            exporting                      "MICP30K166368
                 table = 'GLPCT'           "MICP30K166368
             importing
                 subrc = rw_subrc          "MICP30K166368
            tables                         "MICP30K166368
                 it_fieldr = bbs_fieldtab. "MICP30K166368
        call function 'RSTI_APPL_STACK_POP'"oder Recherche?
             importing
                  i_rec                      = a_rec
             exceptions
                  appl_stack_not_initialized = 1.
        re_subrc = sy-subrc.
        if re_subrc = 0.
       check Receiver is this report
          if not ( ( a_rec-rtool = 'RT' and a_rec-ronam = 'RCOPCA02' )
                   or ( a_rec-rtool = 'TR' and a_rec-ronam = 'KE5Z' ) ) .
            re_subrc = 2.
          endif.
        endif.
      endif.
    AT SELCTION-SCREEN on value request**********************************
    *at selection-screen on value-request for racct-low.          "RD "4.6a
                                                                "RD "4.6a
    call function 'K_RACCT_VALUE_REQUEST'                       "RD "4.6a
         importing                                              "RD "4.6a
              e_racct      = racct-low.                         "RD "4.6a
                                                                "RD "4.6a
                                                                "RD "4.6a
    *at selection-screen on value-request for racct-high.         "RD "4.6a
                                                                "RD "4.6a
    call function 'K_RACCT_VALUE_REQUEST'                       "RD "4.6a
         importing                                              "RD "4.6a
              e_racct      = racct-high.                        "RD "4.6a
    at selection-screen on value-request for p_vari.         "MICP40K039857
      perform f4_for_variant.              "MICP40K039857
    at selection-screen on value-request for poper-low.         "RD "4.6a
    begin of insertion note 522715
      call function 'K_KOKRS_READ'
        exporting
          kokrs           = kokrs-low
        exceptions
          not_found       = 1
          not_found_gjahr = 2
          others          = 3.
      if sy-subrc = 0.
    end of insertion note 522715
        call function 'ECPCA_RPMAX_VALUE_REQUEST'               "RD "4.6a
             exporting                                          "RD "4.6a
                  i_kokrs     = kokrs-low                       "RD "4.6a
                  i_ryear     = ryear-low                       "RD "4.6a
             importing                                          "RD "4.6a
                  e_rpmax     = poper-low                       "RD "4.6a
    begin of insertion note 522715
             exceptions
                  table_empty = 1.
      endif.
    end of insertion note 522715
    at selection-screen on value-request for poper-high.        "RD "4.6a
    begin of insertion note 522715
      call function 'K_KOKRS_READ'
        exporting
          kokrs           = kokrs-low
        exceptions
          not_found       = 1
          not_found_gjahr = 2
          others          = 3.
      if sy-subrc = 0.
    end of insertion note 522715
        call function 'ECPCA_RPMAX_VALUE_REQUEST'               "RD "4.6a
             exporting                                          "RD "4.6a
                  i_kokrs     = kokrs-low                       "RD "4.6a
                  i_ryear     = ryear-low                       "RD "4.6a
             importing                                          "RD "4.6a
                  e_rpmax     = poper-high                      "RD "4.6a
    begin of insertion note 522715
             exceptions
                  table_empty = 1.
      endif.
    end of insertion note 522715
    AT SELCTION-SCREEN ***************************************************
    at selection-screen.
      perform pai_of_selection_screen.
    begin of insertion note 522715
      if not kokrs-low is initial.
        call function 'K_KOKRS_READ'
          exporting
            kokrs           = kokrs-low
          exceptions
            not_found       = 1
            not_found_gjahr = 2
            others          = 3.
        if sy-subrc <> 0.
          message e101(ki) with kokrs-low.
        endif.
      endif.
    end of insertion note 522715
    archiv
      if sy-ucomm = 'FC01' or sy-ucomm = 'UCDS'
        or sy-ucomm = 'ONLI' and read_ar = 'X'
        and read_as is initial and lr_files[] is initial.
        if lt_arch_obj[] is initial.
          lt_arch_obj-object = 'PCA_OBJECT'. append lt_arch_obj.
          lt_arch_obj-object = 'EC_PCA_ITM'. append lt_arch_obj.
        endif.
        call function 'KARL_DATA_INPUT_SELECT'
          exporting
            i_db_and_arc       = lc_set
            i_infosys_possible = lc_set
            i_object_fixed     = 'V'
            i_documentation    = 'KARL_DATA_INPUT_SEL_KE5YZ'
            i_report           = lc_report
            i_reporttype       = lc_reporttype
          tables
            t_objects          = lt_arch_obj
            t_arch_sel         = lr_files
          changing
            c_xusedb           = read_db
            c_xusear           = read_ar
            c_archobj          = arc_obj
            c_infosys          = read_as.
      endif.
    START-OF-SELECTION **************************************************
    start-of-selection.
      Default-Werte löschen, falls Aufruf über Recherche
      oder Report-Writer erfolgt ist
      if no_rrint is initial and ld_no_rrint is initial.        "note 490484
        if rw_subrc eq 0 or re_subrc eq 0.
          refresh: rldnr, rrcty, rvers,  kokrs, bukrs, poper,  ryear,
                   racct, prctr, pprctr, drcrk, activ, rhoart, rfarea,
                   versa, afabe, eprctr,
                   v_racct, v_prctr, v_pprctr.
          clear:   rldnr, rrcty, rvers,  kokrs, bukrs, poper,  ryear,
                   racct, prctr, pprctr, drcrk, activ, rhoart, rfarea,
                   versa, afabe, eprctr,
                   v_racct, v_prctr, v_pprctr.
        endif.
    Parameter einlesen über Report-Writer-Schnittstelle                 *
        if rw_subrc eq 0.
          perform rw_get_parameters.
    oder Parameter einlesen über Recherche-Schnittstelle                *
        elseif re_subrc eq 0.
          perform re_get_parameters.
        endif.
      endif.
      if read_db = 'X'.                     " read from DB (archiv)
    Bewegungsdaten einlesen und puffern...................................
        call function 'SAPGUI_PROGRESS_INDICATOR'
          exporting
            text = 'Einzelposten selektieren'(p10).
    Use dirty trick to mislead DB-optimizer
        call function 'DB_DO_NOT_USE_CLIENT_INDEX'
          exporting
            value    = sy-mandt
          tables
            mandttab = rclnt.
        select (tab_fields) from glpca
           client specified
           package size packsize
          APPENDING CORRESPONDING FIELDS OF TABLE i_glpcaO
            into corresponding fields of table i_glpca
           where rldnr     in rldnr
             and rrcty     in rrcty
             and rvers     in rvers
             and kokrs     in kokrs
             and rbukrs    in bukrs
             and ryear     in ryear
             and rassc     in rassc
             and hrkft     in hrkft   "note 550972
             and sbukrs    in sbukrs  "note 550972
             and shoart    in shoart  "note 550972
             and sfarea    in sfarea  "note 550972
             and racct     in racct
             and rprctr    in prctr
             and sprctr    in pprctr
             and poper     in poper
             and drcrk     in drcrk
             and activ     in activ
             and rhoart    in rhoart
             and rfarea    in rfarea
             and versa     in versa
             and eprctr    in eprctr
             and afabe     in afabe
             and rmvct     in rmvct
             and docct     in docct
             and docnr     in docnr
             and stagr     in stagr
             and rtcur     in rtcur
             and runit     in runit
             and refdocct  in refdocct
             and refdocnr  in refdocnr
             and werks     in werks
             and rep_matnr in repmatnr       "RDIP40K020663
             and rscope    in rscope         "RDIP40K020663
          and rclnt     in rclnt.       "dirty trick to mislead DB-optimizer
          if sy-dbcnt > 1.
            text1 = sy-dbcnt.
            condense text1.
            concatenate text1 text-m01 into text2 separated by space.
            call function 'SAPGUI_PROGRESS_INDICATOR'
              exporting
                text = text2.          " ... Datensätze gelesen
          endif.
        endselect.
    Entfernt nicht zugehörige Einträge....................................
        loop at i_glpca where ( not rprctr in v_prctr  )
                           or ( not sprctr in v_pprctr )
                           or ( not racct  in v_racct  ).
          delete i_glpca.
        endloop.
      endif.
    *archiv
      if read_ar = 'X' and not
        ( read_as is initial and lr_files[] is initial ).
        call function 'SAPGUI_PROGRESS_INDICATOR'
          exporting
            text = 'Lesen im Archiv'(p12).
        define fill_lt_selections.
          if not &2[] is initial.
            clear ls_selections.
            move &1 to ls_selections-fieldname.
            loop at &2.
              clear ls_selopt.
              move-corresponding &2 to ls_selopt.
              append ls_selopt to ls_selections-selopt_t.
            endloop.
            append ls_selections to lt_selections.
          endif.
        end-of-definition.
        fill_lt_selections 'RLDNR'  rldnr.
        fill_lt_selections 'RRCTY'  rrcty.
        fill_lt_selections 'RVERS'  rvers.
        fill_lt_selections 'KOKRS'  kokrs.
        fill_lt_selections 'RBUKRS' bukrs.
        fill_lt_selections 'POPER'  poper.
        fill_lt_selections 'RYEAR'  ryear.
        fill_lt_selections 'RPRCTR' prctr.
        fill_lt_selections 'SPRCTR' pprctr.
        fill_lt_selections 'RACCT'  racct.
        fill_lt_selections 'DRCRK'  drcrk.
        fill_lt_selections 'ACTIV'  activ.
        fill_lt_selections 'RHOART' rhoart.
        fill_lt_selections 'RFAREA' rfarea.    "note 401961
        fill_lt_selections 'STAGR'  stagr.
        fill_lt_selections 'RTCUR'  rtcur.
        fill_lt_selections 'RUNIT'  runit.
        fill_lt_selections 'VERSA'  versa.
        fill_lt_selections 'EPRCTR' eprctr.
        fill_lt_selections 'AFABE'  afabe.
        fill_lt_selections 'RMVCT'  rmvct.
        fill_lt_selections 'DOCCT'  docct.
        fill_lt_selections 'DOCNR'  docnr.
        fill_lt_selections 'REFDOCCT' refdocct.
        fill_lt_selections 'REFDOCNR' refdocnr.
        fill_lt_selections 'WERKS'  werks.
        fill_lt_selections 'REP_MATNR' repmatnr.
        fill_lt_selections 'RSCOPE' rscope.
        fill_lt_selections 'HRKFT'  hrkft.   "note 550972
        fill_lt_selections 'SBUKRS' sbukrs.  "note 550972
        fill_lt_selections 'SHOART' shoart.  "note 550972
        fill_lt_selections 'SFAREA' sfarea.  "note 550972
        call function 'EC_PCA_SELECT_FROM_ARCHIVE'
          exporting
            i_selections            = lt_selections[]
            i_files_sequential_read = lr_files[]
          importing
            e_glpca                 = lt_glpca_archiv[]
          exceptions
            no_infostruc_found      = 1.
        if sy-subrc = 1.
          message id sy-msgid type 'I' number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
        clear i_glpca.
        loop at lt_glpca_archiv assigning  to i_glpca.
          append i_glpca.
        endloop.
      endif.
      if i_glpca[] is initial.         "Info,nichts gefunden
        message s000.
        exit.
      endif.
    get texts for accounts ...............................................
      sort i_glpca by kokrs racct.
      loop at i_glpca assigning -racct_ktext = ls_rpcak-ktext.
      endloop.
    Liste mit Einzelposten geeignet sortieren.............................
      call function 'SAPGUI_PROGRESS_INDICATOR'
        exporting
          text = 'Einzelposten sortieren'(p30).
    if show_ref is initial.
       sort i_glpca by rldnr ryear rbukrs rrcty rvers
                       docct docnr docln.
    else.
      sort i_glpca by rldnr kokrs ryear rbukrs rrcty rvers poper
                      refdocct refdocnr refdocln.
    endif.
    Berechtigungsprüfung und gemerkte Belege aufbereiten .................
      call function 'SAPGUI_PROGRESS_INDICATOR'
        exporting
          text = 'Berechtigungsprüfungen'(p40).
      clear: cnt_rldnr, cnt_kokrs, cnt_ryear, cnt_rvers, cnt_bukrs.
      loop at i_glpca assigning .
      Berechtigungscheck
        perform check_repo_authority changing authorised.
        if authorised is initial.
          delete i_glpca.
          s_message = 'X'.
        zählen der Sätze ohne Berechtigung
          auth_dbcount = auth_dbcount + 1.
        else. "Weitere Bearbeitung nur für berechtigte Belege...
        Zusätzlich merken der Anzahl der Ausprägungen
        bestimmter Dimensionen
          on change of -rbukrs
                ct       = '10'
              importing
                currency = hsl_curr.
          endon.
        externe Immobilienbezeichnung                     "ww/kb
        on change of i_glpca-imkey.
          if ( not -dabrz
                    I_length   = 20
                 importing
                      e_empge    = -konty.
            endif.
          CONCATENATE I_GLPCA-KONTY I_GLPCA-EMPGE INTO I_GLPCA-IMBEZ.
          endif.
        endon.
        on change of i_glpca-dabrz.
           call function 'REMD_IMKEY_TO_EMPGE'
                exporting
                     i_imkey    = i_glpca-imkey
                     i_dabrz    = i_glpca-dabrz
                    i_length   = 20
                importing
                     e_empge    = i_glpca-empge
                     e_konty    = i_glpca-konty.
          CONCATENATE I_GLPCA-KONTY I_GLPCA-EMPGE INTO I_GLPCA-IMBEZ.
         endon.
        Konvertierungsproblem mit PSP-Nummer bereinigen
          if not -psppp.
            endif.
          endif.
        Währungen in Hilfsfeldern speichern
          if -ksl_curr = ksl_curr.
          endif.
        modify i_glpca.
        endif.
      endloop.
    Nachricht, wenn nicht alle Einzelposten angezeigt werden.
      if not s_message is initial.
        message s407(km) with auth_dbcount.
      endif.
    EP ausgeben...........................................................
      call function 'SAPGUI_PROGRESS_INDICATOR'
        exporting
          text = 'Einzelposten ausgeben'(p50).
      t_layout-detail_initial_lines = 'X'.
      t_layout-detail_popup         = 'X'.
      t_layout-f2code               = 'PIC1'.                "MICP40K039857
      t_layout-get_selinfos         = 'X'.
      t_layout-group_change_edit    = 'X'.                   "note 576149
      perform fill_listheader.
      perform fieldcat_fill.
      perform spec_groups_fill.
      perform events_fill.                 "MICP40K039857
      ">>MICP40K039857
    call function 'K_KKB_LIST_DISPLAY'
          exporting
               i_callback_program       = 'RCOPCA02'
               i_callback_user_command  = 'USR_CMD'
               i_callback_top_of_page   = 'TOP_OF_PAGE'
              I_CALLBACK_END_OF_PAGE   =
              I_CALLBACK_END_OF_LIST   =
               i_callback_pf_status_set = 'SET_PF_STATUS'
              I_CALLBACK_LAYOUT_SAVE   =
              I_CALLBACK_FIELDCAT_SAVE =
               i_tabname                = 'I_GLPCA'
               is_layout                = t_layout
               it_fieldcat              = t_fieldcat
              I_FCTYPE                 = 'R'
              IT_EXCLUDING             =
               it_special_groups        = t_spec_groups
              IT_SORT                  =
              IS_SEL_HIDE              =
              I_SCREEN_START_COLUMN    = 0
              I_SCREEN_START_LINE      = 0
              I_SCREEN_END_COLUMN      = 0
              I_SCREEN_END_LINE        = 0
          tables
               t_outtab                 = i_glpca
          exceptions
               others                   = 1.
    loop at i_glpca.
    select single vbeln auart augru
    into (l_vbeln, l_auart, l_augru)
    from vbak where vbeln = i_glpca-aubel.
    if sy-subrc = 0.
    move l_auart to i_glpca-v_auart.
    move l_augru to i_glpca-v_augru.
    modify i_glpca.
    endif.
    endloop.
      call function 'REUSE_ALV_GRID_DISPLAY'
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
         exporting
            I_INTERFACE_CHECK        = ' '
               i_callback_program       = 'ZRCOPCA02'
               i_callback_pf_status_set = 'SET_PF_STATUS'
               i_callback_user_command  = 'USR_CMD'
               i_structure_name         = 'I_GLPCA'
               is_layout                = t_layout
               it_fieldcat              = t_fieldcat
            IT_EXCLUDING             =
               it_special_groups        = t_spec_groups
            IT_SORT                  =
            IT_FILTER                =
            IS_SEL_HIDE              =
               i_default                = 'X'
               i_save                   = g_save
               is_variant               = g_variant
               it_events                = t_events
            IT_EVENT_EXIT            =
            IS_PRINT                 =
            I_SCREEN_START_COLUMN    = 0
            I_SCREEN_START_LINE      = 0
            I_SCREEN_END_COLUMN      = 0
            I_SCREEN_END_LINE        = 0
       IMPORTING
            E_EXIT_CAUSED_BY_CALLER  =
            ES_EXIT_CAUSED_BY_USER   =
          tables
               t_outtab                 = i_glpca
        exceptions
             program_error            = 1
             others                   = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      "<<MICP40K039857
      clear i_glpca.
    *&      Form  CHECK_REPO_AUTHORITY
    Check only new auth-object K_PCA                                    *
    -->  p1        text
    <--  p2        text
    form check_repo_authority changing authorized like authorised.
    fill structure for userexit in K_PCA_RESP_AUTHORITY_CHECK
      data: auth like pca_i_auth.          "46a MIC check K_PCA and G_GLTP
      auth-bukrs = -rrcty.
      clear authorized.
    check PrCtr/account/activity
      call function 'K_PCA_RESP_AUTHORITY_CHECK'
        exporting
          i_kokrs             = -racct
          i_vorgn             = 'REPP'
          i_actvt             = '28'
          i_auth              = auth
          i_no_dialog_message = 'X'
        exceptions
          no_authority        = 1
          data_missing        = 2
          others              = 3.
      if sy-subrc = 0.                                          "ok
    check ledger/version/record type
        call function 'PCA_G_GLTP_AUTH_CHECK'
          exporting
            rldnr            = -rrcty
          exceptions
            no_authorisation = 1
            others           = 2.
        if sy-subrc = 0.                   "ok, User is authorized
          authorized = 'X'.
        endif.
      endif.
    endform.                               " CHECK_REPO_AUTHORITY
    *&      Form  INIT_VARS
          Initialisieren diverser Hilfsvariablen und -tabellen           *
    form init_vars.
      data begin of nametab occurs 80. "Tabelle mit Feldern aus der RPCA2
              include structure dntab.
      data end of nametab.
      select single * from t000
                      client specified
                      where mandt = sy-mandt.
      refresh nametab.
      call function 'NAMETAB_GET'
        exporting
          only    = 'T'
          tabname = 'RPCA2'
        tables
          nametab = nametab.
    Übernehmen der Feldnamen, die auch in der GLPCA
    vorkommen.
      loop at nametab where fieldname ne 'KSL_CURR'
                        and fieldname ne 'HSL_CURR'
                        and fieldname ne 'EMPGE'               "ww/kb
                        and fieldname ne 'KONTY'.              "ww/kb
        move nametab-fieldname to tab_fields-name.
        append tab_fields.
      endloop.
    fill Fields of receiver for BBS                          "MIC46C
      call function 'RSTI_REPORT_FIELDS_FIND'
        exporting
          e_repid   = 'RCOPCA02'
          e_type    = 'R'
        tables
          it_fields = bbs_fieldtab.
    correct fieldnames
      read table bbs_fieldtab with key rfield = 'PRCTR'.
      if sy-subrc = 0.
        bbs_fieldtab-rfield = 'RPRCTR'.
        modify bbs_fieldtab index sy-tabix.
      endif.
      read table bbs_fieldtab with key rfield = 'PPRCTR'.
      if sy-subrc = 0.
        bbs_fieldtab-rfield = 'SPRCTR'.
        modify bbs_fieldtab index sy-tabix.
      endif.
      read table bbs_fieldtab with key rfield = 'BUKRS'.
      if sy-subrc = 0.
        bbs_fieldtab-rfield = 'RBUKRS'.
        modify bbs_fieldtab index sy-tabix.
      endif.
    Unicode
      class cl_abap_char_utilities definition load.
      clear hex00 with cl_abap_char_utilities=>minchar.
      clear hexff with cl_abap_char_utilities=>maxchar.
    endform.                               " INIT_VARS
          FORM FILL_LISTHEADER                                          *
          List-Header in Abhängigkeit der selektierten Daten            *
    form fill_listheader.
      read table i_glpca index 1.
      if sy-subrc ne 0.
        exit.
      endif.
      t_listheader-typ  = 'S'.
      t_listheader-key  = 'Ledger              '(h01).
      if cnt_rldnr <= 1.
        t_listheader-info = i_glpca-rldnr.
      else.
        t_listheader-info = '*'.
      endif.
      append t_listheader.
      t_listheader-typ  = 'S'.
      t_listheader-key  = 'Kostenrechnungskreis'(h02).
      if  cnt_kokrs <= 1.
        t_listheader-info = i_glpca-kokrs.
      else.
        t_listheader-info = '*'.
      endif.
      append t_listheader.
      t_listheader-typ  = 'S'.
      t_listheader-key  = 'Buchungskreis       '(h03).
      if cnt_bukrs <= 1.
        t_listheader-info = i_glpca-rbukrs.
      else.
        t_listheader-info = '*'.
      endif.
      append t_listheader.
      t_listheader-typ  = 'S'.
      t_listheader-key  = 'Buchungsperiode     '(h04).
      if cnt_poper <= 1.
        t_listheader-info = i_glpca-poper.
      else.
        t_listheader-info = '*'.
      endif.
      append t_listheader.
      if cnt_ryear <= 1.
        t_listheader-typ  = 'S'.
        t_listheader-key  = 'Geschäftsjahr       '(h05).
        t_listheader-info = i_glpca-ryear.
        append t_listheader.
      endif.
      t_listheader-typ  = 'S'.
      t_listheader-key  = 'Version             '(h06).
      if cnt_rvers <= 1.
        t_listheader-info = i_glpca-rvers.
      else.
        t_listheader-info = '*'.
      endif.
      append t_listheader.
    endform.                    "fill_listheader
    *&      Form  FIELDCAT_FILL
    *&      Aufbau des Feldkataloges für den K_KKB_LIST_DISPLAY,           *
    *&      bzw REUSE_ALV_LIST_DISPLAY,                                    *
    *&      weitere Infos enthält die FktBaustein-Doku                     *
    form fieldcat_fill.
      data: i type i value 0.
      refresh t_fieldcat.
    Ledger
    if cnt_rldnr > 1.
      add 1 to i.
      clear afield.
      afield-col_pos     = i.
      afield-fieldname   = 'RLDNR'.
      afield-no_sum      = 'X'.
      afield-no_out      = 'X'.
      afield-key         = 'X'.
      afield-ref_tabname = 'GLPCA'.
      afield-sp_group    = '1'.
      append afield to t_fieldcat.
    endif.
    Satzart
      add 1 to i.
      clear afield.
      afield-col_pos     = i.
      afield-fieldname   = 'RRCTY'.
      afield-no_sum      = 'X'.
      afield-ref_tabname = 'GLPCA'.
      afield-no_out      = 'X'.
      afield-sp_group    = '1'.
      append afield to t_fieldcat.
    Version
    if cnt_rvers > 1.
      add 1 to i.
      clear afield.
      afield-col_pos     = i.
      afield-fieldname   = 'RVERS'.
      afield-no_sum      = 'X'.
      afield-ref_tabname = 'GLPCA'.
      afield-no_out      = 'X'.
      afield-sp_group    = '1'.
      append afield to t_fieldcat.
    endif.
    Periode
    if cnt_poper > 1.
      add 1 to i.
      clear afield.
      afield-col_pos     = i.
      afield-fieldname   = 'POPER'.
      afield-no_sum      = 'X'.
      afield-ref_tabname = 'GLPCA'.
      afield-no_out      = 'X'.
      afield-sp_group    = '1'.
      append afield to t_fieldcat.
    endif.
    Geschäftsjahr
    if cnt_ryear > 1.
      add 1 to i.
      clear afield.
      afield-col_pos     = i.
      afield-fieldname   = 'RYEAR'.
      afield-no_sum      = 'X'.
      afield-ref_tabname = 'GLPCA'.
      afield-no_out      = 'X'.
      afield-sp_group    = '1'.
      append afield to t_fieldcat.
    endif.
    Referenzbelegtyp
      add 1 to i.
      clear afield.
      afield-col_pos     = i.
      afield-fieldname   = 'REFDOCCT'.
      afield-ref_tabname = 'GLPCA'.
      afield-key_sel     = 'X'.
      afield-no_sum      = 'X'.
      afield-sp_group    = '2'.
      afield-seltext_s   = 'Typ'(t01).
      afield-seltext_m   = 'Belegtyp'(t02).
      afield-seltext_l   = 'Ref.Belegtyp'(t03).
      afield-outputlen   = 3. "Platz für die Sterne der Zwischensummen
    if not show_ref is initial.
      afield-key = 'X'.
    else.
       afield-no_out = 'X'.
    endif.
      append afield to t_fieldcat.
    Referenzbelegnummer
      add 1 to i.
      clear afield.
      afield-col_pos     = i.
      afield-fieldname   = 'REFDOCNR'.
      afield-ref_tabname = 'GLPCA'.
      afield-key_sel     = 'X'.
      afield-no_sum      = 'X'.
      afield-sp_group    = '2'.
      afield-seltext_s  = 'Refbeleg'(t04).
      afield-seltext_m  = 'Refbelegnr'(t05).
      afield-seltext_l  = 'Ref.Belegnummer'(t06).
    if not show_ref is initial.
      afield-key = 'X'.
    else.
       afield-no_out = 'X'.
    endif.
      append

    Hi Prabhu,
    You are right, problem is with Field Catalog...
    When I use  FM 'REUSE_ALV_GRID_DISPLAY'  it is dumping...
    When i tried with FM 'REUSE_ALV_LIST_DISPLAY'  it is working perfectly....
    how can i use FM 'REUSE_ALV_GRID_DISPLAY' without dumping????
    do i need to pass any thing in FM????
    Here is the dump:
    Runtime Errors         MESSAGE_TYPE_X                                
           Occurred on     12/21/2006 at 01:03:24                                                                               
    The current application triggered a termination with a short dump.   
                                                             What happened?                                                       
    The current application program detected a situation which really    
    should not occur. Therefore, a termination with a short dump was     
    triggered on purpose by the key word MESSAGE (type X).               
                                                         Error analysis                                                       
    Short text of error message:                                                                               
    Technical information about the message:                             
    Message classe...... "0K "                                           
    Number.............. 000 
    User, transaction...                                                                               
    Language key........ "E"                                                    
    Transaction......... "SE38 "                                                
    Program............. "SAPLSLVC "                                            
    Screen.............. "SAPLSLVC_FULLSCREEN 0500"                             
    Screen line......... 3                                                                               
    Information on where termination occurred                                                                               
    The termination occurred in the ABAP program "SAPLSLVC " in "LINE_OUT_NEW_2".
    The main program was "ZRCOPCA02 ".                                          
    The termination occurred in line 918 of the source code of the (Include)    
    program "LSLVCF01 "                                                        
    of the source code of program "LSLVCF01 " (when calling the editor 9180).   
                                                             Source code extract                                                                               
    008880         gs_roid-row_id = rs_row-index * -1.                          
    008890       endif.                                                         
    008900       gs_roid-sub_row_id = rs_row-rowtype+7(10).                     
    008910       gs_poid-row_id = gs_roid-row_id.                               
    008920       gs_poid-sub_row_id = gs_roid-sub_row_id.                       
    008930       gs_poid-rowtype    = rs_row-rowtype.                           
    008940       gs_poid-index      = rs_row-index.                             
    008950       insert gs_poid into table rt_poid.  
    008960     endif.                                                               
    008970     append gs_roid to rt_roid.                                           
    008980                                                                          
    008990     loop at rt_fieldcat assigning <ls_fieldcat> where tech ne 'X' and    
    009000                                                       no_out ne 'X'.     
    009010                                                                          
    009020       if gflg_invisible = 'X'.                                           
    009030         if <ls_fieldcat>-do_sum is initial.                              
    009040           clear gflg_invisible.                                          
    009050           continue.                                                      
    009060         else.                                                            
    009070           clear g_col_counter.                                           
    009080           clear gflg_invisible.                                          
    009090         endif.                                                           
    009100       endif.                                                             
    009110                                                                          
    009120       clear gs_lvc_data.                                                 
    009130       clear g_style.                                                     
    009140                                                                          
    009150       assign component                                                   
    009160              <ls_fieldcat>-fieldname of structure rt_data to <g_field>.  
    009170       if sy-subrc ne 0.                                                  
         >         message x000(0k).                                                
    009190       endif.                                                             
    009200                                                                          
    009210       g_col_counter = g_col_counter + 1.                                 
    009220                                                                          
    009230       gs_lvc_data-row_pos = r_row_counter.                               
    009240       gs_lvc_data-col_pos = g_col_counter.                               
    009250       gs_lvc_data-row_id  = gs_roid-row_id.                              
    009260       gs_lvc_data-sub_row_id = gs_roid-sub_row_id.                       
    009270                                                                          
    009280   *   Endtotal and average                                               
    009290       if rs_row-rowtype(1) ca 'T' and <ls_fieldcat>-do_sum = 'C'.        
    009300   *     save the actual grouplevel information                    
    009310         gs_grouplevels = rs_grouplevels.                          
    009320         clear g_lines.                                            
    009330                                                                   
    009340   *     get number of lines of the collect table                  
    009350         describe table rt_data lines g_lines.                     
    009360   *     if there is only one line or the field has no references so
    009370   *     that only the first line has to be considered                                                                               
    Thanks,
    fractal
    null

  • Short dump while accessing the table

    There is a report ppioa0000, when executing the report it is going for short dump,  error analysis showing that
    <b>when accessing the attributes of dictionary table IOSOPER meaningless values are found.</b>
    and ABAP run time error showing that  DDIC_FIELD_ACCESS_ERROR
    suggest me,
    thanks and regards
    krishna

    The database is damaged, links between SAP dictionary and actual database seems to be broken. Try to use SE14 to adjust database.
    Regards

  • Short dump while accessing the IOSOPER

    There is a report ppioa0000, when executing the report it is going for short dump, error analysis showing that
    <b>when accessing the attributes of dictionary Table IOSOPER meaningless values are found.</b>
    but IOSOPER is a Structure
    and ABAP run time error showing that DDIC_FIELD_ACCESS_ERROR
    suggest me,
    thanks and regards
    krishna

    closing unable to find answer

  • TimeOUT Short dump while accessing WebReport.

    A Web Report is taking too much time to open and timing out with a short dump see below details,
    The Report was working very fine few days back,
    any ideas please.
    Information on where terminated
        The termination occurred in the ABAP program "SAPLRSDRS" in
         "FETCH_DATA_OPENSQL".
        The main program was "SAPMHTTP ".
        The termination occurred in line 121 of the source code of the (Include)
         program "LRSDRSF04"
        of the source code of program "LRSDRSF04" (when calling the editor 1210).

    Hi Shashi,
    Try to do following checks
    1> How much time the report used to take?
    2> Is there any increase in data volume recently?
    3> How many records query is trying to pull?
    4> Aggregation done, (if any aggregates exist)
    5> Statistics are up to date? (performance tab check)
    6> Indexes & Aggregate indexed are green (performance tab check)
    Based on above checks, perhaps, you have to go for building some aggregates.
    Regards,
    Sree

Maybe you are looking for