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

Populating the field description on the screen

Hi Group,

In the program after executing on the screen I have 3 screen fields. After entering the two fields when user hit the enter it needs to retrieve third field value from the table and have to display on the screen,and again I will click execute button the program needs to run.

But after entering the two fields and hitting the enter program executing and the third field value getting populated after the execution.

I am using the following code:

here in this P_scen and p_fid filed I am entering on the screen and after hitting the Enter I need to populate

p_des before doing the execution.

AT SELECTION-SCREEN on block selblock.
*Fetch the the database table 
  PERFORM retrieve_table  tables    it_des
                          using     p_scen
                                    p_fid

  if sy-subrc <> 0.
    MESSAGE 'Not found'.
  endif.

* Pass the description of the scenario.
  p_des = it-desc.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 05:54 PM

    Check for simple condition:

    CHECK sy-ucomm EQ 'ONLI'.

    Write all the execution step whenever the sy-ucomm eq 'ONLI'. It will avoide that you said.

    Regards,

    Prakash.

    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.