Skip to Content
0
Former Member
Dec 01, 2011 at 10:55 AM

Rg: Open Sales Order Uplaod Using BAPI (BAPI_SALESORDER_CREATEFROMDAT2)

41 Views

Hi Frinds..

I am Creating Program Sales Order Uplaod Progrm using BAPI BAPI_SALESORDER_CREATEFROMDAT2.

All header and Po data uploaded Properly . But Item Leal data not updated.. Please let me know any Conditions need to pass to update item data.

CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'

EXPORTING

salesdocumentin = v_extr

order_header_in = l_vbak

order_header_inx = l_vbakx

behave_when_error = 'P'

IMPORTING

salesdocument = v_vbeln

TABLES

return = return

order_items_in = l_vbap

order_items_inx = l_vbapx

order_partners = l_vbpa

order_schedules_in = l_shline

order_schedules_inx = l_shlinex .

I can pass like that.