11-30-2007 7:54 AM
hi
I had a filed p_doc as parameter.
I need that,if its blank,the itab shd be filled with all the doc type(except 'NB',coz for it WHERE conditionds are differnt means different select query),if its put with NB doc type,it shd only pick the data for it.I had made the perfors for both selct queries,but unable to handle this at AT Selection-Screen.
I am coding:
at selction-screen on p_doc.
if p_doc = 'NB'. -
( in debugging,i found- p_doc = IENB)
Perform one.
else perform two.
endif.
so for doc type NB its going to nxt statemnt.What shd i do.
plz help me??
Rgds
Vipin
11-30-2007 8:11 AM
Hi,
Check p_doc is parameter or select-options because IENB its a select options structure. If its selct option then do like this
at selction-screen on p_doc.
if s_doc-low = 'NB'.
Perform one.
else
perform two.
endif.
Regards,
Prashant
11-30-2007 8:01 AM
Hi Vipin,
Please check the declaration of p_doc whether it is being declared by SELECT OPTION or PARAMETER.
p_doc = IENB . shows that the declaration is with select option . so
try p_doc-low = 'NB'.
or declare p_doc using PARAMETER command and use p_doc = 'NB'.
Regards,
Mandeep
11-30-2007 8:11 AM
Hi,
Check p_doc is parameter or select-options because IENB its a select options structure. If its selct option then do like this
at selction-screen on p_doc.
if s_doc-low = 'NB'.
Perform one.
else
perform two.
endif.
Regards,
Prashant
11-30-2007 8:12 AM
See after selecting the value NB r u pressing any button(like Enter or any button)..If yes means surely the values will come in the program for debugging..
There u can give p_doc-low when u give as select options..
If u didnt press any button means the value will not come into the program..We wnt to use dynpro_values_read fm to extract the values..
Reward if useful