SAP Function BAPI_SETTLEMENTREQSLIST_CHANGE - Agency Business: Change Settlement Request List BAPI

Parameter Reference Type Length Default Optional Text
DOCUMENTNUMBER BAPISLKEY-DOCUMENT_NUMBER C 10
EXIT_AFTER_FIRST_ERROR WLF_EXIT_AFTER_FIRST_ERROR C 1 'X' X AB: End Following First Error
LISTHEADDATAIN BAPISLHC u 202 Settlement Request List Header Data: Changed Values
LISTHEADDATAINX BAPISLHCX u 24 Settlement Request List Header Data: Fields to be Changed

Parameter Reference Type Length Text
LISTHEADDATAOUT BAPISLHEADO u 314 Settlement Request List Header Data (Output)

Parameter Reference Length Optional Text
CUSTOMERCONDIN BAPIACCONDCU 151 X Customer Conditions: Changed Value
CUSTOMERCONDINX BAPIACCONDCUX 31 X Customer Conditions: Fields to be Changed
EXTENSIONIN BAPIPAREX 990 X Enhancements (Changes)
EXTENSIONOUT BAPIPAREX 990 X Enhancements (Output)
HEADDATAIN BAPIACHC 262 Header Data: Changed Values
HEADDATAINX BAPIACHCX 48 Document Header Data: Fields to be Changed
HEADDATAOUT BAPISRHEADO 438 X Document Header Data (Output)
HEADTEXTIN BAPIABHEADCTEXT 154 X Header Texts (Input)
HEADTEXTOUT BAPIABHEADCTEXT 154 X Header Texts (Output)
ITEMDATAIN BAPIACIC 350 Item Data: Changed Values
ITEMDATAINX BAPIACICX 47 Item Data: Fields to be Changed
ITEMDATAOUT BAPISRITEMO 348 X Item Data (Output)
ITEMTEXTIN BAPIABITEMCTEXT 160 X Item Texts (Input)
ITEMTEXTOUT BAPIABITEMCTEXT 160 X Item Texts (Output)
LISTITEMDATAOUT BAPISLITEMO 50 X Settlement Request List Item Data (Output)
RETURN BAPIRET2 548 X Messages
VENDORCONDIN BAPIACCONDC 151 X Vendor Conditions: Changed Values
VENDORCONDINX BAPIACCONDCX 31 X Vendor Conditions: Fields to be Changed

Functionality
You use this method to change settlement request lists.
To do this, you use the document number to select the settlementrequest list to be changed, and use structure "LISTHEADDATAINX" toselect the fields to be changed at header level for the settlementrequest list.
You use structure "LISTHEADDATAIN" to enter the new values.
The documents in the settlement request list can be changed in the sameway via "HEADDATAINX", "HEADDATAIN", "ITEMDATAINX" and "ITEMDATAIN".
Messages are issued via "RETURN".
You can use structures "LISTHEADDATAOUT", "LISTITEMDATAOUT","HEADDATAOUT" and "ITEMDATAOUT" to display the changed documents.
You can use structure "EXTENSIONIN" to include customer-specificfields. You must include these via an Append structure to structureBAPI_TE_KOMZRKE" for the document data and "BAPI_TE_KOMZRPE" for theitem data and "BAPI_TE_KOMZRLE" for the settlement request list. Forthis BAPI, the field "REF_DOC" must be used as the key field, and field"DOCUMENT_NUMBER" left empty.

Notes
Caution: In method "BAPI_SETTLEMENTREQSLIST_CREATE", the field"PAYM_DOC" is used for the document instead of field "DOCUMENT_NUMBER".
Changeable fields

Header level,,Settlement request list
DOCUMENT_NUMBER,,Document number
BILL_DATE ,,Posting date
CURRENCY ,,Currency OS NCY
CURRENCY_ISO ,,ISO code for currency
DOC_DATE ,,Document date
REF_DOC_NO ,,Reference
PAYMT_REF ,,Payment reference
ALLOC_NMBR ,,Assignment
GROSS_AMNT ,,Total gross invoice amount
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 for the invoicing party
DSCNT1_TO ,,Number of days for payment in the first condition
DSCT_PCT1 ,,Cash discount percentage for payment in first
,,condition
DSCNT2_TO ,,Number of days for payment in the second condition
DSCT_PCT2 ,,Cash discount percentage for payment in second
,,condition
DSCNT3_TO ,,Number of days for net due date
ADD_VAL_DY ,,Additional value days of invoicing party
FIX_VAL_DY ,,Fixed value date of the invoicing party

Header level ,, Documents of the settlement request list
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
PAYMT_REF ,,Payment reference
ALLOC_NMBR ,,Assignment
GROSS_AMNT ,,Gross invoice amount
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 for invoicing party
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 due date
ADD_VAL_DY ,,Additional value days of the invoicing party
FIX_VAL_DY ,,Fixed value date of the invoicing party
PMNTTRMS_DEB ,,Terms of payment key, customer
DSCNT1_TO_DEB ,,Cash discount 1 in days, customer
DSCT_PCT1_DEB ,,Cash discoun 1 in percent, customer
DSCNT2_TO_DEB ,,Cash discount 2 in days, customer
DSCT_PCT2_DEB ,,Cash discount 2 in percent, customer
DSCNT3_TO_DEB ,,Net due date, customer
PMNT_METH_DEB ,,Payment method, customer
ADD_VAL_DY_DEB ,,Additional value days, customer
FIX_VAL_DY_DEB ,,Fixed value date, customer
PYMT_METH ,,Payment method of invoicing party
INV_LIST_DATE ,,Posting date of remuneration list
Item level,,Documents of the settlement request list
DOCUMENT_NUMBER,,Document number
ITEM ,,Item
MATERIAL ,,Material
MATL_GROUP ,,Material group
VEND_PART ,,Vendor subrange
COND_GROUP ,,Condition group
PLANT ,,Plant
TAX_CODE ,,Input tax code
TAX_CODE_DEB ,,Output tax code
NET_AMOUNT ,,Net amount
GROSS ,,Gross amount
TAX ,,Tax amount
CASH_DISC ,,Indicator - subject to cash discount
REF_DOC_HEAD ,,Document number of reference document of business
,,partner
REF_DOC_ITEM ,,Item number of reference document of business partner
PDOC_CAT ,,Billing document type of reference 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
BON_GRP1 ,,Settlement group 1 (purchasing)
BON_GRP2 ,,Settlement group 2 (subsequent settlement)
BON_GRP3 ,,Settlement group 3 (subsequent settlement)

Further information

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_TABLE

Description
INCLUDE BAPI_DATAELEMENT

Description
INCLUDE BAPI_DATAELEMENT