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

Selection Screen

Hai Friends,

The following is my requirement.

In my selection screen i will give a drop down list which shows all the output types of the invoice. By the side i want a text box which should show what type of invoice is that when the user selects one from the list.

That is,

ZGF2              Commercial Invoice

When user selects ZGF2 from the list the text box should display "Commercial Invoice".

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2008 at 04:44 AM

    hi

    In event AT SELECTION-SCREEN, populate the text field based on the list drop value.

    Edited by: Mandeep Sindhu on Sep 20, 2008 10:20 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 20, 2008 at 04:51 AM

    You an get the text description for a domain using the FM

    "DD_DOMVALUES_GET"

    Passing Ex:

    the

    DOMNAME as 'FKART'
         TEXT  = 'X'

    For drop down you can use

    ws_c_mon_list1 TYPE vrm_id,
     ws_c_list      TYPE vrm_values,
    value          LIKE LINE OF ws_c_list,
    ws_i(2)        TYPE c VALUE '01'
    
    *-----------------------------------------------------------------
    *  Calling Function Module for displaying the list box in the selection
    *  screen
    *-----------------------------------------------------------------
    
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id     = ws_c_mon_list1
                values = ws_c_list.

    If you can bring the values in the ws_c_list with the value and description by concatenating DOMVALUE_L and Description text.

    May be this will help you to frame better.

    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.