Ansicht
Dokumentation
BAPI_SINGLEREMUREQS_CHANGEMULT - Change Supplier Billing Documents
BAL Application Log Documentation ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
You use this method to change vendor billing documents.
You use structures "HEADDATAINX" and "ITEMDATAINX" to select the documents and document items, and mark the fields to be changed.
You use structures "HEADDATAIN" and "ITEMDATAIN" to enter the new values.
In the same way, use can use structures "CONDITIONSX" and "CONDITIONS" to change condition data.
Once a vendor billing document has been changed successfully, you can use structures "HEADDATAOUT" and "ITEMDATAOUT" to display the changed document.
Any errors that occurred are returned in parameter "RETURN".
You can use structure EXTENSIONIN to change customer-specific fields. You must do this via an Append structure to structure BAPI_TE_KOMLFKE for header data and BAPI_TE_KOMFKPE for item data. For this BAPI, the field DOCUMENT_NUMBER must be used as the key field, and field REF_DOC must be left empty.
Example
Notes
Changeable fields
Header data
DOCUMENT_NUMBER Document number
BILL_DATE Posting date
CURRENCY Currency OS NCY
CURRENCY_ISO ISO code currency
DOC_DATE Document date
REF_DOC_NO Reference document number
PAYMT_REF Payment reference
EXCH_RATE Directly quoted exchange rate
EXCH_RATE_V Indirectly quoted exchange rate
EX_RATE_FX Indicator for fixing exchange rate
TRANS_DATE Date for currency translation
PMNTTRMS Terms of payment key
DSCNT1_TO Number of days for payment in first condition
DSCT_PCT1 Cash discount percentage for first condition
DSCNT2_TO Number of days for payment in second condition
DSCT_PCT2 Cash discount percentage for second condition
DSCNT3_TO Number of days for the net due date
ADD_VAL_DY Additional value days
FIX_VAL_DY Fixed value date
PMNT_METH Payment method
INV_LIST_DATE Posting date of remuneration list
TESTRUN Switch to simulation mode (no database changes)
Item data
DOCUMENT_NUMBER Document number
ITEM Item
VEND_PART Vendor sub-range
COND_GROUP Condition groups
TAX_CODE Input tax code
CASH_DISC Indicator: subject to cash discount
REF_DOC_HEAD Document number of preceding document of business partner
REF_DOC_ITEM Item number of preceding document of business partner
PDOC_CAT Billing document type of preceding document of business
partner
SHORT_TEXT Short text
TAXJURCODE Tax Jurisdiction Code
BUS_AREA Business area
COSTCENTER Cost center
PROFIT_CTR Profit center
NET_PRICE Net price
PROMOTION Promotion
PRE_VENDOR Prior vendor
BILL_REASON Reason for transaction
QUANTITY Quantity
BILL_UNIT Unit of measure
ISOCODE_UNIT ISO code for unit of measure
SETT_ITEM Active for subsequent settlement
PRICE_DATE Price determination date
NET_WEIGHT Net weight
GROSS_WT Gross weight
UNIT_OF_WT Weight unit
UNIT_OF_WT_ISO Weight unit in ISO code
VOLUME Volume
VOLUMEUNIT Volume unit
VOLUMEUNIT_ISO Volume unit in ISO code
VAL_TYPE Valuation type
VAL_CAT Valuation category
BON_GRP1 Settlement group 1 (Purchasing)
BON_GRP2 Settlement group 2 (Subsequent Settlement)
BON_GRP3 Settlement group 3 (Subsequent Settlement)
POINTS Number of points
POINTS_UNIT Points unit
POINTS_UN_ISO Points unit in ISO code
Further information
Parameters
CONDITIONSINCONDITIONSINX
EXIT_AFTER_FIRST_ERROR
EXTENSIONIN
EXTENSIONOUT
HEADDATAIN
HEADDATAINX
HEADDATAOUT
HEADTEXTIN
HEADTEXTOUT
ITEMDATAIN
ITEMDATAINX
ITEMDATAOUT
ITEMTEXTIN
ITEMTEXTOUT
RETURN
Exceptions
Function Group
2126ROGBILLS - Synchronize billing plans General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 5958 Date: 20240523 Time: 174500 sap01-206 ( 50 ms )