2012 Feb 08 6:18 PM
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.
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.
2012 Feb 13 12:35 PM
Hi Jamie,
It will not automatically populated in BAPi, but i think an user exit (Standard SAP code) is doing it for you. I will say not to change the program in the BAPI instead of that use MOVE FIELD TO VBAP userexit to solve this issue. This is quite common scenario and lot of posts are available over the net.
Best Regards,
Tapodipta Khan.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |