2008 May 21 6:25 PM
Hi all,
I need a BAPI which loads Variant configuration information in sales order. I beleive BAPI_SALESORDER_CREATEFROMDAT2 can be used for this purpose, but I need help in finding the required structures and the fields that need to be used for this purpose. Can any one provide me the information ASAP?
Regards,
Asha.
Hi all,
I need a BAPI which loads Variant configuration information in sales order. I beleive BAPI_SALESORDER_CREATEFROMDAT2 can be used for this purpose, but I need help in finding the required structures and the fields that need to be used for this purpose. Can any one provide me the information ASAP?
Regards,
Asha.
2008 May 21 7:36 PM
Please use FM BAPISDORDER_GETDETAILEDLIST to understand what structures need to be filled for VC.
Example code:
ls_view-header = 'X'.
ls_view-item = 'X'.
ls_view-sdschedule = 'X'.
ls_view-configure = 'X'.
ls_view-text = 'X'.
call function 'BAPISDORDER_GETDETAILEDLIST'
exporting
i_bapi_view = ls_view
tables
sales_documents = lt_docin
order_headers_out = lt_hdrout
order_items_out = lt_itmout
order_schedules_out = lt_schout
order_partners_out = lt_prtout
order_textheaders_out = lt_hdtxt
order_textlines_out = lt_txtli
order_cfgs_cucfgs_out = lt_cucfgout
order_cfgs_cuvals_out = lt_cuvalout
extensionout = lt_parex.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |