Need to populate description  beside its selection screen

Hi
I need to populate description of the following field beside its selection screen.
can someone guide and help..
for eg:
If i enter 1 in the selection screen. its following description shd be populated next to it
Kamlesh

I tried working on ur logic.
the error which I am getting is as follows:
Kindly help me with the error.
the name of the comment can be up to 8 character long. can u help me wht shd i put
code is below
selection-screen: begin of line,
                  comment 1(7) p_shift_desc,
                  position 33.
                position 1(8) COMMENT p_shift_desc FOR FIELD P_shtim,
                 COMMENT 13(35) p_sht_de.
parameters :      p_shtime TYPE tc37a-kaptprog OBLIGATORY.  " Shift
selection-screen: comment 50(40) p_sht_desc,
                  END OF LINE.
atselection this is the code written.
tables : tc37t.
  DATA : lv_shift TYPE tc37t-kaptprog.
        lv_shiftd type tc37t-ktext.
  SELECT kaptprog
      UP TO 1 ROWS
    INTO lv_shift
    FROM tc37a
   WHERE kaptprog EQ p_shtime.
  ENDSELECT.
  IF sy-subrc NE 0.
    MESSAGE e034 WITH text-002 p_shtime text-003.
  ENDIF.
  IF NOT p_shtime IS INITIAL.
    SELECT SINGLE * FROM tc37t  WHERE spras = sy-langu AND kaptprog =
    p_shtime.
    IF sy-subrc = 0.
      p_shift_desc = tc37t-ktext.
    ENDIF.
  ENDIF.
ENDFORM.                    " validate_shift

Similar Messages

  • Need a drop down for a selection screen

    HI all,
    I need a drop down for a selection screen.
    say for eg: Field is MARA-MTART   (Material Type). The selection is optional and the dropdown should be using check table: T134
    How to get a dropdown? I think a function module is used , but I dont remember the name.
    Kindly reply.
    Thanks in advance.
    Points will be rewarded

    Hi,
    chk the below code...
    TYPE-POOLS: vrm.
    PARAMETER: pr_spart TYPE spart AS LISTBOX VISIBLE LENGTH 7.
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR pr_spart.
    INITIALIZATION.
    *----Code for Drop down list....
      DATA: lit_spart_list  TYPE vrm_values, "Table for list of Divisions
              lwa_spart_list TYPE vrm_value,
              lw_name  TYPE vrm_id.            "Name of parameter with list-box.
    *---Assign selected values to table that would be passed to FM VRM_SET_VALUES
      CLEAR : lwa_spart_list,
              lw_name.
    *---Pass required values for list-box display.
      lwa_spart_list-key = 'H'.
      lwa_spart_list-text = 'HL'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'S'.
      lwa_spart_list-text = 'SL'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'P'.
      lwa_spart_list-text = 'PP'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'F'.
      lwa_spart_list-text = 'FR'.
      APPEND lwa_spart_list TO lit_spart_list.
    *Name of parameter to which list is to be assigned
      lw_name = 'PR_SPART'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = lw_name
          values          = lit_spart_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Reagrds,
    nagaraj

  • Populating description field in selection-screen

    Hi Experts,
    My WD report has a selection-screen with select-options and parameters built using IF_WD_SELECT_OPTIONS.
    One of the select-options has a search help, but the value it returns is a guid, so I want to have a new read-only description field, populated with the description of the selected value, next to the input field for the guid.
    How can I do this?
    I tried adding a new read-only parameter field and populating it in WDDOMODIFYVIEW but I got a short dump when I tried to set the value, because the new field is not in the context of the component controller.
    Many thanks,        Ben

    Hi Ben,
    You will have to define the new field in the context and then programatically bind the value of the description field to this attribute.
    But ideally, you can have a structure, which the two fiels (guid & description), and define a search help which is mapped to the structure, then you do not need to do any programming, the description field should get populated automatically.
    Hope this helps.
    Regards
    Wenonah

  • Need to display TEXT in web selection screen

    HI All,
    We are working on CRM-BW  modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
    Now what we have to do to display text in selection screen on web...
    Please give your inputs  ASAP.....we are in UAT phase....
    Thanks in advance
    Arun

    Hi Arun,
    For you case: Display key & text in selection screen.
    In BW,
    You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
    Choose it for Key and text.
    Then save it.
    Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
    Hopefully it can help you a lot.
    Regards,
    Niel
    Thanks a lot for any points you choose to assign.

  • How to change the description of a selection screen

    Hi , I created a selection screen with the description as 'Test' , now the program has grown real big . I want to change the desccription to something else as it shows at the top of the selection screen. Can this be done with out copying the program to a new progarm with a new description. I mean , is there a way to change the current description .
    Thank you .

    Hi
    in SE38 Enter the program name.
    Select the Radio button<b> Attributes.</b>
    Change the <b>Title </b>of the Program.
    This title will appear in the selection screen as well as the list by default.
    We can also set this TITLE dynamically using the command.
    SET TITLE-BAR 'T1'.  "double click on T1 and create (Activate) it.
    <b>reward if Helpful.</b>

  • Transaction DP97: Need to add 2 fields on selection screen...

    Hi,
    I am using ECC6.0. I need to add 2 extra fields on selection screen of transaction DP97. Program name is RVPKMASS97. i did not find any screen-exit for this. Please can anybody suggest any other way to add fields on selection screen... I think i can use enhancement points. please help if anybody has previously worked on this. I need to know following things:
    1) how to add 2 fields on selection screen ( 2 fields are : MATNR-Service product and FFPRF-DIP profile)
    2) where to add programming logic for this
    Thanks in advance,
    Minal

    Hi,
    Go to program RVPKMASS97.
    Go inside INCLUDE rvpkmasspar.
    (When you double click on the include a pop up screen will come up and in that select the RVPKMASS97)
    Click on spiral icon there on the tool bar.
    right click on the '
    ENHANCEMENT-POINT RVPKMASSPAR_01 SPOTS ES_RVPKMASSPAR STATIC INCLUDE BOUND .' line and select enhancement-> create. and give some implementation name and text.
    now you can declare ur fields in this implementation.
    After declaring save it and activate it.
    Now go back to ur txn and run. you are able to see the custom fields on the screen.
    Reward me points if it is helpful.
    I think it will help you out.
    Thanks,
    Prasanna

  • Need help on search help on selection screen field

    Hi guyz,
    Please tell me how to pass the parameter or restrict the below search help.
    *s_bsart FOR ekko-bsart . " Doc. Type*
    For the above selection screen field i need to display the data only for cat = F if i click search help.
    Thanks,
    Mohamed Kaleel

    Hi,
    Use At selection-screen for value-request for s_bsart.
    SELECT_OTPIONS: s_bsart FOR ekko-bsart.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_bsart.
    CALL SCREEN 100 STARTING AT 10 5
    ENDING AT 50 10.
    MODULE value_list OUTPUT.
    SUPPRESS DIALOG.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
    SET PF-STATUS space.
    NEW-PAGE NO-TITLE.
    s_bsart-low = 'F' / 'CAT=F'.
    write :/ s_bsart-low.
    Hide: s_bsart-low
    clear s_bsart-low.
    ENDMODULE.
    AT LINE-SELECTION.
    LEAVE TO SCREEN 0.
    This will resolve the issue.
    Regards,
    Gurpreet

  • Need User-Exit / Badi For CO11N selection screen

    Hello Gurus,
    I need to add an extra functionality in the selection screen of the Tcode CO11N .Can you suggest some user exit or badi for the same .
    The Functionality is : We need to make the field 'Reason' as mandatory whenever there is an entry in the field 'Scarp' .
    Waiting for your valuable suggestion on this .
    Regards,
    Abhijit Mandal

    Hi,
    Followings are Enhancement or BADI for Tcode-CO11N
    CONFPP01                                PP order conf.: Determine customer specific default values
    CONFPP02                                PP order conf.: Customer specific input checks 1
    CONFPP03                                PP order conf.: Cust. specific check after op. selection
    CONFPP04                                PP order conf.: Customer specific input checks 2
    CONFPP05                                PP order conf.: Customer specific enhancements when saving
    CONFPP06                                PP Order Confirmations: Actual Data Transfer
    CONFPP07                                Single Screen Entry: Inclusion of User-Defined Subscreens
    CONFPS01                                PS confirmation: Determine customer specific default values
    CONFPS02                                PS confirmation: Customer specific input checks 1
    CONFPS03                                PS confirmation: Customer specific check after op. selection
    CONFPS04                                PS confirmation: Customer specific input checks 2
    CONFPS05                                PS confirmation: Customer specific enhancements when saving
    CONF0001                                Enhancements in order confirmation
    CONFPI01                                Process order conf.: Calculate cust.specific default values
    CONFPI02                                Process order confirmation: Customer spec. input checks 1
    CONFPI03                                Process order conf.: Cust. spec. check after op. selection
    CONFPI04                                Process order conf.: Customer specific input checks 2
    CONFPI05                                Process order conf.: Cust. spec. enhancements when saving
    CONFPI06                                Process order confirmation: Actual data transfer
    CONFPM01                                PM/SM order conf.: Determine cust. specific default values
    CONFPM02                                PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                                PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                                PM/SM order conf.: Customer specific input check 2
    CONFPM05                                PM/SM order conf.: Cust. specific enhancements when saving
    Regards.

  • Need to add buttons to a selection screen

    hi i need to button on top of a selection screen next to the execute button, if any one guide me or send some sample code it would be gr8

    Hi
    It can create max 5 buttoms (see the structure SSCRFIELDS).
    TABLES SSCRFIELDS.
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN FUNCTION KEY N.
    SELECTION-SCREEN FUNCTION KEY 5.
    INITIALIZATION.
    MOVE: 'My button 1' TO SSCRFIELDS-FUNCTXT_01,
          'My button 5' TO SSCRFIELDS-FUNCTXT_05.
    AT SELECTION-SCREEN.
      CASE SSCRFIELDS-UCOMM.
         WHEN 'FC01'.
         WHEN 'FC05'.
      ENDCASE.
    Max

  • Description beside value selection

    I have a listbox with certain values. my requirement is that when i select a particular value from the listbox, the corresponding text should come beside the field, how is it possible?

    check this sample code for selection-screen...
    TABLES : MARA.
    TYPE-POOLS : VRM.
    DATA : BEGIN OF ITAB OCCURS 0,
             MATNR LIKE MARA-MATNR,
           END OF ITAB.
    DATA : IVALUE TYPE VRM_VALUES,
           WVALUE TYPE VRM_VALUE,
           IID TYPE VRM_ID.
    DATA : CKEY(2).
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : P_MATNR LIKE MARA-MATNR AS LISTBOX VISIBLE LENGTH 20 USER-COMMAND LIST.
    SELECTION-SCREEN COMMENT 25(10) TEXT.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
    SELECT MATNR INTO TABLE ITAB FROM MARA UP TO 15 ROWS.
    IID = 'P_MATNR'.
    LOOP AT ITAB.
    CKEY = SY-TABIX.
    WVALUE-KEY = ITAB-MATNR.
    WVALUE-TEXT = ITAB-MATNR.
    APPEND WVALUE TO IVALUE.
    ENDLOOP.
    CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        ID                    = IID
        VALUES                = IVALUE
    EXCEPTIONS
       ID_ILLEGAL_NAME       = 1
       OTHERS                = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    AT SELECTION-SCREEN.
    SELECT SINGLE MAKTX INTO TEXT FROM MAKT WHERE MATNR = P_MATNR.
    reagrds
    shiba dutta

  • Need to add date field on select screen of report RM06INP0.

    Hi All,
    I have to create a new report ZRM06INP0 as a copy from RM06INP0 and add a field in the selection.
    When the selection "Price Determination w/o PO" is not picked then we need a maintainable field from the info record. The default for the date is 9999.12.31 and should manually maintained. This date shoulde be written in the info record.
    How to achieve this?
    Please see OSS Note 392 988 Solution to 2 for more info.

    Hi Akash
    What kind of date is you wanted? You can try to find it in dynamic selections.
    regards,
    Archer

  • How can by default 'system date' needs come in selection screen automatical

    Hi
    I have 'Notification Date' in the selection screen of the report. And my client wants by default 'system date' needs to come automatically in the selection screen .
    So how can i get the 'Default System Date' in the selection screen for 'Notification Date' when he runs the report .
    Please let me know
    kumar

    Hi,
    1. Create a variable for 0Calday with the following details..
            Type of variable : Characteristic
            Variable name : Give the variable name
            Description : Give the description
           Processing by : Customer exit
           Characteristic : 0calday
           Ready for input : Make the flag enable
           Variable represent : single value
            Variable entry : Mandatory.
    2. Go to CMOD , include the below code for that variable.
          When 'XXXXXX' .   ( XXXXXX - Variable name)
           If  i_step = 1.
           clear l_S_range.
           l_s_range-low  = sy-datum.
           l_s_range-sign = 'I'.          " I: Include, E: Exclude
           l_s_range-opt  = 'EQ'.         " EQ: Equal, BT: Between, ....
           APPEND l_s_range TO e_t_range.
           endif.
    Hope it helps..
    Regards,
    Siva.

  • Need to add more field in the selection screen in tcode crm_dno_monitor

    Hi,
    In the transaction code crm_dno_monitor, i need to add extra fields in selection screen. Do we have any way to add fields in the standard tcode crm_dno_monitor.
    Thanks
    Prasad

    If you need to add 5 fields on ticket screen then use EEWB enhancement.
    The ticket screen transaction is crmd_order which even opens up after you double click the ticket no from crm_dno_monitor report list.
    for crm_dno_monitor you can have the BADI CRM_DNO_MONITOR which will add later the column for the fields which you can add using EEWB
    Check the following blog which guide you for custom field creation using EEWB
    /people/bruyneel.guillaume/blog/2008/06/13/service-desk-implementation-guide-part-ii

  • Query Selection Screen in Report Designer/WAD

    Hi Gurus,
    Please help. Iam try to copy two BEx queries into one report using Report Designer & Web Application Designer. Iam sucessfull in it, however when I execute the report either by report designer or WAD, the report does not populate the selection screen, it just gives you the output of the two queires into one page. Is there a pre-settings we need to perform to get the selection screen for each of this report?
    Thanks!

    Hi,
    Front-end upgrade will not help in this case. This feature "Display Variable Screen [VARIABLE_SCREEN]" was introduced in SP8 backend. You need SP8 backend to be able to use it.
    You will find this setting in "Properties" -> "Web Template" (in combo box) -> "Web Template Parameters" -> "Behaviour" -> "Display Variable Screen"
    This setting is defined in metadata and required an implementation on Java side (also SP8 required)
    Regards, Karol Kalisz
    SAP BI Development

  • How to set Screen type "Selection Screen" in Dialog program

    Hi Experts,
    I have copied a screen 400 from a program into my program. In that screen in source program, the screen type was defined as 'Selection Screen'. After i copied that screen into my program, the screen type Selection Screen option is disabled. How to set the screen type of a screen to Selection Screen.
    I am currently getting the following error
    "Error when generating the selection screen "0400" of   "Ztest_screen                 ".
    I tried running the generation program RSDBGENA. There the diagnosis was given as follows:
    When generating the report Ztest_screen and its selection screen, an existing screen 1000 (not a selection screen) was overwritten.
    The selection screen was defined as follows:
    SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK blck1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    PARAMETERS:     p_werks TYPE werks_d OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blck1.
    SELECTION-SCREEN END OF SCREEN 400 .
    I am calling the screen 400 with selection screen declarations in PBO of screen 0100.
    CALL SUBSCREEN sub_scr INCLUDING 'Ztest_Screen'  '400'.
    Where am i going wrong? Your inputs are needed.
    Thanks

    Thanks Przemysław and Nabheet for your suggestions.
    I had copied the generated screen 400 also from the source program into my program. This was the error. I deleted that and the report got activated now.
    Both the source and destination programs are not module pool. They are executable programs.
    Thanks

Maybe you are looking for

  • PF not getting deducted for the mid month joinees.

    Hi, The problem is coming in the PF deduction of the employees who have joined in the mid of the month. For ex if an employee's basic salary is 7000 and the emp joined in the mid of the month , the system is taking PF from RS 3500 , where PF deductio

  • How do I keep one Apple ID on my iPhone 4?

    I keep having two Apple ID's come up on my iPhone 4.  The one I've used for years with iTunes purchases and the new one I just setup for my iPhone when.  I prefer to use the new one.  How do I sign out of everything since when I try to download apps

  • HP G70-120EM Upgrades

    Hey there. I bought a HP G70-120EM just over 2 years ago and its now its starting to just slow down. It's been overhauled twice; once when I installed win7 and then again last Nov when I did a reinstall of 7. I use TuneUp Utilities to help improve my

  • Can CVP Check availability of free channel in PRI and route the call?

    We have UCCE setup with ICM 7.x CVP 7.x & CUCM 6.x. There is a requirement from operations team , an inbound call queued to a skillgroup for more than 30 second should be transferred to an external number through T1 PRI.And if no free channel is avai

  • MIGO SCREEN EXIT

    HI ALL, i have added subscreen in mgio i need to append those to mseg line item wise so that it will be used for some other thing.please help me