Fonction SAP BAPI_PAYMENTREQUEST_POST - Posting a Parked Payment Request

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
REQUESTID BAPI2021_KEYNO-REQUESTID C 10 Key Number for Payment Request
TESTRUN BAPI2021_HELP-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter

Functionality
You can post a parked payment request with this method. This means thata payment request created with method PaymentRequest.Create isupdated in cash management and forecast. You can also simulate postingof the payment request.
This method is a part of the Payment handling with releaseprocess. You can use the following three methods to visually reproducethis 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 iscalled.

    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 isfirst stored internally and then written to the database as a tableinsert with COMMIT WORK. Deletion of internal storage is carried outduring ROLLBACK WORK.

        The method contains two customer exits that you can use for your ownchecks and to update your own data.
        Messages
        INCLUDE BAPI_RET

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

        Description
        INCLUDE BAPI_TABLE

        Value range
        Type,,ID ,,Number,,Text
        E ,,FIBL1,,003 ,,No execution authorization for company code &1 andorigin &2
        E ,,PZ ,,129 ,,Payment request &1 already canceled in temporarystorage
        E ,,PZ ,,134 ,,Payment request &1 currently being processed
        E ,,PZ ,,110 ,,Data for payment request selection is notsufficient
        E ,,PZ ,,090 ,,Payment request & does not exist
        E ,,PZ ,,093 ,,Payment request for document <(>&1/&2/&3<)> from &4does not exist
        E ,,PZ ,,102 ,,No payment request exists for reference <(>&1/&2/&3
        <)>
        E ,,PZ ,,091 ,,Several payment requests exist for document <(>&1/&
        2/&3<)> from &4
        E ,,PZ ,,104 ,,Several payment requests exist for reference<(>&1/&2/&3<)>
        E ,,PZ ,,148 ,,Payment request &1 has status &2, therefore postingnot possible
        Other error messages might be generated from cash management andforecast.

        Description
        INCLUDE BAPI_KEYFIELD

        Description
        You can simulate the posting of a payment request (updating in cashmanagement and forecast) with this parameter.

        Value range
        The following values are possible:

        • " " (no value)

        • No value means that the payment request is posted. This is the defaultsetting.
          • "X"

          • This value means that only the checks necessary for posting are carriedout. The posting itself does not take place.