Sy-tabix problem

Hi,
i am modifying a internal table in which i am using this statement :-
MODIFY T_DD FROM W_DD INDEX SY-TABIX
and the work area is further used to insert the data base table . i just want to know that is this the correct way to modify the internal table bcoz when i execute the program for updating the database it is hardly taking 1 minute  to get updated and i think the problem lies in the above statement.
Please provide me guidelines to sove this problem.

Hi,
Refer below code
LOOP AT it_crmm_territory INTO wa_crmm_territory.
        l_index = sy-tabix.
        CLEAR : wa_crmm_territory_v.
        READ TABLE it_crmm_territory_v INTO wa_crmm_territory_v WITH KEY terr_guid = wa_crmm_territory-terr_guid.
        IF sy-subrc EQ 0.
          wa_crmm_territory-valid_from = wa_crmm_territory_v-valid_from.
          wa_crmm_territory-valid_to   = wa_crmm_territory_v-valid_to.
          wa_crmm_territory-guid       = wa_crmm_territory_v-guid.
        ENDIF.
        MODIFY it_crmm_territory FROM wa_crmm_territory INDEX l_index
                                      TRANSPORTING guid valid_from valid_to.
        CLEAR : wa_crmm_territory.
      ENDLOOP.
Regards,
Prashant

Similar Messages

  • Insert ITAB INDEX SY-TABIX Problem

    Hi Experts,
    I have a problem in my report.
    Please look into the code.
    loop at li_basez980.
       read table i_z980 with key spmon = l_spmon
                                  matnr = li_basez980-matnr
                                  kunnr = li_basez980-kunnr
                                  werks = li_basez980-werks
                                  vkorg = li_basez980-vkorg binary search.
       if sy-subrc ne 0.
         i_z980-spmon = l_spmon.
         i_z980-matnr = li_basez980-matnr.
         i_z980-kunnr = li_basez980-kunnr.
         i_z980-werks = li_basez980-werks.
         i_z980-vkorg = li_basez980-vkorg.
         i_z980-basme = li_basez980-basme.          " 8/6/07
         i_z980-waers = c_waers.
         i_z980-cpudt = v_datum.
         i_z980-cputm = v_uzeit.
         i_z980-znetsalekg = 0.
         i_z980-znetsalevl = 0.
         insert i_z980 index sy-tabix.
         clear  i_z980.
       endif.
    endloop.
    When run my report in Foreground it runs fine. But when i run the same report in Background job gets cancelled when the index reaches to 228984 once 230070 once and 230104 once at insert statement i.e " insert i_z980 index sy-tabix." . I found this  by debugging the Job.
    Please help me if you know the solution.
    Regards,
    Ravikumar P
    Edited by: Ravikumar P on Mar 30, 2010 4:40 PM

    Hi,
    This is happening because after read you inserting the records when sy-surbc <> 0. At that time did you check the sy-tabix value. This value is comming correctly. You directly append the same.
    loop at li_basez980.
    read table i_z980 with key spmon = l_spmon
    matnr = li_basez980-matnr
    kunnr = li_basez980-kunnr
    werks = li_basez980-werks
    vkorg = li_basez980-vkorg binary search.
    if sy-subrc ne 0.
    i_z980-spmon = l_spmon.
    i_z980-matnr = li_basez980-matnr.
    i_z980-kunnr = li_basez980-kunnr.
    i_z980-werks = li_basez980-werks.
    i_z980-vkorg = li_basez980-vkorg.
    i_z980-basme = li_basez980-basme. " 8/6/07
    i_z980-waers = c_waers.
    i_z980-cpudt = v_datum.
    i_z980-cputm = v_uzeit.
    i_z980-znetsalekg = 0.
    i_z980-znetsalevl = 0.
    insert i_z980 index sy-tabix.
    clear i_z980.
    endif.
    endloop.

  • Problem with SY-TABIX?

    Hi all,
    I am using one FM in my application, at one place i am reading table using sy-tabix. But it is showing 0 even table contains values.
    In some other place in this code tabix is working. perticular in that place it is not working.
    And i check this by executing se37 there it is working fine...
    Here the code..
      SELECT   vbeln  vkorg  vtweg  kunnr spart  FROM vbak INTO  TABLE it_vbak
                     where vbeln  in  s_vbeln.
    IF it_vbak[] IS NOT INITIAL.
        SELECT  kunnr   "Customer Number 1
                adrnr   "Address
          FROM kna1 INTO CORRESPONDING FIELDS OF TABLE it_kna1
          FOR ALL ENTRIES IN it_vbak
          WHERE kunnr = it_vbak-kunnr.
    //Here sy-tabix always showing 0.    
    READ TABLE it_kna1 INTO wa_kna1 INDEX sy-tabix.
        IF sy-subrc = 0.
          gv_kunnr = wa_kna1-kunnr.
        ENDIF.
    In some other place it is working...
          SELECT  lifnr     "ACCOUNT NUMBER OF VENDOR OR CREDITOR
                  adrnr     "ADDRESS
            FROM lfa1
            INTO CORRESPONDING FIELDS OF TABLE it_lfa1
            FOR ALL ENTRIES IN it_knvp
            WHERE lifnr = it_knvp-lifnr.
        ENDIF.
        READ TABLE it_lfa1 INTO wa_lfa1 INDEX sy-tabix.   // Here it is working.  
    IF sy-subrc = 0.
          gv_lifnr = wa_lfa1-lifnr.
        ENDIF.
    Can anyone give me any suggetions.. i think code is correct, any fault is there...
    Tahnks,
    Venkat.

    Venkat,
    There are two selects, 1 from KNa1 and other from LFA1 and a read statement after each select.
    For your first select, your sy-tabix will always be 0. Sy-tabix will be filled with Loop or read. Now when execution reaches your second statement of read, the sy-tabix is already filled by the first read.
    So, two things: 1. Always use debugging, 2. please explore yourself first on these issues. You can use sy-dbcnt which fills with the total number of records returned.
    Regards,
    Santosh

  • Problem in Sy-tabix value

    Hi Experts,
    I have a scenario like this
    Itab1
    A      | B | C
    1050 | 10  | 88
    1051 | 20  | 99
    itab2
    A      | D
    1050 | 1
    1050 | 2
    1050 | 3
    1051 | 4
    1051 | 5
    now I want to combine these values in itab3
    my reslut should be
    A     |  B  | C | D
    1050  10   88  1
    1050  10   88  2
    1050  10   88  3
    1051  20   99  4
    1051  20   99  5
    i did code like this
        LOOP AT i_tab1 INTO w_tab1.
          CLEAR w_tab3.
        w_tab3-A = itab1-A.
        w_tab3-B = itab1-B.
         w_tab3-C = itab1-C.
        APPEND w_tab3 TO i_tab3.
          loop at i_tab2 INTO w_tab2 where A = w_tab2-A.
          IF sy-tabix EQ 1.
             w_tab3-D = w_tab2-D.
             MODIFY i_tab3 INDEX sy-tabix FROM w_tab3 TRANSPORTING D.
          else.
             w_tab3-A = itab1-A.
            w_tab3-B = itab1-B.
            w_tab3-C = itab1-C.
          w_tab3-D = itab2-D.
            APPEND w_tab3 TO i_tab3
           ENDIF.
           CLEAR w_vttp.
           CLEAR w_vttk_tknum.
         endloop.
       ENDLOOP.
    ENDIF.
    Probelm:
    When I am pocessing 2 record of itab1, the value of sy-tabix for in internal table i_tab2 is not resetting, it's picking the old value.
    Can you please tell me how i can reset the sy-tabix of inner loop for the second pass of outer loop.
    Thnaks
    Krishan
    Edited by: Krishan Kumar on Aug 2, 2008 2:40 PM

    You can try it like this:
    data:
      count type i value 1,
      w_line type i.
    describe table i_tab1 lines w_line.
    do w_line time.
    read  i_tab1 into  w_tab1 index count.
      loop at tab2 into w_tab2 where A = itab1-A.
       w_tab3-A = itab1-A.
       w_tab3-B = itab1-B.
       w_tab3-C = itab1-C.
       w_tab3-D = itab2-D.
      APPEND w_tab3 TO i_tab3
      endloop.
    count = count + 1.
    enddo.
    With luck,
    Pritam.

  • Sy-tabix value has changed...

    Hi Gurus,
    I  am using a code like dis...this is not the actual code m using instad m sendin u a sample program so that u can understand the problem
    There is a selecvtion for Customer.
    sort itab by kunnr.
    loop at itab.
    on change of itab-kunnr.
    wkunnr = itab-kunnr.
      read table zitab with key kunnr = itab-kunnr.
    endon.
    if itab-kunnr = wkunnr.
    wdmbtr = wdmbtr + itab-dmbtr.
    endif.
    at end of kunnr.
    ftab-kunnr = wkunnr.
    ftab-dmbtr = wdmbtr.
    append ftab.
    endat.
    endloop.
    Now my problem is that  AT END OF Kunnr is working fine for the first customer or say for single customer but when there are multiple customers  AT END OF kunnr is triggring for each entry.......
    In debug MOdei can see that as soon as read table  syntax is used the tabix value is changed....
    So Can anyone suggest what is the solution....
    Regards,
    Raman

    This is the Declaration
    DATA:  BEGIN OF ITAB OCCURS 0,
                      KUNNR      LIKE BSID-KUNNR,
                      BELNR      LIKE BSID-BELNR,
                      BUKRS      LIKE BSID-BUKRS,
                      GJAHR      LIKE BSID-GJAHR,
                      BUZEI      LIKE BSID-BUZEI,
                      SHKZG      LIKE BSID-SHKZG,
                      VALUT      LIKE BSID-ZFBDT,
                      SGTXT(70)  TYPE  C,
                      ZFBDT      LIKE BSID-ZFBDT,
                      ZBD1T       TYPE BSID-ZBD1T,
           ZBD2T       TYPE BSID-ZBD2T,
           ZBD3T       TYPE BSID-ZBD3T,
           REBZG       TYPE BSID-REBZG,
           NETDT       TYPE BSID-BUDAT,
                      ZUONR      LIKE BSID-ZUONR,
                       BLART      LIKE BSID-BLART,
                      DMBTR      LIKE BSID-DMBTR,
                      SPART       TYPE VBRK-SPART,
                      DAY    TYPE RFPOSX-VERZN,
                      FLAG TYPE C,
                      CITY        TYPE KNA1-ORT01,
           NAME1       TYPE LFA1-NAME1,
                     CR_DR1(4)  TYPE C,
                      PSWSL      LIKE BSID-PSWSL,
                      ZTERM      LIKE BSID-ZTERM,
                      VBELN      LIKE BSID-VBELN,
                      UMSKZ      LIKE BSID-UMSKZ,
                      KLIMK      LIKE KNKK-KLIMK,
                      VTEXT      LIKE TVZBT-VTEXT,
                      ADV        LIKE BSID-DMBTR,
                      REBZT       TYPE BSID-REBZT,
                      XBLNR      LIKE BSID-XBLNR,
                      VTEXT1(70) TYPE  C,
                       FKLIMK    LIKE KNKK-KLIMK,
                      ABC(4)     TYPE C,
                    AGRO(4)        TYPE C,
                      BIO(4)        TYPE C,
                      SKFOR      LIKE KNKK-SKFOR,
                      SSOBL      LIKE KNKK-SSOBL,
                      CTLPC      LIKE KNKK-CTLPC,
                      OEIKW      LIKE S066-OEIKW,
                      OLIKW      LIKE S067-OLIKW,
                      OFAKW      LIKE S067-OFAKW,
                     NAME1      LIKE LFA1-NAME1,
                      BUDAT      LIKE BKPF-BUDAT,
                      D_DMBTR    LIKE BSID-DMBTR,
                      S_DMBTR    LIKE BSID-DMBTR,
                      VORGN      LIKE BSEG-VORGN,
                      WERKS      LIKE BSEG-WERKS,
                      NAMESO     LIKE KNA1-NAME1,
                      NAMEAM     LIKE KNA1-NAME1,
                      NAMERM     LIKE KNA1-NAME1,
                       NAMEDR     LIKE KNA1-NAME1,
       END OF ITAB.

  • Sy-tabix question

    Hi,
    If i delete records within a loop the sy-tabix remain with initial value?
    code:
    loop at itab.
    if itab-a = 'please delete'.
    fi_tabix = sy-tabix.
    loop at itab where b = c.
    if itab-d = 0.
      delete itab.
    endif.
    endloop.
    read table itab index fi_tabix. 'return to in loop previous record
    endif.
    endloop.
    Regards
    Juan

    hi Juan,
    i suggest you to dont delete the records in side the loop. <b>two ways</b> ...
    1. maintailn extra field(example flage type c) in itab.--then loop the table change the faag = 'X'. then endloop.
    then delete itab where flag = 'X'.
    <b>or</b>
    2. use the field symbols the
    example
    FIELD-SYMBOLS <FS_WA_ITAB> TYPE (ITAB TYPE).
    LOOP AT ITAB ASSIGNING <FS_WA_ITAB>.
    IF XXXX CONDITION.
    CLEAR <FS_WA_ITAB>.
    ENDIF.
    ENDLOOP.
    DELETE ITAB WHERE FIELS 1 IS INITIAL
    Why iam using this last delete is when you clear using the field symbols.. data will be cleared from the table but the empty rowsa will be remain.. that why iam using the DELETE after the loop.
    <b>if u use the 2nd way it is good.</b>
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K
    Message was edited by:
            Naresh Reddy

  • SY-TABIX value of a loop in other loop in other loop.

    Hello Gurus,
    I have a problem i want to modify some columns in final internal table and it is possible by using Transporting and Index but when i see SY-TABIX value it is not really giving particular loop iteration value. Because my present loop is in another loop and it is in another loop. Please gurus help me out
    or
    How to Insert particular filed columns  and how to use where clause in insert..
    Thanks.

    Hi !
    Here are things you could do:
    1. You can use nested loops with the WHERE statement on the inner loop. But this can be slow.
         This will look like this
                   loop at i_tab1 into wa1
                   loop at i_tab2 into wa2 where cond1 = wa1-cond1....
                     (   move wa2-field3 to wa1-field3.....)
                        modify i_tab1.
                   endloop.
                   endloop.
    2. You can use the parallel cursor technique as suggested above.
         This technique speeds up processing of data significantly. Here it is:
         data lv_tabix type i.
              sort i_tab1 by field1 ascending.
              sort i_tab2 by field1 ascending.
              loop at i_tab1 into wa1
              read table i_tab2 transporting no fields with key cond1 = wa1-cond1 binary search.
              lv_tabix = sy-tabix.
                   loop at i_tab2 into wa2 from lv_tabix.
                        if wa2-cond1 <> wa1-cond1.
                                   exit.       
                         endif.
                   ( move wa2-field3 to wa1-field3.....)
                        modify i_tab1.
                    endloop.
              endloop.
    Please let me know if you want more explanation

  • Sy-tabix Pboblem ?

    Before this loop sy-tabix becomes 17 .
    and when sy-subrc is 0
    instead of deleting the first line it deletes the 17th.
    CLEAR: SY-SUBRC,SY-TABIX.
      SORT: IT_FINAL, IT_TE, IT_TEM." BY VBELN POSNR.
      DELETE ADJACENT DUPLICATES FROM IT_TE  COMPARING VBELN.
      DELETE ADJACENT DUPLICATES FROM IT_TEM COMPARING VBELV.
      SORT: IT_TE,IT_TEM.
      LOOP AT IT_TE INTO WA_TE.
        READ TABLE IT_TEM INTO WA_TEM WITH KEY VBELV = WA_TE-VBELN
                                               POSNV = WA_TE-POSNR.
        CLEAR SY-TABIX.
        IF SY-SUBRC EQ 0.
          DELETE IT_TE INDEX SY-TABIX.
        ENDIF.
        MOVE: WA_TE-VBELN TO WA_TEMP-VBELN,
              WA_TE-POSNR TO WA_TEMP-POSNR.
        APPEND WA_TEMP TO IT_TEMP.
        CLEAR SY-SUBRC.
        CLEAR WA_TEMP.
    please help.
    Edited by: Matt on Sep 27, 2010 2:19 PM - added  tags

    Prabhu Das,
    DATA : l_index type sy-tabix.
      CLEAR: SY-SUBRC,SY-TABIX.
      SORT: IT_FINAL, IT_TE, IT_TEM." BY VBELN POSNR.
      DELETE ADJACENT DUPLICATES FROM IT_TE  COMPARING VBELN.
      DELETE ADJACENT DUPLICATES FROM IT_TEM COMPARING VBELV.
      SORT: IT_TE,IT_TEM.
      LOOP AT IT_TE INTO WA_TE.
        l_index = sy-tabix.
        READ TABLE IT_TEM INTO WA_TEM WITH KEY VBELV = WA_TE-VBELN
                                               POSNV = WA_TE-POSNR.
        CLEAR SY-TABIX.
        IF SY-SUBRC EQ 0.
           DELETE IT_TE INDEX l_index.
         " DELETE IT_TE INDEX SY-TABIX.
        ENDIF.
        MOVE: WA_TE-VBELN TO WA_TEMP-VBELN,
                   WA_TE-POSNR TO WA_TEMP-POSNR.
        APPEND WA_TEMP TO IT_TEMP.
        CLEAR SY-SUBRC.
        CLEAR WA_TEMP.
    ENDLOOP.
    I did as you suggested this has solved my problem .
    But the one which has to be deleted is deleted in the loop but it is appending in the temp table.
    i don't want those VBELN's
    Thanks.

  • Difference between sy-index & sy-tabix

    Dear friends,
    Please tell me the difference between sy-index & sy-tabix
    Actually my problem is i don't know how to compare for example between first record'field n and second record'field n when u r in loop so i can take particular action based on result
    on current recor
    if possible send me sample code.
    Regards;
    Parag Gavkar.

    SY-TABIX:
    Current line in an internal table. With the following statements SY-TABIX is set for index tables. With hashed tables, SY-TABIX is not filled or it is set to 0.
    - APPEND sets SY-TABIX to the index of the last table row, that is the total number of entries in the target table.
    - COLLECT sets SY-TABIX to the index of the existing or appended table row. With hashed tables, SY-TABIX is set to 0.
    - LOOP AT sets SY-TABIX to the index of the current table row at the beginning of every loop pass. After leaving a loop, SY-TABIX is set to the value it had before entering the loop. With hashed tables, SY-TABIX is set to 0.
    - READ TABLE sets SY-TABIX to the index of the table row read. If no row is found with binary search while reading, SY-TABIX contains the index of the next-highest row or the total number of rows +1. If no row is found with linear search while reading, SY-TABIX is undefined.
    - SEARCH itab FOR sets SY-TABIX to the index of the table row, in which the search string was found.
    SY-INDEX:
    SY-INDEX contains the number of loop passes in DO and WHILE loops, including the current loop pass.
    Regards,
    Santosh

  • MULTIPLE ITEM PROBLEM IN VL31N BDC

    hI FRIENDS ,
        I AM POSTING A BDC OF TRANSACTION VL31N ,ie FOR SCHEDULE AGREEMENT INBOUND DELIVERY.I CREATE A FUNCTIONAL MODULE OF THE SAME AND CALL IT FROM AN ASP PAGE,IN THAT THERE IS PO NUMBER 5500000986 WHICH HAS TWO ITEMES 62 AND 95 RESPECTIVLY OF SAME MATARIAL NUMBER R010230123041002 AND DIE NUMBER 2304P,NOW THE PROBLEM IS THIS BDC IS WORKING WHEN THERE IS ONLY ONE ITEM BUT GIVES AN ERROR "CANT CREAT INBOUND DELIVERY FOR PO NO ...' WNEN IT HAS MULTIPLE ITEM.WHAT SHOULD I DO ? I ALSO USED LOOP BUT IT ALSO DOSENT WORK AS IT WILL ADD ALL OPEN QTY OF PO 986 AND UPDATE AGAINST ITEM NO 95.
    CODE IS AS FOLLOWS:.........
    FUNCTION y_synie_bdcinbdly.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(CTU) LIKE  APQI-PUTACTIVE DEFAULT 'X'
    *"     VALUE(MODE) LIKE  APQI-PUTACTIVE DEFAULT 'N'
    *"     VALUE(UPDATE) LIKE  APQI-PUTACTIVE DEFAULT 'L'
    *"     VALUE(GROUP) LIKE  APQI-GROUPID OPTIONAL
    *"     VALUE(USER) LIKE  APQI-USERID OPTIONAL
    *"     VALUE(KEEP) LIKE  APQI-QERASE OPTIONAL
    *"     VALUE(HOLDDATE) LIKE  APQI-STARTDATE OPTIONAL
    *"     VALUE(NODATA) LIKE  APQI-PUTACTIVE DEFAULT '/'
    *"     VALUE(EXTNID) LIKE  MAKT-MAKTG
    *"     VALUE(VENDORNO) LIKE  LFA1-LIFNR
    *"     VALUE(PONUMBER) LIKE  EKKO-EBELN
    *"     VALUE(ITEMNUMBER) LIKE  LIPS-VGPOS
    *"     VALUE(MATERIAL) LIKE  MAKT-MAKTG
    *"     VALUE(DLYQTY) LIKE  LIPS-LFIMG
    *"     VALUE(BTCHNO) LIKE  LIPS-CHARG
    *"     VALUE(POSLR) LIKE  EKES-EBELP OPTIONAL
    *"  EXPORTING
    *"     VALUE(SUBRC) LIKE  SYST-SUBRC
    *"     VALUE(INDELYNO) LIKE  SY-MSGV2
    *"     VALUE(MSG1) LIKE  SY-MSGV1
    *"     VALUE(MSG2) LIKE  SY-MSGV2
    *"     VALUE(MSG3) LIKE  SY-MSGV3
    *"     VALUE(MSG4) LIKE  SY-MSGV4
    *"  TABLES
    *"      MESSTAB STRUCTURE  BDCMSGCOLL
    *"      ERRTAB STRUCTURE  YSYNERRMSGS
    *"      INDLYTAB STRUCTURE  YSYN_QTYTAB
    Updated by ANAND SYNISE 19.1.2007
      DATA: BEGIN OF bdctab OCCURS 0.
              INCLUDE STRUCTURE bdcdata.
      DATA: END OF bdctab.
      DATA: datenow(10) TYPE c,
            fldvar(30)  TYPE c,
            fldno       TYPE i,
            flditoc(6)  TYPE c,
            qty(13)     TYPE c.
      DATA maxposnr LIKE lips-posnr.
      DATA testposnr TYPE posnr.
      DATA itemnoint TYPE i.
      CONCATENATE sy-datum6(2) '.' sy-datum4(2) '.' sy-datum+0(4) INTO datenow.
      CLEAR bdctab.
      REFRESH bdctab.
      PERFORM open_group      USING group user keep holddate ctu.
           CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '4007'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'RV50A-VERUR_LA'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '/00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-LIFNR'.
           bdctab-fval = vendorno.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LV50C-BSTNR'.
           bdctab-fval = ponumber.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-VERUR_LA'.
           bdctab-fval = extnid.
           APPEND bdctab.
       CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '=MKAL_T'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIKP-BLDAT'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
       CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '=POPO_T'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIPS-POSNR(01)'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '0111'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'RV50A-PO_MATNR'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = 'WEIT'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-PO_MATNR'.
           bdctab-fval = material.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '=POLO_T'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIPS-POSNR(01)'.
           APPEND bdctab.
    *ADDED BY ANAND ON 22-01-2007
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval =  ITEMNUMBER .     "ITEMNUMBER = LIPS-VGPOS
           APPEND bdctab.
    ************ENDED***********************
    ADDED BY MILIND 19.01.2007
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval =  poslr .
           APPEND bdctab.
    *    ENDED * *
       CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LIPS_SELKZ(01)'.
           bdctab-fval = ''.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
       CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '/00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIPS-CHARG(01)'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
          QTY = INDLYTAB-DLYQTY.
            qty = dlyqty.
           bdctab-fnam = 'LIPSD-G_LFIMG(01)'.
           bdctab-fval = QTY.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIPS-CHARG(01)'.
    *     BDCTAB-FVAL = INDLYTAB-BTCHNO.
           bdctab-fval = btchno.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
       CLEAR bdctab.
           bdctab-program = 'SAPMV50A'.
           bdctab-dynpro = '1000'.
           bdctab-dynbegin = 'X'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_OKCODE'.
           bdctab-fval = '=SICH_T'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'LIKP-BLDAT'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_CURSOR'.
           bdctab-fval = 'LIPS-MATNR(02)'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFDAT_LA'.
           bdctab-fval = datenow.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'RV50A-LFUHR_LA'.
           bdctab-fval = '00:00'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
           CLEAR bdctab.
           bdctab-fnam = 'BDC_SUBSCR'.
           bdctab-fval = 'SAPMV50A'.
           APPEND bdctab.
      CALL TRANSACTION 'VL31N' USING bdctab MODE 'N'  MESSAGES INTO messtab.
      subrc = sy-subrc.
      PERFORM close_group USING     ctu.
      CLEAR bdctab.
      REFRESH bdctab.
      IF sy-subrc EQ 0.
        indelyno = sy-msgv2.
      ENDIF.
      LOOP AT messtab.
        MOVE: messtab-msgid TO errtab-msgid,
              messtab-msgnr TO errtab-msgnr,
              messtab-msgv1 TO errtab-msg1,
              messtab-msgv2 TO errtab-msg2,
              messtab-msgv3 TO errtab-msg3,
              messtab-msgv4 TO errtab-msg4.
        APPEND ERRtab.
      ENDLOOP.
      LOOP AT errtab.
        SELECT SINGLE text FROM t100
          INTO errtab-errmsg
          WHERE msgnr EQ errtab-msgnr AND arbgb EQ errtab-msgid
          AND sprsl EQ sy-langu.
        MODIFY errtab.
      ENDLOOP.
    ENDFUNCTION.

    Hi,
    Check this code:
    REPORT Z_CUSTOMER_UPLOAD .
                  D A T A         D E C L A R A T I O N S                *
    DATA:BEGIN OF IT_CUSTOMER OCCURS 0,
         KUNNR LIKE MV10A-KUNNR,
         VKORG LIKE MV10A-VKORG,
         VTWEG LIKE MV10A-VTWEG,
         MATNR LIKE MV10A-MATNR,
         KDMAT LIKE MV10A-KDMAT,
         MEGRU LIKE MV10A-MEGRU,
         SELKZ TYPE C value 'X',
         LPRIO LIKE MV10A-LPRIO,
         ANTLF LIKE MV10A-ANTLF,
         END OF IT_CUSTOMER.
    DATA:BEGIN OF IT_success OCCURS 0,
         KUNNR LIKE MV10A-KUNNR,
         VKORG LIKE MV10A-VKORG,
         VTWEG LIKE MV10A-VTWEG,
         MATNR LIKE MV10A-MATNR,
         KDMAT LIKE MV10A-KDMAT,
         MEGRU LIKE MV10A-MEGRU,
         SELKZ TYPE C value 'X',
         LPRIO LIKE MV10A-LPRIO,
         ANTLF LIKE MV10A-ANTLF,
         END OF IT_success.
    DATA:BEGIN OF IT_error OCCURS 0,
         KUNNR LIKE MV10A-KUNNR,
         VKORG LIKE MV10A-VKORG,
         VTWEG LIKE MV10A-VTWEG,
         MATNR LIKE MV10A-MATNR,
         KDMAT LIKE MV10A-KDMAT,
         MEGRU LIKE MV10A-MEGRU,
         SELKZ TYPE C value 'X',
         LPRIO LIKE MV10A-LPRIO,
         ANTLF LIKE MV10A-ANTLF,
         END OF IT_error.
    DATA: L_INDEX TYPE SY-TABIX.
    DATA:IT_BDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
    IT_DATA TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    ERROR MESSAGE TABLE
    DATA:IT_MESSAGES LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : C_S TYPE C VALUE 'S',
            C_E TYPE C VALUE 'E'.
    *DATA: IT_SUCCESS LIKE IT_CUSTOMER OCCURS 0,
         IT_ERROR LIKE IT_CUSTOMER  OCCURS 0.
    DATA : V_RECTOT TYPE I,
            V_RECERR TYPE I,
            V_RECSUC TYPE I.
                  S E L E C T I O N  -  S C R E E N                      *
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER        : P_FILE LIKE RLGRAP-FILENAME .
    SELECTION-SCREEN : END OF BLOCK B1.
               A T  S E L E C T I O N  -  S C R E E N                    *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    to get F4 help for p_file
      PERFORM F4_FILENAME USING P_FILE.
                S T A R T   O F   S E L E C T I O N                      *
    START-OF-SELECTION.
    Uploading data from flat file into it_tab
      PERFORM BDC_UPLOAD USING P_FILE.
      PERFORM PROCESS_DATA.
      PERFORM POPULATE_BDC.
                E N D  O F   S E L E C T I O N                           *
    *END-OF-SELECTION.
    PERFORM DISPLAY_REPORT.
    *&      Form  F4_FILENAME
          text
         -->P_P_FILE  text
    FORM F4_FILENAME USING    P_P_FILE.
    DATA:L_FILE TYPE IBIPPARMS-PATH.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = L_FILE .
       P_P_FILE = L_FILE.
    ENDFORM.                    " F4_FILENAME
    *&      Form  BDC_UPLOAD
          text
         -->P_P_FILE  text
    FORM BDC_UPLOAD USING    P_P_FILE.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        FILENAME                      = P_P_FILE
        I_BEGIN_COL                   = 1
        I_BEGIN_ROW                   = 1
        I_END_COL                     = 8
        I_END_ROW                     = 1000
      TABLES
        INTERN                        = IT_DATA
    EXCEPTIONS
       INCONSISTENT_PARAMETERS       = 1
       UPLOAD_OLE                    = 2
       OTHERS                        = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BDC_UPLOAD
    *&      Form  PROCESS_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM PROCESS_DATA.
    SORT IT_DATA BY ROW COL.
      LOOP AT IT_DATA.
    CASE IT_DATA-COL.
    WHEN 1.
    IT_CUSTOMER-KUNNR   = IT_DATA-VALUE.
    WHEN 2.
    IT_CUSTOMER-VKORG   = IT_DATA-VALUE.
    WHEN 3.
    IT_CUSTOMER-VTWEG   = IT_DATA-VALUE.
    WHEN 4.
    IT_CUSTOMER-MATNR   = IT_DATA-VALUE.
    WHEN 5.
    IT_CUSTOMER-KDMAT   = IT_DATA-VALUE.
    WHEN 6.
    IT_CUSTOMER-MEGRU   = IT_DATA-VALUE.
    WHEN 7.
    IT_CUSTOMER-LPRIO   = IT_DATA-VALUE.
    WHEN 8.
    IT_CUSTOMER-ANTLF   = IT_DATA-VALUE.
    APPEND IT_CUSTOMER.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                    " PROCESS_DATA
    *&      Form  POPULATE_BDC
          text
    -->  p1        text
    <--  p2        text
    FORM POPULATE_BDC.
    DATA:L_COUNTER TYPE N,
             L_STRING TYPE STRING.
    LOOP AT IT_CUSTOMER.
    AT NEW KUNNR.
    CLEAR L_COUNTER.
          L_INDEX = SY-TABIX.
          READ TABLE IT_CUSTOMER INDEX L_INDEX.
    perform bdc_dynpro      using 'SAPMV10A' '0100'.
    perform bdc_field       using 'MV10A-KUNNR'
                                  IT_CUSTOMER-KUNNR.
    perform bdc_field       using 'MV10A-VKORG'
                                  IT_CUSTOMER-VKORG.
    perform bdc_field       using 'MV10A-VTWEG'
                                  IT_CUSTOMER-VTWEG.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    ENDAT.
    L_COUNTER = L_COUNTER + 1.
        CLEAR L_STRING.
    perform bdc_dynpro      using 'SAPMV10A' '0200'.
    CONCATENATE 'MV10A-MATNR(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using L_STRING
                            IT_CUSTOMER-MATNR.
    CONCATENATE 'MV10A-KDMAT(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using     L_STRING
                                     IT_CUSTOMER-KDMAT.
    CONCATENATE 'MV10A-MEGRU(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using   L_STRING
                                    IT_CUSTOMER-MEGRU.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    *-- For Page down in Call Transaction Mode
        IF L_COUNTER = 14.
          CLEAR L_COUNTER.
          PERFORM BDC_DYNPRO      USING 'SAPMV45A' '4001'.
          PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                '=P+'.
        ENDIF.
    perform bdc_dynpro      using 'SAPMV10A' '0200'.
    CONCATENATE 'MV10A-SELKZ(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using L_STRING
                              IT_CUSTOMER-SELKZ.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SELE'.
    perform bdc_dynpro      using 'SAPMV10A' '0300'.
    perform bdc_field       using 'MV10A-KDMAT'
                                  IT_CUSTOMER-KDMAT.
    perform bdc_field       using 'MV10A-LPRIO'
                                  IT_CUSTOMER-LPRIO.
    perform bdc_field       using 'MV10A-ANTLF'
                                  IT_CUSTOMER-ANTLF.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                        '/EBACK'.
    at end of kunnr.
    READ TABLE IT_CUSTOMER INDEX L_INDEX.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    CALL TRANSACTION 'VD51' USING IT_BDC MODE 'A' UPDATE 'S'
          MESSAGES INTO IT_MESSAGES.
          CLEAR IT_BDC.
          REFRESH IT_BDC.
    ENDAT.
      IF NOT IT_MESSAGES[] IS INITIAL.
        PERFORM FORMAT_MESSAGE.
      ENDIF.
    ENDLOOP.
    ENDFORM.                    " POPULATE_BDC
    *&      Form  bdc_dynpro
          text
         -->P_0273   text
         -->P_0274   text
    FORM bdc_dynpro USING    VALUE(P_0273)
                             VALUE(P_0274).
    IT_BDC-PROGRAM = P_0273.
    IT_BDC-DYNPRO = P_0274.
    IT_BDC-DYNBEGIN = 'X'.
      APPEND IT_BDC.
      CLEAR IT_BDC.
    ENDFORM.                    " bdc_dynpro
    *&      Form  bdc_field
          text
         -->P_0278   text
         -->P_RECORD_KUNNR_001  text
    FORM bdc_field USING    VALUE(P_0278)
                           VALUE(P_0279).
    IT_BDC-FNAM = P_0278.
      IT_BDC-FVAL = P_0279.
      APPEND IT_BDC.
      CLEAR IT_BDC.
    ENDFORM.                    " bdc_field
    *&      Form  FORMAT_MESSAGE
          text
    -->  p1        text
    <--  p2        text
    FORM FORMAT_MESSAGE.
    DATA: L_MSG(100).
      LOOP AT IT_MESSAGES.
      READ TABLE IT_CUSTOMER INDEX L_INDEX.
        CALL FUNCTION 'FORMAT_MESSAGE'
             EXPORTING
                  ID        = IT_MESSAGES-MSGID
                  LANG      = SY-LANGU
                  NO        = IT_MESSAGES-MSGNR
                  V1        = IT_MESSAGES-MSGV1
                  V2        = IT_MESSAGES-MSGV2
                  V3        = IT_MESSAGES-MSGV3
                  V4        = IT_MESSAGES-MSGV4
             IMPORTING
                  MSG       = L_MSG
             EXCEPTIONS
                  NOT_FOUND = 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.
        write:/ l_msg.
      ENDLOOP.
    ENDFORM.                    " FORMAT_MESSAGE
    reward if helpful,
    keerthi

  • Urgant problem for the updating problem  HELP

    Dear sir/miss,On 2008.12.01 one of our partner company consultant,setup an update(SAPKH50016 AND SAPKH50017) page on our production system without and test in the test system.
    Now our transaction code CV03N,CV02N,CV01N can not be used,jump out abap problems as below:
    It's already give us very big impact to our SAP system,so please tell me how to deal with it.
    "Runtime Errors MOVE_CAST_ERROR
    Exceptn CX_SY_MOVE_CAST_ERROR
    Date and Time 2008.12.02 08:23:43
    ShrtText
    A dynamic type conflict occurred during reference assignment.
    What happened?
    Error in ABAP application program.
    The current ABAP program "CL_EX_DOCUMENT_MAIN02=========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.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_MOVE_CAST_ERROR', wa
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "IF_EX_DOCUMENT_MAIN02~D100_BEFORE_PAI" "(METHOD)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    A 'CAST' operation ('?=' or 'MOVE ?TO') tried to assign an object or
    interface variable to a reference variable.
    However, the contents of the source variable do not fit in the target.
    Source type. "\CLASS=ZCL_IM_DOCUMENT_MAIN02"
    Target type: "\INTERFACE=IF_EX_DOCUMENT_MAIN02"
    How to correct the error
    If the error occurred in one of your own programs or in an SAP program
    that you modified, try to correct it yourself.
    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:
    "MOVE_CAST_ERROR" CX_SY_MOVE_CAST_ERRORC
    "CL_EX_DOCUMENT_MAIN02=========CP" or "CL_EX_DOCUMENT_MAIN02=========CM007"
    "IF_EX_DOCUMENT_MAIN02~D100_BEFORE_PAI"
    If you cannot solve the problem yourself and you wish to send
    an error message to SAP, include the following documents:
    1. A printout of the problem description (short dump)
    To obtain this, select in the current display "System->List->
    Save->Local File (unconverted)".
    2. A suitable printout of the system log
    To obtain this, call the system log through transaction SM21.
    Limit the time interval to 10 minutes before and 5 minutes
    after the short dump. In the display, then select the function
    "System->List->Save->Local File (unconverted)".
    3. If the programs are your own programs or modified SAP programs,
    supply the source code.
    To do this, select the Editor function "Further Utilities->
    Upload/Download->Download".
    4. Details regarding the conditions under which the error occurred
    or which actions and input led to the error.
    The exception must either be prevented, caught within the procedure
    "IF_EX_DOCUMENT_MAIN02~D100_BEFORE_PAI"
    "(METHOD)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    System environment
    SAP Release.............. "640"
    Application server....... "ciserver"
    Network address.......... "172.31.120.37"
    Operating system......... "Linux"
    Release.................. "2.6.9-11.19AXsmp"
    Hardware type............ "x86_64"
    Character length......... 16 Bits
    Pointer length........... 64 Bits
    Work process number...... 3
    Short dump setting....... "full"
    Database server.......... "diserver"
    Database type............ "ORACLE"
    Database name............ "PRD"
    Database owner........... "SAPPRD"
    Character set............ "C"
    SAP kernel............... "640"
    Created on............... "May 22 2006 19:43:51"
    Created in............... "Linux GNU SLES-9 x86_64 cc3.3.3"
    Database version......... "OCI_920 "
    Patch level.............. "129"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
    10.2.0.."
    SAP database version..... "640"
    Operating system......... "Linux 2.6"
    Memory usage.............
    Roll..................... 16192
    EM....................... 12569568
    Heap..................... 0
    Page..................... 57344
    MM Used.................. 2076240
    MM Free.................. 2111024
    SAP Release.............. "640"
    User and Transaction
    Client.............. 600
    User................ "MENGQC001"
    Language key........ "E"
    Transaction......... "CV03N "
    Program............. "CL_EX_DOCUMENT_MAIN02=========CP"
    Screen.............. "SAPLCV110 0100"
    Screen line......... 43
    Information on where terminated
    The termination occurred in the ABAP program "CL_EX_DOCUMENT_MAIN02=========CP"
    in "IF_EX_DOCUMENT_MAIN02~D100_BEFORE_PAI".
    The main program was "SAPLCV110 ".
    The termination occurred in line 134 of the source code of the (Include)
    program "CL_EX_DOCUMENT_MAIN02=========CM007"
    of the source code of program "CL_EX_DOCUMENT_MAIN02=========CM007" (when
    calling the editor 1340).
    Processing was terminated because the exception "CX_SY_MOVE_CAST_ERROR"
    occurred in the
    procedure "IF_EX_DOCUMENT_MAIN02~D100_BEFORE_PAI" "(METHOD)" but was not
    handled locally, not declared in the
    RAISING clause of the procedure.
    The procedure is in the program "CL_EX_DOCUMENT_MAIN02=========CP ". Its source
    code starts in line 1
    of the (Include) program "CL_EX_DOCUMENT_MAIN02=========CM007 ".
    ource Code Extract
    ine SourceCde
    104 CLEAR data_ref.
    105 GET REFERENCE OF OKCODE INTO data_ref.
    106 CALL METHOD <flt_cache_line>-eo_object->set_parameter(
    107 im_parmname = 'OKCODE'
    108 im_value = data_ref ).
    109
    110 CLEAR data_ref.
    111 GET REFERENCE OF DRAW INTO data_ref.
    112 CALL METHOD <flt_cache_line>-eo_object->set_parameter(
    113 im_parmname = 'DRAW'
    114 im_value = data_ref ).
    115
    116 CALL METHOD <flt_cache_line>-eo_object->evaluate
    117 IMPORTING
    118 ex_exception = exc
    119 EXCEPTIONS
    120 raise_exception = 1
    121 OTHERS = 2.
    122 IF sy-subrc = 2.
    123 MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    124 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    125 ELSEIF sy-subrc = 1.
    126 CASE exc-exceptn_nm.
    127 WHEN 'CANCEL'.
    128 MESSAGE ID exc-msgid TYPE exc-msgty NUMBER exc-msgno
    129 WITH exc-msgv1 exc-msgv2 exc-msgv3 exc-msgv4
    130 RAISING CANCEL.
    131 ENDCASE.
    132 ENDIF.
    133 WHEN OTHERS.
    EXITINTF ?= <flt_cache_line>-OBJ.
    135 CALL METHOD EXITINTF->D100_BEFORE_PAI
    136 EXPORTING
    137 TCODE = TCODE
    138 CHANGING
    139 OKCODE = OKCODE
    140 DRAW = DRAW
    141 EXCEPTIONS
    142 CANCEL = 1.
    143 case sy-subrc.
    144 when 1.
    145 raise CANCEL.
    146 endcase.
    147 ENDCASE.
    148
    149 CALL FUNCTION 'PF_ASTAT_CLOSE'
    150 EXPORTING
    151 OPENKEY = 'S61ZFJapGHhX00002X5BGm'
    152 TYP = 'UE'.
    153 ENDLOOP.
    Contents of system fields
    Name Val.
    SY-SUBRC 0
    SY-INDEX 0
    SY-TABIX 14
    SY-DBCNT 14
    SY-FDPOS 1
    SY-LSIND 0
    SY-PAGNO 0
    SY-LINNO 1
    SY-COLNO 1
    SY-PFKEY D100DISPLAY
    SY-UCOMM BACK
    SY-TITLE Display Document: Initial Screen
    SY-MSGTY
    SY-MSGID
    SY-MSGNO 000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    Active Calls/Events
    No. Ty. Program Include Line
    Name
    3 METHOD CL_EX_DOCUMENT_MAIN02=========CP CL_EX_DOCUMENT_MAIN02=========CM007 134
    CL_EX_DOCUMENT_MAIN02=>IF_EX_DOCUMENT_MAIN02~D100_BEFORE_PAI
    2 FORM SAPLCV110 LCV110F19 124
    D100_CONSUME_EVENTS
    1 MODULE (PAI) SAPLCV110 LCV110I08 10
    D100_FCODE
    Chosen variables
    Name
    Val.
    No. 3 Ty. METHOD
    Name CL_EX_DOCUMENT_MAIN02=>IF_EX_DOCUMENT_MAIN02~D100_BEFORE_PAI
    TCODE
    CV03
    45332222222222222222
    36030000000000000000
    00000000000000000000
    00000000000000000000
    OKCODE
    BACK
    4444222222222222222222222222222222222222222222222222222222222222222222
    213B000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000
    DRAW
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SY-MSGV1
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    EXC-MSGV1
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    SY-MSGV2
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    EXC-MSGV2
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    SY-MSGV3
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    EXC-MSGV3
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    SY-MSGV4
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    EXC-MSGV4
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    EXITINTF
    F0000000
    F0000000
    <FLT_CACHE_LINE>-OBJ
    E0001000
    E0001000
    SYST-REPID
    CL_EX_DOCUMENT_MAIN02=========CP
    4454554445444554444333333333334522222222
    3CF58F4F35D5E4FD19E02DDDDDDDDD3000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    SY-REPID
    CL_EX_DOCUMENT_MAIN02=========CP
    4454554445444554444333333333334522222222
    3CF58F4F35D5E4FD19E02DDDDDDDDD3000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    %_DUMMY$$
    2222
    0000
    0000
    0000
    SY-SUBRC
    0
    0000
    0000
    No. 2 Ty. FORM
    Name D100_CONSUME_EVENTS
    LF_ACT_IMP_EXISTING
    X
    5
    8
    0
    0
    %_SPACE
    2
    0
    0
    0
    SY-REPID
    SAPLCV110
    5454453332222222222222222222222222222222
    310C361100000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    SEEX_TRUE
    X
    5
    8
    0
    0
    LF_EXIT
    F0000000
    0000F000
    %_DUMMY$$
    2222
    0000
    0000
    0000
    GF_OI_CALLED_DISPLAY
    2
    0
    0
    0
    SYST-REPID
    SAPLCV110
    5454453332222222222222222222222222222222
    310C361100000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    SCREEN
    MCDOK-REFVR
    4444425445522222222222222222222222222222222222222222222222222222222222222222222222222222222222
    D34FBD2566200000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    GF_TRANSACTION
    CV03
    45332222222222222222
    36030000000000000000
    00000000000000000000
    00000000000000000000
    OK_CODE
    BACK
    4444222222222222222222222222222222222222222222222222222222222222222222
    213B000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000
    DRAW
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    CL_WB_REQUEST=>TO_IMMEDIATE_START
    PROP_STRING
    360
    6000
    8100
    BITMAP_STRETCH
    2
    0000
    2000
    SY-SUBRC
    0
    0000
    0000
    SS_CENTER
    1
    0000
    1000
    C_DMS_PHIO_MASTER_CLASS
    DMS_PCD1
    4455544322
    4D3F034100
    0000000000
    0000000000
    PROP_TABINDEX
    230
    E000
    6000
    SPACE
    2
    0
    0
    0
    LF_FCODE
    2222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000
    No. 1 Ty. MODULE (PAI)
    Name D100_FCODE
    TREEV_ITEM_CLASS_CHECKBOX
    3
    0000
    3000
    Internal notes
    The termination occurred in the function "RxMoveCastErrorObj" of the SAP
    Basis System, specifically in line 2995 of the module
    "//bas/640_REL/src/krn/runt/abmove1.c#7".
    The internal operation just processed is "CAST".
    The internal session was started at 20081202082340.
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    (CTrcStack2+0x7a)0x63b29a
    (CTrcStack+0xb)0x63b8db
    (ab_rabax+0x2f02)0xa4b1e2
    (_Z18RxMoveCastErrorObj4RUDIS_PKt+0xa5)0x7b7a45
    (_Z8ab_jcastv+0x673)0x7bdec3
    (_Z8ab_extriv+0x219)0x7ab4d9
    (_Z9ab_xeventPKt+0x29a)0x8f9b4a
    (ab_dstep+0x1a7)0xa5ec77
    (dynpmcal+0x39a)0x69d84a
    (dynppai0+0x933)0x69f393
    (dynprctl+0x414)0x69e324
    (dynpen00+0x444)0x693034
    (Thdynpen00+0x2df)0x50a24f
    (TskhLoop+0x307)0x514347
    (tskhstart+0x1ae)0x522fae
    (DpMain+0x28f)0x49b1bf
    (nlsui_main+0x9)0x475159
    (main+0x2e)0x47518e
    /lib64/libc.so.6(__libc_start_main+0xa9)0x2a97124b49
    List of ABAP programs affected
    Index Ty. Program Group Date Time Size Lang.
    0 Prg SAPLCV110 0 2008.12.01 10:13:43 671744 E
    1 Prg SAPMSSYD 0 2008.12.01 02:17:53 21504 E
    2 Prg SAPFSYSCALLS 0 2003.11.06 20:52:59 7168 E
    3 Typ DRAW 0 2008.04.29 10:29:35 11264
    4 Typ DRAT 0 1999.03.10 18:52:49 3072
    5 Typ DMS_DB_DRAT 0 1999.03.10 18:36:01 3072
    6 Typ TDWS 0 2003.09.10 16:46:37 6144
    7 Typ TDWST 0 1997.05.12 16:50:34 2048
    8 Typ AENR 0 2008.11.20 14:51:32 7168
    9 Typ USR03 0 1997.05.12 16:51:23 6144
    10 Typ T024X 0 1998.02.14 10:32:35 2048
    11 Typ MCDOK 0 2004.12.08 17:17:49 28672
    12 Prg SAPLCV121 12 2008.12.01 10:09:17 152576 E
    13 Prg CL_GUI_CFW====================CP 13 2003.11.06 20:53:18 176128 E
    14 Prg CL_GUI_PROPS_CONSUMER=========CP 14 2003.11.06 20:52:43 30720 E
    15 Prg %_CCNTL 14 2003.11.06 20:52:41 16384 E
    16 Prg SAPLTHFB 16 2008.12.01 02:18:03 368640 E
    17 Prg SAPLOLEA 17 2008.12.01 02:00:50 93184 E
    18 Prg SAPLSGUI 18 2008.12.01 02:18:03 76800 E
    19 Prg SAPLSTTM 19 2006.09.21 08:17:23 86016 E
    20 Prg SAPLSBDC 20 2006.09.21 08:24:43 45056 E
    21 Prg SAPLSFES 21 2008.12.01 02:18:03 278528 E
    22 Prg SAPLSPLUGIN 22 2003.11.06 21:28:25 8192 E
    23 Prg SAPFGUICNTL 17 2003.11.06 20:57:18 24576 E
    24 Typ DMS_FRONTEND_DATA 0 2001.06.07 17:41:14 2048
    25 Typ ITDWA 0 1999.12.09 18:54:10 3072
    26 Typ DNTAB 0 2000.11.09 14:07:14 6144
    27 Typ DMS_AUDITS 0 1998.12.10 18:00:41 3072
    28 Typ DRAD 0 1999.12.01 15:17:34 4096
    29 Typ DRAZ 0 1998.04.01 02:05:08 4096
    30 Typ DRAP 0 1995.04.04 16:53:07 3072
    31 Typ DRAOZ 0 1995.04.04 16:53:05 6144
    32 Typ DRAO 0 1995.04.04 16:53:03 6144
    33 Typ TOAV0 0 1996.06.14 09:51:26 3072
    34 Typ DMS_REC_FILE 0 2006.10.12 17:53:17 8192
    35 Typ DMS_DOC_FILE 0 1999.04.21 13:22:51 12288
    36 Prg SAPLCADM 36 2003.11.06 20:53:00 14336 E
    37 Typ TDWA 0 2001.06.07 17:50:38 6144
    38 Prg SAPLCV115 38 2008.12.01 10:13:43 220160 E
    39 Prg SAPLCV118 39 2008.11.30 22:54:57 86016 E
    40 Prg SAPLCV130 40 2008.12.01 09:57:54 342016 E
    41 Prg SAPLCLO0 41 2006.09.21 11:31:12 55296 E
    42 Typ API_CHAR 0 1997.07.09 23:48:05 2048
    43 Typ API_VALI 0 1998.04.23 14:46:27 5120
    44 Typ API_KSSK 0 1996.01.29 18:00:54 3072
    45 Typ API_VALI 0 1998.04.23 14:46:27 5120
    46 Prg SAPLCLFM 46 2008.12.01 03:27:54 711680 E
    47 Typ RMCLF 0 2004.03.15 16:55:47 31744
    48 Typ RMCLKSSK 0 2001.09.18 10:03:47 5120
    49 Typ RMCLAUSP 0 2001.09.18 10:03:46 7168
    50 Typ RMCLDEL 0 1997.08.13 12:51:45 3072
    51 Typ AUSP 0 2001.09.18 10:02:23 6144
    52 Prg SAPLCLSE 52 2008.11.20 14:51:39 188416 E
    53 Prg SAPLCTMS 53 2008.12.01 03:28:16 985088 E
    54 Prg SAPLCTCV 54 2008.12.01 03:27:56 197632 E
    55 Prg SAPLCTCF 55 2008.12.01 03:27:07 20480 E
    56 Typ USR01 0 1998.02.14 15:22:01 4096
    57 Prg SAPLCLPR 57 2001.11.19 16:12:29 64512 E
    58 Typ CLPROF 0 2001.06.07 17:40:33 12288
    59 Typ RMCLPAR 0 2001.06.07 17:45:28 13312
    60 Typ AGR_USERS 0 2003.01.20 16:27:01 3072
    61 Prg SAPLCTCU 61 2008.05.18 09:34:46 189440 E
    62 Prg %_CCXTAB 53 2003.11.06 21:51:14 7168 E
    63 Typ SCXTAB_CONTROL 0 2003.11.06 20:31:00 6144
    64 Prg SAPLCUDB 64 2008.11.30 22:48:18 332800 E
    65 Prg SAPLCUD0 65 2008.12.01 09:57:54 196608 E
    66 Prg SAPLCUEV 66 2001.06.07 18:26:56 12288 E
    67 Prg SAPLSUNI 67 2008.05.18 09:44:54 151552 E
    68 Typ TFDIR 0 1998.07.29 19:49:08 3072
    69 Typ CABN 0 2001.09.18 10:02:26 12288
    70 Typ CABN 0 2001.09.18 10:02:26 12288
    71 Typ DDB_C05 0 1997.08.28 08:44:01 2048
    72 Typ DDB_C02 0 1997.07.09 23:52:49 3072
    73 Typ DDB_ITP 0 1997.08.28 08:44:01 2048
    74 Typ DDB_C07 0 1997.07.09 23:52:50 2048
    75 Prg SAPLCUTM 75 2006.09.21 11:40:39 68608 E
    76 Prg SAPLCUPM 76 2008.05.18 11:52:42 472064 E
    77 Prg SAPLSLG0 77 2003.11.06 20:53:05 64512 E
    78 Prg SAPLSBAL_SERVICE 78 2008.05.18 09:48:19 172032 E
    79 Typ BALOBJ 0 1997.08.13 13:16:25 2048
    80 Typ BALSUB 0 1997.08.13 13:16:26 2048
    81 Typ BAL_S_LFIL 0 2000.12.04 12:45:13 12288
    82 Prg SAPLSBAL 82 2008.05.18 09:48:19 327680 E
    83 Typ BAL_S_LOG 0 2000.12.04 13:04:00 7168
    84 Typ BAL_S_CONT 0 1998.11.02 09:43:07 2048
    85 Typ BAL_S_PARM 0 2000.12.04 12:45:14 3072
    86 Typ BAL_S_CLBK 0 1998.11.02 09:43:07 2048
    87 Typ BAL_S_SCNT 0 1998.11.30 15:52:33 3072
    88 Typ BAL_S_SDEF 0 2000.12.04 12:45:15 2048
    89 Prg CL_ABAP_CHAR_UTILITIES========CP 89 2004.11.12 14:02:13 14336 E
    90 Prg SAPLSYGU 90 2003.11.06 20:55:40 29696 E
    91 Prg SAPLCUXP 91 2008.12.01 10:09:15 147456 E
    92 Typ CUXP_01 0 1995.04.10 15:58:58 3072
    93 Typ T100 0 1997.08.28 09:04:45 2048
    94 Typ CUXP_02 0 1995.04.10 15:58:59 2048
    95 Typ CUXP_02 0 1995.04.10 15:58:59 2048
    96 Typ TMS_JUST 0 1995.04.10 16:02:55 2048
    97 Typ CUXP_02 0 1995.04.10 15:58:59 2048
    98 Prg SAPLCUTC 98 2003.11.11 20:31:28 89088 E
    99 Prg SAPLCUTRC 99 2008.12.01 02:26:11 87040 E
    100 Typ CTMS_01 0 1997.08.13 12:25:20 3072
    101 Typ INCL_BILD 0 1997.05.12 15:10:50 2048
    102 Typ AUSP 0 2001.09.18 10:02:23 6144
    103 Prg SAPLCCRL 103 2008.11.30 22:34:49 144384 E
    104 Typ AEOIB 0 2001.09.18 10:02:18 7168
    105 Typ TCC09 0 1999.03.17 16:24:37 2048
    106 Typ AEOI 0 2001.09.18 10:02:17 5120
    107 Prg SAPLCCCN 107 2008.11.20 14:51:39 293888 E
    108 Typ AEOIT 0 2001.09.18 10:02:18 3072
    109 Typ CCIN 0 2001.10.09 13:06:55 6144
    110 Typ CCCN_XFACE 0 2001.10.09 13:06:55 7168
    111 Prg SAPLCCBU 111 2008.11.20 14:51:39 33792 E
    112 Prg SAPLCV150 112 2008.11.20 14:51:40 144384 E
    113 Prg SAPFSPOR 0 2008.12.01 07:23:38 14336 E
    114 Prg SAPLSCNT 114 2003.11.06 20:53:04 30720 E
    115 Typ DYCBOX 0 1998.08.20 11:16:53 3072
    116 Prg SAPLSVSM 116 2006.09.21 08:56:23 29696 E
    117 Prg CL_DATAPROVIDER===============CP 117 2003.11.06 20:52:43 52224 E
    118 Typ OBJ_RECORD 0 1998.02.14 08:30:43 2048
    119 Prg SAPLSTUP 119 2006.09.21 08:34:57 75776 E
    120 Prg SAPLCNDP 120 2006.09.21 09:10:54 208896 E
    121 Prg SAPSHDTV 114 2003.11.06 20:57:23 33792 E
    122 Typ SHDTVCIU 0 1998.12.14 23:15:37 3072
    123 Typ SHDSTU 0 1998.12.14 23:15:34 2048
    124 Typ SHDSTCIU 0 1998.12.14 23:15:34 2048
    125 Typ ARFCRDATA 0 2000.11.09 14:04:16 6144
    126 Prg SAPLGRFC 126 2003.11.06 20:53:02 16384 E
    127 Typ SWCBCONT 0 2000.11.15 17:55:11 3072
    128 Typ OLE_VERBS 0 1995.04.04 16:02:20 2048
    129 Typ OLE_PA 0 1995.04.04 16:02:19 2048
    130 Prg CL_DYNAMIC_GUI_EXTENSIONS=====CP 130 2003.11.06 20:52:43 37888 E
    131 Prg CL_GUI_DATAMANAGER============CP 131 2006.09.21 09:11:48 77824 E
    132 Prg CL_EXITHANDLER================CP 132 2008.12.01 02:24:29 34816 E
    133 Prg SAPLSEXV 133 2008.12.01 02:05:16 124928 E
    134 Prg CL_BADI_FLT_DATA_TRANS_AND_DB=CP 134 2008.12.01 02:24:26 44032 E
    135 Typ SXS_ATTR 0 2001.08.20 12:23:27 4096
    136 Typ V_EXT_ACT 0 2000.11.09 14:27:05 2048
    137 Typ SXC_EXIT 0 2000.11.09 14:23:43 2048
    138 Prg CL_EX_DOCUMENT_MAIN02=========CP 138 2008.04.29 10:29:37 80896 E
    139 Prg IF_EX_DOCUMENT_MAIN02=========IP 132 2008.04.29 10:29:39 30720 E
    140 Prg %_CSXRT 138 2004.11.12 13:45:31 16384 E
    141 Prg CL_EXIT_MASTER================CP 141 2006.09.21 09:10:54 24576 E
    142 Typ SXS_MLCO 0 2000.12.04 14:59:55 2048
    143 Prg CL_EX_BADI_LAYER==============CP 143 2006.09.21 09:10:54 32768 E
    144 Prg IF_EX_BADI_LAYER==============IP 132 2006.09.21 08:51:19 9216 E
    145 Typ V_EXT_IMP 0 2003.11.06 20:40:20 3072
    146 Typ V_EXT_IMP 0 2003.11.06 20:40:20 3072
    147 Typ SXC_IMPSWH 0 2000.11.09 14:23:44 2048
    148 Prg ZCL_IM_DOCUMENT_MAIN02========CP 148 2008.12.01 14:50:50 7168 E
    149 Prg SAPLASTAT_TRIG 149 2003.11.06 20:53:00 13312 E
    150 Typ ASTAT_TYP2 0 1998.11.10 05:35:18 2048
    151 Typ ASTAT_TYP1 0 1998.11.30 15:54:16 2048
    152 Prg CX_SY_MOVE_CAST_ERROR=========CP 152 2003.11.06 20:41:23 11264 E
    153 Typ SCX_SRCPOS 0 2000.11.09 14:12:15 2048
    154 Prg CX_DYNAMIC_CHECK==============CP 154 2003.11.06 21:33:04 10240 E
    155 Prg CX_ROOT=======================CP 155 2003.11.06 21:56:05 12288 E
    156 Prg CX_NO_CHECK===================CP 156 2003.11.06 21:33:04 10240 E
    157 Prg CX_SY_NO_HANDLER==============CP 157 2003.11.06 21:33:04 10240 E
    158 Typ SYST 0 2000.12.04 14:54:51 31744
    159 Typ SFBM_XCPTN 0 2000.12.04 14:54:21 3072
    160 Prg CL_WB_REQUEST=================CP 160 2008.12.01 02:25:56 71680 E
    irectory of Application Tables
    ame Date Time Lngth
    Val.
    rogram SAPLCV110
    YST . . : : 00004608
    \0\0\0\0\x0001\0\x000E\0\0\0\0\0\0\0\0\0\0\0\0\0\x000E\0
    RAW 2008.04.29 10:29:35 00003196
    RAT . . : : 00000236
    MS_DB_DRAT . . : : 00000238
    DWS . . : : 00000268
    DWST . . : : 00000048
    ENR . . : : 00000496
    00 00000000 00000000
    SR03 . . : : 00000876
    T024X . . : : 00000074
    MCDOK 2004.12.08 17:17:49 00013650
    TDWA 2001.06.07 17:50:38 00000340
    0000
    Program CL_GUI_PROPS_CONSUMER=========CP
    EUDB . . : : 00004068
    %C002380004933B6098D9166C5E1000000AC1F7825 \0\0\0
    Program SAPLCLFM
    RMCLF . . : : 00003736
    Program SAPLCTMS
    RCTMS 2002.04.17 10:32:13 00002034
    Program SAPLCTCF
    USR01 . . : : 00000220
    Program SAPLCLPR
    RMCLPAR . . : : 00000418
    SAPPROFILE
    CLPROF . . : : 00000272
    600BMENGQC001 X X XXX
    AGR_USERS . . : : 00000164
    0000000000000
    Program SAPLSUNI
    TFDIR . . : : 00000188
    CUD0_CUSTOM_CONFIG_INITIALIZERSAPLCUD0
    Program SAPLCCRL
    AENR . . : : 00000496
    00 00000000 00000000
    AEOI . . : : 00000436
    00
    Program SAPLCCCN
    CCIN . . : : 00000600
    00 0
    Program SAPSHDTV
    SHDSTU . . : : 00000106
    SHDSTCIU . . : : 00000100
    ABAP Control Blocks (CONT)
    Index Name Fl PAR0 PAR1 PAR2 PAR3 PAR4 PAR5 PAR6 SourceCde Line
    409 DWRI 01 0042 CL_EX_DOCUMENT_MAIN02=========CM007 128
    410 WRIT 00 C026 CL_EX_DOCUMENT_MAIN02=========CM007 128
    411 PAR1 C0 0000 CL_EX_DOCUMENT_MAIN02=========CM007 128
    412 JEND A6 0000 CL_EX_DOCUMENT_MAIN02=========CM007 128
    413 DWRI 01 0043 CL_EX_DOCUMENT_MAIN02=========CM007 128
    414 WRIT 00 C027 CL_EX_DOCUMENT_MAIN02=========CM007 128
    415 PAR1 C0 0000 CL_EX_DOCUMENT_MAIN02=========CM007 128
    416 JEND A6 0000 CL_EX_DOCUMENT_MAIN02=========CM007 128
    417 FUNE 01 006E CL_EX_DOCUMENT_MAIN02=========CM007 128
    418 ENDF 00 0000 CL_EX_DOCUMENT_MAIN02=========CM007 128
    419 MESS 00 0000 CL_EX_DOCUMENT_MAIN02=========CM007 128
    420 BRAX 00 0015 CL_EX_DOCUMENT_MAIN02=========CM007 133
    CAST 00 0000 C006 C028 CL_EX_DOCUMENT_MAIN02=========CM007 134
    423 METH 03 0003 0000 8001 0000 0000 0000 0000 CL_EX_DOCUMENT_MAIN02=========CM007 135
    427 PAR1 01 C000 CL_EX_DOCUMENT_MAIN02=========CM007 135
    428 PAR1 81 C001 CL_EX_DOCUMENT_MAIN02=========CM007 135
    429 PAR1 81 C002 CL_EX_DOCUMENT_MAIN02=========CM007 135
    430 PAR2 00 0000 0002 0000 CL_EX_DOCUMENT_MAIN02=========CM007 135
    432 PAR2 00 0000 006E 0001 CL_EX_DOCUMENT_MAIN02=========CM007 135
    434 BREL 04 0000 CL_EX_DOCUMENT_MAIN02=========CM007 143

    Hi,
    As per your query, pls contact any abap consultant regarding this he will provide the solution. Because some times programe given some error then the abaper see the programe and take action accordingly.
    Anil

  • Error while transfering Value of  SY-TABIX to a variable  ?

    Hi,
    As per my req , i have code like this .
    {{ Data : idx3 type sy-tabix .}
    {READ TABLE ITAB2 with key----
    { if sy-subrc = 0 .
         idx3 = sy-tabix .
        DELETE i_sort INDEX idx3 .
    endif .}
    clear idx3 .}
    but it gets sortdumb ,
    While in debugging mode , i checked Sy-Tabix value is 11 suppose , but IDX3 = * ,
    The value is not tranferring to idx3,
    But its working fine for other records .??
    so what is the root cause of this kind of error , ??

    Hi all,
    I solved it ,
    Actuaally the problem was here .
    Data : idx1 , idx2 type sy-tabix.
    so system was considerings idx1 as char type ,length 1. and when after READ statement i transfered the value of sy-tabix to idx1 , if sy-tabix value is <= 9 , then IDX1 contains that value, but if SY-TABIX is 2 character , it cud nt transfer the value to IDX1 .
    so it was getting sort dumb.
    I declared like this .
    Data : idx1 type sy-tabix,
               idx2 type sy-tabix.  now its fine
    Anyways thanks to all for your help

  • Problem when I execute program SCM in background

    Hi experts,
        I am with problem when I execute a program (SCM) in background. I inserted a new field (estoque_seg(10)) and the process stopped at execute in background.When I call transaction and press F8, works but for this, I need jump the consistence  IF sy-batch IS INITIAL....Dont has any bath imput, only functions. Any idea?
    Follow below the code:
    Estrutura para tabela ENTRADA
    DATA: BEGIN OF st_entrada,
            matnr(40)            TYPE c,
            werks(20)            TYPE c,
            ponto_abas(10)       TYPE c,
            estoque_max(10)      TYPE c,
            cobertura(10)        TYPE c,
            estoque_seg(10)      TYPE c, " Erlon Lourenço 20/01/2011
          END OF st_entrada.
    Estrutura para tabela de LOG
    *TYPES: BEGIN OF st_saida,
           pernr(8)             TYPE c ,
           date(10)             TYPE c,
           er_contribuition(15) TYPE c,
           tax(15)              TYPE c,
           msg_erro(80)         TYPE c,
         END OF st_saida.
    Tabela para obter descricao da mensagem
    *DATA: ti_saida TYPE STANDARD TABLE OF st_saida WITH HEADER LINE
                                                  INITIAL SIZE 0.
    Tabela que recebera o arquivo texto
    DATA: BEGIN OF ti_entrada OCCURS 0.
            INCLUDE STRUCTURE st_entrada.
    DATA: END OF ti_entrada.
    DATA: BEGIN OF it_matid OCCURS 0,
      matnr TYPE /sapapo/matkey-matnr,
      matid TYPE /sapapo/matkey-matid,
    END OF it_matid.
    DATA: BEGIN OF it_locid OCCURS 0,
      locno TYPE /sapapo/loc-locno,
      locid TYPE /sapapo/loc-locid,
    END OF it_locid.
    DATA: BEGIN OF it_matlotsz OCCURS 0,
      target_dur TYPE /sapapo/matlotsz-target_dur,
      END OF it_matlotsz.
    DATA:        wa_matloc       LIKE /sapapo/matloc   OCCURS  0 WITH HEADER LINE,
                 wa_matlsim      LIKE /sapapo/matlsim  OCCURS  0 WITH HEADER LINE,
                 wa_matlotsz     LIKE /sapapo/matlotsz OCCURS  0 WITH HEADER LINE.
    Variáveis Globais
    DATA: v_tabix   TYPE sy-tabix,
          v_vrsioid TYPE /sapapo/apo01-vrsioid,
          v_tam     TYPE i.
        Select-Options & Parameters
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:  p_versao    TYPE /sapapo/apo01-vrsioex OBLIGATORY DEFAULT '000',
                 p_abas  AS CHECKBOX  ,
                 p_est   AS CHECKBOX  ,
                 p_cober AS CHECKBOX  ,
                 p_estsg AS CHECKBOX.   " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
    SELECTION-SCREEN END OF BLOCK b1.
        Start-of-Selection
    START-OF-SELECTION.
      PERFORM consiste.
      PERFORM f_upload.
      PERFORM f_processa_batch.
      PERFORM f_saida_dados.
      MESSAGE i000 WITH 'Processo encerrado com Sucesso'.
    END-OF-SELECTION.
    *&      Form  F_UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM f_upload .
      DATA: lc_file TYPE string.
      TYPES: BEGIN OF st_ent,
                cam(80),
             END OF st_ent.
      DATA: ti_ent TYPE STANDARD TABLE OF st_ent WITH HEADER LINE
                                                  INITIAL SIZE 0.
      RANGES: r_file       FOR zget0001-field_content.
      r_file[] = zbs_constantes=>obter( i_bukrs = space i_field = 'FILE' i_process = 'PONTO-REAB' ).
      READ TABLE r_file INDEX 1.
      lc_file = r_file-low.
      CLEAR: ti_entrada,
             ti_entrada[],
             ti_ent,
             ti_ent[].
    abrir arquivo para leitura
      OPEN DATASET lc_file FOR INPUT  IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        MESSAGE i000 WITH text-e01.
        STOP.
      ENDIF.
    Leitura de arquivos
      DO.
        READ DATASET lc_file INTO ti_ent.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        APPEND ti_ent.
      ENDDO.
    Fechamento do arquivo
      CLOSE DATASET lc_file.
      LOOP AT ti_ent.
        SPLIT ti_ent AT ';' INTO ti_entrada-matnr ti_entrada-werks ti_entrada-ponto_abas ti_entrada-estoque_max ti_entrada-cobertura ti_entrada-estoque_seg.
        APPEND ti_entrada.
      ENDLOOP.
    ENDFORM.                    " F_UPLOAD
    *&      Form  F_PROCESSA_BATCH
          text
    -->  p1        text
    <--  p2        text
    FORM f_processa_batch .
      LOOP AT ti_entrada.
        v_tabix = sy-tabix.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-matnr
          IMPORTING
            output = ti_entrada-matnr.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-ponto_abas
          IMPORTING
            output = ti_entrada-ponto_abas.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-estoque_max
          IMPORTING
            output = ti_entrada-estoque_max.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-cobertura
          IMPORTING
            output = ti_entrada-cobertura.
    IA - ERLON LOURENCO - 20/01/2012
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-estoque_seg
          IMPORTING
            output = ti_entrada-estoque_seg.
    FA - ERLON LOURENCO - 20/01/2012
        MODIFY ti_entrada INDEX v_tabix.
      ENDLOOP.
      CLEAR: it_matid,
             it_matid[],
             it_locid,
             it_locid[],
             wa_matlsim,
             wa_matlsim[],
             wa_matloc,
             wa_matloc[].
      SELECT matnr matid INTO TABLE it_matid FROM /sapapo/matkey
      FOR ALL ENTRIES IN ti_entrada WHERE matnr = ti_entrada-matnr.
      SELECT locno locid INTO TABLE it_locid FROM /sapapo/loc
      FOR ALL ENTRIES IN ti_entrada WHERE locno = ti_entrada-werks.
      IF p_versao = '000'.
        LOOP AT ti_entrada.
          READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
          IF sy-subrc = 0 .
            READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
            IF sy-subrc = 0.
              SELECT SINGLE * INTO wa_matloc FROM /sapapo/matloc WHERE matid = it_matid-matid  AND
                                                                       locid = it_locid-locid.
              IF sy-subrc = 0.
                IF p_abas = 'X'.
                  wa_matloc-reord    = ti_entrada-ponto_abas.
                ENDIF.
                IF p_est = 'X'.
                  wa_matloc-maxstock = ti_entrada-estoque_max.
                ENDIF.
                " IA - Erlon Lourenço - 23/01/2012
                if p_estsg = 'X'.
                  wa_matloc-safty    = ti_entrada-estoque_seg.     " Erlon Lourenço - 23/01/2012
                endif.
                "FA - Erlon Lourenço - 23/01/2012
                IF p_abas  = 'X'   OR
                   p_est   = 'X'   OR
                   p_estsg = 'X'.      " Erlon Lourenço - 23/01/2012
                  APPEND wa_matloc TO wa_matloc.
                ENDIF.
                SELECT SINGLE * INTO wa_matlotsz FROM /sapapo/matlotsz WHERE lszid = wa_matloc-lszid.
                IF sy-subrc = 0.
                  IF p_cober = 'X'.
                    wa_matlotsz-target_dur = ti_entrada-cobertura.
                    APPEND wa_matlotsz TO wa_matlotsz.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.   " LOOP AT ti_entrada.
      ELSE.
    Verifica versáo para saber se preenche a tabela wa_matlsim
        SELECT SINGLE vrsioid INTO v_vrsioid FROM /sapapo/apo01 WHERE vrsioex = p_versao.
        IF sy-subrc = 0.
          SELECT * INTO TABLE wa_matlsim FROM /sapapo/matlsim WHERE simid = v_vrsioid.
          IF wa_matlsim[] IS NOT INITIAL.
            LOOP AT ti_entrada.
              READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
              IF sy-subrc = 0 .
                READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
                IF sy-subrc = 0.
                  READ TABLE wa_matlsim WITH KEY matid = wa_matloc-matid
                                                 locid = wa_matloc-locid.
                  IF sy-subrc = 0.
                    wa_matlsim-reord    = ti_entrada-ponto_abas.
                    wa_matlsim-maxstock = ti_entrada-estoque_max.
                    wa_matlsim-safty    = ti_entrada-estoque_seg.     " Erlon Lourenço - 23/01/2012
                    MODIFY wa_matlsim INDEX v_tabix.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDLOOP.  " LOOP AT ti_entrada.
          ENDIF.     " IF wa_matlsim[] IS NOT INITIAL.
        ENDIF.     " IF sy-subrc = 0. 1º
      ENDIF.     "IF p_versao = '000'
    Funcáo que atualiza campos nas bases de dados.
      CALL FUNCTION '/SAPAPO/DM_PRODUCTS_POST'
        EXPORTING
          iv_vb         = 'U'
        TABLES
          it_matloc     = wa_matloc
          it_matlsim    = wa_matlsim
          it_matlotsz   = wa_matlotsz
        EXCEPTIONS
          not_qualified = 1
          insert_failed = 2
          update_failed = 3
          OTHERS        = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " F_PROCESSA_BATCH
      FORM  BDC_DYNPRO
    *&      Form  F_SAIDA_DADOS
          text
    -->  p1        text
    <--  p2        text
    FORM f_saida_dados .
    IF ti_saida[] IS NOT INITIAL.
       DATA: lc_file TYPE string.
       lc_file = p_erros.
       CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
      BIN_FILESIZE                    =
           filename                        = lc_file
      FILETYPE                        = 'ASC'
         TABLES
           data_tab                        = ti_saida
      FIELDNAMES                      =
        EXCEPTIONS
          file_write_error                = 1
          no_batch                        = 2
          gui_refuse_filetransfer         = 3
          invalid_type                    = 4
          no_authority                    = 5
          unknown_error                   = 6
          header_not_allowed              = 7
          separator_not_allowed           = 8
          filesize_not_allowed            = 9
          header_too_long                 = 10
          dp_error_create                 = 11
          dp_error_send                   = 12
          dp_error_write                  = 13
          unknown_dp_error                = 14
          access_denied                   = 15
          dp_out_of_memory                = 16
          disk_full                       = 17
          dp_timeout                      = 18
          file_not_found                  = 19
          dataprovider_exception          = 20
          control_flush_error             = 21
          OTHERS                          = 22
       IF sy-subrc <> 0.
         MESSAGE i005 WITH 'Error to unload file !'.
         STOP.
       ENDIF.
    ENDIF.
    ENDFORM.                    " F_SAIDA_DADOS
    *&      Form  CONSISTE
          text
    -->  p1        text
    <--  p2        text
    FORM consiste .
      IF p_abas  IS INITIAL  AND
         p_est   IS INITIAL  AND
         p_cober IS INITIAL AND
         p_estsg IS INITIAL.   " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
        MESSAGE i000 WITH text-e03.
        STOP.
      ENDIF.
      IF sy-batch IS INITIAL.
        MESSAGE i000 WITH text-e02.
        STOP.
      ENDIF.
    Best regards,
    Erlon Lourenço
    Edited by: Erlon Louren on Jan 27, 2012 11:09 AM

    Hi Raja,
                Check weather there are  any enhancements to the datasource.If yes once check the code in CMOD.Seems there is some discrepency in that.
    Regards
    Karthik

  • Problem when i try to modifi and save a query

    Dear SDN Members
    I have the follow error when I try to save a query (after to modified a Variable)
    - The system tried to insert a data record, even though a data record with the same primary key already exists
    - An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause
    - Program error in class SAPMSSY1 method: UNCAUGHT_EXCEPTION  
    My BW version is BI 7.0
    I went to TCODE ST22, and the dumps is the follow
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_SY_NO_HANDLER
    Date and Time          23.05.2007 12:03:10
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_SY_NO_HANDLER' was raised, but it was not caught anywhere
    along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_RSBOLAP_BICS_SERVICES======CP' has to be
    terminated.
    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
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_SY_NO_HANDLER', was not caught
    and
    therefore caused a runtime error.
    The reason for the exception is:
    An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled
    locally, nor declared in a RAISING clause
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_SY_OPEN_SQL_DB", which was raised in the program
    "SAPLRZD1",
    specifically in line 148 of the (include) program "LRZD1U40".
    The cause of the exception was:
    The system tried to insert a data record, even though a data record with the
    same primary key already exists
    How to correct the error
    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:
    "UNCAUGHT_EXCEPTION" "CX_SY_NO_HANDLER"
    "CL_RSBOLAP_BICS_SERVICES======CP" or "CL_RSBOLAP_BICS_SERVICES======CM003"
    "HANDLE_UNCAUGHT_EXCEPTION"
    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 700
    Application server... "ecedc05bwh02"
    Network address...... "192.168.186.10"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "8x Intel 801586"
    Character length.... 8 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "ECEDC05BWH02"
    Database type..... "ORACLE"
    Database name..... "BWD"
    Database user ID.. "SAPBWP"
    Char.set.... "Spanish_Spain.1252"
    SAP kernel....... 700
    created (date)... "Apr 2 2006 23:01:26"
    create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
    Database version. "OCI_10103_SHARE "
    Patch level. 52
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 8112
    EM...... 8382048
    Heap.... 0
    Page.... 16384
    MM Used. 5467512
    MM Free. 2913088
    User and Transaction
    Client.............. 100
    User................ "ATOS"
    Language Key........ "S"
    Transaction......... " "
    Program............. "CL_RSBOLAP_BICS_SERVICES======CP"
    Screen.............. "SAPMSSY1 3004"
    Screen Line......... 2
    Information on caller of Remote Function Call (RFC):
    System.............. "########"
    Database Release.... 710
    Kernel Release...... 710
    Connection Type..... "E" (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
    Call Type........... "synchron and non-transactional (emode 0, imode 0)"
    Inbound TID.........." "
    Inbound Queue Name..." "
    Outbound TID........." "
    Outbound Queue Name.." "
    Client.............. "###"
    User................ "############"
    Transaction......... " "
    Call Program........."BExQueryDesignerStarter"
    Function Module..... "RSZ_X_COMPONENT_SET_NEW"
    Call Destination.... "<unknown>"
    Source Server....... "clalinetzky2"
    Source IP Address... "10.139.56.93"
    Additional information on RFC logon:
    Trusted Relationship " "
    Logon Return Code... 0
    Trusted Return Code. 0
    Note: For releases < 4.0, information on the RFC caller are often
    only partially available.
    Information on where terminated
    Termination occurred in the ABAP program "CL_RSBOLAP_BICS_SERVICES======CP" -
    in "HANDLE_UNCAUGHT_EXCEPTION".
    The main program was "SAPMSSY1 ".
    In the source code you have the termination point in line 28
    of the (Include) program "CL_RSBOLAP_BICS_SERVICES======CM003".
    Source Code Extract
    Line
    SourceCde
    1
    METHOD handle_uncaught_exception.
    2
    3
    data:
    4
    l_r_program_error  TYPE REF TO cx_rsbolap_program_error.
    5
    data: lBExDebug type rs_bool.
    6
    GET PARAMETER ID 'BEXDEBUG' FIELD lBExDebug.
    7
    8
    if lBExDebug = rs_c_true or CL_RSTT_TRACE=>GET_TRACEMODE_CURRENT_TRACE( ) = rstt0_c_tracem
    9
    Break-point for debugging, e.g. during running a trace
    10
    break-point.  "#EC NOBREAK
    11
    endif.
    12
    Subcall?
    13
    if P_RFC_CALL_DEPTH > 1.
    14
      Forward the exception
    15
    subtract 1 from P_RFC_CALL_DEPTH.
    16
    DATA: l_r_x TYPE REF TO cx_no_check.
    17
    TRY.
    18
    l_r_x ?= i_r_exception.
    19
    CATCH cx_root.
    20
    CLEAR l_r_x.
    21
    ENDTRY.
    22
    23
    IF l_r_x IS INITIAL.
    24
    RAISE EXCEPTION TYPE cx_rsr_propagate_x
    25
    EXPORTING
    26
    previous = i_r_exception.
    27
    ELSE.
    >>>>>
    RAISE EXCEPTION l_r_x.
    29
    ENDIF.
    30
    endif.
    31
    32
    All exceptions should have been caugth -> X-Message
    33
    r_max_message_type = 'A'.
    34
    35
    Wrap the exception in a bolap program error exception
    36
    CREATE OBJECT l_r_program_error
    37
    EXPORTING
    38
    context  = 'UNCAUGHT_EXCEPTION'
    39
    previous = i_r_exception.
    40
    41
    Notify the message handler
    42
    CALL FUNCTION 'RRMS_EXCEPTION_HANDLING'
    43
    EXPORTING
    44
    I_MSGTY       = 'A'
    45
    i_r_exception = l_r_program_error.
    46
    47
    ENDMETHOD.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    52
    SY-TABIX
    0
    SY-DBCNT
    0
    SY-FDPOS
    1
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    Control CPI-C y RFC
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070523
    SY-UZEIT
    120310
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    5 METHOD       CL_RSBOLAP_BICS_SERVICES======CP    CL_RSBOLAP_BICS_SERVICES======CM003    28
    CL_RSBOLAP_BICS_SERVICES=>HANDLE_UNCAUGHT_EXCEPTION
    4 FUNCTION     SAPLRZX0                            LRZX0U52                              908
    RSZ_X_COMPONENT_SET_NEW
    3 FORM         SAPLRZX0                            LRZX0U52                                1
    RSZ_X_COMPONENT_SET_NEW
    2 FORM         SAPMSSY1                            SAPMSSY1                               85
    REMOTE_FUNCTION_CALL
    1 MODULE (PBO) SAPMSSY1                            SAPMSSY1                               30
    %_RFC_START
    Chosen variables
    Name
    Val.
    No.       5 Ty.          METHOD
    Name  CL_RSBOLAP_BICS_SERVICES=>HANDLE_UNCAUGHT_EXCEPTION
    I_R_EXCEPTION
    |
    | 1000E000 |
    | A0005000 |
    | R_MAX_MESSAGE_TYPE |
    |  |
    | 2 |
    | 0 |
    | L_R_X |
    |
    1000E000
    A0005000
    SYST-REPID
    CL_RSBOLAP_BICS_SERVICES======CP
    4455544445544455545544453333334522222222
    3CF232FC10F2933F35269353DDDDDD3000000000
    %_SPACE
    2
    0
    %_DUMMY$$
    2222
    0000
    %_ARCHIVE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    RSJOBINFO
    00000000000000                                  ####
    222222222222222222222222222222223333333333333322222222222222222222222222222222220000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SY
    4###########################################################################y#################
    3000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000
    400000000000800000000000A000000000000000000010001000000010000000000000000000900000000000000000
    %_EXCP
    F0000000
    F0000000
    SY-REPID
    CL_RSBOLAP_BICS_SERVICES======CP
    4455544445544455545544453333334522222222
    3CF232FC10F2933F35269353DDDDDD3000000000
    SPACE
    2
    0
    L_R_PROGRAM_ERROR
    |
    | F0000000 |
    | F0000000 |
    | No.       4 Ty.          FUNCTION |
    | Name  RSZ_X_COMPONENT_SET_NEW |
    | I_COMPUID |
    | F3IH9GRA1X9X7DRPIYFPE1QP7 |
    | 4344345435353455454543553 |
    | 6398972118987420996051107 |
    | I_COPY_MODE |
    |  |
    | 2 |
    | 0 |
    | I_LANGUAGE |
    | S |
    | 5 |
    | 3 |
    | I_NODE |
    | 0000000000 |
    | 3333333333 |
    | 0000000000 |
    | I_NO_TRANSPORT |
    |  |
    | 2 |
    | 0 |
    | I_OBJVERS |
    | A |
    | 4 |
    | 1 |
    | I_QD_VERSION |
    | 700 |
    | 33322 |
    | 70000 |
    | I_ROLE |
    |  |
    | 222222222222222222222222222222 |
    | 000000000000000000000000000000 |
    | E_GENUNIID |
    |  |
    | 2222222222222222222222222 |
    | 0000000000000000000000000 |
    | E_SUBRC |
    | 0 |
    | 0000 |
    | 0000 |
    | C_T_CALC[] |
    | Table IT_3889[5x158] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_CALC |
    | Table reference: 56 |
    | TABH+  0(20) = 28DD0EA0E81518A00000000038000000310F0000 |
    | TABH+ 20(20) = 050000009E000000FFFFFFFF04CB000058150000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x28DD0EA0 |
    | ext1         = 0xE81518A0 |
    | shmId        = 0     (0x00000000) |
    | id           = 56    (0x38000000) |
    | label        = 3889  (0x310F0000) |
    | fill         = 5     (0x05000000) |
    | leng         = 158   (0x9E000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000087 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x481839A0 |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2911  (0x5F0B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0xF0B70EA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0x40F60EA0 |
    | delta_head   = 0100000065000000E40000002B00000004CB0000901500009E0000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_CELL[] |
    | Table IT_3890[0x76] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_CELL |
    | Table reference: 52 |
    | TABH+  0(20) = 0000000028A51EA00000000034000000320F0000 |
    | TABH+ 20(20) = 000000004C000000FFFFFFFF04CB0000C8150000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x00000000 |
    | ext1         = 0x28A51EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 52    (0x34000000) |
    | label        = 3890  (0x320F0000) |
    | fill         = 0     (0x00000000) |
    | leng         = 76    (0x4C000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000089 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = Not allocated |
    | pghook       = Not allocated |
    | idxPtr       = Not allocated |
    | shmTabhSet   = Not allocated |
    | id           = Not allocated |
    | refCount     = Not allocated |
    | tstRefCount  = Not allocated |
    | lineAdmin    = Not allocated |
    | lineAlloc    = Not allocated |
    | shmVersId    = Not allocated |
    | shmRefCount  = Not allocated |
    | shmIsReadOnly = Not allocated |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0x68DA0EA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0x38EA1DA0 |
    | delta_head   = 0100000066000000E60000002900000004CB0000001600004C0000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_COMPDIR[] |
    | Table IT_3891[7x169] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_COMPDIR |
    | Table reference: 54 |
    | TABH+  0(20) = D8D80EA048A51EA00000000036000000330F0000 |
    | TABH+ 20(20) = 07000000A9000000FFFFFFFF04CB000098130000 |
    | TABH+ 40( 8) = 10000000C1248501 |
    | store        = 0xD8D80EA0 |
    | ext1         = 0x48A51EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 54    (0x36000000) |
    | label        = 3891  (0x330F0000) |
    | fill         = 7     (0x07000000) |
    | leng         = 169   (0xA9000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000079 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 1 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x382239A0 |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2912  (0x600B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 2     (0x02000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0xB8C223A0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0x30B50EA0 |
    | delta_head   = 0100000067000000E70000002800000004CB0000D0130000A90000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_COMPIC[] |
    | Table IT_3892[5x81] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_COMPIC |
    | Table reference: 49 |
    | TABH+  0(20) = 80D90EA060D90EA00000000031000000340F0000 |
    | TABH+ 20(20) = 0500000051000000FFFFFFFF04CB000008140000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x80D90EA0 |
    | ext1         = 0x60D90EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 49    (0x31000000) |
    | label        = 3892  (0x340F0000) |
    | fill         = 5     (0x05000000) |
    | leng         = 81    (0x51000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000081 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x409A1EA0 |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2913  (0x610B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0x18D90EA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0xD8B21EA0 |
    | delta_head   = 0100000068000000E50000002A00000004CB000040140000510000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_ELTATTR[] |
    | Table IT_3893[0x124] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_ELTATTR |
    | Table reference: 332 |
    | TABH+  0(20) = 0000000008DA0EA0000000004C010000350F0000 |
    | TABH+ 20(20) = 000000007C000000FFFFFFFF04CB0000B8120000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x00000000 |
    | ext1         = 0x08DA0EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 332   (0x4C010000) |
    | label        = 3893  (0x350F0000) |
    | fill         = 0     (0x00000000) |
    | leng         = 124   (0x7C000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000075 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = Not allocated |
    | pghook       = Not allocated |
    | idxPtr       = Not allocated |
    | shmTabhSet   = Not allocated |
    | id           = Not allocated |
    | refCount     = Not allocated |
    | tstRefCount  = Not allocated |
    | lineAdmin    = Not allocated |
    | lineAlloc    = Not allocated |
    | shmVersId    = Not allocated |
    | shmRefCount  = Not allocated |
    | shmIsReadOnly = Not allocated |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0xC0D90EA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0x101520A0 |
    | delta_head   = 0100000069000000E30000002C00000004CB0000F01200007C0000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_ELTDIR[] |
    | Table IT_3894[98x203] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_ELTDIR |
    | Table reference: 339 |
    | TABH+  0(20) = 48A01EA0A89F1EA00000000053010000360F0000 |
    | TABH+ 20(20) = 62000000CB000000FFFFFFFF04CB0000F8100000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x48A01EA0 |
    | ext1         = 0xA89F1EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 339   (0x53010000) |
    | label        = 3894  (0x360F0000) |
    | fill         = 98    (0x62000000) |
    | leng         = 203   (0xCB000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000067 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x883C39A0 |
    | pgHook       = 0x88A01EA0 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2915  (0x630B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 112   (0x70000000) |
    | lineAlloc    = 112   (0x70000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0x609F1EA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0xC01620A0 |
    | delta_head   = 010000006A000000E80000002700000004CB000030110000CB0000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_ELTPRIO[] |
    | Table IT_3895[77x150] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_ELTPRIO |
    | Table reference: 341 |
    | TABH+  0(20) = 30A11EA010A01EA00000000055010000370F0000 |
    | TABH+ 20(20) = 4D00000096000000FFFFFFFF04CB000048120000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x30A11EA0 |
    | ext1         = 0x10A01EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 341   (0x55010000) |
    | label        = 3895  (0x370F0000) |
    | fill         = 77    (0x4D000000) |
    | leng         = 150   (0x96000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000073 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x889539A0 |
    | pgHook       = 0x70A11EA0 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2917  (0x650B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 112   (0x70000000) |
    | lineAlloc    = 112   (0x70000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0xC89F1EA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0xC01720A0 |
    | delta_head   = 010000006B000000E20000002D00000004CB000080120000960000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_ELTPROP[] |
    | Table IT_3896[98x695] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_ELTPROP |
    | Table reference: 344 |
    | TABH+  0(20) = 18A21EA0C8B139A00000000058010000380F0000 |
    | TABH+ 20(20) = 62000000B7020000FFFFFFFF04CB0000D8110000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x18A21EA0 |
    | ext1         = 0xC8B139A0 |
    | shmId        = 0     (0x00000000) |
    | id           = 344   (0x58010000) |
    | label        = 3896  (0x380F0000) |
    | fill         = 98    (0x62000000) |
    | leng         = 695   (0xB7020000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000071 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x48FC39A0 |
    | pgHook       = 0x58A21EA0 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2919  (0x670B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 128   (0x80000000) |
    | lineAlloc    = 112   (0x70000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0xB0A01EA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0x28DA0EA0 |
    | delta_head   = 010000006C000000E10000002E00000004CB000010120000B70200000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_ELTTXT[] |
    | Table IT_3902[0x111] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_ELTTXT |
    | Table reference: 349 |
    | TABH+  0(20) = 0000000068F73AA0000000005D0100003E0F0000 |
    | TABH+ 20(20) = 000000006F000000FFFFFFFF04CB000018170000 |
    | TABH+ 40( 8) = 10000000C1248001 |
    | store        = 0x00000000 |
    | ext1         = 0x68F73AA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 349   (0x5D010000) |
    | label        = 3902  (0x3E0F0000) |
    | fill         = 0     (0x00000000) |
    | leng         = 111   (0x6F000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000095 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 0 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = Not allocated |
    | pghook       = Not allocated |
    | idxPtr       = Not allocated |
    | shmTabhSet   = Not allocated |
    | id           = Not allocated |
    | refCount     = Not allocated |
    | tstRefCount  = Not allocated |
    | lineAdmin    = Not allocated |
    | lineAlloc    = Not allocated |
    | shmVersId    = Not allocated |
    | shmRefCount  = Not allocated |
    | shmIsReadOnly = Not allocated |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0x20F73AA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0xE0F63AA0 |
    | delta_head   = 000000000000000000000000000000000000000000000000000000000000000000000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_ELTXREF[] |
    | Table IT_3897[188x74] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_ELTXREF |
    | Table reference: 340 |
    | TABH+  0(20) = 18A31EA0F8A01EA00000000054010000390F0000 |
    | TABH+ 20(20) = BC0000004A000000FFFFFFFF04CB000028130000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x18A31EA0 |
    | ext1         = 0xF8A01EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 340   (0x54010000) |
    | label        = 3897  (0x390F0000) |
    | fill         = 188   (0xBC000000) |
    | leng         = 74    (0x4A000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000077 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0xC8D53AA0 |
    | pgHook       = 0x58A31EA0 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2921  (0x690B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 432   (0xB0010000) |
    | lineAlloc    = 304   (0x30010000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0x98A11EA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0x801720A0 |
    | delta_head   = 010000006D000000EA0000002500000004CB0000601300004A0000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_RANGE[] |
    | Table IT_3898[258x579] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_RANGE |
    | Table reference: 345 |
    | TABH+  0(20) = B8F33AA088A31EA000000000590100003A0F0000 |
    | TABH+ 20(20) = 0201000043020000FFFFFFFF04CB0000E8140000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0xB8F33AA0 |
    | ext1         = 0x88A31EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 345   (0x59010000) |
    | label        = 3898  (0x3A0F0000) |
    | fill         = 258   (0x02010000) |
    | leng         = 579   (0x43020000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000085 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x580140A0 |
    | pgHook       = 0xF8F33AA0 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2923  (0x6B0B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 512   (0x00020000) |
    | lineAlloc    = 272   (0x10010000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0xD82C39A0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0x98A21EA0 |
    | delta_head   = 010000006E000000E90000002600000004CB000020150000430200000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_SELECT[] |
    | Table IT_3899[239x116] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_SELECT |
    | Table reference: 346 |
    | TABH+  0(20) = 20F53AA0E0A11EA0000000005A0100003B0F0000 |
    | TABH+ 20(20) = EF00000074000000FFFFFFFF04CB000078140000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0x20F53AA0 |
    | ext1         = 0xE0A11EA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 346   (0x5A010000) |
    | label        = 3899  (0x3B0F0000) |
    | fill         = 239   (0xEF000000) |
    | leng         = 116   (0x74000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000083 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0x202D39A0 |
    | pgHook       = 0x60F53AA0 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2925  (0x6D0B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 432   (0xB0010000) |
    | lineAlloc    = 304   (0x30010000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0x98F43AA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0xD8A21EA0 |
    | delta_head   = 010000006F000000CD0000000200000004CB0000B0140000740000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_UID_SERVER[] |
    | Table IT_3900[2x50] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_UID_SERVER |
    | Table reference: 347 |
    | TABH+  0(20) = 60F33AA0D8F53AA0000000005B0100003C0F0000 |
    | TABH+ 20(20) = 0200000032000000FFFFFFFF04CB0000A8160000 |
    | TABH+ 40( 8) = 02000000C1248101 |
    | store        = 0x60F33AA0 |
    | ext1         = 0xD8F53AA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 347   (0x5B010000) |
    | label        = 3900  (0x3C0F0000) |
    | fill         = 2     (0x02000000) |
    | leng         = 50    (0x32000000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000093 |
    | occu         = 2     (0x02000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0xE8F23AA0 |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2930  (0x720B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 2     (0x02000000) |
    | lineAlloc    = 2     (0x02000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0x90F53AA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0xE0F43AA0 |
    | delta_head   = 0100000070000000C50000000A00000004CB0000E0160000320000000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | C_T_VAR[] |
    | Table IT_3901[2x644] |
    | FUNCTION-POOL=RZX0FORM=RSZ_X_COMPONENT_SET_NEWDATA=%_%_C_T_VAR |
    | Table reference: 348 |
    | TABH+  0(20) = A0F63AA080F63AA0000000005C0100003D0F0000 |
    | TABH+ 20(20) = 0200000084020000FFFFFFFF04CB000038160000 |
    | TABH+ 40( 8) = 10000000C1248101 |
    | store        = 0xA0F63AA0 |
    | ext1         = 0x80F63AA0 |
    | shmId        = 0     (0x00000000) |
    | id           = 348   (0x5C010000) |
    | label        = 3901  (0x3D0F0000) |
    | fill         = 2     (0x02000000) |
    | leng         = 644   (0x84020000) |
    | loop         = -1    (0xFFFFFFFF) |
    | xtyp         = TYPE#000091 |
    | occu         = 16    (0x10000000) |
    | access       = 1     (ItAccessStandard) |
    | idxKind      = 0     (ItIndexNone) |
    | uniKind      = 2     (ItUniqueNon) |
    | keyKind      = 1     (default) |
    | cmpMode      = 2     (cmpSingleMcmpR) |
    | occu0        = 1 |
    | groupCntl    = 0 |
    | rfc          = 1 |
    | unShareable  = 0 |
    | mightBeShared = 0 |
    | sharedWithShmTab = 0 |
    | isShmLockId  = 0 |
    | gcKind       = 0 |
    | isUsed       = 1 |
    | isCtfyAble   = 1 |
    | >>>>> Shareable Table Header Data <<<<< |
    | tabi         = 0xB8DD42A0 |
    | pgHook       = 0x00000000 |
    | idxPtr       = 0x00000000 |
    | shmTabhSet   = 0x00000000 |
    | id           = 2926  (0x6E0B0000) |
    | refCount     = 0     (0x00000000) |
    | tstRefCount  = 0     (0x00000000) |
    | lineAdmin    = 16    (0x10000000) |
    | lineAlloc    = 16    (0x10000000) |
    | shmVersId    = 0     (0x00000000) |
    | shmRefCount  = 1     (0x01000000) |
    | >>>>> 1st level extension part <<<<< |
    | regHook      = 0x00000000 |
    | collHook     = 0x00000000 |
    | ext2         = 0x38F63AA0 |
    | >>>>> 2nd level extension part <<<<< |
    | tabhBack     = 0xF8F53AA0 |
    | delta_head   = 0100000071000000EC0000002300000004CB000070160000840200000100000005000000 |
    | pb_func      = 0x00000000 |
    | pb_handle    = 0x00000000 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | SY-REPID |
    | SAPLRZX0 |
    | 5454555322222222222222222222222222222222 |
    | 310C2A8000000000000000000000000000000000 |
    | <L_TRACE_MAX_MESSAGE_TYPE> |
    | ??? |
    | ?????? |
    | ?????? |
    | SYST |
    | 4###########################################################################y################# |
    | 3000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000 |
    | 400000000000800000000000A000000000000000000010001000000010000000000000000000900000000000000000 |
    | G_CS_UID_LOOKUP_WRONG_DEFTP |
    | ####ER9                  171 |
    | 1000453222222222222222222333 |
    | C000529000000000000000000171 |
    | G_CS_ELEMENT_LOCKED |
    | ####ER9                  113 |
    | 0000453222222222222222222333 |
    | D000529000000000000000000113 |
    | L_R_FUNCTION_MODULE_EXCEPTION |
    |
    1000E000
    A0005000
    SPACE
    2
    0
    L_TRACE_MAX_MESSAGE_TYPE
    2
    0
    SY-ONCOM
    X
    5
    8
    %_SPACE
    2
    0
    No.       3 Ty.          FORM
    Name  RSZ_X_COMPONENT_SET_NEW
    CL_RSTT_TRACE=>N_R_TRACEREF
    F0000000
    F0000000
    RSBBS_C_TYPE-ABAP_QUERY
    A
    4
    1
    %_%_I_QD_VERSION
    700
    33322
    70000
    %_%_I_COMPUID
    F3IH9GRA1X9X7DRPIYFPE1QP7
    4344345435353455454543553
    6398972118987420996051107
    %_%_I_COPY_MODE
    2
    0
    CL_GUI_TEXTEDIT=>ABAP_COMMENTLINE_IDENTIFIER
    %_%_I_LANGUAGE
    S
    5
    3
    %_%_I_NODE
    0000000000
    3333333333
    0000000000
    %_%_I_NO_TRANSPORT
    2
    0
    %_%_I_OBJVERS
    A
    4
    1
    %_%_I_ROLE
    222222222222222222222222222222
    000000000000000000000000000000
    G_CS_NO_IOBJ_F4_AVAILABLE
    ####SR9                  103
    0000553222222222222222222333
    8000329000000000000000000103
    %_%_E_GENUNIID
    2222222222222222222222222
    0000000000000000000000000
    CL_GUI_TEXTEDIT=>BOOL_INITIAL
    %_%_E_SUBRC
    0
    0000
    0000
    %_%_C_T_CALC
    Table IT_3889[5x158]
    %_%_C_T_CELL
    Table IT_3890[0x76]
    %_%_C_T_COMPDIR
    Table IT_3891[7x169]
    %_%_C_T_COMPIC
    Table IT_3892[5x81]
    %_%_C_T_ELTATTR
    Table IT_3893[0x124]
    CL_BSP_MESSAGES=>CO_SEVERITY_ERROR
    %_%_C_T_ELTDIR
    Table IT_3894[98x203]
    %_%_C_T_ELTPRIO
    Table IT_3895[77x150]

    Hi Gaurav 
    I already locked for a OSS note, but i could not find the answer
    Please, Could you tell me how you solve the problem?
    Thanks
    Ariel

  • SAP SCRIPT code problem

    521
    - Heading for trans. w/out sp.G/L indicators (item sorting method 2)-
    Transactions without special G/L indicators
    522
    - Heading for trans. with sp.G/L indicators (item sorting method 2)-
    &T074T-LTEXT&
    523
    - Heading for open item list of line items -
    &ULINE(71)&
    <K>Invoice No,,Reference.,,Inv.Date,,                   Due date,,,,
                 Balance</>
    &ULINE(71)&
    PERFORM GET_DATE IN PROGRAM ZREPORT
    USING &BSID-BELNR&
    CHANGING &S_DATE&
    ENDPERFORM.
                                                                                    530
    - Line items    Customer open items -
    &BSID-BELNR&,,&RF140-BELEGNUM&,,&BSID-BLDAT&,,&S_DATE&,,
    FORM get_date tables
            int_cond structure itcsy
            outt_cond structure itcsy.
    BREAK SNAGI.
    tables : bseg.
    data : w_belnr type ITCSY-value.
    DATA due_date TYPE rfpos-faedt.
    READ TABLE OUTT_COND WITH KEY name = 'S_DATE'.
      IF sy-subrc = 0.
        outt_cond-value = S_itab11.
        MODIFY outt_cond INDEX sy-tabix.
       ENDIF.
    SELECT SINGLE
    shkzg zfbdt zbd1t zbd2t zbd3t rebzg
    FROM bseg
    INTO CORRESPONDING FIELDS OF bseg
    WHERE
    *bukrs = bukrs AND
    belnr = int_cond-value.
    *AND vbeln = belnr.
    CALL FUNCTION 'NET_DUE_DATE_GET'
    EXPORTING
    i_zfbdt = bseg-zfbdt
    i_zbd1t = bseg-zbd1t
    i_zbd2t = bseg-zbd2t
    i_zbd3t = bseg-zbd3t
    i_shkzg = bseg-shkzg
    i_rebzg = bseg-rebzg
    I_KOART = 'D'
    IMPORTING
    e_faedt = due_date.
    outt_cond-value = due_date.
    MODIFY outt_cond INDEX sy-tabix.
    ENDFORM.
    Now the problem is that,it is int_cond-value is always picking up the first invoice number.
    and the net due date is always same for all invoices..?
    should I loop in the sap script or in the form..?

    Solved my self.
    just placing the perform and endform in 530

Maybe you are looking for

  • When I try to print from web page I get "printer not activated - error code 30", but I can copy text into Word document & printer works.

    I am unable to print anything from an internet web page. I continually get "printer not activated, error code- 30" followed by "An unknown error occurred while printing". I can copy the material from the web page, place into a Word document and then

  • MacBook Pro Retina (late 2013) VM and Windows 8

    Greetings. Just got the new rMBP and am exploring VM options for Windows.  Have been using Parallels for years on iMac and MacBook (I want VM and not Boot Camp so I don't have to re-boot).  Looking at Fusion and would love any feedback on the latest

  • Writing double to file

    basically all i want to do is to write a double array in to a file and then read it back i actually want this to be a seperate class The problem First i enter 5 double all = 1; Then i read it back return all one, which is ok but then i try to write o

  • Passing a parameter in the query string

    When a string containing a �+� is passed as a parameter in the URL in the query string through a POST request, it is interpreted as two strings separated by a �+� and thus when the string is retrieved through a request.getParameter (),it returns the

  • Thinking of a new player. Should I give creative another cha

    I went through 4 Creative Zen micro 's. Each one a replacement of the last due to malfunctions. Even the 4th one malfunctions and creative said they would help me with it but never followed up (even after me replying multiple times). So since this on