Ansicht
Dokumentation
BAPI_PAYMENTREQUEST_CREATE - Creation of a Payment Request
Vendor Master (General Section) CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
You can use this method to create payment requests.
A payment request is a payment order that is carried out by the payment program for payment requests. You use this method to transfer all data necessary for the payment. Each time the method is called, only one payment item is transferred.
Example
Notes
The following authorization object is checked with activity 01 (create):
- F_PAYRQ,,Authorization object for payment requests
Transfer
You use the transfer of the parameters Releasepost and Releasepay to determine how the payment request is created:
- The payment request is updated in cash management and forecast and is released for payment:
- Releasepost "X"
- Releasepay "X"
- The payment request is updated in cash management and forecast. The method PaymentRequest.Release releases the payment request for payment.
- Releasepost "X"
- Releasepay " "
- The payment request is parked. Update in cash management and forecast occurs with method PaymentRequest.Post. Next, release for payment is effected with method PaymentRequest.Release.
- Releasepost " "
- Releasepay " "
Processing steps
The method carries out the following processing steps:
- Authorization check
- Customer exit for check
- Entry of payment request and completion of data
- Payment request check
- Optional: Cash management and forecast data entry and check
- Entry of customer enhancements
- Customer exit for user data update
- Update of payment request data
- Optional: Update of cash management and forecast data
- Payment request data and cash management and forecast data is updated using temporary storage; this means that the data is first saved internally on a temporary basis and written to the database as a table insert with COMMIT WORK. Deletion of internal storage is carried out during ROLLBACK WORK.
Customer Enhancements
The method supports the SAP customer enhancement concept. It is possible to enhance payment request table PAYRQ (BAPI table extension: BAPI_TE_PAYRQ) and to permit this to be updated with table Extensionin. Furthermore, two customer exits exist through which checks and update of own data can be carried out (SAP enhancement: PRQ_BAPI).
Confirmations
Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.
Further information
For more information, see SAP Library under Financials -> Financial Accounting -> Bank Accounting -> Payment Transactions -> Automatic Payment -> Payment Program for Payment Requests.
Parameters
ACCOUNTSADDRESS_DATA
AMOUNTS
BANK_DATA
CENTRAL_BANK_REP
CORR_DOC
EXTENSIONIN
INSTRUCTIONS
ORGANISATIONS
ORIGIN
PAYM_CONTROL
REFERENCES
REFERENCE_TEXT
RELEASEPAY
RELEASEPOST
REQUESTID
RETURN
TESTRUN
VALUE_DATES
Exceptions
Function Group
2021General Material Data ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 5688 Date: 20240606 Time: 074201 sap01-206 ( 69 ms )