Application Development 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: 

How to create Alternative BoM using CSAP_MAT_BOM_MAINTAIN function module

srikanth_d4
Participant
0 Kudos

Hi,

I am using FM:CSAP_MAT_BOM_MAINTAIN to create alt BoM, i could not able to create an alt BoM using this fm its giving error msg as:

T ID NUM MESSAGE E 29 037 BOM already exists for ZPRD-HEAD1 5001 4

I am passing:

I_MATERIAL=ZPRD-HEAD1

I_PLANT = 5001

I_BOM_USAGE = 1

I_ALTERNATIVE= 4

I_VALID_FROM = 10/27/2017

I_STKO = 2 EA 00

FL_COMMIT_AND_WAIT = X

I_FL_CAD I_FL_BOM_CREATE =X

I_FL_NEW_ITEM = X

I_FL_DEFAULT_VALUES = X

TABLES

T_STPO passing 3 components

please help me to get it resolved.

Regards,

Srikanth

1 REPLY 1

SimoneMilesi
Active Contributor

i had some problems into using that FM to create an alternative too.

i switched to the old CS_BI_BOM_CREATE_BATCH_INPUT1: maybe not the best solution, but it works pretty fine and fast.