Select Screen - Maintain Display Variant - How to setup

Hi Fellow Developers,
I want to create a report which on the selection screen has F4 help defined to maintain the fieldcat.
The fieldcat is then used to build a table for the report, based on the fields for display in the fieldcat.
I have the table build routines, but need the F4 Help to maintain the fieldcat which is defined as type lvc_t_fcat.
Any suggestions.
Thanks.

use F4IF_INT_TABLE_VALUE_REQUEST function module to get f4 help in the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>.
Thanks
Venkat.O

Similar Messages

  • How to create selections-screens to display PO using module pool program

    All,
    I'm new to module pool programming. Can any one please provide me where to create selections screens to display existing purchase orders using the below selection criteria in thr module pool program.,
    SELECT-OPTIONS : S_LIFNR FOR EKKO-LIFNR,
                     S_BSART FOR EKKO-BSART,
                     S_BUKRS FOR EKKO-BUKRS,
                     S_WERKS FOR EKPO-WERKS OBLIGATORY,
                     S_BEDAT FOR SY-DATUM,
                     S_EINDT FOR EKET-EINDT,
                     S_EBELN FOR EKKO-EBELN,
                     S_MATNR FOR EKPO-MATNR.
    provide me step by step to do this.

    Hi,
    Thanks for the reply can you please let me know.
    How can I create the ranges
    like low and high in the selection.
    Using se51 i was able to do only one i,e
    example I need
    purchase order number----
    f4 -
    f4
    Can please tell me how to do this

  • Regarding Selection-Screen Field Display

    Hi All,
    I have issues with Selection-Screen field display.
    The Actual issue is i had declared a selection screen field as: <b>s_exgen FOR embk-exgen</b>.
    <b>EMBK-EXGEN</b> is actually <b>20</b> Char length field.
    But in output display it is being shown as <b>18</b> Char field though i can type in all <b>20</b> characters.
    But <b>display</b> restricted to <b>18</b> Characters only.
    Can anybody give me the solution for the same!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Hi,
    You can decrease the visible length of the field but you can not increase more than database field length. check SAP help on this :
    select-options: s_exgen FOR embk-exgen VISIBLE LENGTH 5.
    ... VISIBLE LENGTH vlen
    Effect
    This addition allows you to shorten the visible length of the corresponding screen field on the selection screen to vlen.
    Variant 2
    SELECT-OPTIONS sel FOR (f).
    Additions as in variant 1.
    Effect
    In this variant, (f) must be a field containing the name of the actual reference field at runtime. The system creates the LOW and HIGH fields as character fields with length 45. However, their appearance on the selection <b>screen is inherited from the reference field whose name is contained in field f at runtime.</b>
    Regards
    Appana

  • Select OO ALV Display Variants in a Sel Screen.

    Hi, Abapers.
    I'm wondering whether is possible to make a selection (in a sel-screen) over a field of the display variants which are further managed in an OO ALV.
    If it's possible, from where shoud I read them?
    Best regards.

    what do you means with "managed"?
    what do you think to do with the selected field?

  • Opening a selection screen in display mode

    I have an ALV grid created in OOPS. Each line of this ALV has name of a report and its variant name. Here I have created a button on toolbar. When a user selects a line and clicks this button, selection screen of the selected report is to be opened in display mode with selection screen filled as per its variant. Both the report name and varaint name will be same as the selected line. I am able to open the selection with varaint filled, but it comes in editable mode. How do I make it non-editable mode?

    Hi,
    For making your selection screen non editable you will have to disable them for input.
    For this you will have to modify the screen structure.
    try this:
    loop at screen
    if screen-fieldname = 'XYZ'.
    screen-input = '0'.
    endif.
    modify screen.
    endloop.
    You can write this code at selection screen of the program which calls this selection screen.
    Call this code under a condition, so that it get triggeres only when you call this screen form the ALV.

  • Copa Report selection screen in display mode

    Dear Friends:
    In COPA Report, we have sales group,Fiscal year and Currency type in our selection screen,sales group should be in display mode i.e. the user
    must not be able to change the sales group.
    How to reslove the problem.Please advise.
    Thanks&Regards
    MSReddy

    Hello
    Create some authourization checks for the user. Try to check with BASIS team.
    Also check if you can default entries for a particular user.
    reg

  • Selection screen value display

    can any one suggest, how to display the selection screen value in the output of the report
    i am using SQ02 record processing...

    Hi,
    In SQ02  -> Extras(F5)->Selections tab-->press
       create icod there.
    It will display pop-up screen .
    Enter your selection paramenter name.
    Ex: s_xxxx.
    --->Select one of the radio buttons.
    In extras tab  create a field whci is of same type of your required output field.
    Then go back to field groups(F6).
    Left side under extras join you will find your varable which  you have created .
    Move that field to right side field groups(By drag and drop  (OR ) field right click add to field group. )
    Under START-OF -selection event
    Move s_xxxx  To v_xxxx
    v_xxx is the field you have created in extras.
    Activate the infoset.
    In sq01->change mode->press F6--->Press F6
    Now select the checkbox of your output field.
    On sam,e screen > basic list>select check box of your field.  Save

  • Selection screen in display mode

    Hi all,
    I have a selection screen with 2 radio buttons & 2 text boxes. If I click the first radio button, the 2nd text box shud be in display mode & if I click the 2nd radio button, the 1st text box shud be in display mode.
    How to do it?
    Thanks in advance.
    SELECTION-SCREEN BEGIN OF BLOCK MODE WITH FRAME TITLE title.
    parameters : s_pr radiobutton group g1,
                 s_po radiobutton group g1.
    select-options : s_prnum for eban-banfn.
    select-options : s_ponum for eban-ebeln.
    SELECTION-SCREEN END OF BLOCK MODE.
    Pls look into the code above.
    G.Vijay

    Hi vijaykumar,
    1. simple.
    2. your code only,
       just copy paste.
    3. It will work as u require.
    4.
    report abc.
    TABLES : EBAN.
    SELECTION-SCREEN BEGIN OF BLOCK MODE WITH FRAME TITLE title.
    parameters : s_pr radiobutton group g1 <b>USER-COMMAND RAD DEFAULT 'X'</b>,
    s_po radiobutton group g1.
    select-options : s_prnum for eban-banfn <b>MODIF ID M1</b>.
    select-options : s_ponum for eban-ebeln <b>MODIF ID M2</b>.
    SELECTION-SCREEN END OF BLOCK MODE.
    <b>at selection-screen output.</b>
      LOOP AT SCREEN.
        IF S_PR = 'X' AND SCREEN-GROUP1 = 'M2'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
        ENDIF.
          IF S_PO = 'X' AND SCREEN-GROUP1 = 'M1'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    regards,
    amit m.

  • Default value in selection screen in display mode

    Hai Friends,
    In my selection screen i have a parameter PA_LEVEL, this should have a default value as 10 but it should not be in the change mode. i want that to be in the display mode as in FAGLL03 ( Ledger value ).
    how can i do this.
    Moderator message - Please do not ask such basic questions. This can easily be answered by searching the forum.
    Edited by: Rob Burbank on Apr 16, 2009 12:18 PM

    Hi,
    Use LOOP AT SCREEN...ENDLOOP. in the AT SELECTION-SCREEN OUPTUT event to disable the input field.
    LOOP AT SCREEN.
    IF screen-name CS 'FIELDNAME'.
    screen-input = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.

  • SHD0 - Selection screen of the variant appears without changes after saving

    Dear all,
    I created a variant for the transaction MB11 with SHD0.
    In the selection screen, I hide various fields.
    When I run the variant everything is working normally.
    But after saving the document, the selection screen appears again without the hidden fields.
    Any ideas how to avoid, after saving, the selection screen without the hidden fields?
    Thanks in advance.
    Carles

    Hello Madhu,
    Thanks for your response.
    I checked the link. When I have created the transaction variant I used a similar procedure.
    My issue is that, when I used the variant,  I loop again on the selection screen at the end. And it doesn't have the chagnes i made.
    Cordially
    Carles
    Edited by: carles.bostezo on Sep 5, 2011 12:40 PM

  • Password fields(mask in ******) in selection screen show in variant

    Hi guys,
    In my develped report program, I mask a password field as *****,but if I save the selection-sceen input as variant, when I display the variant, the content of password field will be shown,any way to mask it in variant? thanks!
    Best regards,
    Pole

    hi,
    try sth lik this:
    parameters PWD(64) TYPE C  lower case modif id 1.
    at selection-screen output.
    loop at screen.
    if screen-group1 = 1.
    screen-invisible = 1.
    modify screen.
    endif.
    endloop.
    greetings
    Andreas

  • Adding a new field to selection screen -Effect on variant

    Hello,
      If we add a new (non obligatory) field to a slection screen, is there any impact on existing variants? Does SAP regenerate each variant when the screen change transport get applied? We had a DB lock jam situation in our PRD system for VARI table and the previous day some program changes with a added selection screen parameter ( a check box) had moved).
    Regards,
    Hari.

    Adding a field to the selection screen shouldn't affect existing variants (but the field will be blank for all variants). However, if there is a problem, you should be able to retrieve variants with program RSVARDOC_610.
    Rob

  • BEx Selection screen Hierarchy display (text - key)

    Hi,
    We have a new query deployed that uses several hierarchies in the selection screen.
    When running the reports, the drop down for the hierarchies on the variable selection screen displays the full text. 
    However, the users are more familiar with the key value and would prefer to see that.  In the actual report, the keys are displayed.
    I am trying to find where the default display can be set for the hierarchies on the BEx selection screen so I can show the key values?
    Thanks!
    Darryl
    Edited by: Darryl Goveas on Nov 16, 2011 12:14 PM

    Create a FM like below and a wrapper for it so you can call it as part of process chain; we load all of our hierarchies then call this:
    FUNCTION ZBW_CHANGE_HIER_DISPLAYNAME.
    ""Local Interface:
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRET2
      data: hieid(25) type c,
            hienm(30) type c,
            lgtxt(60) type c.
      RETURN-TYPE = 'I'.
      RETURN-ID = '01'.
    Select each hierarchy from list table
      select nhieid nhienm t~txtmd
      into (hieid, hienm, lgtxt)
      from rshiedir as n
      join rshiedirt as t
      on nhieid = thieid
      where n~objvers = 'A'
      and   t~objvers = 'A'.
        if sy-subrc = 0.
        concatenate Key and Text
          concatenate hienm '-' lgtxt into lgtxt SEPARATED BY space.
        update table with new description
          update rshiedirt
          set TXTLG = lgtxt
          where langu = 'E'
          and hieid   = hieid
          and objvers = 'A'.
          if sy-subrc = 0.
            RETURN-NUMBER = '001'.
            RETURN-MESSAGE = 'Successfully updated Hierarchy Descriptions.'.
          else.
            RETURN-NUMBER = '002'.
            RETURN-MESSAGE = 'Error when updating Hierarchy Descriptions.'.
          endif.
        else.
          RETURN-NUMBER = '003'.
          RETURN-MESSAGE = 'Error when selecting Hierarchy Descriptions.'.
        endif.
      endselect.

  • Picture in selection screen (saved in clustertable) how to load?

    Hi everybody,
    we got an ABAP on wich a picture should be displayed.
    As we want wo have the picture in a transport ( to dispatch the ABAP on several other SAP systems ), we decided to store it in a cluster table:
    This is the way we store it:
       CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
    *   CODEPAGE                      = ' '
          filename                      = file
          filetype                      = 'BIN'
         TABLES
           data_tab                      = pict_tab.
       EXPORT pict_tab = pict_tab TO DATABASE indx(hk) ID id.
    When I now want to display the picture I (hopefully) can use:
       IMPORT pict_tab = pict_tab FROM DATABASE indx(hk) ID id.
    My question is: How can I convert pict_tab to an appropriate format so that it fits for the class cl_gui_picture
    Thanks Regards
    Mario

    unfortunatelly no answer :-(

  • Set selection screen defalut variant

    I was developed one program, when ever i execute the program, the selection screen with default variant, how i can set the default variant to selection-screen.
    Please suggest me.

    hi,
    Use FM RS_SUPPORT_SELECTIONS
    Here is a sample code
      CALL FUNCTION 'RS_VARIANT_EXISTS'
        EXPORTING
          REPORT  = 'ZPP65'
          VARIANT = 'STANDARD'
        IMPORTING
          R_C     = RC.
      IF RC = 0.
        CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
          EXPORTING
            REPORT  = 'ZPP65'
            VARIANT = 'STANDARD'.
    ENDIF.
    Regards,
    Santosh

Maybe you are looking for

  • Using an External Drive with a ReiserFS File System

    I hope this is the most appropriate place to ask this question. I am looking at adding a SimpleShare NAS device (Made by SimpleTech) to my home network. I am told that the hard drive uses the ReiserFS file system (which is a Linux file system). Two q

  • How to reduce memory use on my iMac

    How to reduce memory use on my iMac, OS X Yosemite, 2.7 GHz Intel Core i5 8 GB memory Running very slowly, and the little spinning ball showing up. How do I clean up my IMac please? Should I use MacKeep or any clean up apps?

  • Workflow customization Error

    Hi Gurus, I have added one process in Requestor change order workflow. But while saving it is giving following error WFDESV_FAIL COUNT=1 WFACTV_FAIL OPERATION=SAVE NAME=XXDB_RESET_APPROVAL_HIERARCHY TYPE=POREQCHA WFACTV_PROCESS_START Th anks in Advan

  • How to Disable Row Detail in Sales Module

    Dear Experts, how to disable row detail option in sales module. how it is posible. we are using SAP Business One 2007. PL42 Thanx

  • How to use 'alter session...' in apex

    Hello everyone, in my APEX program, I need to alter the parameter nls_date_language with 'alter session set nls_date_language = american'. I execute the statement in SQL Commands of APEX, but it doesn't seem it works. how can I change the parameter--