cancel
Showing results for 
Search instead for 
Did you mean: 

S4HC - How to Get the Alternative ID in Sales Order Item when Using Alternative BOM

craigyu
Explorer
0 Kudos

Hi Experts,

We are preparing an integration for S4HC. We want to find out a way to determine which alternative BOM is used for a sales order item.

Is there any way or any API can be used to retrieve this information?

Thanks!

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

adding tag 'S/4HANA Cloud for Sales'

Sean_Zhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Craig,

May you share what is meant by ‘alternative’ BOM? once you provide the information, our expert might have more chance to provide you more information?

Best Regards,

Sean

craigyu
Explorer
0 Kudos

Hi sean.zhang,

Yes, we defined several of BOMs with different values on field "Alternative BOM" in S4HC app "Maintain Bill of Material".

Then we tried to use these BOMs to create sales order item, but we have no idea which BOMs will be chosen by S4HC if they have the same Material No.

We were wondering if there could be any documents can describe how S4HC deals with these alternative BOMs.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

CE6
Advisor
Advisor

Hi Craig,
There is currently no possibility to check which BOM Alternative was used. The BOM Alternative is only used to create sales items based on the data maintained in bill of material. It is not persisted in the sales order and therefore not available via any API.

As you can still change/delete/create subitems, you could also not rely on the Alternative BOM. For example you can use Alternative 1 and change the items of the sales order that it is the same like Alternative 2.

You could maybe compare the sales order items with the BOM master data to check which Alternative BOM was used, but this could be very complex and difficult to implement.

best regards,
Christian