Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

add a new line item in CS02 tcode

Hi all,

Is there any BAPI to add a new line item in CS02 tcode. I tried using FM u201CCSAP_MAT_BOM_MAINTAINu201D but its throwing me an error u201CNo active nametab exists for CI_STKOu201D.

Please let me know an alternative FM or BAPI.

Thanks

Piyush

Tags:
replied

Hi,

Please check whether u have passed "X" to the parameter "fl_commit_and_wait" in the FM 'CSAP_MAT_BOM_MAINTAIN'. This error might be due to some update problem when we are passing huge amount of data.

If you are unable to see changes in the transaction after making this correction, please try using "BAPI_TRANSACTION_COMMIT" after calling this FM.

Hope it works

Regards

Mudit

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question