4.2.19 Custom BADIs
Usage:
   *CALL_CUSTOM_LOGIC
Description
   This instructionis used to call any customABAPprogramming you have written
Examples:
*XDIM_MEMBERSET ACCOUNT=CASH
*XDIM_MEMBERSET RPTCURRENCY =LC
*XDIM_MEMBERSET TIME =2006.JAN
*XDIM_MEMBERSET CATEGORY =ACTUAL
*XDIM_MEMBERSETINTCO=NON_INTERCO
*CALL_CUSTOM_LOGICCUST_CALC_ACCT
Usage:
   *START_BADI
Description
   This instructionis used to call any custom ABAP programming you have written*WITH PARAMETERS
Syntax
*START_BADIABAP_functionName
<key1> =<value1>
<key2> =<value2>
*END_BADI
Examples:
*XDIM_MEMBERSET ACCOUNT=CASH
*XDIM_MEMBERSET RPTCURRENCY =LC
*XDIM_MEMBERSET TIME =2006.JAN
*XDIM_MEMBERSET CATEGORY =ACTUAL
*XDIM_MEMBERSETINTCO=NON_INTERCO
*START_BADI CUST_CALC_ACCT
      ACCT_FROM = 10000
      ACCT_TO = 10001 
*END_BADI
Optional Parameters
You can use the following optional parameterswithin a *START_BADI / *END_BADI
instruction:
Query - Performs the default query. Validvalues are On and Off; the default is On. Set Query
to Off if you want to perform your ownquery.
Write - Automatically writes back thedata. Valid values are On and Off; the default is On.
Example
*START_BADITEST
QUERY=ON
WRITE=OFF
*END_BADI