Fonction SAP BAPI_PAYMENTREQUEST_GETSTATUS - Determination of Payment Request Status

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
REQUESTID BAPI2021_KEYNO-REQUESTID C 10 Key Number for Payment Request

Paramètre Reférence Type Long. Description
REQUEST_STATUS BAPI2021_STA-REQUESTSTATUS C 2 Status of a Payment Request
RETURN BAPIRET2 u 548 Confirmations

Functionality
This method can be used to determine the status of a single paymentrequest.

Notes
The following authorization object is checked with activity 03(display):

  • F_PAYRQ,,Authorization object for payment requests

  • You enter the key number of the payment request and the status of thepayment request is returned.
    Processing steps
    The method carries out the following processing steps:
    • Reading of payment request

    • Authorization check

    • Determination of the status

    • Messages
      INCLUDE BAPI_RET

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

      Description
      Possible statuses are:

      • 01: Payment request posted

      • 02: Payment request contained within a payment proposal

      • 03: Payment request paid by the payment program

      • 11: Payment request canceled

      • 21: Payment request parked

      • 22: Payment request posted (no release for payment)
      • Description
        INCLUDE BAPI_TABLE

        Value range
        Type,,ID ,,Number,,Text
        E ,,FIBL1,,003 ,,No authorization for execution in company code &1and origin &2
        E ,,PZ ,,129 ,,Payment request &1 is already canceled in temporarystorage
        E ,,PZ ,,134 ,,Payment request &1 is currently in 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 ,,More than one payment request exists for reference
        <(>&<)>1/<(>&<)>2/&3
        S ,,PZ ,,144 ,,Payment request &1 posted (without release forpayment)
        S ,,PZ ,,145 ,,Payment request &1 parked
        S ,,PZ ,,140 ,,Payment request &1 posted
        S ,,PZ ,,143 ,,Payment request &1 contained in payment proposal2/3
        S ,,PZ ,,141 ,,Payment request &1 already paid
        S ,,PZ ,,142 ,,Payment request &1 canceled

        Description
        INCLUDE BAPI_KEYFIELD