Fonction SAP BAPI_BKK_STAND_ORDER_DELETE - Delete a Standing Order

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BANKAREA BAPI_IBKK_ACCNT_IDENTIF-BANKAREA C 4 Bank Area
BANKNUMBER BAPI_IBKK_ACCNT_IDENTIF-BANKNUMBER C 15 X Bank Key
BANK_COUNTRY_KEY BAPI_IBKK_ACCNT_IDENTIF-BANK_COUNTRY_KEY C 3 X Bank Country Key
BANK_COUNTRY_KEY_ISO BAPI_IBKK_ACCNT_IDENTIF-COUNTRY_ISO C 2 X Country ISO Code
EXTACCOUNTNUMBER BAPI_IBKK_ACCNT_IDENTIF-EXTERNALACCOUNTNR C 35 External Account Number
PROCESSEXTENSION BAPI_IBKK_ACCNT_COMM_PARAM-PROCESS_EXTENSION C 1 X Execute Customer Enhancements
STANDINGORDERNUMBER BAPI_IBKK_SO_MDATA-STANDING_ORDER_NUMBER N 10 Standing Order Number
TESTRUN BAPI_IBKK_ACCNT_COMM_PARAM-TESTRUN C 1 X Execution in Test Run Mode

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI parameter ExtensionIn
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI parameter ExtensionOut
E_RETURN BAPIRET2 548 X Return Parameter

Functionality
Use this method to delete an existing standing order.
To use this method, you must transfer values for the following importparameters:

  • External Account Number (EXTERNALACCOUNTNR)

  • Standing Order Number (STANDING_ORDER_NUMBER) in the structure
  • Standing Order Data (STANDORDDATA)
    • Customer Extension Indicator (PROCESS_EXTENSION)

    • In addition, to execute this method and ensure that the account iscorrectly identified, you must enter either of the following importparameters:
      • Bank Key (BANKNUMBER) and Bank Country Key
      • (BANK_COUNTRY_KEY)
        • Bank Area (BANKAREA)

        • The deleted standing order will be transferred with the internal valueDeleted Control - Dual Control if you have set up the principleof dual control for standing orders. You can define the principle ofdual control in the IMG activity MaintainAmount Limit/Principle of Dual Control for Standing Order.
          Note: The original standing order will continue to be executeduntil you release the deleted standing order.

          Notes
          This method works with buffering. This means that other change methodsof instances created or changed by this method can be executed in thesame Logical Unit of Work, without a prior posting being necessary.
          Customer Enhancements
          INCLUDE BAPI_CUST1
          INCLUDE BAPI_CUST_INOUT
          INCLUDE BAPI_CUST2
          INCLUDE BAPI_CUST_ENH_FURTHER_INFO
          Return Messages
          INCLUDE BAPI_RET

          Description
          This parameter allows you to specify thebank area for the standing order.
          The method Delete a Standing Order (BAPI_BKK_STAND_ORDER_DELETE)internally identifies the account for the standing order by using any ofthe following parameters:

          • Bank Key (BANKNUMBER) and Bank Country Key
          • (BANK_COUNTRY_KEY)
            • Bank Area (BANKAREA)

            • Note: The system returns an error message if you do not specify avalue for either of these parameters.

              Value range
              The value range for this parameter corresponds to the bank areas thatyou have created in the IMG activity DefineBank Area.

              Description
              The bank keyparameter identifies the bankthat will process the standing order.
              The method Delete a Standing Order (BAPI_BKK_STAND_ORDER_DELETE)internally identifies the account for the standing order by using any ofthe following parameters:

              • Bank Key (BANKNUMBER) and Bank Country Key
              • (BANK_COUNTRY_KEY)
                • Bank Area (BANKAREA)

                • Note: The system returns an error message if you do not specify avalue for either of these parameters.

                  Description
                  The bank country keyparametercontrols the validation of external account numbers.
                  The method Delete a Standing Order (BAPI_BKK_STAND_ORDER_DELETE)internally identifies the account for the standing order by using any ofthe following parameters:

                  • Bank Key (BANKNUMBER) and Bank Country Key
                  • (BANK_COUNTRY_KEY)
                    • Bank Area (BANKAREA)

                    • Note: The system returns an error message if you do not specify avalue for either of these parameters.

                      Description
                      This parameter transfers the country forthe Bank Area parameter (BANKAREA).
                      The system returns an error message if you enter an invalid value.

                      Description
                      This parameter identifies the account for the standing order and is amandatory value for deleting a standing order. This account must havethe internal status Active.
                      The system returns an error message if you enter an invalid value.

                      Description
                      This parameter specifies whether the details entered by the customers ina Business Add-In of this method, must be retrieved.
                      You will find information on the meaning of the parameter in thedocumentation for the data element Execute Extension(s)(BAdI).

                      Value range
                      ' ' (no value)
                      This value means that the customer enhancements are not executed. Thisis the default setting.
                      'X'
                      This value means that the customer enhancements are executed.

                      Description
                      This parameter transfers the number of the standing order and is amandatory value for deleting a standing order.

                      Description
                      If this parameter is set, the method will only be executed in the testrun. All checks are then carried out, without an entry being made in thedatabase.
                      This is used for write BAPIs to check the entries for the objectinstance in the database before actually creating the instance. Theobject instance is not actually created; it is merely simulated.

                      Value range
                      ' ' (no value)
                      This value means that the database is updated. This is the defaultsetting and corresponds to the expectations of the calling program.
                      'X'
                      This value means that the BAPI is called in simulation mode and that nodata is written to the database.
                      INCLUDE BAPI_EXTIN
                      INCLUDE BAPI_EXTOUT

                      Description
                      INCLUDE BAPI_TABLE

                      Value range
                      Messages for Value Checks
                      Type ID,, Message Number,, Messages
                      1B,, 001,, Bank area &1 does not exist
                      1BKKBAPI,, 155,, Bank key &1 does not correspond with bank area &2
                      1BKKBAPI,, 154,, Bank country &1 does not correspond with bank area &2
                      1BKKBAPI,, 156,, IBAN &1 does not correspond with bank area &2 andaccount number &3
                      1BKKBAPI,, 016,, ISO-Code &1 of field &2 could not be processed
                      1E,, 073,, Account & does not exist
                      1E,, 071,, Account number &1 does not exist in bank area &2
                      1E,, 069,, No corresponding data record was found for the parameters
                      Messages for Authorization
                      Type ID,, Message Number,, Messages
                      1P,, 131,, User &1 has no authorization for executing &2
                      Additional Messages
                      Type ID,, Message Number,, Messages
                      1E,, 089,, SYST: Error in import parameter check
                      1BKKBAPI,, 012,, Instance of BADI definition &1 could not be created
                      1BKKBAPI,, 013,, Error on opening instance of object type &1. Externalreference &2 &3
                      1BKKBAPI,, 014,, &1 must be called at least with one of the parameters2 3
                      1BKKBAPI,, 100,, BAPI call has been processed successfully
                      1BKKBAPI,, 101,, BAPI call failed
                      1BKKBAPI,, 218,, Message protocol could not be opened