on 06-12-2009 2:33 PM
hi guys . i have a scenario.
our data is converted in to upper case from BW. in the query designer i need to create a variable, so when the user click on selection option and enter anything in lower case, it will convert it to upper case and do the search.
i have a created a customer exit variable.. ZPROJECTSEL
i am writing an abap code.
WHEN 'ZPROJECTSEL'.
CLEAR l_s_range.
DATA: t(10) TYPE c . ** do i need to declare a variable to hold the converted upper case data?
if i_step = 2.
this is where i am lost****
t = ZPROJECTSEL.
TRANSLATE t TO UPPER CASE.
zprojectsel = t.
so any ideas in understanding variable exit would be helpful.
thanks
Hi Syed,
What you have done is alright. t = ZPROJECTSEL is not an expensive statement so, I think you are good.
Thanks and Regards
Subray Hegde
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks SUbray for replying. i am confused at is to use i_step 2 or i_step 3.
i know 1 is when using default values. 2 is when object is entered. the problem is i want this to check whenselection criteria .. like if you dont know the value and you click on the icon that bring up some values and one can search by text or key.. i want the user to able to put in lower or upper case and it converts lower to uppser case and do the search. do you know if that is possible?
sample code segments available at
http://www.sapdev.co.uk/sap-bw/queryexit.htm
loop at I_T_VAR_RANGE into wa_range where VNAM eq '0S_GRANT'
also please search the forums before posting...
in a nice how to on customer exits.
Edited by: Arun Varadarajan on Jun 12, 2009 9:53 PM
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
5 | |
5 | |
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.