CL_RSPLS_CR_CONTROLLER method inner join short dump

Hi guys,
i have characteristic relationship usage but i created a new concept for characteristic combinations creation. We have one table with all characteristics are maintained We want to use one single table to maintain all relations. The class created with the create method implemented is working and we do have the right entries in table c_th_chas. This table then goes into standard coding and is transformed. Afterwards  method complete_combis is executed and within this method there is the method INNER_JOIN_steps. There method INNER_JOIN is executed. And this is thge method which dumps because method INNER_JOIN has a part beggining with the comment intersection of characteristics is empty, so build the cart.product.. From 13 characetristics in the table 6 are filled and 7 are empty . Maybe 8 times i am able to to run the loop but then the values of the tables is increasing immensly and a short time is thrown with no more internal table space... --> no more memory.
The problem seems to be the empty characetristics and the building of the cart. product. The command
  INSERTc_s_chas INTO TABLE e_th_chas.
is to much for over 10 Mio records and a short dump is thrown.
Is there any workaround for this problem? Can someone give me a hint.
Thanks and regards,
Murat

Hi Gregor,
thank you for your very helpful answer. With ticking this flag no automatic combinations were created and the wished characetristic relations were displayed. But after ticking this flag other workbooks crashed of invalid combinations which worked fine before witout the characteristic relationship class activation. The issue is as following:
i have a lot of characteristics in the realtime planning cube. My intention was to make one big table with most of the characteristics in it to build characteristic relations. At the moment we do have some tables and maintaining them gets komplex. One table i for all is the target.We have workbooks where we dont want use characteristic relations so we have a characetristic embedded in constant selections (structure) in the query and other characteristics with Access Type for Result Values in Master Data and Filter Value Selection Durinbg Query Execution with Values in Master data Table. For these workbooks i dont want characteristic relationships but we also have the opposite queries with characetreistics with ACCESS Type for Result Values with CHARACTERISTIC RELATIONSHIP and Filter value Selection During Query execution with CHARACTERISTIC RELATIONSHIP. In these workbooks i want to use characetristic relationships and the table in the others not. Now  the wueries where i want to use CRRs are correct but at the other workbooks also the table and CRR class is executed but i dont want them to get restricted by CRRS and also there is no characetristic using ACCESS Type for Result Values with CHARACTERISTIC RELATIONSHIP and also Filter value Selection During Query execution with CHARACTERISTIC Relationdships.
But despite why is CRR class executed. How can i solve it?
I would appreciate if you or someone  could suggest me something here.
Thanks and kind regards,
Murat

Similar Messages

  • CL_GUI_CFW= FLUSH giving short dump

    hi,
    i have got two servers. one for development and other for quality. in development my CL_GUI_CFW=>FLUSH is working fine, but when i try to execute my prog in quality "flush method" is giving short dump, its returning sy-subrc <> 0.
    can anybody suggest possible causes of the same.
    The server status are all the same for quality as well as development.
    thanks
    pratyush

    Hello Pratyush
    You may want to have a look at my sample report ZUS_SDN_TWO_ALV_GRIDS_3 in thread
    [how to refresh the contents of a grid?|how to refresh the contents of a grid?;.
    Most control events do not trigger PAI of the dynpro. Thus, they behave similar like calling a search help or F1 help.
    The automatic flushing which occurs at PBO is done the following way:
    METHOD handle_user_command.
        * define local data
    DATA:
    ls_row TYPE lvc_s_row,
    ls_knb1 TYPE knb1.
    CHECK ( sender = go_grid1 ).
    CHECK ( e_ucomm = 'SAVE' ).
    CALL METHOD go_grid1->get_current_cell
    IMPORTING
    es_row_id = ls_row.
    READ TABLE gt_knb1 INTO ls_knb1 INDEX ls_row-index.
    CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
    PERFORM entry_show_details.
    * Triggers PAI of the dynpro with the specified ok-code
    " CALL METHOD cl_gui_cfw=>set_new_ok_code( 'DETAIL' ).  " not on 4.6c
    CALL METHOD cl_gui_cfw=>set_new_ok_code
       EXPORTING
        ok_code = 'DETAIL'.
    ENDMETHOD. "handle_user_command
    Regards
      Uwe

  • Short Dump on Inner Join

    Hello Experts,
    I'm trying to write a Inner join on VBAK and VBAP because i need to get data from both tables.  When I try to execute the following code I'm getting a short dump "Error in module RSQL of the database Interface". Can anybody see what's wrong with this select.
           begin of t_sales_order,
             vbeln  type vbak-vbeln,    "Sales Order
             auart  type vbak-auart,     "Order Type
             audat  type vbak-audat,     "Shipment Creation date field
             posnr  type vbap-posnr,    "Items
             kdmat  type vbap-matnr,    "Lead Pin
             cuobj  type vbap-cuobj,    "Configuration Object ID
             end of t_sales_order,
    data: lwa_sales_order           type t_Sales_Order.
          select single avbeln aaudat a~auart
                        bposnr bkdmat b~cuobj
                          into lwa_sales_order
                             from vbak as a inner join vbap as b
                                  on avbeln = bvbeln
                                     where b~kdmat = pv_pin_number.
    Many thanks in advance.

    Hi
    Your internal table fields sequences are not followed in Inner Join.
    begin of t_sales_order,
    vbeln type vbak-vbeln, "Sales Order
    auart type vbak-auart, "Order Type
    audat type vbak-audat, "Shipment Creation date field
    posnr type vbap-posnr, "Items
    kdmat type vbap-matnr, "Lead Pin
    cuobj type vbap-cuobj, "Configuration Object ID
    end of t_sales_order,
    select single a~vbeln *a~auart* a~audat
    b~posnr b~kdmat b~cuobj
    into lwa_sales_order
    from vbak as a inner join vbap as b
    on a~vbeln = b~vbeln
    where b~kdmat = pv_pin_number.
    Please check the above code
    Shiva

  • Dump in Inner join

    Hi ,
        I am selecting data (Around 100 fields)from 4 different tables(a,b,c,d) using INNER JOIN .I get the Runtime error (DUMP) SAPSQL_AMBIGUOUS_FIELDNAME  .Since one of the selection field is availble in both c & d tables but i need that to be selected from c alone.
    Now i have used Select * to select the fields.
    SELECT *
    INTO CORRESPONDING FIELDS OF TABLE int_tab
    FROM a AS a INNER JOIN b AS b
    ON a~key1 = b~key1
    INNER JOIN c as c
    on c~key2 = a~key2
    INNER JOIN d as d
    on d~key2 = a~key2
    where......
    thanks,
    srini

    Hi Chellama,
    although this thread is already passed, you might be interested in understanding the use of an ALIAS in open SQL clauses:
    You can use the AS clause to define a new name (alias) for a fieldname or table name.
    Use select a b c as d into corresponding fields of destination if you want the values of fields a and b to be moved to fields a and b of the destination structure but the value of field c to go to field d of destination structure.
    For table names it is the same logic. Yor sample code
    select a~ xxxx
    a~key1
    b~key1
    b~yyyy
    INTO CORRESPONDING FIELDS OF TABLE int_tab
    FROM a AS db_tab1 INNER JOIN b AS db_tab2
    ON a~key1 = b~key1
    is syntactically wrong because you defined the alias db_tab1for table a and db_tab2 for table b. Now the fields akey1 and so on are unknown, you could use only db_tab1key1 etc.
    In Join conditions, you will almost never need an alias clause. Corrected code is
    select a~xxxx
    a~key1
    b~key1
    b~yyyy
    INTO CORRESPONDING FIELDS OF TABLE int_tab
    FROM a
    INNER JOIN b
    ON a~key1 = b~key1
    This is much more transparent for the one who has to read and understand the code.
    Regards,
    Clemens

  • Short dump

    Hi forum,
    Pls help me out...I'm getting short dump if i execute this..
    pls correct the code.......
    REPORT  ZPAY_REG NO STANDARD PAGE HEADING line-size 150 line-count
    65(3).
    TYPE-POOLS: slis.
    TABLES:
       payr,
       t012,
       t012k,
       t51r5.
    Data : begin of it occurs 0,
    zbukr like payr-zbukr, "paying company code
    hbkid like payr-hbkid, "house bank id
    hktid like payr-hktid, "account id
    bankl like t012-bankl, "bank key
    bankn like t012k-bankn, "bank account
    checf like payr-checf, "check number
    waers like payr-waers, "currency
    rwbtr like payr-rwbtr, "amount
    bancd like payr-bancd, "check encashment date
    vblnr like payr-vblnr, "payment document no
    pernr like payr-pernr, "personnel number
    voidr like payr-voidr, "void reason code
    rzawe like payr-rzawe, "payment method
    laufd like payr-laufd, "checks from payment run
    empfg like payr-empfg, "payee code
    gjahr like payr-gjahr, "fiscal year
    duedt like t51r5-duedt, "due date
    zaldt like payr-zaldt, "payment date
    znme1 like payr-znme1, "payee name
    rec_belnr like payr-rec_belnr, " voucher number
    end of it.
    *"Payment Register
    *A listing of payments made by vendor for a specific payment run or
    *group of runs.  Data elements include but not limited to:
    **• Payment date
    *• Pay
    *• Payment number
    *• Payee name/number
    *• Voucher number
    *• Amount
    *• Period from/to
    *Frequency: Every payment run, ad hoc for a timeframe, monthly
    DATA: it_fldcat TYPE slis_fieldcat_alv OCCURS 0,
          wa_fldcat TYPE slis_fieldcat_alv.
    DATA : it_sort TYPE slis_sortinfo_alv OCCURS 0,
    wa_sort TYPE slis_sortinfo_alv.
    DATA: it_events TYPE slis_t_event,
          wa_events TYPE slis_alv_event.
    "DATA : v_txt TYPE string.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_zaldt FOR payr-zaldt, " payment date
                     s_vblnr FOR payr-vblnr, " payment document number
                     s_znme1 FOR payr-znme1, " payee name
                     s_rec FOR payr-rec_belnr, "voucher number
                     s_waers for payr-waers.      "amount
                    s_duedt for t51r5-duedt.   "due date
    SELECTION-SCREEN END OF BLOCK b1.
    SELECT a~zbukr
               a~hbkid
               a~hktid
               a~checf
               a~waers
               a~rwbtr
               a~bancd
               a~vblnr
               a~pernr
               a~voidr
               a~rzawe
               a~laufd
               a~empfg
               a~gjahr
               a~zaldt
               a~znme1
               a~rec_belnr
               b~bankl
               c~bankn
               d~duedt
             INTO CORRESPONDING FIELDS OF TABLE it
             FROM payr AS a
             INNER JOIN t012 AS b
             ON ahbkid = bhbkid
             inner join t012k as c
             on bhbkid = chbkid
    and        on ahbkid = chbkid
             inner join t51r5 as d
             on cbukrs = dbukrs
            and on awaers = dwaers
             WHERE a~zaldt IN s_zaldt
               AND a~vblnr IN s_vblnr
               AND a~znme1 IN s_znme1
               AND a~rec_belnr IN s_rec
               AND a~waers IN s_waers.
    loop at it.
    write : / it-zbukr, it-hbkid, it-hktid, it-checf, it-waers, it-rwbtr,
    it-bancd, it-vblnr, it-pernr, it-voidr, it-rzawe, it-laufd, it-empfg,
    it-gjahr, it-zaldt, it-znme1, it-rec_belnr, it-bankl, it-bankn, it-duedt
    endloop.
    **--show data--
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'   "Displaying data in grid format
        EXPORTING
          i_callback_program                = sy-repid
          it_fieldcat   = it_fldcat     "fieldcatalog
          it_sort       = it_sort[]     "Sort
          it_events     = it_events
        TABLES
          t_outtab      = it     "internal table to output
        EXCEPTIONS
          program_error = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
                        " SHOW_DATA
    PERFORM BUILD_FLDCAT.
    *&      Form  BUILD_FLDCAT
    FORM build_fldcat .
      DEFINE bld_fcat.     "Macro to create manual field catalog
        wa_fldcat-col_pos = &1.
        wa_fldcat-fieldname = &2.
        wa_fldcat-outputlen = &3.
        wa_fldcat-seltext_s = &4.
        wa_fldcat-ddictxt = &5.
        append wa_fldcat to it_fldcat.
        clear wa_fldcat.
      END-OF-DEFINITION.
      bld_fcat 1 'zbukr' 4    'Payee Company Code' 'L'.
      bld_fcat 2 'hbkid' 5    'Short Key for a house bank' 'L'.
      bld_fcat 3 'hktid' 5    'ID for account details' 'L'.
      bld_fcat 4 'checf' 13   'Check number from' 'L'.
      bld_fcat 5 'waers' 5    'Currency Key' 'L'.
      bld_fcat 6 'rwbtr' 13   'Amount paid in tha payment currency' 'L'.
      bld_fcat 7 'bancd' 8    'Check encashment date' 'L'.
      bld_fcat 8 'vblnr' 10   'Document number of the payment document' 'L'.
      bld_fcat 9 'pernr' 8    'Personnel number' 'L'.
      bld_fcat 10 'voidr' 2   'Check region code' 'L'.
      bld_fcat 11 'rzawe' 1   'payment method' 'L'.
      bld_fcat 12 'laufd' 8   'Date on which the program is to be run' 'L'.
      bld_fcat 13 'empfg' 16  'Payee code' 'L'.
      bld_fcat 14 'gjahr' 4   'Fiscal Year' 'L'.
      bld_fcat 15 'zaldt' 8   'Probable payment date' 'L'.
      bld_fcat 16 'znme1' 35  'Payee Name' 'L'.
      bld_fcat 17 'rec_belnr' 10 'Accounting Document Number Ref to Vocher Number' 'L'.
      bld_fcat 18 'bankl' 15  'Bank key' 'L'.
      bld_fcat 19 'bankn' 18  'Bank account number' 'L'.
      bld_fcat 20 'duedt' 8   'Due Date' 'L'.
    LOOP AT it_fldcat INTO wa_fldcat.
       IF wa_fldcat-fieldname = 'LIFNR'.
         wa_fldcat-key = 'X'.
       ELSEIF wa_fldcat-fieldname = 'DMBTR'.
         wa_fldcat-do_sum = 'X'.
       ELSEIF wa_fldcat-fieldname = 'WRBTR'.
         wa_fldcat-do_sum = 'X'.
       ENDIF.
       MODIFY it_fldcat FROM wa_fldcat.
       CLEAR wa_fldcat.
    ENDLOOP.
    ENDFORM.

    Hi Mahathi,
    Please check the below code which is corrected.
    *& Report  ZPAY_REG                                                   *
    REPORT ZPAY_REG NO STANDARD PAGE HEADING line-size 150 line-count
    65(3).
    TYPE-POOLS: slis.
    TABLES:
    payr,
    t012,
    t012k,
    t51r5.
    DATA : BEGIN OF it OCCURS 0,
            zbukr LIKE payr-zbukr, "paying company code
            hbkid LIKE payr-hbkid, "house bank id
            hktid LIKE payr-hktid, "account id
            bankl LIKE t012-bankl, "bank key
            bankn LIKE t012k-bankn, "bank account
            checf LIKE payr-checf, "check number
            waers LIKE payr-waers, "currency
            rwbtr LIKE payr-rwbtr, "amount
            bancd LIKE payr-bancd, "check encashment date
            vblnr LIKE payr-vblnr, "payment document no
            pernr LIKE payr-pernr, "personnel number
            voidr LIKE payr-voidr, "void reason code
            rzawe LIKE payr-rzawe, "payment method
            laufd LIKE payr-laufd, "checks from payment run
            empfg LIKE payr-empfg, "payee code
            gjahr LIKE payr-gjahr, "fiscal year
            duedt LIKE t51r5-duedt, "due date
            zaldt LIKE payr-zaldt, "payment date
            znme1 LIKE payr-znme1, "payee name
            rec_belnr LIKE payr-rec_belnr, " voucher number
    END OF it.
    *"Payment Register
    *A listing of payments made by vendor for a specific payment run or
    *group of runs. Data elements include but not limited to:
    **• Payment date
    *• Pay
    *• Payment number
    *• Payee name/number
    *• Voucher number
    *• Amount
    *• Period from/to
    *Frequency: Every payment run, ad hoc for a timeframe, monthly
    DATA: it_fldcat TYPE slis_fieldcat_alv OCCURS 0,
    wa_fldcat TYPE slis_fieldcat_alv.
    DATA : it_sort TYPE slis_sortinfo_alv OCCURS 0,
    wa_sort TYPE slis_sortinfo_alv.
    DATA: it_events TYPE slis_t_event,
    wa_events TYPE slis_alv_event.
    "DATA : v_txt TYPE string.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_zaldt FOR payr-zaldt, " payment date
    s_vblnr FOR payr-vblnr, " payment document number
    s_znme1 FOR payr-znme1, " payee name
    s_rec FOR payr-rec_belnr, "voucher number
    s_waers FOR payr-waers, "amount
    s_duedt FOR t51r5-duedt. "due date
    SELECTION-SCREEN END OF BLOCK b1.
    SELECT a~zbukr
    a~hbkid
    a~hktid
    a~checf
    a~waers
    a~rwbtr
    a~bancd
    a~vblnr
    a~pernr
    a~voidr
    a~rzawe
    a~laufd
    a~empfg
    a~gjahr
    a~zaldt
    a~znme1
    a~rec_belnr
    b~bankl
    c~bankn
    d~duedt
    INTO CORRESPONDING FIELDS OF TABLE it
    FROM payr AS a
    INNER JOIN t012 AS b
    ON ahbkid = bhbkid
    INNER JOIN t012k AS c
    ON bhbkid = chbkid
    AND ahbkid = chbkid
    INNER JOIN t51r5 AS d
    ON cbukrs = dbukrs
    AND awaers = dwaers
    WHERE a~zaldt IN s_zaldt
    AND a~vblnr IN s_vblnr
    AND a~znme1 IN s_znme1
    AND a~rec_belnr IN s_rec
    AND a~waers IN s_waers.
    *LOOP AT it.
    WRITE : / it-zbukr, it-hbkid, it-hktid, it-checf, it-waers, it-rwbtr,
    it-bancd, it-vblnr, it-pernr, it-voidr, it-rzawe, it-laufd, it-empfg,
    *it-gjahr, it-zaldt, it-znme1, it-rec_belnr, it-bankl, it-bankn,
    *it-duedt
    *ENDLOOP.
    *--show data--
    " SHOW_DATA
    PERFORM build_fldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "Displaying data in grid format
    EXPORTING
        i_callback_program = sy-repid
        it_fieldcat = it_fldcat[] "fieldcatalog
        it_sort = it_sort[] "Sort
        it_events = it_events
    TABLES
        t_outtab = it "internal table to output
    EXCEPTIONS
        program_error = 1
        OTHERS = 2.
    IF sy-subrc = 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *& Form BUILD_FLDCAT
    FORM build_fldcat .
      DEFINE bld_fcat. "Macro to create manual field catalog
        wa_fldcat-col_pos = &1.
        wa_fldcat-fieldname = &2.
        wa_fldcat-outputlen = &3.
        wa_fldcat-seltext_s = &4.
        wa_fldcat-ddictxt = &5.
        append wa_fldcat to it_fldcat.
        clear wa_fldcat.
      END-OF-DEFINITION.
      bld_fcat 1 'zbukr' 4 'Payee Company Code' 'L'.
      bld_fcat 2 'hbkid' 5 'Short Key for a house bank' 'L'.
      bld_fcat 3 'hktid' 5 'ID for account details' 'L'.
      bld_fcat 4 'checf' 13 'Check number from' 'L'.
      bld_fcat 5 'waers' 5 'Currency Key' 'L'.
      bld_fcat 6 'rwbtr' 13 'Amount paid in tha payment currency' 'L'.
      bld_fcat 7 'bancd' 8 'Check encashment date' 'L'.
      bld_fcat 8 'vblnr' 10 'Document number of the payment document' 'L'.
      bld_fcat 9 'pernr' 8 'Personnel number' 'L'.
      bld_fcat 10 'voidr' 2 'Check region code' 'L'.
      bld_fcat 11 'rzawe' 1 'payment method' 'L'.
      bld_fcat 12 'laufd' 8 'Date on which the program is to be run' 'L'.
      bld_fcat 13 'empfg' 16 'Payee code' 'L'.
      bld_fcat 14 'gjahr' 4 'Fiscal Year' 'L'.
      bld_fcat 15 'zaldt' 8 'Probable payment date' 'L'.
      bld_fcat 16 'znme1' 35 'Payee Name' 'L'.
    bld_fcat 17 'rec_belnr' 10 'Account DocuNumberRef to Vocher Number' 'L'.
      bld_fcat 18 'bankl' 15 'Bank key' 'L'.
      bld_fcat 19 'bankn' 18 'Bank account number' 'L'.
      bld_fcat 20 'duedt' 8 'Due Date' 'L'.
      LOOP AT it_fldcat INTO wa_fldcat.
        IF wa_fldcat-fieldname = 'LIFNR'.
          wa_fldcat-key = 'X'.
        ELSEIF wa_fldcat-fieldname = 'DMBTR'.
          wa_fldcat-do_sum = 'X'.
        ELSEIF wa_fldcat-fieldname = 'WRBTR'.
          wa_fldcat-do_sum = 'X'.
        ENDIF.
        MODIFY it_fldcat FROM wa_fldcat.
        CLEAR wa_fldcat.
      ENDLOOP.
    ENDFORM.                    "build_fldcat
    Please reward points if it is answered and close the thread.
    Regards,
    Hari

  • Short dump while export grid alv with subtotals.

    hello,
    its strange and i face first time that my grid alv report goin to short dump while i done subtotals and send it to local file thru export.
    if am not doing subtotals then export it to local file it goin fine.
    whats it has problem plz give ur helping hends.
    here i copied a dump msg also.
    Short text
        Error at assignment: Overwritten protected field.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLKKBL" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        A new value is to be assigned to the field "<L_UNIT>", although this field is
        entirely or partly protected against changes.
        The following are protected against changes:
        - Character literals or numeric literals
        - Constants (CONSTANTS)
        - Parameters of the category IMPORTING REFERENCE for functions and
        methods
        - Untyped field symbols not yet assigned a field using ASSIGN
        - TABLES parameters if the actual parameter is protected against changes
        - USING reference parameters and CHANGING parameters for FORMs, if the
        actual parameter is protected against changes and
        - Accesses using field symbols if the field assigned using ASSIGN is
        protected (or partially protected, e.g. key components of an internal
        table with the type SORTED or HASHED TABLE) against changes
        - Accesses using references, if the field bound to the reference is
        protected (or partially protected) against changes
        - External write accesses to READ-ONLY attributes,
        - Content of a shared object area instance accessed using a shared lock
        (ATTACH_FOR_READ).
    regards amit.

    & Object Id               :                                                  &
    & Object Name             :                                                  &
    & Function Module Name    : Sales Register                                   &
    & Transaction Code        :                                                  &
    & Author                  : Amit gujargoud                                      &
    & Module Name             : SD                                               &
    & Sub-Module              :                                                  &
    & Program Type            : Dialog            Create Date     : 02/02/2007   &
    & SAP Release             : ECC 6.0                                          &
    & Description             : Sales Register - Detail                           &
    *& Report  ZSALESREGISTER
    REPORT  zsd_salesregister.
    *&       TYPE-POOLS
    TYPE-POOLS : slis.
    *&       TABLES
    TABLES: vbrp,  "Billing Document: Item Data
            vbrk,  "Billing Document: Header Data
            lips,  "SD document: Delivery: Item data
            lfa1,  "Vendor Master (General Section)
            kna1,  "General Data in Customer Master
            vbak,  "Sales Document: Header Data
            vbpa,  "Sales Document: Partner (Gopal)
            likp,  "SD Document: Delivery Header Data
            vbap,  "Sales Document: Item Data
            vbkd,  "Sales Document: Business Data
            mara.  "General Material Data
    *&       DATA DECLARATION
    DATA: BEGIN OF i_report OCCURS 100,
            vbeln LIKE vbrp-vbeln,        "Billing Document
      posnr LIKE vbrp-posnr,
      matnr  LIKE mara-matnr ,
      aubel LIKE vbrp-aubel,        "Sales Document
       fkimg LIKE vbrp-fkimg,        "Actual billed quantity
       vrkme LIKE vbrp-vrkme,        "Sales unit
       arktx LIKE vbrp-arktx,        "Short text for sales order item
       vgbel LIKE vbrp-vgbel,        "Doc number of the reference document
       werks  LIKE vbap-werks,
      vkgrp  LIKE vbrp-vkgrp,
      fklmg LIKE vbrp-fklmg,
      volum LIKE vbrp-volum,
       vkbur  LIKE vbrp-vkbur,
      vtweg_auft LIKE vbrp-vtweg_auft,
            auart  LIKE vbak-auart,
            tabix LIKE sy-tabix,          "Internal Table, Current Row Index
            name1 LIKE kna1-name1,                              "Name1
            exnum LIKE j_1iexchdr-exnum,  "Official Excise Document Number
            orqty TYPE p DECIMALS 0,
            penqty TYPE p DECIMALS 0,     "Cumulative order qty in sls units
            openqty TYPE p DECIMALS 0,    "Cumulative order qty in sls units
            ean11 LIKE lips-ean11,        "International Article No(EAN/UPC)
           volum LIKE lips-volum,
            lgmng LIKE lips-lgmng,
            traid LIKE likp-traid,
            ort01 LIKE lfa1-ort01,        "City
            lifnr LIKE lfa1-lifnr,        "A/c Number of Vendor or Creditor
            netwr LIKE vbrp-netwr,        "Net val of bill item in doc currency
            kunnr LIKE vbak-kunnr,        "Sold-to party
            adrnr LIKE vbpa-adrnr,        "Address
            city1 LIKE adrc-city1,        "City
            tprtr LIKE lfa1-name1,                              "Name 1
            knumv LIKE konv-knumv,        "Number of the document condition
            kposn LIKE konv-kposn,
            rate  LIKE konv-kbetr,        "Rate (cond amount or percentage)
            bas_val LIKE konv-kwert,      "Rate (cond amount or percentage)
            exc_duty LIKE konv-kwert,     "Rate (cond amount or percentage)
            ed_cess LIKE konv-kwert,      "Rate (cond amount or percentage)
            freight LIKE konv-kwert,      "Rate (cond amount or percentage)
            pack    LIKE konv-kwert,      "Rate (cond amount or percentage)
            cst LIKE konv-kwert,          "Rate (cond amount or percentage)
            vat LIKE konv-kwert,          "Rate (cond amount or percentage)
            ent_tax LIKE konv-kwert,      "Rate (cond amount or percentage)
            tot_inv LIKE konv-kwert,       "Rate (cond amount or percentage)
            tot_inv_round LIKE konv-kwert,   "Rate (cond amount or percentage)
            disc_tot  LIKE konv-kwert,       "Discount total - Z001 to Z020
            vat_rate LIKE konv-kbetr,
            cst_rate LIKE konv-kbetr,
            lst_rate LIKE konv-kbetr,
            mwsbk LIKE vbrk-mwsbk,
            bas_tax LIKE konv-kwert,
            dev_tax LIKE konv-kwert,
            tcs_tax LIKE konv-kwert,
            bas_tot LIKE konv-kwert,
            lst     LIKE konv-kwert,
            vkorg   LIKE vbak-vkorg,
            mvgr1   LIKE mvke-mvgr1,
            mvgr2   LIKE mvke-mvgr2,
            mvgr3   LIKE mvke-mvgr3,
            mvgr4   LIKE mvke-mvgr4,
            mvgr5   LIKE mvke-mvgr5,
            text1   LIKE tvm1t-bezei,
            text2   LIKE tvm1t-bezei,
            text3   LIKE tvm1t-bezei,
            text4   LIKE tvm1t-bezei,
            text5   LIKE tvm1t-bezei,
            bismit_area TYPE p DECIMALS 4,   " Size (L*B) in mm
            face_area  TYPE p DECIMALS 2,   " Face Area Declaration
            notional_area TYPE p DECIMALS 2,
            stock_pcs TYPE p ,               " decimals 3 Pcs of Stock
            labst  LIKE mard-labst,           " Valuated Unrestricted-Use Stock
            bismt  LIKE mara-bismt,           " Size (L*B) in mm
            normt  LIKE mara-normt,           " Industry Standard Description
            temp   TYPE p DECIMALS 2,
            temp1  TYPE p DECIMALS 2,
            temp2  TYPE p DECIMALS 2,
            temp3  TYPE p DECIMALS 2,
            temp4  TYPE p DECIMALS 2,
            temp5  TYPE p DECIMALS 2,
            temp6  TYPE p DECIMALS 2,
            temp7  TYPE p DECIMALS 2,
            temp8  TYPE p DECIMALS 2,
            temp9  TYPE p DECIMALS 2,
            temp10 TYPE p DECIMALS 2,
            temp11 TYPE p DECIMALS 2,
            temp12 TYPE p DECIMALS 2,
            temp13 TYPE p DECIMALS 0,
            temp14 TYPE p DECIMALS 0,
            temp15 TYPE p DECIMALS 0,
            temp16 TYPE p DECIMALS 2,
            temp17 TYPE p DECIMALS 2,
            temp18 TYPE p DECIMALS 2,
            temp19 TYPE p DECIMALS 2,
            temp20 TYPE p DECIMALS 2,
            temp21 TYPE p DECIMALS 2,
            waybill(20) TYPE c,
            audat  LIKE vbak-audat,     "Document Date (Date Received/Sent)
            lgort  LIKE vbap-lgort,     "Storage location
            lgobe  LIKE t001l-lgobe,    "Description of storage location
            erdat  LIKE vbrk-erdat,     "Date on which the record was created
            exdat  LIKE j_1iexchdr-exdat,  "Excise Document Date
            vbtyp  LIKE vbak-vbtyp,        "SD document category
            acdt   LIKE likp-wadat_ist,    "Actual goods movement date
            fkdat  LIKE vbrk-fkdat,
            ship   LIKE kna1-name1,      "Name1 (Ship-to party)
            fksto  LIKE vbrk-fksto,
            fkart  LIKE vbrk-fkart,
            bezei  LIKE t005u-bezei,
            vtweg  LIKE vbak-vtweg,
            spart  LIKE vbak-spart,
            matkl  LIKE mara-matkl,
            wgbez  LIKE t023t-wgbez,
            mtart  LIKE mara-mtart,
            labor  LIKE mara-labor,
            ferth  LIKE mara-ferth,
            lbtxt  LIKE t024x-lbtxt,
            niels  LIKE kna1-niels,
            kukla  LIKE kna1-kukla,
            desc   LIKE tvkbt-bezei,
            brsch  LIKE kna1-brsch,
            zeinr  LIKE mara-zeinr,
            bzirk  LIKE vbrk-bzirk,
            area_desc   LIKE tnlst-bezei,
            dist_desc   TYPE tkukt-vtext,
            taluka_desc TYPE t016t-brtxt,
            sales_desc  TYPE tvgrt-bezei,
            kmein       LIKE konv-kmein,    "Sales Unit
            challan     LIKE likp-vbeln,
            END OF i_report.
    data for MVKE
    DATA: BEGIN OF i_report_mvke OCCURS 0,
            vbeln   LIKE vbrp-vbeln,        "Billing Document
            aubel   LIKE vbrp-aubel,        "Sales Document
            vkorg   LIKE vbak-vkorg,
            matnr   LIKE mara-matnr ,
            vtweg   LIKE vbak-vtweg,
            END OF i_report_mvke.
    ***********************TEMP COPY
    DATA: BEGIN OF i_report_temp OCCURS 0,
           vbeln LIKE vbrp-vbeln,        "Billing Document
      posnr LIKE vbrp-posnr,
      matnr  LIKE mara-matnr ,
      aubel LIKE vbrp-aubel,        "Sales Document
       fkimg LIKE vbrp-fkimg,        "Actual billed quantity
       vrkme LIKE vbrp-vrkme,        "Sales unit
       arktx LIKE vbrp-arktx,        "Short text for sales order item
       vgbel LIKE vbrp-vgbel,        "Doc number of the reference document
       werks  LIKE vbap-werks,
      vkgrp  LIKE vbrp-vkgrp,
      fklmg LIKE vbrp-fklmg,
      volum LIKE vbrp-volum,
       vkbur  LIKE vbrp-vkbur,
      vtweg_auft LIKE vbrp-vtweg_auft,
            auart  LIKE vbak-auart,
            tabix LIKE sy-tabix,          "Internal Table, Current Row Index
            name1 LIKE kna1-name1,                              "Name1
            exnum LIKE j_1iexchdr-exnum,  "Official Excise Document Number
            orqty TYPE p DECIMALS 0,
            penqty TYPE p DECIMALS 0,     "Cumulative order qty in sls units
            openqty TYPE p DECIMALS 0,    "Cumulative order qty in sls units
            ean11 LIKE lips-ean11,        "International Article No(EAN/UPC)
           volum LIKE lips-volum,
            lgmng LIKE lips-lgmng,
            traid LIKE likp-traid,
            ort01 LIKE lfa1-ort01,        "City
            lifnr LIKE lfa1-lifnr,        "A/c Number of Vendor or Creditor
            netwr LIKE vbrp-netwr,        "Net val of bill item in doc currency
            kunnr LIKE vbak-kunnr,        "Sold-to party
            adrnr LIKE vbpa-adrnr,        "Address
            city1 LIKE adrc-city1,        "City
            tprtr LIKE lfa1-name1,                              "Name 1
            knumv LIKE konv-knumv,        "Number of the document condition
            kposn LIKE konv-kposn,
            rate  LIKE konv-kbetr,        "Rate (cond amount or percentage)
            bas_val LIKE konv-kwert,      "Rate (cond amount or percentage)
            exc_duty LIKE konv-kwert,     "Rate (cond amount or percentage)
            ed_cess LIKE konv-kwert,      "Rate (cond amount or percentage)
            freight LIKE konv-kwert,      "Rate (cond amount or percentage)
            pack    LIKE konv-kwert,      "Rate (cond amount or percentage)
            cst LIKE konv-kwert,          "Rate (cond amount or percentage)
            vat LIKE konv-kwert,          "Rate (cond amount or percentage)
            ent_tax LIKE konv-kwert,      "Rate (cond amount or percentage)
            tot_inv LIKE konv-kwert,       "Rate (cond amount or percentage)
            tot_inv_round LIKE konv-kwert,   "Rate (cond amount or percentage)
            disc_tot  LIKE konv-kwert,       "Discount total - Z001 to Z020
            vat_rate LIKE konv-kbetr,
            cst_rate LIKE konv-kbetr,
            lst_rate LIKE konv-kbetr,
            mwsbk LIKE vbrk-mwsbk,
            bas_tax LIKE konv-kwert,
            dev_tax LIKE konv-kwert,
            tcs_tax LIKE konv-kwert,
            bas_tot LIKE konv-kwert,
            lst     LIKE konv-kwert,
            vkorg   LIKE vbak-vkorg,
            mvgr1   LIKE mvke-mvgr1,
            mvgr2   LIKE mvke-mvgr2,
            mvgr3   LIKE mvke-mvgr3,
            mvgr4   LIKE mvke-mvgr4,
            mvgr5   LIKE mvke-mvgr5,
            text1   LIKE tvm1t-bezei,
            text2   LIKE tvm1t-bezei,
            text3   LIKE tvm1t-bezei,
            text4   LIKE tvm1t-bezei,
            text5   LIKE tvm1t-bezei,
            bismit_area TYPE p DECIMALS 4,   " Size (L*B) in mm
            face_area  TYPE p DECIMALS 2,   " Face Area Declaration
            notional_area TYPE p DECIMALS 2,
            stock_pcs TYPE p ,               " decimals 3 Pcs of Stock
            labst  LIKE mard-labst,           " Valuated Unrestricted-Use Stock
            bismt  LIKE mara-bismt,           " Size (L*B) in mm
            normt  LIKE mara-normt,           " Industry Standard Description
            temp   TYPE p DECIMALS 2,
            temp1  TYPE p DECIMALS 2,
            temp2  TYPE p DECIMALS 2,
            temp3  TYPE p DECIMALS 2,
            temp4  TYPE p DECIMALS 2,
            temp5  TYPE p DECIMALS 2,
            temp6  TYPE p DECIMALS 2,
            temp7  TYPE p DECIMALS 2,
            temp8  TYPE p DECIMALS 2,
            temp9  TYPE p DECIMALS 2,
            temp10 TYPE p DECIMALS 2,
            temp11 TYPE p DECIMALS 2,
            temp12 TYPE p DECIMALS 2,
            temp13 TYPE p DECIMALS 0,
            temp14 TYPE p DECIMALS 0,
            temp15 TYPE p DECIMALS 0,
            temp16 TYPE p DECIMALS 2,
            temp17 TYPE p DECIMALS 2,
            temp18 TYPE p DECIMALS 2,
            temp19 TYPE p DECIMALS 2,
            temp20 TYPE p DECIMALS 2,
            temp21 TYPE p DECIMALS 2,
            waybill(20) TYPE c,
            audat  LIKE vbak-audat,     "Document Date (Date Received/Sent)
            lgort  LIKE vbap-lgort,     "Storage location
            lgobe  LIKE t001l-lgobe,    "Description of storage location
            erdat  LIKE vbrk-erdat,     "Date on which the record was created
            exdat  LIKE j_1iexchdr-exdat,  "Excise Document Date
            vbtyp  LIKE vbak-vbtyp,        "SD document category
            acdt   LIKE likp-wadat_ist,    "Actual goods movement date
            fkdat  LIKE vbrk-fkdat,
            ship   LIKE kna1-name1,      "Name1 (Ship-to party)
            fksto  LIKE vbrk-fksto,
            fkart  LIKE vbrk-fkart,
            bezei  LIKE t005u-bezei,
            vtweg  LIKE vbak-vtweg,
            spart  LIKE vbak-spart,
            matkl  LIKE mara-matkl,
            wgbez  LIKE t023t-wgbez,
            mtart  LIKE mara-mtart,
            labor  LIKE mara-labor,
            ferth  LIKE mara-ferth,
            lbtxt  LIKE t024x-lbtxt,
            niels  LIKE kna1-niels,
            kukla  LIKE kna1-kukla,
            desc   LIKE tvkbt-bezei,
            brsch  LIKE kna1-brsch,
            zeinr  LIKE mara-zeinr,
            bzirk  LIKE vbrk-bzirk,
            area_desc   LIKE tnlst-bezei,
            dist_desc   TYPE tkukt-vtext,
            taluka_desc TYPE t016t-brtxt,
            sales_desc  TYPE tvgrt-bezei,
            kmein       LIKE konv-kmein,    "Sales Unit
            challan     LIKE likp-vbeln,
            END OF i_report_temp.
    DATA: BEGIN OF i_vbap OCCURS 0 ,
            posnr LIKE vbap-posnr,
            vbeln LIKE vbap-vbeln ,
            matnr LIKE vbap-matnr ,
            werks LIKE vbap-werks,
       kwmeng LIKE vbap-kwmeng,
      lgort LIKE vbap-lgort,
            matkl LIKE mara-matkl,
            wgbez LIKE t023t-wgbez,
            mtart LIKE mara-mtart,
          END OF i_vbap .
    DATA : w_temp_cal(20) TYPE c.
    DATA : w_face_area TYPE p DECIMALS 4,
           w_notinal_area TYPE p DECIMALS 4.
    **MVKE
    DATA: BEGIN OF itab_mvke OCCURS 0,
          matnr   LIKE mvke-matnr,
          vkorg   LIKE vbak-vkorg,
          vtweg   LIKE mvke-vtweg,
          mvgr1   LIKE mvke-mvgr1,
          mvgr2   LIKE mvke-mvgr2,
          mvgr3   LIKE mvke-mvgr3,
          mvgr4   LIKE mvke-mvgr4,
          mvgr5   LIKE mvke-mvgr5,
          END OF itab_mvke.
    **TVM1T
    DATA : BEGIN OF itab_tvm1t OCCURS 0,
            spras LIKE tvm1t-spras,
          mvgr1 LIKE tvm1t-mvgr1,
          bezei LIKE tvm1t-bezei,
      END OF itab_tvm1t.
    DATA : BEGIN OF itab_tvm2t OCCURS 0,
          spras LIKE tvm2t-spras,
        mvgr2 LIKE tvm2t-mvgr2,
        bezei LIKE tvm2t-bezei,
    END OF itab_tvm2t.
    DATA : BEGIN OF itab_tvm3t OCCURS 0,
          spras LIKE tvm3t-spras,
        mvgr3 LIKE tvm3t-mvgr3,
        bezei LIKE tvm3t-bezei,
    END OF itab_tvm3t.
    DATA : BEGIN OF itab_tvm4t OCCURS 0,
          spras LIKE tvm4t-spras,
        mvgr4 LIKE tvm4t-mvgr4,
        bezei LIKE tvm4t-bezei,
    END OF itab_tvm4t.
    DATA : BEGIN OF itab_tvm5t OCCURS 0,
          spras LIKE tvm5t-spras,
        mvgr5 LIKE tvm5t-mvgr5,
        bezei LIKE tvm5t-bezei,
    END OF itab_tvm5t.
    DATA:      itab_t024x TYPE STANDARD TABLE OF t024x WITH HEADER LINE,
          it_report LIKE LINE OF i_report OCCURS 0,
          i_mvke LIKE LINE OF itab_mvke OCCURS 0.
    **VBKD
    DATA: BEGIN OF i_vbkd OCCURS 0 ,
            vbeln LIKE vbkd-vbeln ,
            posnr LIKE vbkd-posnr ,
           bzirk LIKE vbkd-bzirk ,
          END OF i_vbkd .
    DATA: BEGIN OF i_lips OCCURS 0,
       vbeln LIKE lips-vbeln,
            ean11 LIKE lips-ean11,
             volum LIKE lips-volum,
             lgmng LIKE lips-lgmng,
            waybill(20) TYPE c,
          END OF i_lips.
    DATA: BEGIN OF i_vbrk OCCURS 0,
            vbeln LIKE vbrk-vbeln,
            rfbsk LIKE vbrk-rfbsk,      "Status for transfer to accounting
            erdat LIKE vbrk-erdat,      "Dt on which the record was created
            fkdat LIKE vbrk-fkdat,      "CHANGE MADE BY PARTHA RAHAMAN
            fksto LIKE vbrk-fksto,      "GOPAL:: CANCELLED DOC. DO NOT PRNT.
            netwr LIKE vbrk-netwr,
            fkart LIKE vbrk-fkart, "Gopal:when billng typ=s1 do not pnt 1jul
            knumv LIKE vbrk-knumv,
            mwsbk LIKE vbrk-mwsbk,
            bzirk LIKE vbrk-bzirk,
            vtweg LIKE vbrk-vtweg,
            spart LIKE vbrk-spart,
           END OF i_vbrk.
          *structure for MARD Table by kalika
    DATA : BEGIN OF itab_mard OCCURS 0,
           matnr LIKE mard-matnr,
          werks LIKE mard-werks,
           labst LIKE mard-labst,          " Valuated Unrestricted-Use Stock
          lgort LIKE mard-lgort,          " Storage Location
           END OF itab_mard.
          *structure for MARD Table by kalika
    DATA:BEGIN OF i_kna1 OCCURS 0,
          vbeln LIKE vbak-vbeln,
          name1 LIKE kna1-name1,
          kunnr LIKE kna1-kunnr,
          regio LIKE kna1-regio,
         bezei LIKE t005u-bezei,
          land1 LIKE kna1-land1,
          vkgrp LIKE vbak-vkgrp,
          niels LIKE kna1-niels,
          kukla LIKE kna1-kukla,
          brsch LIKE kna1-brsch,
          vkbur LIKE vbak-vkbur,
         END OF i_kna1.
    DATA:BEGIN OF i_t005u OCCURS 0,
         spras LIKE t005u-spras,
        land1 LIKE t005u-land1,
       bland LIKE t005u-bland,
         bezei LIKE t005u-bezei,
         END OF i_t005u.
    DATA:BEGIN OF i_tnlst OCCURS 0,
       spras LIKE t005u-spras,
    niels LIKE tnlst-niels,
       bezei LIKE t005u-bezei,
       END OF i_tnlst.
    DATA:BEGIN OF itab_tkukt OCCURS 0,
    spras LIKE tkukt-spras,
    kukla LIKE tkukt-kukla,
    vtext LIKE tkukt-vtext,
    END OF itab_tkukt.
    DATA : BEGIN OF itab_t016t OCCURS 0,
          spras LIKE t016t-spras,
           brsch LIKE t016t-brsch,
           brtxt LIKE t016t-brtxt,
      END OF itab_t016t.
    DATA : BEGIN OF itab_tvgrt OCCURS 0,
          spras LIKE tvgrt-spras,
          vkgrp LIKE tvgrt-vkgrp,
          bezei LIKE tvgrt-bezei,
      END OF itab_tvgrt.
    *DATA: i_t005u  TYPE STANDARD TABLE OF t005u WITH HEADER LINE.
    DATA:BEGIN OF i_kna2 OCCURS 0,
         kunnr LIKE kna1-kunnr,
         name1 LIKE kna1-name1,   " For Ship-to-Party
          END OF i_kna2.
    DATA:BEGIN OF i_vbak OCCURS 0,
         vbeln LIKE vbak-vbeln,
         vbtyp LIKE vbak-vbtyp,
         audat LIKE vbak-audat,
         auart LIKE vbak-auart,
         vtweg LIKE vbak-vtweg,
         spart LIKE vbak-spart,
         vkbur LIKE vbak-vkbur,
         vkorg LIKE vbak-vkorg,
         END OF i_vbak.
    DATA:BEGIN OF i_adrc OCCURS 0,
          vbeln LIKE vbpa-vbeln,
          kunnr LIKE kna1-kunnr,
          city1 LIKE adrc-city1,
         name1 LIKE kna1-name1,      "Name1 (Ship-to party)
         END OF i_adrc.
    DATA:BEGIN OF i_lfa1 OCCURS 0,
          lifnr LIKE vbpa-lifnr,
          vbeln LIKE vbpa-vbeln,
          name1 LIKE lfa1-name1,
         END OF i_lfa1.
    DATA : BEGIN OF it_knumv OCCURS 0,
            vbeln LIKE vbrk-vbeln,
            knumv LIKE vbrk-knumv,
          END OF it_knumv.
    DATA : BEGIN OF it_rate OCCURS 0,
            ksteu LIKE konv-ksteu,    "Condition control
            knumv LIKE konv-knumv,    "Number of the document condition
            kschl LIKE konv-kschl,    "Condition type
            kbetr LIKE konv-kbetr,    "Rate (condition amount or percentage)
            kwert LIKE konv-kwert,    "Condition value
            kposn LIKE konv-kposn,
            kmein LIKE konv-kmein,    "Sales Unit
           END OF it_rate.
    DATA: BEGIN OF itab_exnum OCCURS 0,
           exnum LIKE j_1iexchdr-exnum,  "Official Excise Document Number
           exdat LIKE j_1iexchdr-exdat,  "Excise Document Date
           rdoc LIKE j_1iexchdr-rdoc,    "Reference Document 1
            status LIKE j_1iexchdr-status,
           END OF itab_exnum.
    DATA: BEGIN OF itab_qty OCCURS 0,
          kwmeng LIKE vbap-kwmeng,
          vbeln LIKE vbap-vbeln,
          lgort LIKE vbap-lgort,
          END OF itab_qty.
    *DATA: BEGIN OF i_stloc OCCURS 0,
         lgort LIKE t001l-lgort,
         lgobe LIKE t001l-lgobe,
         END OF i_stloc.
    DATA:t_line LIKE STANDARD TABLE OF tline INITIAL SIZE 0
         WITH HEADER LINE,
    "     itab_tvkbt LIKE STANDARD TABLE OF tvkbt WITH HEADER LINE,
         w_tdname LIKE thead-tdname.
    DATA : BEGIN OF itab_tvkbt OCCURS 0,
      spras LIKE tvkbt-spras,
      vkbur LIKE tvkbt-vkbur,
      bezei LIKE tvkbt-bezei,
      END OF itab_tvkbt.
    DATA: BEGIN OF i_exchdr OCCURS 0,
          exnum LIKE j_1iexchdr-exnum,
          exdat LIKE j_1iexchdr-exdat,
          rdoc  LIKE j_1iexchdr-rdoc,
          END OF i_exchdr.
    DATA: BEGIN OF i_likp OCCURS 0,
          vbeln LIKE likp-vbeln,
          wadat_ist LIKE likp-wadat_ist,
          traid LIKE likp-traid,
          bolnr LIKE likp-bolnr,
          END OF i_likp.
    DATA: BEGIN OF i_mara OCCURS 0,
          matnr LIKE mara-matnr,
          matkl LIKE mara-matkl,
          mtart LIKE mara-mtart,
          labor LIKE mara-labor,
         wgbez LIKE t023t-wgbez,
          bismt LIKE mara-bismt,
          normt LIKE mara-normt,
          ferth LIKE mara-ferth,
          zeinr LIKE mara-zeinr,
          extwg LIKE mara-extwg,
          spart LIKE mara-spart,
          END OF i_mara.
    DATA: BEGIN OF i_t023t OCCURS 0,
          matkl LIKE t023t-matkl,
          wgbez LIKE t023t-wgbez,
          END OF i_t023t.
    DATA : var_length(20)  TYPE c,
           var_breadth(20)  TYPE c.
    DATA: p_w_value LIKE konv-kwert.
    DATA : it_fieldcat    TYPE  slis_t_fieldcat_alv,      " Event for Table to creater fieldcatalog
           wa_fieldcat     LIKE LINE OF it_fieldcat,      " Work Area for table field catalog
           lt_top_of_page   TYPE  slis_t_listheader,      " Header table for top of page
            i_layout        TYPE  slis_layout_alv .      " It will fill the layout
           gt_event   TYPE  slis_t_event.                 " Table Event
    *DATA :
         "itab_tnlst TYPE STANDARD TABLE OF tnlst WITH HEADER LINE,
         "      itab_tkukt TYPE STANDARD TABLE OF tkukt WITH HEADER LINE,
    *"      itab_t016t TYPE STANDARD TABLE OF t016t WITH HEADER LINE,
         itab_tvgrt TYPE STANDARD TABLE OF tvgrt WITH HEADER LINE.
    *&       SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK block
                                      WITH FRAME TITLE text-100.
    SELECT-OPTIONS: s_date FOR vbrk-fkdat OBLIGATORY,
                    s_vkbur FOR vbak-vkbur OBLIGATORY,
                    s_vtweg FOR vbrk-vtweg OBLIGATORY,
                    s_werks FOR vbap-werks,
                    s_spart FOR vbrk-spart OBLIGATORY,
                    s_matkl FOR mara-matkl.
    PARAMETERS:
                r_opt3  RADIOBUTTON GROUP grp1,
                r_opt2  RADIOBUTTON GROUP grp1.
               r_opt4  RADIOBUTTON GROUP grp1,
               r_opt5  RADIOBUTTON GROUP grp1,
               r_opt1  RADIOBUTTON GROUP grp1.
    SELECTION-SCREEN END OF BLOCK block.
    *&       INITIALIZATION
    INITIALIZATION.
      r_opt2 = 'X'.
    *&     START-OF-SELECTION.
    START-OF-SELECTION.
    *select data from VBRP
    SELECT vbeln
            posnr
            matnr
            aubel
            fkimg
            vrkme
            arktx
            vgbel
            werks
            vkgrp
             fklmg
             volum
             vkbur
             vtweg_auft
            FROM vbrp
            INTO  TABLE i_report
            WHERE "erdat IN s_date
            AND   spart IN s_spart
               vkbur IN s_vkbur
            AND   vtweg_auft IN s_vtweg.
    **logic for Pending, Summary & Detail Report
      IF
         r_opt1 EQ 'X' OR
        r_opt2 EQ 'X'  OR
               r_opt3 EQ 'X'.
        SELECT vbeln
                  rfbsk
                  erdat
                  fkdat
                  fksto
                  netwr
                  fkart
                  knumv
                  mwsbk
                  bzirk
                  vtweg
                  spart
                  FROM vbrk INTO TABLE i_vbrk
                 FOR ALL ENTRIES IN i_report
                  WHERE "vbeln = i_report-vbeln
                 " and
                  fkdat IN s_date
                  AND   fkart IN ('ZBHR', 'ZTZT', 'ZKRP', 'ZRUD', 'ZBSR',
                                'ZGHT', 'ZKOL', 'ZPTN', 'ZRNC', 'ZCND',
                                'ZDLH', 'ZGZB', 'ZGUR', 'ZHSR', 'ZJPR',
                                'ZLKW', 'ZBLR', 'ZCHN', 'ZCBM', 'ZHUB',
                                'ZHYD', 'ZKOC', 'ZAHD', 'ZIND', 'ZMUM',
    *********************MODIFICATION BY CHAKRAPANI  (ADDITION OF ZVIJ AND ZHWH ) 18.05.2007
                                'ZNGP', 'ZPNE', 'ZRPR' , 'ZEXP', 'ZDEM','ZVIJ', 'ZHWH','JEX' )
    *********************MODIFICATION BY CHAKRAPANI  (ADDITION OF ZVIJ AND ZHWH ) 18.05.2007
                  AND   vtweg IN s_vtweg
                 AND   spart IN s_spart
                  AND   fksto NE 'X'.
        IF i_vbrk[] IS NOT INITIAL.
          SELECT   vbeln
                   posnr
                   matnr
                   aubel
                   fkimg
                   vrkme
                   arktx
                   vgbel
                   werks
                   vkgrp
                    fklmg
                    volum
                    vkbur
                    vtweg_auft
                   FROM vbrp
                   INTO  TABLE i_report
            FOR ALL ENTRIES IN i_vbrk
                   WHERE vbeln = i_vbrk-vbeln "erdat IN s_date
            AND   spart IN s_spart
                   AND  vkbur IN s_vkbur
                   AND   vtweg_auft IN s_vtweg.
        ENDIF.
       ELSEIF r_opt4 EQ 'X' OR
              r_opt5 EQ 'X'.
         SELECT   vbeln
                  rfbsk
                  erdat
                  fkdat
                  fksto
                  netwr
                  fkart
                  knumv
                  mwsbk
                  bzirk
                  vtweg
                  spart
                  FROM vbrk INTO CORRESPONDING FIELDS OF TABLE i_vbrk
                  FROM vbrk INTO TABLE i_vbrk
                  FOR ALL ENTRIES IN i_report
                  WHERE vbeln = i_report-vbeln
                  AND   fkart EQ 'ZEXP'
                  AND   vtweg IN s_vtweg
                  AND   spart IN s_spart
                  AND   fksto NE 'X'.
       ENDIF.
        SORT i_vbrk BY vbeln ASCENDING.
      ENDIF.
    change amit by my self may be removed
      IF i_report[] IS NOT INITIAL.
        REFRESH it_report.
        it_report[] = i_report[].
        DELETE ADJACENT DUPLICATES FROM it_report COMPARING aubel.
        SORT it_report BY aubel.
    *select VBAP data
        SELECT posnr vbeln matnr werks
        kwmeng lgort
        FROM vbap
        INTO  TABLE i_vbap
        FOR ALL ENTRIES IN it_report
        WHERE vbeln = it_report-aubel.
      ENDIF.
    change amit by my self may be removed
    *select data from VBKD
    IF NOT i_vbap[] IS INITIAL.
       SELECT vbeln posnr
         FROM vbkd
         INTO TABLE i_vbkd
         FOR ALL ENTRIES IN i_vbap
         WHERE vbeln = i_vbap-vbeln.
    ENDIF.
      SORT i_vbap BY vbeln ASCENDING.
      IF i_report[] IS NOT INITIAL.
        REFRESH it_report.
        it_report[] = i_report[].
        DELETE ADJACENT DUPLICATES FROM it_report COMPARING matnr.
        SORT it_report BY matnr.
        SELECT
        matnr
        matkl
        mtart
        labor
        bismt
        normt
        ferth
        zeinr
        extwg
        spart
        FROM mara
        INTO TABLE i_mara
        FOR ALL ENTRIES IN i_report
        WHERE matnr = i_report-matnr
          AND   spart IN s_spart.
      ENDIF.
       IF NOT i_mara[] IS INITIAL.
         SORT i_mara BY matnr.
         SELECT matnr
                labst
                FROM mard
                INTO TABLE itab_mard
                FOR ALL ENTRIES IN i_mara
                WHERE matnr = i_mara-matnr.
       ENDIF.
    ENDIF.
      DATA : it_mara LIKE LINE OF i_mara OCCURS 0.
      IF NOT i_mara[] IS INITIAL.
        REFRESH it_mara.
        it_mara[] = i_mara[].
        DELETE ADJACENT DUPLICATES FROM it_mara COMPARING matkl.
        SORT it_mara BY matkl.
        SELECT matkl wgbez
          FROM t023t
          INTO  TABLE i_t023t
          FOR ALL ENTRIES IN it_mara
          WHERE matkl = it_mara-matkl.
    *T024X
        REFRESH it_mara.
        it_mara[] = i_mara[].
        DELETE ADJACENT DUPLICATES FROM it_mara COMPARING labor.
        SORT it_mara BY labor.
        SELECT * FROM t024x
        INTO TABLE itab_t024x
        FOR ALL ENTRIES IN it_mara
        WHERE labor = it_mara-labor
        AND spras = sy-langu.
      ENDIF.
    *begin of change amit
      LOOP AT i_vbap.
        READ TABLE i_mara WITH KEY matnr = i_vbap-matnr.
        IF sy-subrc = 0.
    *material type & material group
          i_vbap-mtart = i_mara-mtart.
          i_vbap-matkl = i_mara-matkl.
        ENDIF.
        MODIFY i_vbap.
      ENDLOOP.
    *Material Group Description
    *end of change amit
    IF i_report[] IS NOT INITIAL.
       REFRESH it_report.
       it_report[] = i_report[].
       DELETE ADJACENT DUPLICATES FROM it_report COMPARING vgbel.
       SORT it_report BY vgbel.
       SELECT vbeln
              ean11
              volum
              lgmng
              FROM lips
              INTO  TABLE i_lips
              FOR ALL ENTRIES IN it_report
              WHERE vbeln = it_report-vgbel.
    ENDIF.
      IF i_report[] IS NOT INITIAL.
        REFRESH it_report.
        it_report[] = i_report[].
        SORT it_report BY vgbel.
        DELETE ADJACENT DUPLICATES FROM it_report COMPARING vgbel.
          IF i_lips[] IS NOT INITIAL.
        SELECT vbeln
               wadat_ist
               traid
               bolnr
               FROM likp
               INTO TABLE i_likp
               FOR ALL ENTRIES IN it_report
               WHERE vbeln = it_report-vgbel.
      ENDIF.
       SORT i_lips BY vbeln ASCENDING.
       LOOP AT i_lips.
         REFRESH t_line.
         CLEAR   w_tdname.
         w_tdname = i_lips-vbeln.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             client                  = sy-mandt
             id                      = 'ZVOW'
             language                = sy-langu
             name                    = w_tdname
             object                  = 'VBBK'
           TABLES
             lines                   = t_line
           EXCEPTIONS
             id                      = 1
             language                = 2
             name                    = 3
             not_found               = 4
             object                  = 5
             reference_check         = 6
             wrong_access_to_archive = 7
             OTHERS                  = 8.
         IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
         ENDIF.
         LOOP AT t_line.
           CONCATENATE i_lips-waybill t_line-tdline INTO i_lips-waybill.
         ENDLOOP.
         IF sy-subrc EQ 0.
           MODIFY i_lips.
         ENDIF.
       ENDLOOP.
    *IF i_report[] IS NOT INITIAL.
       REFRESH it_report.
       it_report[] = i_report[].
       SORT it_report BY aubel.
       DELETE ADJACENT DUPLICATES FROM it_report COMPARING aubel.
      SELECT a~vbeln
             b~name1
             b~kunnr
             b~regio
             b~land1
             a~vkgrp
             b~niels
             b~kukla
             b~brsch
             a~vkbur
             FROM vbak AS a
             INNER JOIN kna1 AS b
             ON akunnr = bkunnr
             INTO TABLE i_kna1
             FOR ALL ENTRIES IN i_report
             WHERE vbeln = i_report-aubel.
            AND land1 = 'IN'.
    *endif.
      DATA : it_kna1 LIKE LINE OF i_kna1 OCCURS 0.
      IF NOT i_kna1[] IS INITIAL.
        REFRESH it_kna1.
        it_kna1[] = i_kna1[].
        SORT it_kna1 BY regio.
        DELETE ADJACENT DUPLICATES FROM it_kna1 COMPARING regio.
        SELECT spras
          land1
          bland
          bezei FROM t005u
                 INTO TABLE i_t005u
                 FOR ALL ENTRIES IN it_kna1
                 WHERE bland = it_kna1-regio
                 AND spras = 'EN' AND land1 = 'IN'.
        REFRESH it_kna1.
        it_kna1[] = i_kna1[].
        SORT it_kna1 BY niels.
        DELETE ADJACENT DUPLICATES FROM it_kna1 COMPARING niels.
        SELECT spras niels bezei FROM tnlst
               INTO TABLE i_tnlst
               FOR ALL ENTRIES IN it_kna1
               WHERE niels = it_kna1-niels
               AND spras = sy-langu.
        REFRESH it_kna1.
        it_kna1[] = i_kna1[].
        SORT it_kna1 BY kukla.
        DELETE ADJACENT DUPLICATES FROM it_kna1 COMPARING kukla.
        SELECT spras kukla vtext FROM  tkukt
              INTO TABLE itab_tkukt
              FOR ALL ENTRIES IN it_kna1
              WHERE kukla = it_kna1-kukla
              AND spras = sy-langu.
        REFRESH it_kna1.
        it_kna1[] = i_kna1[].
        SORT it_kna1 BY brsch.
        DELETE ADJACENT DUPLICATES FROM it_kna1 COMPARING brsch.
        SELECT spras brsch brtxt FROM t016t
           INTO TABLE itab_t016t
             FOR ALL ENTRIES IN it_kna1
             WHERE brsch = it_kna1-brsch
             AND spras = sy-langu.
        REFRESH it_kna1.
        it_kna1[] = i_kna1[].
        SORT it_kna1 BY vkgrp.
        DELETE ADJACENT DUPLICATES FROM it_kna1 COMPARING vkgrp.
        SELECT spras vkgrp bezei FROM tvgrt
            INTO TABLE itab_tvgrt
            FOR ALL ENTRIES IN it_kna1
            WHERE vkgrp = it_kna1-vkgrp
            AND spras = sy-langu.
      ENDIF.
      SORT i_kna1 BY vbeln ASCENDING.
      IF i_report[] IS NOT INITIAL.
        REFRESH it_report.
        it_report[] = i_report[].
        SORT it_report BY aubel.
        DELETE ADJACENT DUPLICATES FROM it_report COMPARING aubel.
        SELECT a~vbeln
               a~kunnr
               b~city1
               FROM vbpa AS a
               INNER JOIN adrc AS b
               ON aadrnr = baddrnumber
               INTO TABLE i_adrc
               FOR ALL ENTRIES IN it_report
               WHERE vbeln = it_report-aubel
               AND parvw = 'WE'.
        SORT i_adrc BY vbeln ASCENDING.
      ENDIF.
      DATA : it_adrc LIKE LINE OF i_adrc OCCURS 0.
      IF i_adrc[] IS NOT INITIAL.
        REFRESH it_adrc.
        it_adrc[] = i_adrc[].
        SORT it_adrc BY kunnr.
        DELETE ADJACENT DUPLICATES FROM it_adrc COMPARING kunnr.
        SELECT kunnr name1
               FROM kna1
               INTO TABLE i_kna2
               FOR ALL ENTRIES IN it_adrc
              WHERE kunnr = it_adrc-kunnr.
      ENDIF.
    SELECT a~lifnr
            a~vbeln
            b~name1
           FROM vbpa AS a
            INNER JOIN lfa1 AS b
            ON alifnr = blifnr
            INTO TABLE i_lfa1
            FOR ALL ENTRIES IN i_report
            WHERE vbeln = i_report-vgbel
            AND parvw = 'SP'.
      SORT i_lfa1 BY vbeln ASCENDING.
    change amit by my self may be removed
      IF i_report[] IS NOT INITIAL.
        REFRESH it_report.
        it_report[] = i_report[].
        SORT it_report BY vbeln.
        DELETE ADJACENT DUPLICATES FROM it_report COMPARING vbeln.
        SELECT exnum
               exdat
               rdoc
              status
               FROM j_1iexchdr
               INTO TABLE itab_exnum
               FOR ALL ENTRIES IN it_report
               WHERE rdoc = it_report-vbeln AND status =  'P' OR status = 'C' .
      ENDIF.
    change amit by my self may be removed
    change amit by my self may be removed
      IF i_report[] IS NOT INITIAL.
        REFRESH it_report.
        it_report[] = i_report[].
        SORT it_report BY aubel.
        DELETE ADJACENT DUPLICATES FROM it_report COMPARING aubel.
        SELECT kwmeng
               vbeln
               lgort
               FROM vbap
               INTO TABLE itab_qty
               FOR ALL ENTRIES IN it_report
               WHERE vbeln = it_report-aubel.
      ENDIF.
    change amit by my self may be removed
      SORT itab_qty BY vbeln.
      CHECK NOT i_vbrk[] IS INITIAL.
      SORT i_report BY vbeln.
      DATA : t_vbrk LIKE LINE OF i_vbrk OCCURS 0.
      REFRESH t_vbrk.
      t_vbrk[] = i_vbrk[].
      SORT t_vbrk BY knumv.
      DELETE ADJACENT DUPLICATES FROM t_vbrk COMPARING knumv.
      SELECT ksteu
             knumv
             kschl
             kbetr
             kwert
             kposn
             kmein
             FROM konv
             INTO  TABLE it_rate
             FOR ALL ENTRIES IN t_vbrk
             WHERE knumv = t_vbrk-knumv
             AND kschl IN ('ZR00',          "Basic Price
                           'ZR01',          "Basic Price
                           'ZR02',          "Basic Price
                           'ZR03',          "Basic Price
                           'ZR04',          "Basic Price
                           'ZR05',          "Basic Price
                           'JEXP',          "Excise
                           'JECS',          "ED
                           'ZG03',          "Freight
                           'ZG04',          "Freight
                           'JCST',          "CST
                           'JLST',          "LST
                           'ZDEV',         "Dev Tax
                           'Z001',         "Discount
                           'Z002',         "Discount
                           'Z003',         "Discount
                           'Z004',         "Discount
                           'Z005',         "Discount
                           'Z006',         "Discount
                           'Z007',         "Discount

  • Short dump due termination in the program SAPLSNR3

    Hi Experts,
    While running an IP I am getting short dump, and error analysis says
    An ASSIGN statement in the program "SAPLSNR3" contained a field symbol with
    length 0. This is not possible. length 0.This is not possible.
    can any one exlain why the IP is going for short dump,rectify the error and make the IP to run sucessful.
    Regards,
    Siddhardh

    Hi Suresh,
    Your dump is occuring due to database limit of sql statment (Native SQL) that is generated from your abap sql. The range is killing him (as you already notice).
    The thread bellow have some info about this, but the solution can't be applyed to you:
    To update 1 field of ztable(60 fields) for 2000 records in minimum DB hit
    Maybe you can build some logic to reduce the value of two ranges (also concatenating them). Anyway, due to amount of lines involved (24.500 lines).... I don't think it is possible.
    One option is filter the result on ABAP, after your SQL w/o the ranges you may try:
    DELETE FROM TABLE i_glpct2
    WHERE NOT ( racct IN r_profloss OR racct IN r_balsheet ).
    This can raise a performance problem if the number of returned rows from database is to high.
    Another option is change your database access. Where the values of the two ranges came from ? database ? If they came from database try to use INNER JOIN, this will solve the problem w/o performance problem.
    Best Regards, Fernando Da Ró

  • Runtime error-short dump

    Hi,
    please correct me where i went wrong...
    RANGES: r_daterange FOR vbak-audat.
    RANGES:GRG_DATERANGE FOR VBAK-AUDAT.
      PERFORM CHECK_SELECT_OPTIONS USING    DATE_FROM
                                            DATE_TO
                                   CHANGING R_DATERANGE[].
    if sales order number is the selection criteria
      if not salesorder_no is initial.
        clear  :wa_vbak, wa_vbfa, wa_costlist_in.
        refresh:t_vbak, costlist_in.
        select avbeln aauart bposnr bnetpr
        into table t_vbak
        from vbak as a
        inner join vbap as b
        on    avbeln = bvbeln
        where a~vbeln = salesorder_no
        and   a~audat in r_daterange
        and   a~kunnr = partner_number
        and   b~abgru NE ' ' .
    ***INCLUDE /VWNA/LINSD_BAPI_INV_GET_INF01 .
    *&      Form  CHECK_SELECT_OPTIONS
          text
         -->P_DATE_FROM  text
         -->P_DATE_TO  text
         <--P_R_DATERANGE[]  text
    FORM CHECK_SELECT_OPTIONS USING   P_DATE_FROM LIKE VBAK-AUDAT
                                      P_DATE_TO LIKE VBAK-AUDAT
                             CHANGING PRG_DATERANGE LIKE GRG_DATERANGE[].
    DATA: WA_DATERANGE LIKE GRG_DATERANGE.
      CLEAR WA_DATERANGE.
    REFRESH PRG_DATERANGE.
    WA_DATERANGE-SIGN = 'I'.
    iF ( P_DATE_FROM IS INITIAL ) AND ( P_DATE_TO IS INITIAL ).
      ELSEIF P_DATE_FROM IS INITIAL.
          WA_DATERANGE-OPTION = 'LE'.
          MOVE P_DATE_TO TO WA_DATERANGE-LOW.
      ELSEIF P_DATE_TO IS INITIAL.
          WA_DATERANGE-OPTION = 'GE'.
          MOVE P_DATE_FROM TO WA_DATERANGE-LOW.
      ELSE.
          WA_DATERANGE-OPTION = 'BT'.
          MOVE P_DATE_FROM TO WA_DATERANGE-LOW.
          MOVE P_DATE_TO TO WA_DATERANGE-HIGH.
    ENDIF.
      APPEND WA_DATERANGE TO PRG_DATERANGE.
      clear wa_daterange.
    When i execute the code its creating a short dump and the message is :
    The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
    statement in which the WHERE condition contains an IN itab operator.
    The IN itab operator is used with internal tables which
    have the following structure:
    SIGN(1) OPTION(2) LOW LIKE db_field HIGH LIKE db_field
    The OPTION column should contain only one of the following values:
    "EQ LE GE CP BT NE LT GT NP NB"
    The value " " is not allowed here. Please help me in resolving the error..
    Thanks,
    Challa

    Hi
    This will happen when P_DATE_FROM IS INITIAL  AND P_DATE_TO IS INITIAL.
    You are populating the range table with just sign as 'I' and option is not populated.
    change your code to:
    WA_DATERANGE-SIGN = 'I'.
    iF ( P_DATE_FROM IS INITIAL ) AND ( P_DATE_TO IS INITIAL ).
    ELSEIF P_DATE_FROM IS INITIAL.
    WA_DATERANGE-OPTION = 'LE'.
    MOVE P_DATE_TO TO WA_DATERANGE-LOW.
    APPEND WA_DATERANGE TO PRG_DATERANGE.
    ELSEIF P_DATE_TO IS INITIAL.
    WA_DATERANGE-OPTION = 'GE'.
    MOVE P_DATE_FROM TO WA_DATERANGE-LOW.
    APPEND WA_DATERANGE TO PRG_DATERANGE.
    ELSE.
    WA_DATERANGE-OPTION = 'BT'.
    MOVE P_DATE_FROM TO WA_DATERANGE-LOW.
    MOVE P_DATE_TO TO WA_DATERANGE-HIGH.
    APPEND WA_DATERANGE TO PRG_DATERANGE.
    ENDIF.
    *APPEND WA_DATERANGE TO PRG_DATERANGE.
    clear wa_daterange.
    Regards
    Navneet

  • Query regarding short dump

    Hi
    The runtime error is DBIF_RSQL_INVALID_RSQL and the exception is CX_SY_OPEN_SQL_DB.can anyone explain me these errors.
    At this select query it going to short dump.Could anyone help me.Its urgent.
    Select aaufnr agstrp agsuzp biedd b~iedz into table i_uncount
    from afko as a   inner join   afru as b on aaufnr = baufnr
    for all entries in i_ordscp
    where aaufnr = i_ordscp-aufnr  and bgrund = 'ONS'
    and  b~stzhl = '0000000'.
    Error Analysis:
    The data read during a SELECT access could not be inserted into the target field.
    Either the conversion is not supported for the target field's type or the target field is too short to accept the value or the data are not in a form that the target field can accept.
    The target field is all correct.I've checked it.
    Could anyone please help me.Its really urgent.U'll definitely be given points.
    Thanks
    chandrika.

    Hi Sarath ,
      Please look at the internal table decleration and the sequence of fields in select statement .
    What is happening is that the select is tying to place the value of  iedd  into aufpl as a result of which this incompatibilty occurs.
    So you can either user into corresponding-fields or modify the sequence of your internal table.
    I would sugges the second option , as first can effect the performance.
    So just declare the it as
    TYPES:BEGIN OF t_uncont,
    aufnr like afko-aufnr,
    gstrp like afko-gstrp,
    gsuzp like afko-gsuzp,
    iedd like afru-iedd,
    iedz like afru-iedz,
    aufpl like afko-aufpl,
    END OF t_uncont.
    Regards
    Arun

  • Short dump while creating a plant.

    Dear experts,
    Iam getting a short dump whenever I try to create a plant and save it. Iam posting the contents of the dump ... Iam using Ecc 6.0 with Oracle as database. Kindly help me to resolve this ...
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          27.10.2007 17:10:59
    Short text
    Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    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
    A RAISE statement in the program "CL_EXITHANDLER================CP" raised the
    exception
    condition "DATA_INCONS_IN_EXIT_MANAGEM".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    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:
    "RAISE_EXCEPTION" " "
    "CL_EXITHANDLER================CP" or "CL_EXITHANDLER================CM001"
    "GET_INSTANCE"
    or
    "CL_EXITHANDLER================CP" "DATA_INCONS_IN_EXIT_MANAGEM"
    or
    "SAPLS_IMG_TOOL_5 " "DATA_INCONS_IN_EXIT_MANAGEM"
    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... "BSLERP"
    Network address...... "10.60.0.30"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x Intel 801586"
    Character length.... 16 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "BSLERP"
    Database type..... "ORACLE"
    Database name..... "BTS"
    Database user ID.. "SAPSR3"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 2 2006 23:08:16"
    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.... 8176
    EM...... 17768808
    Heap.... 0
    Page.... 65536
    MM Used. 12293456
    MM Free. 1291704
    User and Transaction
    Client.............. 800
    User................ "MURTHYTSN"
    Language key........ "E"
    Transaction......... "SPRO "
    Program............. "CL_EXITHANDLER================CP"
    Screen.............. "SAPLSZA1 0201"
    Screen line......... 70
    Information on where terminated
    Termination occurred in the ABAP program "CL_EXITHANDLER================CP" -
    in "GET_INSTANCE".
    The main program was "SAPLS_IMG_TOOL_5 ".
    In the source code you have the termination point in line 36
    of the (Include) program "CL_EXITHANDLER================CM001".
    Source Code Extract
    Line
    SourceCde
    6
    type_ref TYPE REF TO cl_abap_typedescr,
    7
    class_name TYPE seoclsname,
    8
    abs_type_classname TYPE string,
    9
    def_impl TYPE seex_boolean VALUE seex_false,
    10
    mig_enhspotname TYPE enhspotname,
    11
    is_impl TYPE enhboolean,
    12
    mig_badi_name TYPE enhbadiid.
    13
    14
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    15
    EXPORTING
    16
    instance                      = instance
    17
    IMPORTING
    18
    class_name                    = class_name
    19
    CHANGING
    20
    exit_name                     = exit_name
    21
    EXCEPTIONS
    22
    no_reference                  = 1
    23
    no_interface_reference        = 2
    24
    no_exit_interface             = 3
    25
    data_incons_in_exit_managem   = 4
    26
    class_not_implement_interface = 5
    27
    OTHERS                        = 6.
    28
    CASE sy-subrc.
    29
    WHEN 1.
    30
    RAISE no_reference.
    31
    WHEN 2.
    32
    RAISE no_interface_reference.
    33
    WHEN 3.
    34
    RAISE no_exit_interface.
    35
    WHEN 4.
    >>>>>
    RAISE data_incons_in_exit_managem.
    37
    WHEN 5.
    38
    RAISE class_not_implement_interface.
    39
    ENDCASE.
    40
    41
    CONCATENATE '\CLASS=' class_name INTO abs_type_classname.
    42
    43
    Is the given instance initial?
    44
    IF NOT instance IS INITIAL.
    45
    CALL METHOD cl_abap_typedescr=>describe_by_object_ref
    46
    EXPORTING
    47
    p_object_ref = instance
    48
    RECEIVING
    49
    p_descr_ref  = type_ref.
    50
    CHECK type_ref->absolute_name NE abs_type_classname.
    51
    ENDIF.
    52
    53
    SELECT SINGLE mig_enhspotname mig_badi_name FROM sxs_attr INTO (mig_enhspotname,mig_badi_n
    54
    WHERE exit_name = exit_name.
    55
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    4
    SY-INDEX
    1
    SY-TABIX
    0
    SY-DBCNT
    0
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    ADDR0200
    SY-UCOMM
    CHCK
    SY-TITLE
    Edit address:  5002
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20071024
    SY-UZEIT
    171059
    SY-XPROG
    SAPCNVE
    SY-XFORM
    CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    43 METHOD       CL_EXITHANDLER================CP    CL_EXITHANDLER================CM001    36
    CL_EXITHANDLER=>GET_INSTANCE
    42 FUNCTION     SAPLXSZAR                           ZXSZARU01                              25
    EXIT_SAPLSZAR_001
    41 FUNCTION     SAPLSZAR                            LSZARU01                              108
    ADDR_REGIONAL_DATA_CHECK
    40 FORM         SAPLSZA2                            LSZA2F20                              382
    CHECK_ADDR1_DATA
    39 FUNCTION     SAPLSZA2                            LSZA2U02                               42
    ADDR_CHECK
    38 FUNCTION     SAPLSZA0                            LSZA0U01                               79
    ADDR_INSERT
    37 FORM         SAPLSZA1                            LSZA1F22                             1886
    INSERT_ADDRESS_INTO_MEMORY
    36 FORM         SAPLSZA1                            LSZA1F22                             2234
    PUT_ADDRESS_TO_MEMORY
    35 FORM         SAPLSZA1                            LSZA1I02                              409
    D0100_OK_CODE
    34 FORM         SAPLSZA1                            LSZA1F03                               17
    D0100_OK_CODE_WRAPPER
    33 MODULE (PAI) SAPLSZA1                            LSZA1I02                               13
    D0100_OK_CODE
    32 FUNCTION     SAPLSZA1                            LSZA1U01                              200
    ADDR_DIALOG_INTERN
    31 FUNCTION     SAPLSZA1                            LSZA1U05                              177
    ADDR_DIALOG
    30 FORM         SAPL0ORG                            LSVIMF24                              292
    ADDRESS_MAINTAIN
    29 FORM         SAPL0ORG                            LSVIMFX2                              577
    DETAIL_PAI
    28 MODULE (PAI) SAPL0ORG                            LSVIMIXX                              354
    DETAIL_PAI
    27 FORM         SAPL0ORG                            LSVIMF2L                              337
    CALL_DYNPRO
    26 FUNCTION     SAPL0ORG                            L0ORGU34                               35
    VIEWPROC_V_T001W
    25 FUNCTION     SAPL0ORG                            L0ORGU33                               49
    VIEWFRAME_V_T001W
    24 FUNCTION     SAPLSVIM                            LSVIMU01                              138
    VIEW_MAINTENANCE
    23 FUNCTION     SAPLSVIM                            LSVIMU03                              427
    VIEW_MAINTENANCE_CALL
    22 FORM         SAPLS_CUS_ACTIVITY                  LS_CUS_ACTIVITYF01                    358
    START_SELECTED_TRANSACTION
    21 MODULE (PAI) SAPLDSYH                            LDSYHI12                               56
    D1200_PAI_MODULE
    20 FUNCTION     SAPLDSYH                            LDSYHU11                               70
    OUTLINE_LIST_TCODES
    19 FUNCTION     SAPLS_CUS_ACTIVITY                  LS_CUS_ACTIVITYU07                    103
    S_CUS_ACTIVITY_EXECUTE
    18 FUNCTION     SAPLS_CUS_IMG_ACTIVITY              LS_CUS_IMG_ACTIVITYU04                 35
    S_CUS_IMG_ACTIVITY_EXECUTE
    17 FUNCTION     SAPLS_IMG_TOOL_1                    LS_IMG_TOOL_1U02                       63
    STREE_EXIT_TO_OBJECT_COBJ
    16 FUNCTION     SAPLSHI1                            LSHI1U16                              120
    STREE_EXIT_TO_OBJECT
    15 FORM         SAPLSHI01                           LSHI01F0Y                             185
    EXIT_TO_OBJECT_HC
    14 FORM         SAPLSHI01                           LSHI01F05                              70
    HANDLE_LINK_CLICK
    13 METHOD       SAPLSHI01                           LSHI01CI1                              25
    LCL_APPLICATION=>HANDLE_LINK_CLICK
    12 METHOD       CL_ITEM_TREE_CONTROL==========CP    CL_ITEM_TREE_CONTROL==========CM013    53
    CL_ITEM_TREE_CONTROL=>HANDLE_NODE_KEY_ITEM_NAME_EVT
    11 METHOD       CL_ITEM_TREE_CONTROL==========CP    CL_ITEM_TREE_CONTROL==========CM00S    60
    CL_ITEM_TREE_CONTROL=>HANDLE_EVENT
    10 METHOD       CL_GUI_COLUMN_TREE============CP    CL_GUI_COLUMN_TREE============CM01O    15
    CL_GUI_COLUMN_TREE=>HANDLE_EVENT
    9 METHOD       CL_TREE_CONTROL_BASE==========CP    CL_TREE_CONTROL_BASE==========CM017    32
    CL_TREE_CONTROL_BASE=>DISPATCH
    8 METHOD       CL_GUI_CFW====================CP    CL_GUI_CFW====================CM001   138
    CL_GUI_CFW=>DISPATCH
    7 FORM         SAPLSHI01                           LSHI01F1M                              17
    EXECUTE_USER_COMMAND_W_EXITS
    6 FUNCTION     SAPLSHI01                           LSHI01U12                              30
    STREE_BROWSER_PAI
    5 MODULE (PAI) SAPLSHI01                           LSHI01I01                              55
    PAI_200
    4 FUNCTION     SAPLSHI01                           LSHI01U07                             165
    STREE_BROWSER_DYNP_HC
    3 FUNCTION     SAPLSHI21                           LSHI21U03                             144
    STREE_EXTERNAL_DISPLAY
    2 FORM         SAPLS_IMG_TOOL_5                    LS_IMG_TOOL_5F01                       20
    DISPLAY_REFERENCE_IMG
    1 MODULE (PAI) SAPLS_IMG_TOOL_5                    LS_IMG_TOOL_5I01                       39
    USER_COMMAND_0100
    Chosen variables
    Name
    Val.
    No.      43 Ty.          METHOD
    Name  CL_EXITHANDLER=>GET_INSTANCE
    EXIT_NAME
    22222222222222222222
    00000000000000000000
    00000000000000000000
    00000000000000000000
    NULL_INSTANCE_ACCEPTED
    2
    0
    0
    0
    ACT_IMP_EXISTING
    2
    0
    0
    0
    INSTANCE
    F0000000
    F0000000
    SY-REPID
    CL_EXITHANDLER================CP
    4454545444444533333333333333334522222222
    3CF589481E4C52DDDDDDDDDDDDDDDD3000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    %_SPACE
    2
    0
    0
    0
    CL_DRAGDROP=>COPY
    1
    0000
    1000
    CL_WB_REQUEST=>TO_IMMEDIATE_START
    SY-SUBRC
    4
    0000
    4000
    CL_DRAGDROP=>USEDEFAULTEFFECT
    4
    0000
    4000
    SYST-REPID
    CL_EXITHANDLER================CP
    4454545444444533333333333333334522222222
    3CF589481E4C52DDDDDDDDDDDDDDDD3000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    CL_GUI_CONTROL=>LIFETIME_DEFAULT
    0
    0000
    0000
    %_ARCHIVE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ABS_TYPE_CLASSNAME
    No.      42 Ty.          FUNCTION
    Name  EXIT_SAPLSZAR_001
    IV_NATION
    2
    0
    0
    0
    X_ACCEPT_ERROR
    2
    0
    0
    0
    X_ADRC_STRUC
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    X_DIALOG_ALLOWED
    X
    5
    8
    0
    0
    Y_ADRC_STRUC
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Y_RETCODE
    2
    0
    0
    0
    ERROR_TABLE[]
    Table IT_2299[0x572]
    \FUNCTION-POOL=SZA1\FORM=INSERT_ADDRESS_INTO_MEMORY\DATA=ERROR_TABLE[]
    Table reference: 208
    TABH+  0(20) = 00000000F8EB2E3D00000000D0000000FB080000
    TABH+ 20(20) = 000000003C020000FFFFFFFF04A90100303E0000
    TABH+ 40( 8) = 10000000C1248001
    store        = 0x00000000
    ext1         = 0xF8EB2E3D
    shmId        = 0     (0x00000000)
    id           = 208   (0xD0000000)
    label        = 2299  (0xFB080000)
    fill         = 0     (0x00000000)
    leng         = 572   (0x3C020000)
    loop         = -1    (0xFFFFFFFF)
    xtyp         = TYPE#000317
    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         = 0xD09AD03C
    >>>>> 2nd level extension part <<<<<
    tabhBack     = 0x30F18E3D
    delta_head   = 000000000000000000000000000000000000000000000000000000000000000000000000
    pb_func      = 0x00000000
    pb_handle    = 0x00000000
    SY-XPROG
    SAPCNVE
    5454454222222222222222222222222222222222
    3103E65000000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    SY-XFORM
    CONVERSION_EXIT
    444545544454545222222222222222
    3FE65239FEF5894000000000000000
    000000000000000000000000000000
    000000000000000000000000000000
    %_VIASELSCR
    0
    4
    %_SPACE
    2
    0
    0
    0
    SY-REPID
    SAPLXSZAR
    5454555452222222222222222222222222222222
    310C83A120000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    LR_EXIT
    F0000000
    F0000000
    %_DUMMY$$
    2222
    0000
    0000
    0000
    Y_ERROR_TABLE
    Table[initial]
    No.      41 Ty.          FUNCTION
    Name  ADDR_REGIONAL_DATA_CHECK
    IV_NATION
    2
    0
    0
    0
    X_ACCEPT_ERROR
    2
    0
    0
    0
    X_ADRC_STRUC
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    X_DIALOG_ALLOWED
    X
    5
    8
    0
    0
    X_T005
    800IN IND064            ININD000   00 15500  4111  0000 00 436      664000INDIEN 000 1
    3334424443332222222222224444433322233233333223333223333233233322222233333344444423332322222222
    8009E09E40640000000000009E9E40000000001550000411100000000004360000006640009E495E00000100000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Y_ADRC_REGIO
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Y_ADRC_STRUC
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Y_RETCODE
    2
    0
    0
    0
    ERROR_TABLE[]
    Table IT_2299[0x572]
    SY-XPROG
    SAPCNVE
    5454454222222222222222222222222222222222
    3103E65000000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    LV_MAND
    C
    422
    300
    000
    000
    SY-REPID
    SAPLSZAR
    5454554522222222222222222222222222222222
    310C3A1200000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    %_SPACE
    2
    0
    0
    0
    %_CX_GRID_ID
    1
    0000
    1000
    SYST-REPID
    SAPLSZAR
    5454554522222222222222222222222222222222
    310C3A1200000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    SV_THERE_IS_CUST_EXIT
    X
    5
    8
    0
    0
    T005S
    22222222222222
    00000000000000
    00000000000000
    00000000000000
    T005
    00                  000   00 00 00   00   0000 00             000       000
    2222222223322222222222222222233322233233233222332223333233222222222222233322222223332222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    CO_ERROR
    E
    4
    5
    0
    0
    No.      40 Ty.          FORM
    Name  CHECK_ADDR1_DATA
    SY-MSGV3
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    SY-MSGV4
    22222222222222222222222222222222222222222222222222
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000
    FIELDNAME
    222222222222222222222222222222
    000000000000000000000000000000
    000000000000000000000000000000
    000000000000000000000000000000
    C_NULL
    0
    0000
    0000
    RETURNCODE_ERRORS
    2
    0
    0
    0
    C_ERROR_OCCURRED
    E
    4
    5
    0
    0
    H_ADRC_STRUC+0(1800)
    2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ADDR1_DATA+460(1800)
    2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    H_ADRC_STRUC
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    C_COMM_TTX
    TTX
    555
    448
    000
    000
    NATION
    2
    0
    0
    0
    G_ACCEPT_ERROR
    2
    0
    0
    0
    G_DIALOG_ALLOWED
    X
    5
    8
    0
    0
    T005
    800IN IND064            ININD000   00 15500  4111  0000 00 436      664000INDIEN 000 1
    3334424443332222222222224444433322233233333223333223333233233322222233333344444423332322222222
    8009E09E40640000000000009E9E40000000001550000411100000000004360000006640009E495E00000100000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    TSAD6T
    222222222222222222222222222222222222222222222222
    000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000
    ERROR_TABLE[]
    Table IT_2299[0x572]
    %_SPACE
    2
    0
    0
    0
    No.      39 Ty.          FUNCTION
    Name  ADDR_CHECK
    ADDRESS_HANDLE
    8005002
    3333333222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    8005002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ADDRESS_NUMBER
    2222222222
    0000000000
    0000000000
    0000000000
    ADDRESS_OBJECT_TYPE
    1
    3
    1
    0
    0
    NATION
    2
    0
    0
    0
    RETURNCODE
    2
    0
    0
    0
    ERROR_TABLE[]
    Table IT_2299[0x572]
    ADDRESS_DATA_1
    00000000000000000003XYZ SOLUTIONS LIMITED
    3333333333333333333355525445544452444454422222222222222222222222222222222222222222222222222222
    0000000000000000000389A03FC549FE30C9D945400000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ADDRESS_DATA_2
    0000000000000000
    3333333333333333222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ADDRESS_DATA_3
    0000000000000000
    3333333333333333222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    LV_ADRC_STRUC+0(1800)
    2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    ADDRESS_DATA_1+460(1800)
    2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    C_DEFAULT_HANDLE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    SYST-REPID
    SAPLSZA2
    5454554322222222222222222222222222222222
    310C3A1200000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    ERROR_TABLE
    000
    2222222222222222222223332222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    LV_ADRC_STRUC
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    C_DEFAULT_NATION
    2
    0
    0
    0
    C_SHOW_ALL
    2
    0
    0
    0
    C_PERSONAL_ADDRESS
    2
    3
    2
    0
    0
    SY-REPID
    SAPLSZA2
    5454554322222222222222222222222222222222
    310C3A1200000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    ADDRESS_DATA_2+32(1800)
    2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    No.      38 Ty.          FUNCTION
    Name  ADDR_INSERT

    Dear Sunil,
    Thanks a lot for your reply. I did search in service market place for notes regarding this problem. However, i could not find possible solutions to resolve this. I will once again search the notes in case if i have missed something. in case, if you come across any solutions to resolve this problem, Kindly post that here and that would be a great help for me.
    Regards,
    Chaitanya

  • RE: Short dump after activation of BADI

    Hi all,
    We are getting short dumps in all the transactions after activating the BADI  'BADI_LAYER'
    We are not able to execute any of the transactions.
    The details of runtimeerror
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          30.07.2007 09:58:06
    Short text
    Exception condition "SINGLE_EXIT_MULTIPLY_ACTIVE" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    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
    A RAISE statement in the program "CL_EXITHANDLER================CP" raised the
    exception
    condition "SINGLE_EXIT_MULTIPLY_ACTIVE".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    function module from the display of active calls.
    How to correct the error
    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:
    "RAISE_EXCEPTION" " "
    "CL_EXITHANDLER================CP" or "CL_EXITHANDLER================CM001"
    "GET_INSTANCE"
    or
    "CL_EXITHANDLER================CP" "SINGLE_EXIT_MULTIPLY_ACTIVE"
    or
    "SAPMF05A " "SINGLE_EXIT_MULTIPLY_ACTIVE"
    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... "sapdevp"
    Network address...... "192.168.0.205"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x Intel 80686"
    Character length.... 16 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "SAPDEVP"
    Database type..... "ORACLE"
    Database name..... "TDV"
    Database user ID.. "SAPSR4"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 2 2006 23:08:16"
    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.... 8176
    EM...... 6271344
    Heap.... 0
    Page.... 57344
    MM Used. 1728072
    MM Free. 360856
    User and Transaction
    Client.............. 400
    User................ "FIUSER01"
    Language key........ "E"
    Transaction......... "FB50 "
    Program............. "CL_EXITHANDLER================CP"
    Screen.............. "SAPMF05A 1010"
    Screen line......... 7
    Information on where terminated
    Termination occurred in the ABAP program "CL_EXITHANDLER================CP" -
    in "GET_INSTANCE".
    The main program was "SAPMF05A ".
    In the source code you have the termination point in line 145
    of the (Include) program "CL_EXITHANDLER================CM001".
    Source Code Extract
    Line
    SourceCde
    115
    SELECT SINGLE is_impl FROM badiisimpled INTO is_impl
    116
    WHERE badi_name = mig_badi_name.
    117
    IF sy-subrc NE 0.
    118
          not yet filled
    119
    is_impl = cl_enh_badi_tool_utilities=>update_badiisimpled( mig_badi_name ).
    120
    ENDIF.
    121
    122
    IF is_impl = 'X'.
    123
          ok at least one implementation found
    124
    act_imp_existing = 'X'.
    125
    ENDIF.
    126
    127
    ENDIF.
    128
    ENDIF.
    129
    ELSE.
    130
    131
    check how many implementations exist for an exit
    132
    CALL METHOD cl_badi_flt_data_trans_and_db=>act_imps_per_flt_val
    133
    EXPORTING
    134
    runtime_call                  = seex_true
    135
    exit_name                     = exit_name
    136
    EXCEPTIONS
    137
    singular_exit_multiply_active = 1
    138
    no_active_implementation      = 2
    139
    only_default_implementation   = 3
    140
    OTHERS                        = 4.
    141
    CASE sy-subrc.
    142
    WHEN 0.
    143
    act_imp_existing = seex_true.
    144
    WHEN 1.
    >>>>>
    RAISE single_exit_multiply_active.
    146
    WHEN 2.
    147
    act_imp_existing = seex_false.
    148
    WHEN 3.
    149
    act_imp_existing = seex_false.
    150
    def_impl = seex_true.
    151
    WHEN 4.
    152
    RAISE data_incons_in_exit_managem.
    153
    ENDCASE.
    154
    155
    new parameter considered for performance purposes
    156
    IF act_imp_existing = seex_true OR
    157
    def_impl = seex_true OR
    158
    null_instance_accepted = seex_false.
    159
    160
    ok, then do your job
    161
    CREATE OBJECT exit TYPE (abs_type_classname).
    162
    CATCH SYSTEM-EXCEPTIONS move_cast_error = 1.
    163
    instance ?= exit.
    164
    ENDCATCH.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    1
    SY-INDEX
    0
    SY-TABIX
    0
    SY-DBCNT
    2
    SY-FDPOS
    1
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    FSKB
    SY-UCOMM
    SY-TITLE
    Enter G/L Account Document: Company Code TJ01
    SY-MSGTY
    S
    SY-MSGID
    B!
    SY-MSGNO
    015
    SY-MSGV1
    00001140
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20070730
    SY-UZEIT
    095806
    SY-XPROG
    SY-XFORM
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    5 METHOD       CL_EXITHANDLER================CP    CL_EXITHANDLER================CM001   145
    CL_EXITHANDLER=>GET_INSTANCE
    4 METHOD       CL_EXIT_MASTER================CP    CL_EXIT_MASTER================CM004     2
    CL_EXIT_MASTER=>CLASS_CONSTRUCTOR
    3 METHOD       CL_EX_FI_HEADER_SUB_1300======CP    CL_EX_FI_HEADER_SUB_1300======CM003    53
    CL_EX_FI_HEADER_SUB_1300=>IF_EX_FI_HEADER_SUB_1300~PUT_DATA_TO_SCREEN_PBO
    2 FORM         SAPMF05A                            MF05AF00_D0100_PRE_APPL_SUB_2          50
    D0100_PRE_APPL_SUB_PBO
    1 MODULE (PBO) SAPMF05A                            MF05AO00_D0100_PRE_APPL_SUB            10
    D0100_PRE_APPL_SUB
    Chosen variables
    Name
    Val.
    No.       5 Ty.          METHOD
    Name  CL_EXITHANDLER=>GET_INSTANCE
    EXIT_NAME
    BADI_LAYER
    44445445452222222222
    2149FC19520000000000
    00000000000000000000
    00000000000000000000
    NULL_INSTANCE_ACCEPTED
    2
    0
    0
    0
    ACT_IMP_EXISTING
    2
    0
    0
    0
    INSTANCE
    F0000000
    F0000000
    %_SPACE
    2
    0
    0
    0
    RSJOBINFO
    00000000000000                                  ##
    2222222222222222222222222222222233333333333333222222222222222222222222222222222200
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000
    %_DUMMY$$
    2222
    0000
    0000
    0000
    SEEX_TRUE
    X
    5
    8
    0
    0
    SYST-REPID
    CL_EXITHANDLER================CP
    4454545444444533333333333333334522222222
    3CF589481E4C52DDDDDDDDDDDDDDDD3000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    <%_TABLE_BADIISIMPLED>
    SY-REPID
    CL_EXITHANDLER================CP
    4454545444444533333333333333334522222222
    3CF589481E4C52DDDDDDDDDDDDDDDD3000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    SY-SUBRC
    1
    0000
    1000
    SY-XPROG
    2222222222222222222222222222222222222222
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    No.       4 Ty.          METHOD
    Name  CL_EXIT_MASTER=>CLASS_CONSTRUCTOR
    %_SPACE
    2
    0
    0
    0
    SYST-REPID
    CL_EXIT_MASTER================CP
    4454545544554533333333333333334522222222
    3CF5894FD13452DDDDDDDDDDDDDDDD3000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    SY-REPID
    CL_EXIT_MASTER================CP
    4454545544554533333333333333334522222222
    3CF5894FD13452DDDDDDDDDDDDDDDD3000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    CL_EXIT_MASTER=>LAYER_EXIT
    F0000000
    F0000000
    %_DUMMY$$
    2222
    0000
    0000
    0000
    No.       3 Ty.          METHOD
    Name  CL_EX_FI_HEADER_SUB_1300=>IF_EX_FI_HEADER_SUB_1300~PUT_DATA_TO_SCREEN_PBO
    IM_BKPF
    TJ01          2007SA00000000200707300400000000000000000000000000000000000000
    2225433222222222233335433333333333333333333333333333333333333333333333333333333222222222222222
    0004A01000000000020073100000000200707300400000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    IM_X_NO_INPUT
    2
    0
    0
    0
    FLT_VAL
    IN
    44
    9E
    00
    00
    <EXIT_OBJ>-IMP_CLASS
    <FLT_CACHE_LINE>-OBJ
    |
    | F0000000 |
    | F0000000 |
    | %_DUMMY$$ |
    |  |
    | 2222 |
    | 0000 |
    | 0000 |
    | 0000 |
    | ME->INSTANCE_BADI_TABLE |
    | Table[initial] |
    | <EXIT_OBJ> |
    | ??? |
    | ?????? |
    | ?????? |
    | <%_L001> |
    | ??? |
    | ?????? |
    | ?????? |
    | RSJOBINFO |
    | 00000000000000                                  ## |
    | 2222222222222222222222222222222233333333333333222222222222222222222222222222222200 |
    | 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
    | 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
    | 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
    | SY-REPID |
    | CL_EX_FI_HEADER_SUB_1300======CP |
    | 4454554454444455554533333333334522222222 |
    | 3CF58F69F851452F352F1300DDDDDD3000000000 |
    | 0000000000000000000000000000000000000000 |
    | 0000000000000000000000000000000000000000 |
    | <%_L001>-METHOD_NAME |
    | ??? |
    | ?????? |
    | ?????? |
    | EXIT_OBJ_TAB |
    | Table[initial] |
    | SY-SUBRC |
    | 1 |
    | 0000 |
    | 1000 |
    | ME |
    |
    F0000000
    C0003000
    SXRT_TRUE
    X
    5
    8
    0
    0
    No.       2 Ty.          FORM
    Name  D0100_PRE_APPL_SUB_PBO
    *BSEG-STBUK
    2222
    0000
    0000
    0000
    %_DUMMY$$
    2222
    0000
    0000
    0000
    SY-REPID
    SAPMF05A
    5454433422222222222222222222222222222222
    310D605100000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    SYST-REPID
    SAPMF05A
    5454433422222222222222222222222222222222
    310D605100000000000000000000000000000000
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    KDBTAB-DMBTR
    0.0.0.0.0.0.1.
    0000000
    000000C
    %_SPACE
    2
    0
    0
    0
    KDPTAB-BELNR
    2222222222
    0000000000
    0000000000
    0000000000
    KDPTAB-GJAHR
    0000
    3333
    0000
    0000
    0000
    KDPTAB-BUZEI
    000
    333
    000
    000
    000
    KDBTAB-XRUND
    2
    0
    0
    0
    SPACE
    2
    0
    0
    0
    F05ACTRL
    2
    0
    0
    0
    SYST
    ######################################ð#######################################~######### C####
    00000000000000000000000000000000000000F0000000000000000000000000000000000000107000000050240000
    000000200000000000002010100010000000000000000010400000000000000000000000000080E000200080030100
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000
    00000000000000000000000000000000000000000000000000000000000000000000000000000000000000D000000C
    BSED
    0000000# ##############  0000000000000000
    2222222222222222233333330200000000000000223333333333333333222222222222222222222222222222222222
    00000000000000000000000000000C000000C000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000C0000000C000000C000000000000000000000000000000000000000000000000000000
    SY-SUBRC
    1
    0000
    1000
    G_APPL_SUB_ACTIVE
    X
    5
    8
    0
    0
    CHAR_X
    X
    5
    8
    0
    0
    %_ARCHIVE
    2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    BKPF-BUKRS
    TJ01
    5433
    4A01
    0000
    0000
    BKPF
    TJ01          2007SA00000000200707300400000000000000000000000000000000000000
    2225433222222222233335433333333333333333333333333333333333333333333333333333333222222222222222
    0004A01000000000020073100000000200707300400000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    G_APPL_SUB_DISABLE
    2
    0
    0
    0
    T005-INTCA
    IN
    44
    9E
    00
    00
    No.       1 Ty.          MODULE (PBO)
    Name  D0100_PRE_APPL_SUB
    C_FIELD_DIALOG_ALL
    BUTTON_DIALOG_ALL
    4555445444444544422222222222222222222222222222222222222222222222222222222222222222222222222222
    2544FEF491CF7F1CC00000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Internal notes
    The termination was triggered in function "ab_jfune"
    of the SAP kernel, in line 2561 of the module
    "//bas/700_REL/src/krn/runt/abfunc.c#10".
    The internal operation just processed is "FUNE".
    Internal mode was started at 20070730095806.
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Callstack without Exception:
    App       : disp+work.EXE (pid=4436)
    When      : 7/30/2007 9:58:6.359
    Threads   : 2
    Computer Name       : SAPDEVP
    User Name           : SAPServiceTDV
    Number of Processors: 4
    Processor Type: x86 Family 6 Model 15 Stepping 6
    Windows Version     : 5.2 Current Build: 3790
    State Dump for Thread Id 250c
    eax=34d52300 ebx=000003f8 ecx=0001ccc0 edx=34d039e0 esi=000003f8 edi=00000000
    eip=7c82ed54 esp=053fceb4 ebp=053fcf24 iopl=0         nv up ei ng nz ac po cy
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00200297
    function : KiFastSystemCallRet
    7c82ed54 c3               ret
    7c82ed55 8da42400000000   lea     esp,[esp]              ss:053fceb4=7c822124
    7c82ed5c 8d642400         lea     esp,[esp]              ss:6627b4c7=00002100
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    053fcf24 77e6ba42 000003f8 0001d4c0 00000000 053fcf5c ntdll!KiFastSystemCallRet
    053fcf38 0100b3aa 000003f8 0001d4c0 00000001 7c38b5c8 kernel32!WaitForSingleObject
    053fcf5c 0055b4ac 0055b4e5 7c38b5c8 7c38b5c8 7c38b5c8 disp+work!NTDebugProcess
    053fcf60 0055b4e5 7c38b5c8 7c38b5c8 7c38b5c8 01d35ab0 disp+work!NTStack
    053fcf7c 0055b519 7c38b5c8 00000000 008536a8 7c38b5c8 disp+work!CTrcStack2
    053fcf88 008536a8 7c38b5c8 00000000 005f0059 00300030 disp+work!CTrcStack
    053fcfac 008569fa 6d1d037c 0000001b 00000000 01cfc168 disp+work!rabax_CStackSave [abrabax.c (6871)
    053fd084 006aaaf4 0134837c 0134835c 00000a01 235f1640 disp+work!ab_rabax
    053fd0c0 0067bb56 00000003 34cf5708 00000000 053fd128 disp+work!ab_jfune
    053fd128 007af183 00000000 34cf5708 053fd274 34cf8c26 disp+work!ab_extri
    053fd13c 00837a37 00000000 34cf7dd6 00596fa0 34cf68b4 disp+work!ab_xevent
    053fd148 00596fa0 34cf68b4 000003db 34cf7dd6 00000000 disp+work!ab_dstep
    053fd274 00597fa1 34cf5708 34cf5708 053ffd04 00597b13 disp+work!dynpmcal
    053fd284 00597b13 34cf5708 34cf5708 00000003 053ffd04 disp+work!dynppbo0
    053fd2a0 0056dcf1 34cf5708 0006e768 00000000 0000000c disp+work!dynprctl
    053ffd04 00471848 00000013 07de0048 00000001 00494960 disp+work!dynpen00
    053ffd14 00494960 0000000c 00000000 00000003 00000002 disp+work!Thdynpen00
    053ffee0 00494ee2 00000001 00000000 00000000 00430000 disp+work!TskhLoop
    053fff00 00421150 00000000 00000000 7ffd8000 053fff60 disp+work!ThStart
    053fff14 00401080 00000003 003f6850 00000001 00000000 disp+work!DpMain
    053fff60 011a94a0 00000003 003f6850 003f78f8 01bd5000 disp+work!nlsui_main
    053fffc0 77e523e5 00000000 00000000 7ffd8000 88602680 disp+work!wmainCRTStartup
    053ffff0 00000000 011a935d 00000000 00905a4d 00000003 kernel32!IsProcessorFeaturePresent
    State Dump for Thread Id 27bc
    eax=00000001 ebx=00000103 ecx=fffffffe edx=003f01f8 esi=00000000 edi=00000000
    eip=7c82ed54 esp=075dfec0 ebp=075dff04 iopl=0         nv up ei pl zr na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
    function : KiFastSystemCallRet
    7c82ed54 c3               ret
    7c82ed55 8da42400000000   lea     esp,[esp]              ss:075dfec0=7c821514
    7c82ed5c 8d642400         lea     esp,[esp]              ss:6845e4d3=50004500
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    075dff04 010f7ffc 000006c0 00000000 00000000 003f77d0 ntdll!KiFastSystemCallRet
    075dff84 7c349565 00000000 00000000 00000000 0587ff08 disp+work!SigIMsgFunc
    075dffb8 77e6608b 0587ff08 00000000 00000000 0587ff08 MSVCR71!endthreadex
    075dffec 00000000 7c3494f6 0587ff08 00000000 00000000 kernel32!GetModuleFileNameA
    List of ABAP programs affected
    Index
    Typ
    Program
    Group
    Date
    Time
    Size
    Lang.
    0
    Prg
    SAPMF05A
    0
    22.05.2007
    11:37:49
    1563648
    E
    1
    Prg
    SAPMSSYD
    0
    10.01.2007
    12:33:28
    21504
    E
    2
    Prg
    SAPFSYSCALLS
    0
    09.09.2004
    14:18:32
    8192
    E
    3
    Typ
    TFDIR
    0
    13.02.2005
    17:31:57
    3072
    4
    Prg
    SAPLAPAR_EBPP_SERVICES
    4
    03.01.2007
    11:23:55
    114688
    E
    5
    Typ
    T042ZEBPP
    0
    08.01.2002
    14:42:24
    2048
    6
    Typ
    T020
    0
    24.02.1999
    03:17:19
    3072
    7
    Typ
    RFOPT2
    0
    11.12.2003
    15:00:17
    5120
    8
    Prg
    SAPFF001
    0
    22.05.2007
    11:37:49
    195584
    E
    9
    Typ
    SWOTOBJID
    0
    04.05.1995
    15:20:52
    2048
    10
    Prg
    SAPLSWOR
    10
    10.01.2007
    12:33:34
    292864
    E
    11
    Typ
    TFBUF
    0
    30.11.1998
    22:08:34
    3072
    12
    Typ
    ACC_KONTEXT
    0
    08.01.2003
    17:30:26
    3072
    13
    Typ
    BKPF
    0
    13.03.2006
    11:01:29
    18432
    14
    Prg
    SAPLFACSCORE
    14
    01.12.2006
    22:00:12
    13312
    E
    15
    Typ
    T001
    0
    25.08.2005
    22:03:13
    13312
    16
    Prg
    SAPLACHD
    16
    03.01.2007
    11:23:55
    51200
    E
    17
    Prg
    SAPFSPOR
    0
    09.09.2004
    14:18:32
    15360
    E
    18
    Prg
    SAPLSCNT
    18
    18.02.2005
    14:16:06
    30720
    E
    19
    Typ
    DYCBOX
    0
    20.08.1998
    11:16:53
    3072
    20
    Prg
    SAPLSVSM
    20
    18.02.2005
    14:16:06
    27648
    E
    21
    Prg
    SAPLSGUI
    21
    10.01.2007
    12:33:33
    82944
    E
    22
    Prg
    SAPLSTTM
    22
    05.07.2005
    13:10:18
    69632
    E
    23
    Prg
    SAPLSBDC
    23
    05.07.2005
    13:10:18
    44032
    E
    24
    Prg
    CL_DATAPROVIDER===============CP
    24
    28.02.2005
    21:00:46
    49152
    E
    25
    Prg
    %_CCNTL
    24
    18.02.2005
    14:15:08
    15360
    E
    26
    Typ
    OBJ_RECORD
    0
    14.02.1998
    08:30:43
    2048
    27
    Prg
    SAPLSTUP
    27
    08.03.2005
    19:04:31
    73728
    E
    28
    Prg
    SAPLCNDP
    28
    01.12.2006
    22:04:33
    193536
    E
    29
    Prg
    SAPSHDTV
    18
    05.01.2005
    16:26:16
    33792
    E
    30
    Typ
    SHDSTU
    0
    14.12.1998
    23:15:34
    2048
    31
    Typ
    SHDSTCIU
    0
    14.12.1998
    23:15:34
    2048
    32
    Prg
    SAPFGUICNTL
    0
    18.02.2005
    14:15:08
    24576
    E
    33
    Prg
    SAPLOLEA
    33
    05.07.2005
    13:10:18
    96256
    E
    34
    Prg
    SAPLSFES
    34
    10.01.2007
    13:26:20
    256000
    E
    35
    Prg
    SAPLSPLUGIN
    35
    09.09.2004
    14:18:36
    8192
    E
    36
    Typ
    ARFCRDATA
    0
    13.02.2005
    18:20:24
    7168
    37
    Prg
    SAPLGRFC
    37
    13.02.2005
    18:20:25
    16384
    E
    38
    Typ
    SWCBCONT
    0
    15.11.2000
    17:55:11
    3072
    39
    Typ
    OLE_VERBS
    0
    04.04.1995
    16:02:20
    2048
    40
    Typ
    OLE_PA
    0
    04.04.1995
    16:02:19
    2048
    41
    Typ
    ACGL_HEAD
    0
    11.12.2003
    14:59:21
    8192
    42
    Typ
    RF05A
    0
    11.04.2005
    11:50:21
    38912
    43
    Typ
    TCURC
    0
    01.12.1999
    12:14:40
    2048
    44
    Prg
    SAPLFAGL_ACTIVATION_SERVICES
    44
    30.04.2007
    17:00:55
    45056
    E
    45
    Prg
    SAPLSTR9
    45
    09.05.2006
    10:39:47
    39936
    E
    46
    Prg
    CONTEXT_X_TR_SYS_PARAMS
    45
    09.05.2006
    10:39:47
    40960
    E
    47
    Typ
    TCONT
    0
    09.09.2004
    14:18:43
    2048
    48
    Typ
    CONTEXTB
    0
    09.09.2004
    14:15:52
    6144
    49
    Typ
    FAGL_ACTIVEC
    0
    19.08.2004
    16:55:10
    5120
    50
    Typ
    FAGL_CHECK_SETUP
    0
    11.12.2003
    15:01:05
    2048
    51
    Prg
    SAPLSHD0
    51
    03.01.2007
    06:52:22
    232448
    E
    52
    Prg
    SAPLBFFM3
    52
    10.01.2007
    13:15:21
    169984
    E
    53
    Typ
    OFIWA
    0
    15.04.1998
    00:11:05
    2048
    54
    Typ
    FTEXTS
    0
    20.08.2001
    12:13:26
    3072
    55
    Prg
    SAPLITSR
    55
    10.01.2007
    14:23:52
    107520
    E
    56
    Typ
    FMRFC
    0
    13.08.1997
    12:32:59
    2048
    57
    Typ
    TBE01
    0
    20.01.2003
    16:41:38
    2048
    58
    Typ
    TBE31
    0
    03.09.1997
    03:01:11
    2048
    59
    Typ
    TBE31
    0
    03.09.1997
    03:01:11
    2048
    60
    Typ
    TBE11
    0
    03.09.1997
    03:01:06
    2048
    61
    Prg
    CONTEXT_X_SP_INFO
    55

    Hello Sowmya
    The BAdI BADI_LAYER is not defined for <b>Multiple-Use</b> (see checkbox on tabstrip <i>Attributes</i>).
    Apparently you have created <i>several </i>implementation of this BAdI and activated <i>several </i>(at least 2) of these implementations.
    If you inactivate all except a single implementation the BAdI (and all transactions using this BAdI) should work again.
    Regards
      Uwe

  • BCS Release Request Short dump

    Hello,
    I'm trying to release my costumizing request, that contains the SEM-BCS configuration, although i'm getting a short-dump.
    The description is as follows:
    Short text
        Access via 'NULL' object reference not possible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_UG_MD_TR_METHOD_EXPORT=====CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: " ").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    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:
        "OBJECTS_OBJREF_NOT_ASSIGNED" " "
        "CL_UG_MD_TR_METHOD_EXPORT=====CP" or "CL_UG_MD_TR_METHOD_EXPORT=====CM003"
        "UGMD_EXTRACT_SID_2"
    Information on where terminated
        Termination occurred in the ABAP program "CL_UG_MD_TR_METHOD_EXPORT=====CP" -
         in "UGMD_EXTRACT_SID_2".
        The main program was "RDDM0001 ".
        In the source code you have the termination point in line 62
        of the (Include) program "CL_UG_MD_TR_METHOD_EXPORT=====CM003".
    Source Code Extract
    Line  SourceCde
       32   FIELD-SYMBOLS <lt_table> TYPE INDEX TABLE.
       33   FIELD-SYMBOLS <ld_fsid> TYPE ug_sid.
       34   FIELD-SYMBOLS <ld_vsid> TYPE ug_sid.
       35 *  FIELD-SYMBOLS <lt_target> TYPE ANY TABLE.
       36
       37   ASSIGN io_itab->rd_wa->* TO <ls_wa>.
       38   IF i_value_sid IS NOT INITIAL.
       39     ASSIGN COMPONENT i_value_sid
       40            OF STRUCTURE <ls_wa>
       41            TO <ld_vsid>.
       42     CHECK sy-subrc = 0.
       43   ELSE.
       44     CREATE DATA lr_sid.
       45     ASSIGN lr_sid->* TO <ld_vsid>.
       46     CLEAR <ld_vsid>.
       47   ENDIF.
       48
       49   IF NOT i_fieldname_sid IS INITIAL.                  "Start hah160603.1
       50     ASSIGN COMPONENT i_fieldname_sid
       51            OF STRUCTURE <ls_wa>
       52            TO <ld_fsid>.
       53     CHECK sy-subrc = 0.
       54   ELSE.
       55     CALL METHOD ugmd_get_fieldname_to_table
       56       EXPORTING
       57         i_tabname = i_datainfo-tabname
       58       IMPORTING
       59         e_fieldname = ld_fieldname.
       60     lo_fieldname = cl_ug_md_fieldname=>if_ug_md_fieldname~get_instance(
       61       ld_fieldname ).
       62  >>>>>     ld_fieldname_sid_fix = lo_fieldname->ds_data-sid.
       63     ASSIGN ld_fieldname_sid_fix TO <ld_fsid>.
       64   ENDIF.                                                "End hah160603.1
       65
    Contents of system fields
    Name     Val.
    SY-SUBRC 0
    SY-INDEX 1
    SY-TABIX 0
    SY-DBCNT 0
    SY-FDPOS 0
    SY-LSIND 1
    SY-PAGNO 0
    SY-LINNO 1
    SY-COLNO 1
    SY-PFKEY TDR_FULL
    SY-UCOMM REFR
    SY-TITLE Transport organizer: ordens
    SY-MSGTY I
    SY-MSGID FINB_TR
    SY-MSGNO 009
    SY-MSGV1 &
    SY-MSGV2 &
    SY-MSGV3
    SY-MSGV4
    SY-MODNO 0
    SY-DATUM 20080904
    SY-UZEIT 200112
    SY-XPROG SAPLSYST
    SY-XFORM SYSTEM_HOOK_OPEN_DATASET
    If someone have gone trough a similar experience, or have any tip of how to solve this issue, i'd apreciate a comment.
    Will award points for valuable help.
    Thank you

    Hi Ricardo,
    You tried to transport the BCS' configuration, right?
    If in the request was the full set of settings from the start of the project, the it will definitely fail.
    There are some restrictions in BCS transport. See, for example the OSS Note #627924 - 'Restrictions with transport in BW-based SEM-BCS'. It particularly says:
    "For the initial system setup, and after substantial changes in the data model, you should transport the Customizing by means of manually created transport requests. We advise you not to use the automatic recording of all Customizing settings during the first implementation phase in the development system and not to use this request for the structure of the test and productive systems.
    During the transport of a new consolidation area, the following settings should be transported in the following sequence:
    1. Data basis
    2. Consolidation area
    3. Special versions
    After the import of the data basis and the consolidation area, these settings should be checked in the target system. In particular, the RFC destination, the InfoCubes and ODS objects, as well as the InfoObjects. Note that RFC destinations, InfoCubes, ODS objects, virtual cubes and InfoObjects cannot be transported from the consolidation workbench with the transport functions. For instance, you have to transport and activate the InfoCubes and InfoObjects using the BW."
    I usually transport the BCS setting in a little transport requests in this order:
    - all BW objects and settings
    - data basis (with source DB)
    - cons area
    - special versions
    - versions
    - master data
    ...etc.
    Hope this helps.

  • Getting Short dump When Executing MIGO:    SYNTAX_ERROR

    Please Help,
    I am getting this dump, when i hit MIGO transaction
    Runtime Errors         SYNTAX_ERROR
    Date and Time          10.12.2008 08:28:03
         Short text
              Syntax error in program "MB_MIGO_BADI==================CP ".
         What happened?
              Error in the ABAP Application Program
              The current ABAP program "CL_EX_MB_MIGO_BADI============CP" had to be
               terminated because it has
              come across a statement that unfortunately cannot be executed.
              The following syntax error occurred in program
               "MB_MIGO_BADI==================CP " in include
               "MB_MIGO_BADI==================CM000 " in
              line 0:
              "The specified type cannot be converted into the target variables."
              The include has been created and last changed by:
              Created by: "SAP "
              Last changed by: "SAP "
              Error in the ABAP Application Program
              The current ABAP program "CL_EX_MB_MIGO_BADI============CP" had to be
               terminated because it has
              come across a statement that unfortunately cannot be executed.
         What can you do?
              Please eliminate the error by performing a syntax check
              (or an extended program check) on the program "MB_MIGO_BADI==================CP
              You can also perform the syntax check from the ABAP Editor.
              If the problem persists, proceed as follows:
              Note down which actions and inputs caused the error.
              To process the problem further, contact you SAP system
              administrator.
              Using Transaction ST22 for ABAP Dump Analysis, you can look
              at and manage termination messages, and you can also
              keep them for a long time.
         Error analysis
              The following syntax error was found in the program
               MB_MIGO_BADI==================CP :
              "The specified type cannot be converted into the target variables."
         How to correct the error
              Probably the only way to eliminate the error is to correct the program.
              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... "DMATE"
              Network address...... "140.1.1.141"
              Operating system..... "Windows NT"
              Release.............. "5.2"
              Hardware type........ "4x AMD64 Level"
              Character length.... 16 Bits
              Pointer length....... 64 Bits
              Work process number.. 1
              Shortdump setting.... "full"
              Database server... "dmate"
              Database type..... "ADABAS D"
              Database name..... "AD0"
              Database user ID.. "SAPAD0"
              Char.set.... "C"
              SAP kernel....... 700
              created (date)... "Jun 23 2008 00:09:46"
              create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
              Database version. "SQLDBC 7.6.0.018 CL 119055 "
              Patch level. 166
              Patch text.. " "
              Database............. "MaxDB 7.6, MaxDB 7.7"
              SAP database version. 700
              Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
               NT 6.0"
              Memory consumption
              Roll.... 16192
              EM...... 8379680
              Heap.... 0
              Page.... 40960
              MM Used. 1627776
              MM Free. 2559440
         User and Transaction
              Client.............. 040
              User................ "LAKSHMI"
              Language key........ "E"
              Transaction......... "MIGO "
              Transactions ID..... "EE72C6DDC96BF1F99FA4001143E563CA"
              Program............. "CL_EX_MB_MIGO_BADI============CP"
              Screen.............. "SAPLMIGO 0001"
              Screen line......... 2
         Information on where terminated
              Termination occurred in the ABAP program "CL_EX_MB_MIGO_BADI============CP" -
               in "IF_EX_MB_MIGO_BADI~INIT".
              The main program was "SAPLMIGO ".
              In the source code you have the termination point in line 1
              of the (Include) program "CL_EX_MB_MIGO_BADI============CM001".
         Source Code Extract
         Line     SourceCde
         >>>>>     method IF_EX_MB_MIGO_BADI~INIT.
             2       CLASS CL_EXIT_MASTER DEFINITION LOAD.
             3     
             4       DATA l_badi TYPE REF TO MB_MIGO_BADI.
             5     
             6     
             7     
             8     
             9     
            10       TRY.
            11     
            12         GET BADI l_badi
            13          CONTEXT me.
            14     
            15         CALL BADI l_badi->INIT
            16     
            17          CHANGING
            18            CT_INIT = CT_INIT.
            19     
            20     
         Contents of system fields
         Name     Val.
         SY-SUBRC     0
         SY-INDEX     0
         SY-TABIX     1
         SY-DBCNT     1
         SY-FDPOS     1
         SY-LSIND     0
         SY-PAGNO     0
         SY-LINNO     1
         SY-COLNO     1
         SY-PFKEY     
         SY-UCOMM     
         SY-TITLE     
         SY-MSGTY     S
         SY-MSGID     VBDOCUBATCH
         SY-MSGNO     001
         SY-MSGV1     
         SY-MSGV2     
         SY-MSGV3     
         SY-MSGV4     
         SY-MODNO     0
         SY-DATUM     20081210
         SY-UZEIT     082802
         SY-XPROG     
         SY-XFORM     
         Active Calls/Events
         No.   Ty.          Program                             Include                             Line
               Name
             4 METHOD       CL_EX_MB_MIGO_BADI============CP    CL_EX_MB_MIGO_BADI============CM001     1
               CL_EX_MB_MIGO_BADI=>IF_EX_MB_MIGO_BADI~INIT
             3 METHOD       SAPLMIGO                            LMIGOGL2                               54
               LCL_MIGO_GLOBALS=>CLASS_CONSTRUCTOR
             2 FORM         SAPLMIGO                            LMIGOIN1                               11
               INITIALIZATION
             1 MODULE (PBO) SAPLMIGO                            LMIGOPBO                               11
               PBO_INITILIZATION
         Chosen variables
         Name
             Val.
         No.          4     Ty.      METHOD
         Name      CL_EX_MB_MIGO_BADI=>IF_EX_MB_MIGO_BADI~INIT
         CT_INIT
              Table[initial]
         %_DUMMY$$
                 2222
                 0000
                 0000
                 0000
         SYST-REPID
              CL_EX_MB_MIGO_BADI============CP
                 4454554454444544443333333333334522222222
                 3CF58FD2FD97FF2149DDDDDDDDDDDD3000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         SY-SUBRC
              0
                 0000
                 0000
         No.          3     Ty.      METHOD
         Name      LCL_MIGO_GLOBALS=>CLASS_CONSTRUCTOR
         SY-REPID
              SAPLMIGO
                 5454444422222222222222222222222222222222
                 310CD97F00000000000000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         LCL_MIGO_GLOBALS=>CNTL_ERROR
                 2
                 0
                 0
                 0
         ABAP_FALSE
                 2
                 0
                 0
                 0
         SYST-REPID
              SAPLMIGO
                 5454444422222222222222222222222222222222
                 310CD97F00000000000000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         GOSEARCH_PO
                 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         TEXT-220
              Dest
                 46772222
                 45340000
                 00000000
                 00000000
         %_SPACE
                 2
                 0
                 0
                 0
         %_TAG*TS_GOITEM
              <initial>
                 <initial>
                 <initial>
         X
              X
                 5
                 8
                 0
                 0
         LCL_MIGO_GLOBALS=>IF_BADI
                 F0000000
                 70008000
         %_FL2*TV_GOFREIGHT
              <initial>
                 <initial>
                 <initial>
         %_PRINT
                  000                                                                                0###
                 2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         LCL_MIGO_GLOBALS=>T_BADI
              Table[initial]
         /SPE/CL_INB_ACTION_INFO=>C_DIALOG_MIGO
         SCREEN
                 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         OREF_TITLEBAR
                 F0000000
                 F0000000
         L_BADIS_1
              0
                 0000
                 0000
         SY-MSGID
              VBDOCUBATCH
                 54444544544222222222
                 624F3521438000000000
                 00000000000000000000
                 00000000000000000000
         OREF_TIP
                 F0000000
                 F0000000
         TV_GOSERIAL-CX
              <initial>
                 <initial>
                 <initial>
         SPACE
                 2
                 0
                 0
                 0
         SY-MSGNO
              001
                 333
                 001
                 000
                 000
         No.          2     Ty.      FORM
         Name      INITIALIZATION
         OREF_ARCH
                 F0000000
                 F0000000
         LCL_MIGO_GLOBALS=>KERNEL
                 F0000000
                 D0002000
         %_CX_TABLEVIEW_VERSION
              0
                 3
                 0
                 0
                 0
         GODEFAULT-DEF_XBOM
                 2
                 0
                 0
                 0
         LCL_MIGO_GLOBALS=>KERNEL->C_REFDOCTYPE_MATDOC
              MAT
                 445
                 D14
                 000
                 000
         No.          1     Ty.      MODULE (PBO)
         Name      PBO_INITILIZATION
         GOITEM-UMWRK
                 2222
                 0000
                 0000
                 0000
         GOITEM-UMNAME1
                 222222222222222222222222222222
                 000000000000000000000000000000
                 000000000000000000000000000000
                 000000000000000000000000000000
         Internal notes
              The termination was triggered in function "ab_genprog"
              of the SAP kernel, in line 1551 of the module
               "//bas/700_REL/src/krn/runt/abgen.c#10".
              The internal operation just processed is "CPOP".
              Internal mode was started at 20081210082802.
              Program name.........: "MB_MIGO_BADI==================CP ".
              Error message........: "The specified type cannot be converted into the target
               variables.".
         Active Calls in SAP Kernel
         Lines of C Stack in Kernel (Structure Differs on Each Platform)
         SAP (R) - R/3(TM) Callstack, Version 1.0
         Copyright (C) SAP AG. All rights reserved.
         Callstack without Exception:
         App       : disp+work.EXE (pid=5776)
         When      : 12/10/2008 8:28:3.84
         Threads   : 2
         Computer Name       : DMATE
         User Name           : SAPServiceAD0
         Number of Processors: 4
         Processor Type: EM64T Family 15 Model 4 Stepping 1
         Windows Version     : 5.2 Current Build: 3790
         State Dump for Thread Id 14f0
         FramePtr         ReturnAd         Param#1          Function Name
         0000000007eb8800 0000000077d7047f 00000000411b4070 ntdll!NtWaitForSingleObject
         0000000007eb88a0 000000000173b1d1 000000000000042c kernel32!WaitForSingleObjectEx
         0000000007eb8af0 00000000006179c5 0000000000000001 disp+work!NTDebugProcess [ntstcdbg.c (501)]
         0000000007eb8b20 0000000000b05d9c 0000000000000001 disp+work!CTrcStack [dptstack.c (182)]
         0000000007eb8b70 0000000000b0afc0 0000000000000001 disp+work!rabax_CStackSave [abrabax.c (7093)]
         0000000007eb9550 0000000000a51c94 0000000001d12320 disp+work!ab_rabax [abrabax.c (1231)]
         0000000007ebc220 00000000007f753a 0000000000000001 disp+work!ab_genprog [abgen.c (1555)]
         0000000007ebc2f0 00000000007f7dc8 00000000ffffffff disp+work!newload [abload1.c (336)]
         0000000007ebc350 00000000007f7e8e 0000000000000056 disp+work!ab_LoadProgOrTrfo [abload1.c (160)]
         0000000007ebc380 00000000007bc84d 000007fe725a5f70 disp+work!ab_LoadProg [abload1.c (78)]
         0000000007ebc450 00000000007be91a 00002a441022f402 disp+work!LoadGlobalClass [abobject.c (943)]
         0000000007ebc4a0 00000000007c1bdd 0000000000000000 disp+work!ab_FillCfix [abobject.c (1603)]
         0000000007ebc580 000000000083ae52 0000000000000000 disp+work!ab_jaboo [abobject.c (2248)]
         0000000007ebc700 0000000000a1ccb7 000000000000000d disp+work!ab_extri [abextri.c (554)]
         0000000007ebc750 0000000000ad50ac 000000000000000d disp+work!ab_xevent [abrunt1.c (281)]
         0000000007ebc7e0 0000000000679328 000000000000000d disp+work!ab_dstep [abdynpro.c (492)]
         0000000007ebc960 000000000067d02d 000007fe725d6f20 disp+work!dynpmcal [dymainstp.c (2396)]
         0000000007ebc9f0 000000000067ca2a 0000000000000000 disp+work!dynppbo0 [dymainstp.c (543)]
         0000000007ebcaa0 00000000006395c5 0000000000000000 disp+work!dynprctl [dymainstp.c (360)]
         0000000007ebfc30 00000000004dbc4c 000000000000000c disp+work!dynpen00 [dymain.c (1646)]
         0000000007ebfeb0 000000000042f096 0000000007f62ff0 disp+work!TskhLoop [thxxhead.c (4538)]
         0000000007ebfee0 000000000040108d ffffffff00000003 disp+work!DpMain [dpxxdisp.c (1136)]
         0000000007ebff10 00000000019e84b1 0000000000000000 disp+work!nlsui_main [thxxanf.c (84)]
         0000000007ebff70 0000000077d5966c 0000000000000000 disp+work!wmainCRTStartup [crtexe.c (498)]
         0000000007ebffa0 0000000000000000 00000000019e8340 kernel32!BaseProcessStart
         State Dump for Thread Id b94
         FramePtr         ReturnAd         Param#1          Function Name
         000000000c9dfe40 0000000077d5f651 0000000000000000 ntdll!NtFsControlFile
         000000000c9dfeb0 00000000018ce23f fffffffffffffffe kernel32!ConnectNamedPipe
         000000000c9dff40 000007ff7fc411c4 0000000000000000 disp+work!SigIMsgFunc [signt.c (679)]
         000000000c9dff70 0000000077d6b69a 0000000077d6b660 msvcrt!endthreadex
         000000000c9dffa0 0000000000000000 0000000000000000 kernel32!BaseThreadStart
         List of ABAP programs affected
         Index     Typ     Program     Group     Date     Time     Size     Lang.
              0     Prg     SAPLMIGO          0     04.05.2008     12:54:34       1561600     E
              1     Prg     SAPMSSYD          0     25.02.2008     17:02:32         21504     E
              2     Prg     SAPFSYSCALLS          0     09.09.2004     14:18:32          7168     E
              3     Prg     CL_MMIM_USERDEFAULTS==========CP          3     06.05.2002     10:42:38         21504     E
              4     Typ     ESDUS          0     01.03.1999     13:36:04          2048     
              5     Typ     GOHEAD          0     07.02.2006     10:07:36         11264     
              6     Typ     MKPF          0     25.08.2005     22:02:19          7168     
              7     Typ     KBEFU          0     16.03.2008     17:46:49          6144     
              8     Typ     LFA1          0     16.03.2008     17:47:20         22528     
              9     Typ     MIGO_CUST_ACTION          0     30.11.1999     10:19:14          3072     
             10     Typ     MIGO_CUST_REFDOC          0     30.11.1999     10:19:14          2048     
             11     Typ     X031L          0     05.07.2005     13:10:15          6144     
             12     Prg     SAPLSDIFRUNTIME         12     19.11.2006     16:35:34         96256     E
             13     Typ     DFIES          0     28.12.2004     17:06:45         10240     
             14     Prg     SAPLSDNT         14     09.03.2008     19:02:04        219136     E
             15     Prg     SAPLSUGS         15     31.03.2006     11:23:11         47104     E
             16     Prg     SAPLV01D         16     24.03.2008     17:03:30         40960     E
             17     Typ     IWRKZ          0     04.04.1995     15:56:46          2048     
             18     Typ     TCUCH          0     07.01.2002     15:50:54          3072     
             19     Typ     TCUBN          0     07.01.2002     15:50:53          2048     
             20     Typ     TCUWS          0     13.08.1997     13:57:58          2048     
             21     Typ     TCUDRV          0     07.01.2002     15:50:54          2048     
             22     Prg     SAPLVBDOCUBATCH_BF         22     16.01.2004     14:28:56         10240     E
             23     Typ     TCUDB          0     14.01.2004     10:05:59          2048     
             24     Prg     CL_GUI_CFW====================CP         24     28.02.2005     21:03:09        168960     E
             25     Prg     CL_GUI_PROPS_CONSUMER=========CP         25     18.03.2008     13:25:33         29696     E
             26     Prg     %_CCNTL         25     18.02.2005     14:15:08         15360     E
             27     Prg     SAPLTHFB         27     18.03.2008     13:24:52        394240     E
             28     Typ     EUDB          0     06.11.2003     20:28:08          8192     
             29     Typ     TCURM          0     01.03.2005     10:56:26          5120     
             30     Prg     CL_EXITHANDLER================CP         30     18.03.2008     13:11:35         30720     E
             31     Prg     SAPLSEXV         31     18.03.2008     13:12:58        117760     E
             32     Typ     SXS_ATTR          0     07.02.2006     10:09:24          5120     
             33     Typ     BADIISIMPLED          0     19.05.2005     19:10:34          3072     
             34     Prg     CL_ENH_BADI_TOOL_UTILITIES====CP         34     17.03.2008     11:03:36         13312     E
             35     Typ     BADI_MAIN          0     08.12.2004     18:01:11          2048     
             36     Typ     BADI_IMPL          0     09.12.2004     19:05:43          3072     
             37     Typ     TADIR          0     07.02.2006     10:08:38          5120     
             38     Prg     CL_SWITCH=====================CP         38     17.03.2008     11:13:47         19456     E
             39     Typ     SFW_PACKAGE          0     07.03.2008     12:18:16          2048     
             40     Prg     CL_ABAP_SWITCH================CP         40     14.10.2006     15:40:30         33792     E
             41     Prg     SAPLPA_PACKAGE_SERVICES         41     18.03.2008     13:12:54        152576     E
             42     Typ     TDEVC          0     08.12.2004     18:02:41          6144     
             43     Prg     CL_EX_MB_MIGO_BADI============CP         43     05.12.2008     17:09:58         30720     E
             44     Prg     IF_EX_MB_MIGO_BADI============IP         30     19.05.2005     19:30:39         14336     E
             45     Typ     SYST          0     09.09.2004     14:18:12         31744     
             46     Typ     GOSEARCH_PO          0     20.07.2001     19:17:34          4096     
             47     Prg     /SPE/CL_INB_ACTION_INFO=======CP         47     24.03.2008     20:30:06         20480     E
             48     Prg     /SPE/IF_CONST=================IP         47     14.10.2006     18:49:02          7168     E
             49     Typ     GODEFAULT          0     14.01.2004     10:04:46          5120     
             50     Typ     GOITEM          0     07.02.2006     10:07:36         65536     
         Directory of Application Tables
         Name                                     Date       Time       Lngth
             Val.
         Program      SAPLMIGO
         SYST            .  .            :  :          00004612
              \0\0\0\0\x0001\0\x0370\0\0\0\0\0\0\0\0\0\0\0\0\0\x0001\0
         GOITEM            .  .            :  :          00005524
                        00000000000000000000
         GOSEARCH_PO            .  .            :  :          00000492
         GODEFAULT            .  .            :  :          00000220
         Program      SAPLV01D
         TCUCH            .  .            :  :          00000122
              0401100020061029095148ANOOPJ      00000000000000
         TCUWS            .  .            :  :          00000060
              040020061227101454CONSULTANT     
         TCUBN            .  .            :  :          00000060
              040020061227101454CONSULTANT     
         TCUDRV            .  .            :  :          00000064
                    00000000000000     
         Program      CL_GUI_PROPS_CONSUMER=========CP
         EUDB            .  .            :  :          00004068
              %CAA72C6DDAD55F1179FA4001143E563CA         \0\0\0
         ABAP Control Blocks (CONT)
         Index     Name     Fl     PAR0     PAR1     PAR2     PAR3     PAR4     PAR5     PAR6     Source Code     Line
            94     BRAX     01     FFEB                                   CL_EX_MB_MIGO_BADI============CM001           15
            95     CLEA     00     0020                                   CL_EX_MB_MIGO_BADI============CM001           15
            96     EXCP     08     0000                                   CL_EX_MB_MIGO_BADI============CM001           22
            97     BRAX     00     0005                                   CL_EX_MB_MIGO_BADI============CM001           22
            98     EXCP     00     0007                                   CL_EX_MB_MIGO_BADI============CM001           22
            99     BRAX     00     0003                                   CL_EX_MB_MIGO_BADI============CM001           22
           100     EXCP     07     0000                                   CL_EX_MB_MIGO_BADI============CM001           22
           101     BRAX     00     0001                                   CL_EX_MB_MIGO_BADI============CM001           23
           102     EXCP     0B     0000                                   CL_EX_MB_MIGO_BADI============CM001           23
           103     METH     01     0000     0000     0000     0000     0000     0000     0000     CL_EX_MB_MIGO_BADI============CM001           24
           107     -
         00     0000                                   CL_EX_MB_MIGO_BADI============CM001           24
           108     ABOO     02     0000     0005     0000                         CL_EX_MB_MIGO_BADI============CM001            1
         >>>>>     CPOP     00     0000                                   CL_EX_MB_MIGO_BADI============CM001            1
           111     -
         00     0000                                   CL_EX_MB_MIGO_BADI============CM001            1
           112     METH     04     0000     0005     0002     0000     0003     0000     0000     CL_EX_MB_MIGO_BADI============CM002            1
           116     PAR2     04     0000     C000     0000                         CL_EX_MB_MIGO_BADI============CM002            1
           118     PAR2     04     0000     C001     0000                         CL_EX_MB_MIGO_BADI============CM002            1
           120     PAR2     14     0000     C002     0000                         CL_EX_MB_MIGO_BADI============CM002            1
           122     PAR2     14     0000     C003     0000                         CL_EX_MB_MIGO_BADI============CM002            1
           124     PAR2     14     0000     C004     0000                         CL_EX_MB_MIGO_BADI============CM002            1

    Hai,
    Seems to be problem with the Program.
    Please check the point 'What Happened' in the dump for more details.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_EX_MB_MIGO_BADI============CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program
    "MB_MIGO_BADI==================CP " in include
    "MB_MIGO_BADI==================CM000 " in
    line 0:
    "The specified type cannot be converted into the target variables."
    Error in the ABAP Application Program
    The current ABAP program "CL_EX_MB_MIGO_BADI============CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Please eliminate the error by performing a syntax check
    (or an extended program check) on the program "MB_MIGO_BADI==================CP
    You can also perform the syntax check from the ABAP Editor.
    Take help from a ABAP consultant and try to check the syntax of the Program.
    If you have access even you can check the syntax of the specified program from SE38.
    Goto SE38 and put the program name and select 'Source code' and press F8, IN THE SOURCE CODE PAGE, press control+F2 and check whether there is any problem with the syntax or not.
    If you find any take help from ABAP consultants.
    Hope this helps.
    Regards,
    Yoganand.V

  • Short dump when expand info provide

    Dear all,
    I have 0GL_ACOOUNT info object that act as a master data.
    the problem is when I want to expand at the info provider instantly create short dump
    the overview of the short dump is :
    Runtime Errors         ASSERTION_FAILED
    Date and Time          12.08.2009 10:08:16
    Short text
         The ASSERT condition was violated.
    What happened?
         In the running application program, the ASSERT statement recognized a
         situation that should not have occurred.
         The runtime error was triggered for one of these reasons:
         - For the checkpoint group specified with the ASSERT statement, the
           activation mode is set to "abort".
         - Via a system variant, the activation mode is globally set to "abort"
           for checkpoint groups in this system.
         - The activation mode is set to "abort" on program level.
         - The ASSERT statement is not assigned to any checkpoint group.
    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.
    Information on where terminated
        Termination occurred in the ABAP program "CL_RSAWBN_OBJ_IOBJ_DATA=======CP" -
         in "GET_TRFN_AWBSUBOBJ".
        The main program was "RSAWBN_START ".
        In the source code you have the termination point in line 23
        of the (Include) program "CL_RSAWBN_OBJ_IOBJ_DATA=======CM005".
    Source Code Extract
    Line  SourceCde
        1 METHOD get_trfn_awbsubobj .
        2
        3   DATA: l_tranid   TYPE rstranid,
        4         l_s_source TYPE rstran_s_tlogo,
        5         l_s_target TYPE rstran_s_tlogo,
        6         l_objvers  TYPE rsobjvers.
        7
        8   l_tranid = i_objnm.
        9   l_objvers = rs_c_objvers.
       10
       11 * get the source and target for the tranid
       12   WHILE l_s_source IS INITIAL OR l_s_target I
       13     TRY.
       14         cl_rstran_stat=>get_objects(
       15           EXPORTING
       16             i_tranid   = l_tranid
       17             i_objvers  = l_objvers
       18           IMPORTING
       19             e_s_source = l_s_source
       20             e_s_target = l_s_target
       21                ).
       22       CATCH cx_rstran_not_found .
    >>>>>         ASSERT sy-index < 2.
       24     ENDTRY.
       25 * for possible second run set objvers
       26     l_objvers = rs_c_objvers-modified.
       27   ENDWHILE.
      29 * pass back the su
      30   IF i_target = rs
      31     re_awbsubobjec
      32   ELSE.
      33     re_awbsubobjec
      34   ENDIF.
      35
      36 ENDMETHOD.
    Please advice

    HI,
    I have read the sap notes and that is exactly what happen to me.
    but I don't understand how to correct it.
    It said :
    This error cannot be corrected automatically. Use the method DELETE_VERSION_FROM_DB of the class CL_RSTRAN_STAT to delete the existing A version of the transformation manually in the target system.
    Ensure that the transformation is permanently deleted from the database; therefore, you should verify that the correct transformation ID is specified (in the short dump, the TranID that is specified in the short dump is in the variable L_TRANID).
    anybody know how to use delete_version_from_db ?
    please advice

  • Data is not fetching in inner join

    Hi Experts,
    I developed a select query using inner joins, all the fields data is gettting appended, but one field DISPO data is not getting appeneded. please check the innerjoin and suggest me ur soluitons.
    MODULE GET_DATA OUTPUT.
      select   arbpl
             sptag
             aufnr
             plnum
             posnr
             plnfl
             werks  from s022
                        into table it_s022
                         where arbpl in s_arbpl
                          and  werks in s_werks
                          and  sptag in s_sptag
                          and  matnr in s_matnr.
    if sy-subrc eq 0.
    select a~aufnr
           a~posnr
           a~kdauf
           a~pgmng
           a~plnum
           a~strmp
           b~plnty
           b~gamng
           b~igmng
           b~iasmg
           b~rmnga
           b~gstrp
           b~rsnum
           b~plnbez
           b~dispo
           c~maktx
           b~plnnr
           b~plnty
           b~zaehl
           d~vornr
           d~ltxa1
           b~aufpl
           b~aplzt
           e~astnr
           into corresponding fields of table it_afpo from  afko as b
                    inner join afpo as  a
                     on a~aufnr = b~aufnr
                    inner join makt as c
                     on b~plnbez = c~matnr
                    inner join plpo as d
                     on b~plnnr  = d~plnnr
                      and b~plnty = d~plnty
                      and b~zaehl  = d~zaehl
                     inner join aufk as e
                      on b~aufnr = e~aufnr
                    inner join marc as f
                     on bplnty = fmatnr
                    for all entries in it_s022
                     where b~aufnr = it_s022-aufnr.
                         and e~erdat = it_s022-sptag
                     and  a~posnr = it_s022-posnr
                    and  a~plnum = it_s022-plnum .  .
      if sy-subrc eq 0.
        it_afpo1[] = it_afpo[].
        sort it_afpo1 by aufpl." aplzt."""
        delete ADJACENT DUPLICATES FROM it_afpo1 COMPARING aufpl." aplzt ."""
        select aufpl
               aplzl
               fsavd
               fsavz
               ssedd
               ssedz
               mgvrg
                FROM  afvv  INTO TABLE It_afvv
                               FOR ALL ENTRIES IN IT_afpo1
                               WHERE aufpl = IT_afpo1-aufpl.
                                and aplzl = it_afpo1-aplzt.
       endif.
    loop at it_afpo into wa_afpo.
    DATA : G_SLNO(8) TYPE C.
    G_SLNO = G_SLNO + 1.
    wa_afpo-slno = g_slno.
        move-corresponding wa_afpo to wa_final.
       move-corresponding wa_afko to wa_final.
      read table it_afvv into wa_afvv with key
                aufpl = wa_afpo-aufpl binary search."aplzl = wa_afpo-aplzt binary search."""
    *read table it_afko into wa_afko with key aufnr = wa_final-aufnr.
      IF SY-SUBRC EQ 0.
        move-corresponding wa_afvv to wa_final.
    bal_qty = wa_final-gamng - wa_final-igmng.
        move : wa_afpo-slno  to wa_final-slno,
               wa_afpo-aufnr to wa_final-aufnr,
               wa_afpo-posnr to wa_final-posnr,
               wa_afpo-kdauf to wa_final-kdauf, " Sales order Number
               wa_afpo-pgmng to wa_final-pgmng, " Order item qty
               wa_afpo-plnum to wa_final-plnum, " Planned  Order Qty
               wa_afpo-strmp to wa_final-strmp, " Planned Order Date
               wa_afpo-gstrp to wa_final-gstrp, " Basic Finish  date
               wa_afpo-rsnum to wa_final-rsnum, " Number of Reservation
               wa_afpo-plnbez to wa_final-plnbez, " Material Number
               wa_afpo-maktx to wa_final-maktx,
               wa_afpo-plnnr to wa_final-plnnr,
               wa_afpo-plnty to wa_final-plnty,
               wa_afpo-zaehl to wa_final-zaehl,
               wa_afpo-vornr to wa_final-vornr,
               wa_afpo-ltxa1 to wa_final-ltxa1,
               wa_afpo-aufpl to wa_final-aufpl,
               wa_afvv-fsavd to wa_final-fsavd,
               wa_afvv-fsavz to wa_final-fsavz,
               wa_afvv-ssedd to wa_final-ssedd,
               wa_afvv-ssedz to wa_final-ssedz,
               wa_afvv-mgvrg to wa_final-mgvrg,
               wa_afko-igmng to wa_final-igmng,
               wa_afko-iasmg to wa_final-iasmg,
               wa_afko-rmnga to wa_final-rmnga,
               wa_afko-dispo to wa_final-dispo,
              wa_afko-bal_qty to wa_final-bal_qty,
               wa_aufk-astnr to wa_final-astnr,
               wa_afpo-text  to wa_final-text.
    *bal_qty = wa_final-gamng - wa_final-igmng.
    *bal_qty = wa_afko-bal_qty.
      endif.
      append wa_final to it_final.
      clear:wa_final ,wa_afpo,wa_afvv,wa_aufk,wa_afko.
    endloop.
    endif.
    ENDMODULE.                 " GET_DATA  OUTPUT
    *&      Module  DISPLAY_DATA  OUTPUT
          text
    MODULE DISPLAY_DATA OUTPUT.
      IF REF_CONTAINER IS INITIAL.
         PERFORM FIELD_CAT.
      CREATE OBJECT REF_CONTAINER
      EXPORTING
           PARENT                      =
        CONTAINER_NAME              = 'CUSTOM_CONTROL'
           STYLE                       =
           LIFETIME                    = lifetime_default
           REPID                       =
           DYNNR                       =
           NO_AUTODEF_PROGID_DYNNR     =
          EXCEPTIONS
            CNTL_ERROR                  = 1
            CNTL_SYSTEM_ERROR           = 2
            CREATE_ERROR                = 3
            LIFETIME_ERROR              = 4
            LIFETIME_DYNPRO_DYNPRO_LINK = 5
            others                      = 6
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      L_LAYO-ZEBRA = 'X'.
      L_LAYO-GRID_TITLE = 'JOB CARD'.
      data: variant type disvariant.
      CREATE OBJECT REF_ALV_GRID
        EXPORTING
           I_SHELLSTYLE      = 0
           I_LIFETIME        =
          I_PARENT          = REF_CONTAINER
           I_APPL_EVENTS     = space
           I_PARENTDBG       =
           I_APPLOGPARENT    =
           I_GRAPHICSPARENT  =
           I_NAME            =
           I_FCAT_COMPLETE   = SPACE
          EXCEPTIONS
            ERROR_CNTL_CREATE = 1
            ERROR_CNTL_INIT   = 2
            ERROR_CNTL_LINK   = 3
            ERROR_DP_CREATE   = 4
            others            = 5
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    l_variant-report = sy-cprog.
    *data: l_prnt type lvc_s_prnt.
    *l_prnt-print = 'X'.
      SORT T_FCAT.
      call method ref_alv_grid->set_ready_for_input
       exporting
        i_ready_for_input = 1.
    create object event_receiver.
       set handler event_receiver->handle_top_of_page for ref_alv_grid.
      CALL METHOD REF_ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY
           EXPORTING
           I_BUFFER_ACTIVE               =
           I_BYPASSING_BUFFER            =
           I_CONSISTENCY_CHECK           =
           I_STRUCTURE_NAME              =
            is_variant                     =  variant   "l_variant
            i_save                        = 'X'
           I_DEFAULT                     = 'X'
             IS_LAYOUT                     = L_LAYO
           IS_PRINT                      =
           IT_SPECIAL_GROUPS             =
           IT_TOOLBAR_EXCLUDING          =
           IT_HYPERLINK                  =
           IT_ALV_GRAPHICS               =
           IT_EXCEPT_QINFO               =
           IR_SALV_ADAPTER               =
        CHANGING
          IT_OUTTAB                     = IT_final[]
          IT_FIELDCATALOG               = T_FCAT
           IT_SORT                       =
           IT_FILTER                     =
          EXCEPTIONS
            INVALID_PARAMETER_COMBINATION = 1
            PROGRAM_ERROR                 = 2
            TOO_MANY_LINES                = 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.
       create object g_event_receiver.
       set handler g_event_receiver->handle_user_command for ref_alv_grid.
       set handler g_event_receiver->handle_toolbar for ref_alv_grid.
    § 4.Call method 'set_toolbar_interactive' to raise event TOOLBAR.
       call method ref_alv_grid->set_toolbar_interactive.
       call method cl_gui_control=>set_focus exporting control = ref_alv_grid.
    ENDIF.
    ENDMODULE.                 " DISPLAY_DATA  OUTPUT
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'MAIN001'.
    SET TITLEBAR 'xxx'.
    Regards,
    Bharath Kumar

    I agree with Shiva Kumar - most likely there is no such field in it_afpo. A few more suggestions though:
    1) Do not post large pieces of code here - if you have a question about a particular SELECT statement, post only that statement and relevant data definitions. No one is going to read your whole program  anyway - we have work to do too.
    2) Your JOIN is way too big and would be difficult to analyze if anything goes wrong. You might want to start with smaller SELECTs and, when you're sure everything is working correctly, then combine them into one. Also huge JOINT is not necessarily more efficient.
    3) You don't have to use aliases "AS a... AS b", etc. Instead, just use the table name, e.g. AFKO... AFPO... .It is much easier to read this way. The aliases are needed only if you're joining the same table more than once. Also they're not limited to one letter either.

Maybe you are looking for

  • Problem with JDBC and Tomcat

    I don't know where the problem originate, the only thing in my memory is that the program worked very well on my PC yesterday, but today, without even slightest change, it doesn't work anymore. As to debug it, I simplified the codes to the least, but

  • Can't turn Bluetooth on ...

    After the latest security update, my Bluetooth is off, and the button to turn it on is greyed out. Anyone know what's going on? Thanks in advance for any tips.

  • Shared partition creation (SAN EVA 4400) for OCR/Vote andASM on linux RHEL5

    Hi all, We are going to install database (Oracle 10g) with RAC on Linux Red Hat Enterprise 5. The storage we are using is SAN shared storage, out SAN vendor has finished to configure and present the dsk storage (500 Gb) to the 2 servers, the name of

  • Proc*C/C++ suport for include files without .h extensions

    We have written code C++ code which is Standard C++ ver 5.0 compilant. In this version of C++ compiler the files are without .h extensions. For example <iostream.h> is now to be reffered as <iostream>. We are facing problems in compiling this code wi

  • Where is the backup dialog on the import image pane in lr5.6

    There used to be the ability to backup your images in lr5.5 during import. I still have it in windows but its gone on my mac?