on ‎2019 Dec 03 11:43 AM
Hi Expert,
I am working on one of the requirement on GTS process.
Where need to add custom functionality on changes of Number under classification tab on /SAPSLL/PRODUCT_03 t-code.
After analysis found BADI /SAPSLL/BADI_EXT_UI_PRD which has used.
I have implemented the /SAPSLL/BADI_EXT_UI_PRD BADI badi and respective definitions.
But /SAPSLL/IF_BADI_EXT_REX_PRD definition is not getting trigger in any of the program execution.
Is there any SAP-Note available to make this BADI functionality available?
Please help.
Regards,
Praveer.
Request clarification before answering.
Hi,
The changed number information can be validate by comparing /sapsll/prcts table data with is_prd-prcts(importing parameter).
LOOP AT is_prd-prgen INTO DATA(w_prgen).
IF is_prd-prcts IS NOT INITIAL.
APPEND LINES OF is_prd-prcts TO li_prcts_temp.
ENDIF.
ENDLOOP.
IF i_prcts_temp IS NOT INITIAL.
SELECT guid_prcts, ernam, guid_pr,
stcts, enduse, guid_ctsnum FROM /sapsll/prcts
INTO TABLE @DATA(i_prcts)
WHERE guid_pr EQ @is_prd-guid_pr.
IF sy-subrc EQ 0.
LOOP AT i_prcts INTO DATA(w_prcts).
READ TABLE i_prcts_temp INTO DATA(w_prcts_temp) WITH KEY guid_prcts = w_prcts-guid_prcts
guid_pr = w_prcts-guid_pr
stcts = w_prcts-stcts
guid_ctsnum = w_prcts-guid_ctsnum.
IF sy-subrc EQ 0.
DATA(l_index) = sy-tabix.
DELETE i_prcts_temp INDEX l_index.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
Internal table li_prcts_temp will be containing changed number.
Regards,
Praveer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.