Ansicht
Dokumentation
BAPI_SALESORDER_CHANGEBOS - Change sales order with BOS
CL_GUI_FRONTEND_SERVICES - Frontend Services CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
You can use this method to change or delete a customer quotation with BOS.
You can:
- Change header, item, schedule line, configuration and BOS data
- Delete a quotation completely
- Delete a quotation item
- Create, change or delete service lines and outline levels within a BOS
- Create or delete a complete BOS
- Transfer customer fields to fields VBAK, VBAP, VBEP< VBEP and ESLL via parameter ExtensionIn
You cannot change or delete a document item if it has the status complete.
Example
Notes
Generally speaking, the following applies:
- You enter quantites and dates for a document item with BOS via the schedule line data.
- You should only enter the fields of a document item, schedule line, service line or outline level that are to be changed.
- Conditions are the exception to this. If conditions are changed, the condition records are to be filled completely.
- The checkbox structures are to be filled for the fields to be changed.
- Field UPDATEFLAG
U | Change |
D | Delete |
I | Create |
- Checkboxes: the fields to be changed should be selected in the appropriate checkboxes with X.
Minimum Requirement Entries
- The quotation number must be entered in parameter SalesDocument.
- Key fields must always be entered, also in the checkbox structure.
- The change indicator UPDATEFLAGim QuotationHeaderInX must always be entered.
Commit Control
The method does not perform a database commit. This means that the calling application has to exit the commit so that changes in the data base can be made. The method BAPI_TRANSACTION_COMMIT is available for this.
Return Values
If errors occur during processing, they are returned in table parameter Return. Information messages are also logged in this parameter.
Further information
SAP note 93091 contains general information on BAPIs in Sales and Distribution (SD).
Parameters
BEHAVEWHENERRORDEL_OLD_COST_ITEMS
EXTENSIONIN
INTNUMBERASSIGNMENT
LOGICSWITCH
ORDERCFGSBLOB
ORDERCFGSINST
ORDERCFGSPARTOF
ORDERCFGSREF
ORDERCFGSREFINST
ORDERCFGSVALUE
ORDERCFGSVK
ORDERCONDITIONSINX
ORDERCOSTITEMS
ORDERCOSTMODEL
ORDERHEADERIN
ORDERHEADERINX
ORDERITEMSIN
ORDERITEMSINX
ORDERITIONSIN
ORDERMODELVALUE
ORDERSCHEDULELINES
ORDERSCHEDULELINESX
ORDERSERVICES
ORDERSERVICESCOND
ORDERSERVICESCONDX
ORDERSERVICESTEXT
ORDERSERVICESX
ORDERTEXT
PARTNERADDRESSES
RETURN
SALESDOCUMENT
SIMULATION
Exceptions
Function Group
2032001CL_GUI_FRONTEND_SERVICES - Frontend Services PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 6946 Date: 20240523 Time: 171550 sap01-206 ( 53 ms )