Fonction SAP BKK_PAYM_ITEM_BAPI_POST_SND - Check and Post Ordering Party Items That Were Triggered Externally

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_SENDER IBKK_PSTBK u 1021 Import Structure of Ordering Party
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 Simulation Indicator

Paramètre Reférence Type Long. Description
E_POSTDATE IBKK_PSTBK-DATE_POST D 8 Posting Date Used
E_RETURN SYST-SUBRC I 4 0: No Errors
E_VALUEDATE IBKK_PSTBK-DATE_VALUE D 8 Value Date Used
E_XERR IBKK_XCHKR u 10 Indicator for Errors Occurred

Paramètre Reférence Long. Facultatif Description
T_PAYM_NOTE IBKK_PYNOT 81 X Payment Notes

Functionality
The individual processing steps are as follows:

  • Initialization of the global variables and internal tables

  • Check if the 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 the internal structure (IBKK_NOTE)

    • Check ordering party data (BKK_PAYM_ITEM_CHECK_ITEM)

    • Evaluation of the check:

    • No errors:
      Prepare to post payment item (BKK_PAYM_ITEM_PREPARE_POST)
      Rectifiable error occurred:
      If the account balance table could not be locked for the limit checkor if there is a lock due to currency changeover, the payment item isparked (BKK_PAYM_ITEM_ENQ_CREATE_ITM)
      Otherwise parking of the payment item is prepared(BKK_PAYM_ITEM_PREPARE_PREPOST)
      Other errors:
      Terminate processing
      • Update data on the database (BKK_PAYM_ITEM_UPDATE_ITEM)
      • Further information

        • Structure:

        • IBKK_NOTE
          • Function modules:

          • BKK_PAYM_ITEM_CHECK_ITEM
            BKK_PAYM_ITEM_ENQ_CREATE_ITM
            BKK_PAYM_ITEM_PREPARE_POST
            BKK_PAYM_ITEM_PREPARE_PREPOST
            BKK_PAYM_ITEM_UPDATE_ITEM

            Further information
            Posting date used

            Description
            Result of processing the ordering party item

            Value range
            Possible return codes:

            • 0 No errors

            • 1 Posted in postprocessing

            • 2 Account does not exist

            • 3 Invalid data transferred

            • 4 System error
            • Further information
              Value date used

              Further information
              Indicator for errors occurring

              Further information
              Indicator: Repeated presentation

              Further information
              Reverse indicator

              Further information
              Payment notes