Fonction SAP BAPI_ACC_SALES_ORDER_POST - Accounting: Post Sales Order

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Parameter
SALESAMOUNT BAPIACCRSO 112 Currency Fields for Sales Order/Cust. Quotation
SALESCRITERIA BAPIACSOKECR 103 X CO-PA Characteristics
SALESORDER BAPIACSO00 354 Sales Order Line Items
SALESQUOTATION BAPIACSQ00 299 X Customer Quotation Line Items
SALESVALUEFIELD BAPIACSOKEVA 121 X CO-PA Value Components

Functionality
When a sales order is created in Logistics, acompany is asked to supply a particular quantity of goods or particularservices at a specified time.
When a sales order is created in Logistics, the expected costs andrevenues can be transferred to Accounting.
Depending on the settings made in Customizing, the following arepossible recipients:

  • Profitability Analysis

  • Cash budget management

  • Project system

  • Treasury cash management

  • When a sales order is transferred, data transferred from a precedingcustomer quotation can be broken down(if applicable).
    You use the Check method to check whether data from the salesorder can be posted in the receiving applications. You use thePost method to post the sales order data to the specifiedreceiving applications.

    Notes
    Messages are displayed in the Return parameter. You will find thereturn values and their meanings in the documentation for thisparameter.

    Further information
    For further information, see the documentation on "Interfaces toAccounting" in the R/3 Library (under "Cross-Application Functions ->Interfaces to External Systems").
    INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX
    INCLUDE ACC_BAPI_SALESAMOUNT OBJECT DOKU ID TX
    INCLUDE ACC_BAPI_SALESCRITERIA OBJECT DOKU ID TX
    INCLUDE ACC_BAPI_SALESORDER OBJECT DOKU ID TX
    INCLUDE ACC_BAPI_SALESQUOTATION OBJECT DOKU ID TX
    INCLUDE ACC_BAPI_SALESVALUEFIELD OBJECT DOKU ID TX