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

Create BOM for material

Former Member
0 Likes
302

Hi All,

I am using CSAP_MAT_BOM_READ to read the BOM details of one material and using these detals i am creating BOM for other material. I am using CSAP_MAT_BOM_CREATE to create the BOM, But always it is returing

sy-subrc as 1.

I am not able to find out what kind of error this is, is this data error or any other error.

If anyone used this FM before please provide some input on how to use this FM for above requirement.

Regards,

Rahul

1 REPLY 1
Read only

Former Member
0 Likes
266

instead use BAPI_MATERIAL_BOM_GROUP_CREATE fm which will create a BOM for a material.