Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

At selection-screen help req?

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member386202
Active Contributor
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

former_member386202
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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