Skip to Content
author's profile photo Former Member
Former Member

At selection-screen help req?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Nov 30, 2007 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.