Create Sales Order with BAPI Function



User Rating:  / 0
PoorBest 
Details
Category: ABAP
Created on Sunday, 29 January 2012 09:33
Last Updated on Thursday, 03 May 2012 14:11
Published on Sunday, 29 January 2012 09:33
Written by Administrator
Hits: 6421

Create sales Order in SAP R/3 with BAPI funcion :

BAPI_SALESORDER_CREATEFROMDAT2 

View source
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
 EXPORTING
* SALESDOCUMENTIN =
 ORDER_HEADER_IN =
* ORDER_HEADER_INX =
* SENDER =
* BINARY_RELATIONSHIPTYPE =
* INT_NUMBER_ASSIGNMENT =
* BEHAVE_WHEN_ERROR =
* LOGIC_SWITCH =
* TESTRUN =
* CONVERT = ' '
* IMPORTING
* SALESDOCUMENT =
 TABLES
* RETURN =
* ORDER_ITEMS_IN =
* ORDER_ITEMS_INX =
 ORDER_PARTNERS =
* ORDER_SCHEDULES_IN =
* ORDER_SCHEDULES_INX =
* ORDER_CONDITIONS_IN =
* ORDER_CONDITIONS_INX =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CFGS_BLOB =
* ORDER_CFGS_VK =
* ORDER_CFGS_REFINST =
* ORDER_CCARD =
* ORDER_TEXT =
* ORDER_KEYS =
* EXTENSIONIN =
* PARTNERADDRESSES =
 .