Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Rg: Open Sales Order Uplaod Using BAPI (BAPI_SALESORDER_CREATEFROMDAT2)

Former Member
0 Likes
488

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.

2 REPLIES 2
Read only

Former Member
0 Likes
442

Solved by own

Read only

0 Likes
442

hi Prabu,

It is not uploading for company code 1100 ..