You are on page 1of 6

We have some variables in BEX for which the logic will be written in BADI.

To write
the logic below are the steps and screen shots for better understanding.
ZBG/100: TCODE -- SE18
Select Enhancement spot /LGC/BW_ES_BEX_VAR_EXIT

This enhancement has 5 BADI definitions for BEX Variables. Please see the
description when this BADI will work

EX: BADI for After Popup BEx variable.

Below are the lists of variable implementations for this popup definition which will
be executed after entering the variable input in the report.

To create new BADI implementation, Right click on implementation depend on your


requirement either it is before popup or after popup etc.

Here is an example of already created variable. Double click on


/LGC/B_D_FISCPER_CUMI_009
For variable FISCPER_CUMI_009 we read the entered selection from the user in variable
FISCPER_CU_CURPER and make an YTD value out of it i.e. in the example 001.2014-004.2014
The user enters a fiscal year / period like 004.2014 via variable FISCPER_CU_CURPER

Double Click on /LGC/IF_BW_BEX_VAR_STEP02~AFTER_POPUP, You can see the logic


in the program. For new class we need to write our logic based on
requirement.

You might also like