Fonction SAP BAPI_STANDING_ORDER_CREATE - BAPI: Creates a Standing Order

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_STANDORD IBKKBAPISSO1 u 596 Structure for Standing Order

Paramètre Reférence Type Long. Description
E_RETURN IBKK_MISC-RC2 C 2 See Long Text
E_SONO BKKSO-SONO N 10 Standing Order Number

Paramètre Reférence Long. Facultatif Description
T_MSG MESG 319 X Message collector
T_PAYM_NOTE IBKKSO_DI_NT 77 Payment Notes Lines Table

Functionality
The internal key of the account is determined from the external one.
Then a standing order is created with the specified data and the
standing order number is output.
The individual processing steps are as follows:

  • Initialization of the message handler

  • Check of authorization object F_STOR_ACT and output of an error

  • message in the case of no authorization
    • Conversion of the external account key to the internal one. The bank

    • area is determined from the bank country and bak key. The internal
      account number is derived from the external one and the bank area. In
      the case of error, the return parameter e_return is set accordingly
      and the function module exited
      • Entry of the import parameter for function module BUS_CONTROL_MAIN_DI

      • Exit message handler. All error messages until now saved

      • Callup of BUS_CONTROL_MAIN_DI that processes the standing order

      • Entry of e_return and e_sono, the standing order number

      • Write application log
      • Description
        Return code

        Value range
        '00' no error(s)
        '01' other error(s)
        '02' account does not exist
        '04' plausibility check error
        '10' database error
        '99' no authorization

        Further information
        Standing order number

        Further information
        Standing order data

        Further information
        Payment notesk