Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to retrive werks and PSTYV values inside the exitEXIT_SAPLKEAB_004

Former Member
0 Kudos

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 .

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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