on 10-21-2014 2:48 PM
Hi All,
I have created a BADI implementation in the existing Enhancement Implementation (for BEx Variable ).
Requirement: I want to run Query on latest available date in my cube which is less than or equal to 'user input date'.
This should be written in istep = 2 ?
I am able to execute/debug the code when I am putting breakpoint at When istep = 1 i.e. inside istep = 1 code is running fine ,
But the debugger is not going to istep = 2 .
Details of variable is as follows :
Processing by: Customer Exit ,
Mandatory ,
Single Value ,
User Input Ready .
can somebody tell me what is the variable setting requirement required for this .
Also is there any istep specific setting in SE19.
Please help.
Regards,
Abhishek Bhattacharya
Hi Abhishek Bhattacharya,
As I understand your requirement correctly, you have to follow the below steps.
1 Create dummy formula variable with following properties
Single,Mandatory, Ready for input,Dimension(Date).
2 Create variable for characteristic(customer exit, not ready to input) which ever you have in infocube for checking date
3 In I_STEP 2 , Read dummy formula variable date(provided by the user) and implement your logic and fill the l_t_range table.
Check this.
Regards,
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek,
If I understand your query properly like,
0COMP_CODE Description
C01 ABC
C02 XYZ
C03 DEF
Now, you are trying to add all company codes in variable.
Steps:
1) First read all company codes values and update in internal table.(t_compcd)
2) Loop at internal table t_compcd
loop at t_compcd into w_compcd.
l_t_range-low = w_compcd-compcode.
l_t_range-option = 'EQ'.
l_t_range-sign = 'I'.
append l_t_range.
endloop.
Please check this.
Regards,
Nanda
moved to the Business Explorer space; please post in the proper space in the future
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.