01-24-2011 11:49 AM
Helllo all
i have a requirement to initialise the primary cost key using the exit EXIT_SAPLKEAB_004 . For tht we need to make the parameter E_REQUEST_HANDLED = 'X' insidde this exit . but it is restricted for particular plant and itemcategory and order reason .
This exit is triggered in the transaction KE21S
now my problem is im unable to get the values of plant and itemcategory and order reason into this exit . there is a structure IS_COPA_CHARACTERISTICS inside the importing parameter of the exit . but this structure is blank .
I tried to use the tables and structures in debugging mode to check if the values of plant and itemcategory are present . but i could not use like this : (SAPMKEI2)CEST1 in debugging mode to check my values.
can any body give me suggestion how to proceed .
01-25-2011 7:54 AM
Hi
Try this way if it can help.
FIELD-SYMBOLS <fs_itab1> type any table.
ASSIGN ('(SAPMKEI2)CEST1') to <fs_itab1>.
IF sy-subrc EQ 0.
it_cest[] = <fs_itab1>[].
ENDIF.
Br,
Nikhil Patil
01-25-2011 7:54 AM
Hi
Try this way if it can help.
FIELD-SYMBOLS <fs_itab1> type any table.
ASSIGN ('(SAPMKEI2)CEST1') to <fs_itab1>.
IF sy-subrc EQ 0.
it_cest[] = <fs_itab1>[].
ENDIF.
Br,
Nikhil Patil