Ansicht
Dokumentation

SD_SALESDOCUMENT_CHANGE - Change SD Document

SD_SALESDOCUMENT_CHANGE - Change SD Document

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to change or delete sales documents.

You can change header, item, schedule line and configuration data.

Please note the following:

  1. Only enter the fields you want to change.
  2. Select these fields by entering X in the check bar.
  3. Enter U in the UPDATEFLAG field.
  4. If you want to change the document, always enter the key fields in the check bar.
  5. If you want to change configuration data, you must fill in all the fields.
  6. Maintain quantities and dates in the schedule line data.
  7. UPDATEFLAGS that you can use are:
  • U = change

  • D = delete

  • I = insert

Example

  1. Delete complete sales document
  2. Delete sales document item
  3. Change sales document
  4. Change configuration

Notes

  1. Minimum entries
You must specify the sales document number in the SALESDOCUMENT structure.
You must always enter key fields when you want to change documents.
You must enter the update indicator in ORDER_HEADER_INX
  1. Commit control
The BAPI doesnot run a database commit. This means that the application calling up the data must trigger the commit to write the changes to the database. To do this, use BAPI_TRANSACTION_COMMIT.




Parameters

BATCH_CHARC
BEHAVE_WHEN_ERROR
BUSINESS_EX
BUSINESS_OBJECT
CALL_ACTIVE
CALL_FROM_BAPI
CAMPAIGN_ASGN
CONDITIONS_EX
CONDITIONS_IN
CONDITIONS_INX
CONDITIONS_KONV_EX
CONVERT_PARVW_AUART
CORR_CUMQTY_EX
CORR_CUMQTY_IN
CORR_CUMQTY_INX
DEL_SCHEDULE_EX
DEL_SCHEDULE_IN
DEL_SCHEDULE_INX
EXTENSIONEX
EXTENSIONIN
INCOMPLETE_LOG
INT_NUMBER_ASSIGNMENT
ITEMS_EX
ITEM_IN
ITEM_INX
I_CRM_LOCK_MODE
I_TESTRUN_EXTENDED
I_WITHOUT_INIT
LOGIC_SWITCH
NO_STATUS_BUF_INIT
ORDER_HEADER_IN
ORDER_HEADER_INX
PARTNERADDRESSES
PARTNERCHANGES
PARTNERS
PARTNERS_EX
RETURN
SALESDOCUMENT
SALES_CCARD
SALES_CFGS_BLOB
SALES_CFGS_INST
SALES_CFGS_PART_OF
SALES_CFGS_REF
SALES_CFGS_REFINST
SALES_CFGS_VALUE
SALES_CFGS_VK
SALES_CONTRACT_IN
SALES_CONTRACT_INX
SALES_HEADER_OUT
SALES_HEADER_STATUS
SALES_KEYS
SALES_SCHED_CONF_IN
SALES_TEXT
SCHEDULE_EX
SCHEDULE_IN
SCHEDULE_INX
SIMULATION
TEXTHEADERS_EX
TEXTLINES_EX

Exceptions

INCOV_NOT_IN_ITEM

Function Group

VBAK

CPI1466 during Backup   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 4713 Date: 20240523 Time: 044651     sap01-206 ( 42 ms )