on 2023 Mar 01 6:11 PM
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
.....
.
Request clarification before answering.
Hello,
Try using the class /SCWM/CL_SP_PRD which has the superclass /SCWM/CL_SP. You can try referring the PDF document from the below location.
https://wiki.scn.sap.com/wiki/download/attachments/451060111/Service_Provider_Call_Example.pdf
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zishan,
this method is protected. There are a few articles about how to call protected methods, that maybe help you further:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.