Hi Gaurav,
Thanks for your valuable point, But its not working.
I am passing the variables like below.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = lwa_headerin
order_header_inx = lwa_headerinx
INT_NUMBER_ASSIGNMENT = 'X'
IMPORTING
salesdocument = lwa_salesdocument
TABLES
return = lit_return[]
order_items_in = lit_soc_item_in[]
order_items_inx = lit_soc_item_inx[]
order_partners = lit_soc_part_in[]
order_schedules_in = lit_soc_sched_in[]
order_schedules_inx = lit_soc_sched_inx[]
extensionin = lit_soc_extend_in[]
.
Thanks & Regards,
Srikanth.Yalamarthi.