on 10-24-2013 9:02 PM
Hi,
I have created a variable zcalday in bex based on calenday day (customer exit, optional) and in CMOD i am feeding the input from this variable to 2other variables to calculate the keydate (zcal) and (zkeydate) last day of the previous month. (istep 2 is used)
Now the problem is if user does not enter any value it should default to system date as well as it should display the current date on prompt before running the query.
Zcalday is optional, but has become mandatory since it is being used in number of RKFs.
Any suggestions ????? on how to take user input as well as take system date when no user entry with system date being displayed on prompt beofre running the query.
Thanks,
Vinay
Use a standard Current day variable instead of ZCALDAY,
Otherwise, You can use i_step =1 for your ZCALDAY to populate default as Current date. So everytime he sees current date in the variable screen and he can change if he wants to change the date.
So that your other variables can take the value of Zcalday.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here you need I_STEP = 1 for your requirement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In I_step = 1 write the following code for the variable in which you need to populate the current system date by default.
WHEN 'VAR_CURRDT'.---Replace it with the technical name of your variable
l_s_range-low = sy-datum.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
Hope this helps.
Regards,
AL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.