Ansicht
Dokumentation

BAPI_VENDORSETTL_CHANGEMULT - Change Vendor Settlements

BAPI_VENDORSETTL_CHANGEMULT - Change Vendor Settlements

General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to change vendor settlements.

You use the structures "HEADDATAINX" and "ITEMDATAINX" to specify the document and document items, and select the fields you want to change.

To specify the new values, you use the structures "HEADDATAIN" and "ITEMDATAIN".

Similarly, you can use the structures "CONDITIONSX" and "CONDITIONS" to change condition data.

After the vendor billing document has been changed successfully, you can access the changed document via the structures "HEADDATAOUT" and "ITEMDATAOUT".

Any errors are reported via the "RETURN" parameter.

You can change customer-specific fields using the structure "EXTENSIONIN". To do so, use append structures to add the header data to structure "BAPI_TE_KOMLFKE" and to add the item data to structure "BAPI_TE_KOMFKPE". For this BAPI, use the "DOCUMENT_NUMBER" field as the key field, and leave the "REF_DOC" field blank.

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 fixed exchange rate

TRANS_DATE Translation date for currency translation

PMNTTRMS Key for terms of payment

DSCNT1_TO Number of days for payment in first condition

DSCT_PCT1 Cash discount percentage for payment in first condition

DSCNT2_TO Number of days for payment in second condition

DSCT_PCT2 Cash discount percentage for payment in second condition

DSCNT3_TO Number of days for net payment 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 changes to the database)

Item Data

DOCUMENT_NUMBER Document number

ITEM Item

VEND_PART Vendor subrange

COND_GROUP Condition groups

TAX_CODE Input tax code

CASH_DISC Indicator: Qualifies for cash discount

REF_DOC_HEAD Document number of reference document at business partner

REF_DOC_HEAD Item number of reference document at business partner

PDOC_CAT Billing category of reference document at 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 Billing reason

QUANTITY Quantity

BILL_UNIT Unit of measure

ISOCODE_UNIT ISO code 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 Unit of weight

UNIT_OF_WT_ISO Unit of weight in ISO code

VOLUME Volume

VOLUMEUNIT Volume unit

VOLUMEUNIT_ISO Unit of volume in ISO code

VAL_TYPE Valuation type

VAL_CAT Valuation category

BON_GRP1 Settlement group 1 (purchase)

BON_GRP2 Settlement group 2 (subsequent settlement)

BON_GRP3 Settlement group 3 (subsequent settlement)

POINTS Number of points

POINTS_UNIT Unit for points

POINTS_UN_ISO Unit for points in ISO code

Further information





Parameters

CONDITIONSIN
CONDITIONSINX
EXIT_AFTER_FIRST_ERROR
EXTENSIONIN
EXTENSIONOUT
HEADDATAIN
HEADDATAINX
HEADDATAOUT
HEADTEXTIN
HEADTEXTOUT
ITEMDATAIN
ITEMDATAINX
ITEMDATAOUT
ITEMTEXTIN
ITEMTEXTOUT
RETURN

Exceptions

Function Group

2126

BAL_S_LOG - Application Log: Log header data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 6026 Date: 20240523 Time: 154314     sap01-206 ( 56 ms )