Fonction SAP BAPI_PAYM_ITEM_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_PSTCL 718 Data for Routing Posting

Functionality
The data for the clearing items is converted to the internal displayand then checked. Depending on the outcome of the check, the clearingitems are either posted or rejected.
The individual processing steps are as follows:

  • Initialization of the message handler

  • Check if 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 it exists - the conversion rate to
    • internal display
      • Callup of function module BKK_PAYM_ITEM_BAPI_POST_ITM for the
      • processing of the clearing items
        • Analysis of the return code and, depending on this, start of a COMMIT
        • for the update of the data or a ROLLBACK for rolling back the data
          • Exit message handler and, if applicable, write the application log
          • Further information
            BKK_PAYM_ITEM_BAPI_POST_ITM

            Description
            Result of clearing item processing

            Value range
            Possible return codes:

            • 00 No error

            • 01 Account does not exist

            • 02 Invalid data transferred

            • 03 Posted in postprocessing

            • 04 System error

            • 99 No authorization.
            • Further information
              Indicator of errors 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 has been set, the function moduleBKK_PAYM_ITEM_UPDATE_ITEM is not called. The system does not stopprocessing due to checks finding errors.
              The return parameters are retained, but it is not possible to force theposting 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 Items