Note 93091
Note 93091
0 SAP_NOTE Ноябрь -1
Header
Version / Date 18 / 2011-03-23
Priority Recommendations/additional info
Category Consulting
Primary
Component SD-SLS-GF-IF Sales Documents BAPI's
Secondary BC-MID-API BAPI Tools (for BAPIs see note
Components 813411)
Summary
Symptom
This note contains information about the BAPIs in Sales and Distribution.
I. General information:
---------------
In Release 3.1G, the BAPIs for the business object BUS2032 were delivered for the first time,
but were not yet released.
1. BAPI_CUSTOMERORDER_CREATE
2. BAPI_CUSTOMERORDER_SIMULATE
3. BAPI_CUSTOMERORDER_GET_STATUS
4. BAPI_CUSTOMERORDER_GETLIST
The BAPIs were renamed as follows to ensure that the names of the methods are correct:
1. BAPI_SALESORDER_CREATEFROMDATA
2. BAPI_SALESORDER_SIMULATE
3. BAPI_SALESORDER_GETSTATUS
4. BAPI_SALESORDER_GETLIST
As of Release 4.0A, the following BAPIs are available for creating sales documents:
For other sales business objects, separate BAPIs do not yet exist. For these, you can use
BAPI_SALESDOCU_CREATEFROMDATA.
It is not released, but you can use it productively (live) like the BAPIs listed in section IV),
and it is supported.
BUS2034 Contracts
BUS2094 Credit memo request
BUS2096 Debit memo request
BUS2102 Returns
BUS2103 Subsequent delivery free of charge
Use the field POSEX (PO_ITM_NO) to define the connection between the sales order item and
the configuration (BAPICUFG-POSEX). (ORDER_ITEMS_IN-PO_ITM_NO = ORDER_CFGS_REF-
POSEX)
As of Release 4.5B, there are BAPIs for changing sales documents. How do I have to fill the
parameters to change a configuration?
To create a sales document, you must enter at least the following data:
IV.) Miscellaneous:
--------------
o In Release 4.5B, the following BAPIs were developed:
- BAPI_SALESORDER_CREATEFROMDAT2
- BAPI_CONTRACT_CREATEFROMDATA
- BAPI_INQUIRY_CREATEFROMDATA2
- BAPI_QUOTATION_CREATEFROMDATA2
- BAPISDORDER_GETDETAILEDLIST
- BAPI_SALESORDER_CHANGE
- BAPI_CUSTOMERCONTRACT_CHANGE
- BAPI_CUSTOMERINQUIRY_CHANGE
- BAPI_CUSTOMERQUOTATION_CHANGE
Even though these BAPIs are not yet released, you can use them productively (live).
Incompatible changes to these BAPIs are made only in urgent and justified exceptional
cases. Such a change is documented in Note 187340.
For other sales business objects, there are no separate BAPIs. For these, you can use
the RFC-enabled function modules SD_SALESDOCUMENT_CREATE and
SD_SALESDOCUMENT_CHANGE. You can also use both of these function modules
productively (live). However, since they are not released, they may not be fully supported by
SAP. This would have to be checked in the individual cases.
*
Solution