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

ABAP program for BOM manipulations

Former Member
0 Likes
476

Let me discuss one problem I’ve already touched yesterday.

If I want to create some materials (mm01) and then create some BOM’s (sc01) I used transactions mm01 and sc01 accordingly. They are manually processes but I can use a batch-input procedure for mm01. Unfortunately if I want to use batch input for BOM it looks that there is a serious restriction – the number of material items for each BOM must be the same.

But what is a recipe if I want to create ABAP program to create any new BOM’s or change items in any BOM’s (add, delete or change)? To simplify the situation we guess that all necessary materials are already made.

The question is - I have a z-table containing ID’s for BOM’s (new or existed ones) and a corresponded z-table with material ID’s for BOM items. What are possible transactions, BAPI or FM I can use in my ABAP program to make correct records into STPO and STKO R3 tables) - to create new BOM or changed some items in existed BOM ?

Thank you.

Let me discuss one problem I’ve already touched yesterday.

If I want to create some materials (mm01) and then create some BOM’s (sc01) I used transactions mm01 and sc01 accordingly. They are manually processes but I can use a batch-input procedure for mm01. Unfortunately if I want to use batch input for BOM it looks that there is a serious restriction – the number of material items for each BOM must be the same.

But what is a recipe if I want to create ABAP program to create any new BOM’s or change items in any BOM’s (add, delete or change)? To simplify the situation we guess that all necessary materials are already made.

The question is - I have a z-table containing ID’s for BOM’s (new or existed ones) and a corresponded z-table with material ID’s for BOM items. What are possible transactions, BAPI or FM I can use in my ABAP program to make correct records into STPO and STKO R3 tables) - to create new BOM or changed some items in existed BOM ?

Thank you.

1 REPLY 1
Read only

Former Member
0 Likes
401

Hi Peter

Have you checked program: RCSBI010. Documentation of the program might help you for BOM Creation.

Kind Regards

Eswar