UPDATEFLAG> field with a U.
Always enter the key fields when you make a change,even in thecheckbox.
An exception here is configuration. If you wish to change this, youneed to fill it in completely.
Maintain the quantities and dates via the schedule line data.
Possible UPDATEFLAGS: U = change
D = delete
I = insert
RESET N1Example
Delete quotation completely.
Delete quotation item.
Changes to quotation.
Change configuration.
RESET N1
Notes
Minimum specifications:
The quotation number must definitely be entered in the SALESDOCUMENTstructure.
Always enter key fields when you make a change.
The update indicator QUOTATION_HEADER_INX must always be entered.
Commit control
The BAPI does not have a database. This means that the relevantapplication must leave the commit, in order that changes can be carriedout on the database. The BAPI BAPI_TRANSACTION_COMMIT is available forthis.
INCLUDE SD_BEHAVE_WHEN_ERROR OBJECT DOKU ID TX
INCLUDE SD_BAPI_INTNUMASS OBJECT DOKU ID TX
Description
Internal control parameter
This parameter controls internal program behaviour. The parameter isintended to be used to switch off specific processing because data is tobe transferred externally.
Examples: - Pricing of SPE (Sales Pricing Engine) has been executed.
,,,,The results are to be transferred to the sales document
,,,, No pricing is to take place in the SAP system
,,- The same applies for SCE (Sales Configuration Engine)
Value range
PRICING can be filled with the following values: Space, B , C , G.
Description
This parameter contains the data for the sales document header.
INCLUDE SD_BAPISDHEADX1_DOCU OBJECT DOKU ID TX
INCLUDE SD_BAPIVBELN_DOCU OBJECT DOKU ID TX
INCLUDE SD_BAPI_SIMULATION OBJECT DOKU ID TX
INCLUDE SD_BAPICONDITION_DOCU OBJECT DOKU ID TX
Description
Checkbox for condition changes.
INCLUDE SD_EXTENSIONIN OBJECT DOKU ID TX
Description
Addressdata.
You can enter document addresses here.
Description
Partner changes.
You can enter partner changes in this structure.
See the example in SAP Note 205775.
Description
Document partner
You use this table parameter to enter partners such as sold-to party andship-to party; this is possible at both header and item level.
You must enter at least one sold-to party at header level. All otherpartner roles are then determined automatically.
You can also enter deviating addresses in the structure.
INCLUDE SD_BAPI_CFGS_BLOB OBJECT DOKU ID TX
INCLUDE SD_BAPI_CFGS_INST OBJECT DOKU ID TX
INCLUDE SD_BAPI_CFGS_PART_OF OBJECT DOKU ID TX
INCLUDE SD_BAPI_CFGS_REF OBJECT DOKU ID TX
INCLUDE SD_BAPI_CFGS_REFINST OBJECT DOKU ID TX
INCLUDE SD_BAPI_CFGS_VALUE OBJECT DOKU ID TX
INCLUDE SD_BAPI_CFGS_VK OBJECT DOKU ID TX
Description
This parameter contains the item input data for the sales document.
INCLUDE SD_BAPISCHEDULEX_DOCU OBJECT DOKU ID TX
INCLUDE SD_BAPI_KEYS OBJECT DOKU ID TX
INCLUDE SD_BAPI_TEXT OBJECT DOKU ID TX
INCLUDE SD_BAPI_RETURN OBJECT DOKU ID TX
Description
This parameter contains the schedule line data
INCLUDE SD_BAPISCHEDULEX_DOCU OBJECT DOKU ID TX