Vous êtes sur la page 1sur 2

Structure of BAPI_SALESORDER_CREATEFROMDAT1.

Import parameters:

ORDER_HEADER_IN is of the structure BAPISDHEAD.

Data
Parameter / Component Type Length Decimals Short Description
WITHOUT_COMMIT /
NO_COMMIT CHAR 1 0 COMMIT control at BAPI interface
CONVERT_PARVW_AUART /
BAPIFLAG CHAR 1 0 Single-Character Indicator

Export parameters:

Data
Parameter / Component Type Length Decimals Short Description

SALESDOCUMENT / VBELN CHAR 10 0 Sales Document

SOLD_TO_PARTY is of the structure BAPISOLDTO.

SHIP_TO_PARTY is of the structure BAPISHIPTO.

BILLING_PARTY is of the structure BAPIPAYER.

RETURN is of the structure BAPIRETURN1.

Tables:

ORDER_ITEMS_IN is of STRUCTURE BAPIITEMIN


ORDER_PARTNERS is of STRUCTURE BAPIPARTNR
ORDER_ITEMS_OUT is of STRUCTURE BAPIITEMEX OPTIONAL
ORDER_CFGS_REF is of STRUCTURE BAPICUCFG OPTIONAL
ORDER_CFGS_INST is of STRUCTURE BAPICUINS OPTIONAL
ORDER_CFGS_PART_OF is of STRUCTURE BAPICUPRT OPTIONAL
ORDER_CFGS_VALUE is of STRUCTURE BAPICUVAL OPTIONAL
ORDER_CCARD is of STRUCTURE BAPICCARD OPTIONAL
ORDER_CFGS_BLOB is of STRUCTURE BAPICUBLB OPTIONAL
ORDER_SCHEDULE_EX is of STRUCTURE BAPISDHEDU OPTIONAL

THE ABOVE ATTACHED EXCEL CONTAINS THE STRUCTURES OF THE EXPORT PARAMETERS AND TABLES.

Fields required for the execution of Bapi - BAPI_SALESORDER_CREATEFROMDAT1.

SCREEN SHOTS:-

Import parameters:

 VENDORNO – *******
 COMPANYCODE – ****

Export parameters:

 CUSTOMERADDRESS – It gives us the address details related to the customer.


 CUSTOMERGENERALDETAIL – It gives us the general details related to the customer.
 CUSTOMERCOMPANYDETAIL – It gives us the Company Details related to the customer.
 RETURN – It will populate the error message incase of wrong entries.

TABLES:

 BANKDETAIL – This table will populate the bank name, account no the bank currency
corresponding to the Customer no.

On execution of the Bapi based on the entries made in the Import parameters; the Bapi
populates the complete Customer details in the Export parameters – CUSTOMERADDRESS,
CUSTOMERGENERALDETAIL and CUSTOMERCOMPANYDETAIL. In the Table – BANKDETAIL the corresponding
Bank Details are populated (Currently there is no test data in client 130 related to Bank
Details).
Incase of any error the RETURN parameter will record the error message.

Vous aimerez peut-être aussi