Fonction SAP BAPI_STANDING_ORDER_DELETE - BAPI: Deletes a Standing Order

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACCOUNT IBKKBAPIAC-ACCOUNT C 35 Account Number
I_BANKKEY IBKKBAPI-BANKL C 15 Bank Key
I_COUNTRY IBKKBAPI-BANKS C 3 Bank Country Key
I_SONO IBKKBAPISSO1-SONO N 10 Standing Order Number

Paramètre Reférence Type Long. Description
E_RETURN IBKK_MISC-RC2 C 2 See Long Text
E_RET_2 IBKK_MISC-RC2 C 2 Deletion Not Possible, Standing Order is In Release

Functionality
The internal key of the account is determined from the external one.
Then the status of the specified standing order is set to deleted.
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 the bank key. The internalaccount number is derived from the external one and the bank area. Inthe case of error, the return parameter e_return is set accordingly andthe function module exited
      • Read the standing order

      • In the case of error, the return parameter e_return is set accordingly
        and the function module exited
        • Set the delete indicator

        • Save the changed standing order

        • Entry of e_return
        • Description
          Return value

          Value range
          '00' no errors
          '01' other error(s)
          '02' account does not exist
          '03' standing order does not exist for the account
          '10' database error
          '99' no authorization

          Further information
          Account number

          Further information
          Bank key

          Further information
          Bank country

          Further information
          Standing order number