on 12-11-2007 6:54 PM
Hello Gurus,
I need to copy the value of a single value variable into another single customer exit variable.
I coded as below.
WHEN 'customer_exit_var'.
IF I_STEP = 2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'user_input_Variable'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
L_S_RANGE-HIGH = ''.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
I used the condition <= for the customer exit variable in the report. But, it is considering only single value, but not all the values <= to the give value.
Please help me in this regard,
Thanks,
Aarthi.
Aarthi,
Could you be more clear.
Thanks
Message was edited by:
Govind Sehgal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your immediate response Govind.
My report is restricted based on two dates. Date1 and Date2. Need to consider all records whose dates are <= Date1 and <= Date2.
Date1 and Date2 should have same values. But user inputs only Date1.
So, I created Date1 as Single, User Input Variable restricted the query with <=Date1.
Next I created Date2 as Single, Customer Exit Variable and restrcited the Query with <=Date2.
In CMOD I used the above code to assigne Date1 Value to Date2.
When I execute the report, say I give todays date in the report (Dec, 12, 2007). Date2 has to consider all the values <= Dec 12, 2007. But, in my case it is considering only Dec 12, 2007, but not the before dates.
So, Please help me in solving this problem.
Thanks,
Aarthi.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.