SAP Function BAPI_THA_HEDGEPLAN_DELETE - Delete Hedge Plan

Parameter Reference Type Length Default Optional Text
COMPANYCODE BAPI5105-COMPANY_CODE C 4 Company Code
HEDGEPLAN BAPI5105-HEDGE_PLAN C 13 Hedge Management: Hedge Plan ID
TESTRUN BAPI5105-TESTRUN C 1 SPACE Switch to Simulation Mode for Write BAPIs

Parameter Reference Length Optional Text
DELETE_TRANSACTION BAPI_THA_TRANS_KEY 11 BAPI: ID Transaction in Hedge Accounting
RETURN BAPIRET2 548 Return Parameter(s)

Functionality
You can delete a hedge plan and delete any existing transactions. Thisimplicitly also deletes all exposures that belong to the hedge plan.

Description
A parameter for transferring the company code for the BAPI methods ofthe business object hedge plan (BUS5105). You must enter an existingcompany code.

Description
A parameter for transferring the hedge plan ID for the BAPI methods ofthe business object hedge plan (BUS5105). You must enter the ID of anexisting hedge plan.

Description
Used to check the instance details before the object instance isactually deleted in the database. Deletion of the object instance isonly simulated and the database is not updated.
The following values are possible:
' ' (no value)
No value means that the update takes place. This is the standard settingand corresponds to the normal expectations of the calling program.
'X'
This value means that this BAPI is called in simulation mode only andthat no update takes place during the call.

Description
All transactions that are contained in this table will be deleted in thehedge plan.

Description
Compare the documentation on CREATE_BAPI.