Ansicht
Dokumentation

BAPI_PAYMENTREQUEST_POST - Posting a Parked Payment Request

BAPI_PAYMENTREQUEST_POST - Posting a Parked Payment Request

Vendor Master (General Section)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can post a parked payment request with this method. This means that a payment request created with method PaymentRequest.Create is updated in cash management and forecast. You can also simulate posting of the payment request.

This method is a part of the Payment handling with release process. You can use the following three methods to visually reproduce this process:

  • PaymentRequest.Create (Create payment request)
  • PaymentRequest.Post (Update cash management and forecast)
  • PaymentRequest.Release (Release for payment)

Only one payment request can be transferred each time the method is called.

Example

Notes

The following authorization object is checked with activity 02 (change):

  • F_PAYRQ,,Authorization object for payment requests

Processing steps

The method carries out the following processing steps:

  • Determination of payment request status
  • Authorization check
  • Customer exit for checking of data
  • Cash management and forecast entry and check
  • Customer exit for update of own data
  • Update of payment request data
  • Update of cash management and forecast data

Update of payment request data uses of temporary storage: The data is first stored internally and then written to the database as a table insert with COMMIT WORK. Deletion of internal storage is carried out during ROLLBACK WORK.

The method contains two customer exits that you can use for your own checks and to update your own data.

Messages

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Further information

You can find further information in the SAP Library under Financial Accounting -> Bank Accounting -> Payment Transactions -> Automatic Payment -> Payment Program for Payment Requests.





Parameters

REQUESTID
RETURN
TESTRUN

Exceptions

Function Group

2021

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 3047 Date: 20240523 Time: 165429     sap01-206 ( 41 ms )