Application Development and Automation 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: 
Read only

At selection-screen help req?

Former Member
0 Likes
514

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
Read only

former_member386202
Active Contributor
0 Likes
489

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
Read only

Former Member
0 Likes
489

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

Read only

former_member386202
Active Contributor
0 Likes
490

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

Read only

Former Member
0 Likes
489

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