Fonction SAP BAPI_STANDING_ORDER_GET_DETAIL - BAPI: Supplies all Data on 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_STANDORD IBKKBAPISSO1 u 596 Standing Order Data

Paramètre Reférence Long. Facultatif Description
T_PAYM_NOTE IBKKBAPITSONT 76 Payment Notes Lines Table

Functionality
The internal key of the account is determined from the external one.Then the standing order is read, including the payment notes.
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
        • Entry of export parameters e_standord, t_paym_note and e_return

        • Exit message handler
        • 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
          '99' no authorization

          Further information
          Standing order data

          Further information
          Account number

          Further information
          Bank key

          Further information
          Bank country

          Further information
          Standing order number

          Further information
          Payment notes