on 11-10-2010 9:06 PM
Hi
I need to include only last 3 characters of cost centeres example which ends with " 999"...If I select all individual cost centers in Dev and transport the query to Quality we have more cost centers ends with 999 in quality. So I'm trying to write the exit as below , but its not working..It is giving me the result for all cost centers...
IF i_step = 1. "before popup
l_s_range-low+7(3) = '999'.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF..
Hi,
Select all the cost cente from'P' table of cost center r ending with 999 in an internal table. Then add thes costcenter to e_t_range by looping the cost center internal table.
Regards,
Raghavendra.
Edited by: Raghavendra Padmanaban on Nov 10, 2010 4:17 PM
Edited by: Raghavendra Padmanaban on Nov 10, 2010 4:17 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the input. But why do we need to put a loop and read when we are doing this in Bex, Can we do without reading P table? Like I said, l_s_range-low7(3) = '999' should give the cost centeres ends with 999...Or if there is any other way like using wild card '++++++999' etc...Please advice
Sam
Thanks , I'm using CP and default value as mentioned above...
But now my problem is I want to use 4 default values : 999,998,997,996....
If I create 4 variables it is not allowing me to put it in the filter area as it is selection option. Is there any way I can select more default values ? Pelase advice...
Thanks
Used 4 selections and one formula.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need to selec 4 different default values but it is allowing only 1 if I use CP...pelase advice...Do we have an option to select 4 default values when we create variable ?
Please advice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This logic is imbedded in a BEx query?
I'm not sure that
l_s_range-low+7(3) = '999'.
Does what you think it does.
I'm pretty sure all it does is enters a record into the table e_t_range with the value
low option sign
999 EQ I
Later on do you filter on 0COSTCENTER IN e_t_range?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.