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 or function module instead of CS40

Former Member
1,385

Hello,

we need to perform automatically mass-assignment of BOM alternatives to configurable materials.

Because of runtime-problems with CS40 as batch, we are looking for a solution to do it via BAPI / function module.

Any advice how to replace the CS40-Batch by call of a BAPI / function module?

Many Thanks in advance.

Regards

Holger

1 REPLY 1
Read only

Former Member
0 Likes
755

BAPI_MATERIAL_BOM_GROUP_CREATE might help, I have never used this but found this out using the method to find BAPI for a particular usage. I will provide you the method which I used

Start CS40 go to system --> status.

Double click on transaction

Package is CS

Open this package in SE80

Open business engineering-->Business object types

Find the BO which sounds the most appropriate

I would suggest BUS1080 Material BOM

Double click.

Open methods.

Find the released method with from data or something similar in the name

, Createfromdat2

Position the cursor in it and click the program button

Scroll down to find the bapi used in this method .

Hope this helps.