Fonction SAP BKK_PAYM_ITEM_BAPI_POST_CLR - Check and Post Routing Items That Were Triggered Externally

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_XCHK IBKK_XCHK u 6 SPACE X Indicator: Which Checks Are Deactivated?
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_IN_UPDATE_TASK BKK_XFELD C 1 SPACE X
I_X_SIMUL BKK_XFELD C 1 SPACE X Indicator: Posting Simulation

Paramètre Reférence Type Long. Description
E_RETURN SYST-SUBRC I 4 0: No Errors
E_XERR IBKK_XCHKR u 10 Indicator for Errors Occurred

Paramètre Reférence Long. Facultatif Description
E_TAB_XCHECK IBKK_XCHECK_ITEM 21 X Structure for Checks and Results for Payment Items
T_CLEARING IBKK_PSTBK 1021 Import Structure of Routing
T_PAYM_NOTE IBKK_PYNOT 81 X

Functionality
The individual processing steps are as follows:

  • Initialization of the global variables and internal tables

  • Check if data records have already been updated by a previous call if

  • the XREPETITION indicator is set
    • Determine whether a credit or a debit is involved

    • Copy payment notes to internal structure (IBKK_NOTE)

    • Check ordering party data (BKK_PAYM_ITEM_CHECK_ITEM)

    • Evaluation of the check:

    • No errors:
      Prepare posting of payment item (BKK_PAYM_ITEM_PREPARE_POST)
      Other errors:
      Terminate processing
      • Update data on database (BKK_PAYM_ITEM_UPDATE_ITEM)
      • Further information

        • Structure:

        • IBKK_NOTE
          • Function modules:

          • BKK_PAYM_ITEM_CHECK_ITEM
            BKK_PAYM_ITEM_PREPARE_POST
            BKK_PAYM_ITEM_UPDATE_ITEM

            Description
            Result of processing the clearing items

            Value range
            Possible return codes:

            • 0 No errors

            • 1 Posted in postprocessing

            • 2 Account does not exist

            • 3 Invalid date transferred

            • 4 System error
            • Further information
              Indicator for errors occurring

              Further information
              Indicator: Repeated presentation

              Further information
              Reverse indicator