on 03-02-2009 8:19 AM
Hi Friends,
In the query level how to select the GL account range. There is a requirement to select only the GL accounts b/w (100000-199999), (200000-299999) (700000-799999). where i need to write this condition in the query. help me out.
Thanks in advance
Karthik
Edited by: karthikeyan l on Mar 2, 2009 9:19 AM
I have did it in query level
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can do it by using Customet Exit, just see the sample code, you changec the code as per your requirement,.
When 'ZGLA'.
IF I_STEP = 2.
Clear l_s_range.
l_s_range-LOW = '*30'.
l_s_range-OPT = 'CP'.
l_s_range-SIGN = 'I'.
Append l_s_range to e_t_range.
Clear l_s_range.
l_s_range-LOW = '*31'.
l_s_range-OPT = 'CP'.
l_s_range-SIGN = 'I'.
Append l_s_range to e_t_range.
ENDIF.
Thanks
Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a variable for GL Account with option "Select Option" and restrict againest required values as default values or in filter.
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes you can set teh defalut values for that Variable, Create 3 variabls on GL A/C and then write the following code, else at the time creating variables select Ranges and then try to give defalut values.
When 'ZGLA'.
IF I_STEP = 1.
Clear l_s_range.
l_s_range-LOW = '100000'.
l_s_range-HIGH = '199999'.
l_s_range-OPT = 'BT'.
l_s_range-SIGN = 'I'.
Append l_s_range to e_t_range.
ENDIF.
When 'ZGLA1'.
IF I_STEP = 1.
Clear l_s_range.
l_s_range-LOW = '200000'.
l_s_range-HIGH = '299999'.
l_s_range-OPT = 'BT'.
l_s_range-SIGN = 'I'.
Append l_s_range to e_t_range.
ENDIF.
When 'ZGLA2'.
IF I_STEP = 1.
Clear l_s_range.
l_s_range-LOW = '700000'.
l_s_range-HIGH = '799999'.
l_s_range-OPT = 'BT'.
l_s_range-SIGN = 'I'.
Append l_s_range to e_t_range.
ENDIF.
Thanks
Reddy
User | Count |
---|---|
87 | |
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.