Skip to Content
-3
Mar 01 at 06:11 PM

Urgent Help required. How to call /SCWM/CL_SP class SEL_ITEM_PRODUCT_COMP method in ABAP.

574 Views Last edit Mar 02 at 01:47 PM 2 rev

Hello ABAP Gurus,

I am requesting one urgent help from you. Points will be rewarded.

There is one standard class /SCWM/CL_SP and this class is having one method 'SEL_ITEM_PRODUCT_COMP' which I want to call in my Z program. So I tried below way but not worked. Basically I want to fetch the 'CUSTOMER_PRODUCT' field by Passing Outbound Delivery Number and this field I got in '/SCWM/S_SP_A_ITEM_PRDO' structure but not in database table. Can you please let me know how should I call this method in my program and in which table I will get the 'CUSTOMER_PRODUCT' field. I would be very thankful to you.

I tried with CALL METHOD /SCWM/CL_SP->SEL_ITEM_PRODUCT_COMP & CALL METHOD /SCWM/CL_SP=>SEL_ITEM_PRODUCT_COMP but not worked.

Thank you.

CALL METHOD /SCWM/CL_SP->SEL_ITEM_PRODUCT_COMP
EXPORTING
   .....
IMPORTING
   .....
.