Skip to Content
0
Former Member
Feb 08, 2012 at 06:18 PM

SD-ABAP:Create SO:BAPI_SALESORDER_CREATEFROMDAT2: Line Item Structure Tab

45 Views

Hi SD-ABAP,

I'm currently creating SO using BAPI_SALESORDER_CREATEFROMDAT2.

I'm populating the following:

IMPORT: SALESDOCUMENTIN, ORDER_HEADER_IN, ORDER_HEADER_INX

TABLES: ORDER_ITEMS_IN, ORDER_ITEMS_INX,

ORDER_PARTNERS,

ORDER_SCHEDULES_IN, ORDER_SCHEDULES_INX,

ORDER_CONDITIONS_IN, ORDER_CONDITIONS_INX,

ORDER_TEXT

I have a BOM material A, with subMaterial A1, A2, A3. By creating manually (VA01), this will automatically appear on the the Line Item of the BOM Material > Structure tab. The structure tab will contain the subMaterial A1, A2, A3.

What I need is to automatically populate the SubMaterial in the Structure Tab of the Line Item having a BOM material.

Has anyone encountered this scenario? I'm not sure if I need to populate: ORDER_CFGS_PART_OF?

Thanks.

FYI, already checked some SD-BOM related OSS notes.