cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Error

Former Member
0 Kudos

I had written the following code in BBP_DOC_CHANGE_BADI..When I run it it gives me the following exception error.

The following error text was processed in the system DS1 : An exception occurred that was not caught.

The error occurred on the application server NGCNSW01_DS1_00 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Function: BBP_PD_ABORT of program SAPLBBP_PDH

Form: ABORT of program SAPLBBP_PD

Form: BUDGET_SC_CHECK of program SAPLBBP_PD

Form: PROCDOC_CROSS_CHECKS of program SAPLBBP_PD

Form: PROCDOC_DB_CHECK of program SAPLBBP_PD

Form: PROCDOC_CHECK of program SAPLBBP_PD

Function: BBP_PROCDOC_CHECK of program SAPLBBP_PD

Function: BBP_PD_SC_CHECK of program SAPLBBP_PD_SC

Form: SC_CHECK of program SAPLBBP_SC_APP

Function: BBP_SC_APP_EVENT_DISPATCHER of program SAPLBBP_SC_APP

The Code is


METHOD if_ex_bbp_doc_change_badi~bbp_sc_change.
  DATA lv_matnr(18) type c.
  DATA wa_item TYPE bbp_pds_sc_item_icu.
  data ws_item type BBPS_SC_ITEM_BADI.
  LOOP AT it_item INTO wa_item.
    IF wa_item-zmro_item1 NE ' '.
      CALL FUNCTION 'Z_RFC_MATNR_MANUPN'
        DESTINATION 'ECC_DE1CLNT150_1'
        EXPORTING
          mfpnr = wa_item-ZMRO_ITEM1
        IMPORTING
          matnr = lv_matnr.
      wa_item-product = lv_matnr.
      IF lv_matnr NE ' '.
        MODIFY it_item FROM wa_item TRANSPORTING product.
      ENDIF.
    ENDIF.
  ENDLOOP.
ENDMETHOD.

Do anyone know what the error is..

Thanks

Viky

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Please paste the complete code details by saving the dump in a text file using ST22 transaction.

Which SRM version are you using ? What is your detailed requirements ? Please paste the code of the Z RFC function module as well.

<b>Couple of reasons can be possible -></b>

<u>1. Either due to Data type mismatch between product and lv_matnr fields.

2. Modify statement inside loop .. endloop (without specifying the Loop counter - sy-tabix system field).

3. Either the function module 'Z_RFC_MATNR_MANUPN' does not exist in the RFC client destination - 'ECC_DE1CLNT150_1'.</u>

Hope this will help.

Regards

- Atul

Answers (0)