Fonction SAP BAPI_PAYIT_POST_CLEARING - Check and Post Payment Items of Routing

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_XREPETITION IBKK_MISC-XREPETITION C 1 SPACE X X: Repeated Presentation
I_XREVERSE IBKK_ITEM-XREVERSE C 1 SPACE X Flagged for Reversal
I_X_NO_COMMIT BKK_XFELD C 1 SPACE X Control of COMMIT Processing
I_X_SIMUL BKK_XFELD C 1 SPACE X Simulation Indicator
I_X_UPDATE_TASK BKK_XFELD C 1 SPACE X Update Control

Paramètre Reférence Type Long. Description
E_RETURN IBKK_MISC-RC C 2 Return Code
E_XERR IBKK_XCHKR u 10 Indicator for Errors Occurred

Paramètre Reférence Long. Facultatif Description
E_TAB_RETURN BAPIRET2 548 X Return Parameters
E_TAB_XCHECK IBKK_XCHECK_ITEM 21 X Structure for Checks and Results for Payment Items
T_CLEARING IBKK_PSTCLA 731 Data for Routing Posting
T_PAYM_NOTE IBKK_PYNOT 81 X

Functionality
The clearing item data is converted to internal display and then checked
.
Depending on the result of the check, the clearing items are either
posted or rejected.
The individual processing steps are as follows:

  • Initialization of the message handler

  • Check whether the indicator for writing the application log is set for

  • the bank area
    • Authorization check (authorization object F_PAIT_ACT, value 10)

    • Conversion of the amounts and - if existing - the conversion rate to

    • internal display
      • Call-up of function module BKK_PAYM_ITEM_BAPI_POST_CLR for processing
      • the clearing items
        • Analysis of the return code and - depending on it - a COMMIT for

        • updating the data or a ROLLBACK for rolling back the data
          • Selection of message handler and writing the application log, if

          • applicable

            Further information
            BKK_PAYM_ITEM_BAPI_POST_CLR

            Description
            Result of clearing item processing.

            Value range
            Possible return codes:

            • 00 No errors

            • 01 Account does not exist

            • 02 Invalid data transferred

            • 03 Posted in postprocessing

            • 04 System error

            • 99 No authorization.
            • Description
              Indicator for errors that occurred.

              Further information
              Indicator: Repeated Submission

              Further information
              Reversal indicator.

              Description
              If this indicator is set, COMMIT WORK and ROLLBACK WORK must becontrolled by the calling program.
              Note: During a call from an external system, the function moduleBAPI_TRANSACTION_COMMIT and BAPI_TRANSACTION_ROLLBACK are available.

              Value range
              If this indicator is not set (SPACE): COMMIT/ROLLBACK is controlled bythe called BAPI function module.
              If this indicator is set (X): COMMIT/ROLLBACK is controlled by thecaller.

              Default
              This indicator is not set.

              Description
              If this indicator is set, the call for the function moduleBKK_PAYM_ITEM_UPDATE_ITEM is suppressed. This means that processing isnot terminated if checks contain errors.
              The return parameters are retained. However, it is not possible to forcethe posting externally.

              Description
              If this indicator is set, the update type is controlled by the callingprogram. Otherwise, local updating is set using SET UPDATE TASK.

              Value range
              If this indicator is not set (SPACE): update occurs locally
              If this indicator is set (X): The update type is controlled by thecaller.

              Default
              This indicator is not set.

              Further information
              Clearing item