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

Help required how to use BAPI BAPI_MATERIAL_BOM_GROUP_CREATE

Former Member
0 Likes
581

Hi All,

I'm using BAPI 'BAPI_MATERIAL_BOM_GROUP_CREATE' to create material BOM for CS01 transaction code.

Using this BAPI i'm able to create BOM sucessfully.

But i'm confused how to capture error and success records in BAPI return parameter.

coz i'm having an requirement to display all error and success records as an report display.

Can anyone help me out?

Thanks & Regards,

Anil.

Hi All,

I'm using BAPI 'BAPI_MATERIAL_BOM_GROUP_CREATE' to create material BOM for CS01 transaction code.

Using this BAPI i'm able to create BOM sucessfully.

But i'm confused how to capture error and success records in BAPI return parameter.

coz i'm having an requirement to display all error and success records as an report display.

Can anyone help me out?

Thanks & Regards,

Anil.

2 REPLIES 2
Read only

Former Member
0 Likes
526

Hello Anil,

The return Table parameter will have all the message about the BAPi run.

Loop that table and display the contents of the return table as a report.

If helps Reward...

Regards,

Vasanth

Read only

0 Likes
526

Hi Anil ,

In addition to this set the import parameter ALL_ERROR to 'X' to get all the messages.

Rgds

Shiva