Fonction SAP BAPI_PAYM_ITEM_POST_ITEM - Post Turnover

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

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_PAYM_ITEM IBKK_PSTPI 907 Data for Turnover Posting
T_PAYM_NOTE IBKK_PYNOT 81 X Payment Note Data

Functionality
The turnover data is converted to the internal display and thenchecked.
Depending on the outcome of the check, the turnovers are either posted,
parked 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 turnovers
        • 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 necessary, write the application log
          • Further information
            BKK_PAYM_ITEM_BAPI_POST_ITM

            Description
            Results of turnover processing.

            Value range
            Return codes:

            • 00 No error

            • 02 Transfer invalid data

            • 04 System error

            • 99 No authorization.
            • 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
              Turnovers

              Further information
              Payment note