Application Development and Automation 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: 
Read only

BAPI CSAP_MAT_BOM_MAINTAIN for adding document assignment

Former Member
0 Likes
775

Dear experts

I am using BAPI CSAP_MAT_BOM_MAINTAIN to modfy the BOM data at header and item level.

But i am unable to update the document assignment at item level for each item.

I am using the table T_STPO but it does not update. Rest all the fields are getting updated.

I even used the table T_DOC_LINK but could not update

Please advice.

Thanks

mohammed.

1 REPLY 1
Read only

Former Member
0 Likes
465

Hi,

Have you checked the error log ? This will help you in correcting the wrong data which you have passed to the BAPI.

You can also try in the below mentioned way

1. Call Function 'CALO_INIT_API '. This will help you in checking the error log .To check the error log use Tcode SLG1.

2. Exceute the BAPI. Then check the error log.This may help you in identifyig the root cause of the problem.

Kind Regards,

Raghavendra Kulkarni.