Fonction SAP BAPI_BKK_FORWD_ORDER_DELETE - Delete a Forward Order

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BANKAREA BAPI_IBKK_ACCNT_IDENTIF-BANKAREA C 4 Bank Area
FORWARDNUMBER BAPI_IBKK_FORWD_HEADER-FORWARDNUMBER N 12 Forward order number
PROCESS_EXTENSION BAPI_IBKK_ACCNT_COMM_PARAM-PROCESS_EXTENSION C 1 X Indicator, Extension IN/OUT
TESTRUN BAPI_IBKK_ACCNT_COMM_PARAM-TESTRUN C 1 X Execution in Test Run Mode ('X' = Yes, ' '= No)

Paramètre Reférence Type Long. Description
STATUS BAPI_IBKK_FORWD_HEADER-STATUS C 2 Status of Forward Order

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

Functionality
Use this method to delete an existing forward order. The method logsdetails of errors in the return parameter (RETURN).
Note: You can only delete forward orders that have the Activestatus.
To use this method, it is mandatory to specify values for the followingparameters:

  • Forward Order Number (FORWARDNUMBER)

  • Bank Area (BANKAREA)

  • When you delete a forward order, the system changes the status of theforward order to Deleted. If you have set up the principle ofdual control for payment orders, the status of the deleted forward orderchanges to Deleted Control - Dual Control. You can define theprinciple of dual control in the IMG activityMaintain Amount Limit/Principle of DualControl for Payment 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 (LUW), without a prior posting beingnecessary.
    Customer Enhancements
    INCLUDE BAPI_CUST1
    INCLUDE BAPI_CUST_INOUT
    INCLUDE BAPI_CUST2
    INCLUDE BAPI_CUST_ENH_FURTHER_INFO
    Return Messages
    INCLUDE BAPI_RET

    Further information
    You can also delete a forward order manually from the dialog. For moreinformation, see Processing Forward Orders in the SAP Libraryunder Bank Customer Accounts (BCA) -> Account Management -> ForwardOrder.

    Description
    This parameter returns the status (such as Deleted Control - DualControl or Deleted) of the forward order.

    Description
    This parameter allows you to specify thebank area and is a mandatory value todelete a forward order.

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

    Description
    This parameter contains the key that identifies the forward order.

    Description
    This parameter specifies whether the details entered by the customers ina Business Add-In (BAdi) 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.
    'X'
    This value means that the customer enhancements are executed.

    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.
    '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
    1E,, 071,, Account number &1 does not exist in bank area &2
    1E,, 073,, Account & does not exist
    1P,, 440,, Payment order &1 &2 does not exist
    1BKKBAPI,, 154,, Bank country &1 does not correspond with bank area &2
    1BKKBAPI,, 155,, Bank key &1 does not correspond with bank area &2
    1BKKBAPI,, 156,, IBAN &1 does not correspond with bank area &2 andaccount number &3
    Additional Messages
    Type ID,, Message Number,, Messages
    1BKKBAPI,, 101,, BAPI call failed
    1BKKBAPI,, 218,, Message protocol could not be opened
    1BKKBAPI,, 213,, Internal Error &1 occurred during generating directinput data
    1BKKBAPI,, 012,, Instance of BADI definition &1 could not be created
    1BKKBAPI,, 013,, Error on opening instance of object type &1. Externalreference &2 &3