Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

basic data for "BOM" group available twice.


I'm creating BOM´s and only I achieve to enter only the first record , in the second record for other part number I get this error "Error/warning when checking the structure of the BOM group with ID= "0101-023027300", basic data for "BOM" group available twice.

This is part of the code:

CLEAR it_bomgroup.

it_bomgroup-bom_group_identification = wa-group. "(wa-group contains these values (0101-010000000 first record, 0101-023027-00 in the second record)

it_bomgroup-object_type = 'BGR'.

it_bomgroup-object_id = n. " N is a counter

it_bomgroup-bom_usage = '3'. " it_bomgroup-ltxt_lang = sy-langu.

it_bomgroup-bom_text = 'Simple BoM - FM 2'.

it_bomgroup-created_in_plant = '0001'.

APPEND it_bomgroup.



all_error = 'X'


bomgroup = it_bomgroup

variants = it_variants

items = it_items

materialrelations = it_matrel

itemassignments = it_itemas

return = it_return.

Has anybody had a similar problem and can help me?

Thank you very much

Not what you were looking for? View more on this topic or Ask a question