Variant in web template selection screen

Hello friends,
Is this possible to create variant or select the variant when we execute the web templates?
instead of entering the values i need to select the variant and execute the template!
Points will be assigned!
Regards
ram

Hello Bhanu,
I am really sorry and thanks for the information .
Here ,manually we need to add the name of the variant !
Yes but now my condition is not like this and more than 20 plants are there and i need to create 20 variants.
The key user cannot remember all variant names ,so how to acheive this?
Also in the link that u had given u have given the way to add the variant at the end of the URL. But i hope that will not help me!
Please if there is some other way help me out!
Kind regards
Ram

Similar Messages

  • Web template selection screen

    Hi,
    I am facing the following problem:
    When executing a report I receive in the selection screen of that report a list of variables. One of these variables is being filled with default values through a customer exit. When executing this report through the bex analyzer that variable is showing all values in oly one box (which is correct). But when executed through a web report, all the default values of that varible are shown in different boxes, having as result a  big list of boxes containing one value per box.
    This result for the end users is not so friendly, for they need to scroll down the whole list to execute the report or choose other filters.
    Basically I will like to know if there is a way to get in the web report all that values in one box, like the BEX analyzer does.
    Is there a way to do that?
    Thanks in advance, Jose
    Edited by: Jose Abella on Apr 23, 2008 12:07 PM

    Hi Jose,
    It is the default screen and the display is defaultly provided by SAP. If you want to have many selections in the variable screen, you will get that screen.
    As you are saying, it is defaultly selected using customer exit, you can skip that variable screen and get the output directly. If you are using WAD, you will find the property in Template properties.
    Go to template web item properties in left hand pane-->Uncheck "Force variable screen Display".
    Hope this helps u...
    Regards,
    KK.

  • BEx web report selection screen entries retain when closing and opening the report again

    Hello all,
    please help me in the below query.
    Till last month the entries we made in BEx web report selection screen are retained in the selection screen even when we close the web report and open it again from portal without logging off. But recently this functionality is missing and the entries in selection screen are not remembered when we close and open the same report again. It is a good feature for the users. Have you come across this issue?

    No...I think i can reframe the question very clearly......For ex:  we are opening a Bex Web report...so initally we would be prompted by the variable selection screen...in which we have to give the entries(Values) for those variables like Cal month, Sales org, Company code, etc.....Later on the report will get open based on the values we have given......
    Now if we close the particular report without logging off then if i try to open the same report that selected values are missing.....earlier it used to remember the values we have given until we log off....But now that functionality is missing....It was very useful feature.....Can you please tel me what can be done to resolve this??
    I hope the explanation would be clear now.

  • Variants with subscreens in selection screen

    I have a screen that contains a subscreens....this subscreen is a selection-screen....i need to save and load variants for this selection-screen.
    My code:
    REPORT  zprueba_02.
    ----u2013
      TABLES                                                        *
    ----u2013
    TABLES: spfli.
    ----u2013
      TYPE-POOLS                                                    *
    ----u2013
    TYPE-POOLS: slis.
    ----u2013
      INTERNAL TABLES                                               *
    ----u2013
    DATA: t_rkey TYPE STANDARD TABLE OF rsvarkey WITH HEADER LINE,
          t_selctab TYPE STANDARD TABLE OF rsscr WITH HEADER LINE,
          t_vari TYPE STANDARD TABLE OF rvari WITH HEADER LINE,
          it_extab TYPE slis_t_extab,
          wa_extab LIKE LINE OF it_extab.
    ----u2013
      VARIABLES                                                     *
    ----u2013
    DATA: ok_code TYPE sy-ucomm,
          w_variant TYPE rsvar-variant,
          w_user_vari TYPE rsvar-variant,
          w_vari_report TYPE rsvar-report,
          sel_variant TYPE rsvar-variant,
          sel_variant_text TYPE rsvar-vtext,
          w_report TYPE rsvar-report,
          variant_exists TYPE c.
    ----u2013
      SELECTION-SCREEN                                              *
    ----u2013
    SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.
    SELECT-OPTIONS: s_carrid FOR spfli-carrid,
                    s_connid FOR spfli-connid.
    SELECTION-SCREEN END OF SCREEN 101.
    ----u2013
      INITIALIZATION                                                *
    ----u2013
    INITIALIZATION.
      w_report = sy-repid.
      PERFORM variant_exists.
    ----u2013
      START-OF-SELECTION                                            *
    ----u2013
    START-OF-SELECTION.
      CALL SCREEN 0100.
    *&      Module  STATUS_0100  OUTPUT                               *
    MODULE status_0100 OUTPUT.
      SET PF-STATUS '100' EXCLUDING it_extab.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT                          *
    MODULE user_command_0100 INPUT.
      ok_code = sy-ucomm.
      CASE ok_code.
        WHEN 'SAVE'.
          PERFORM save_variant.
          PERFORM variant_exists.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'GET_VAR'.
          PERFORM load_variant.
        WHEN 'DEL_VAR'.
          PERFORM delete_variant.
          PERFORM variant_exists.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  SAVE_VARIANT                                        *
    FORM save_variant.
      t_rkey-report = sy-repid.
      APPEND t_rkey.
      CALL FUNCTION 'RS_VARIANT_SAVE_FROM_SELSCREEN'
        EXPORTING
          curr_report          = w_report
         USER_VARI            = SY-SLSET
          vari_report          = w_report
        IMPORTING
          variant              = w_variant
        TABLES
          p_sscr               = t_selctab
          p_vari               = t_vari
        EXCEPTIONS
          illegal_variant_name = 1
          not_authorized       = 2
          no_report            = 3
          report_not_existent  = 4
          report_not_supplied  = 5
          OTHERS               = 6.
      t_rkey-variant = w_variant.
      MODIFY t_rkey INDEX 1.
      CALL FUNCTION 'RS_RWSET_SAVE_VARIANT'
        EXPORTING
          rkey    = t_rkey
        TABLES
          selctab = t_selctab.
    ENDFORM.                    " SAVE_VARIANT
    *&      Form  LOAD_VARIANT                                        *
    FORM load_variant.
      PERFORM choose_variant CHANGING sel_variant.
      IF sel_variant NE space.
        CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
          EXPORTING
            report               = w_report
            variant              = sel_variant
          EXCEPTIONS
            variant_not_existent = 1
            variant_obsolete     = 2
            OTHERS               = 3.
      ENDIF.
    ENDFORM.                    " LOAD_VARIANT
    *&      Form  DELETE_VARIANT                                      *
    FORM delete_variant.
      PERFORM choose_variant CHANGING sel_variant.
      IF sel_variant NE space.
        CALL FUNCTION 'RS_VARIANT_DELETE'
          EXPORTING
            report               = w_report
            variant              = sel_variant
            flag_confirmscreen   = 'X'
            flag_delallclient    = 'X'
          EXCEPTIONS
            not_authorized       = 1
            not_executed         = 2
            no_report            = 3
            report_not_existent  = 4
            report_not_supplied  = 5
            variant_locked       = 6
            variant_not_existent = 7
            no_corr_insert       = 8
            variant_protected    = 9
            OTHERS               = 10.
      ENDIF.
    ENDFORM.                    " DELETE_VARIANT
    ----u2013
          FORM CHOOSE_VARIANT                                       *
    ----u2013
    FORM choose_variant CHANGING l_sel_variant.
      CALL FUNCTION 'RS_VARIANT_CATALOG'
        EXPORTING
          report               = w_report
          masked               = 'X'
        IMPORTING
          sel_variant          = sel_variant
          sel_variant_text     = sel_variant_text
        EXCEPTIONS
          no_report            = 1
          report_not_existent  = 2
          report_not_supplied  = 3
          no_variants          = 4
          no_variant_selected  = 5
          variant_not_existent = 6
          OTHERS               = 7.
    ENDFORM.                    "CHOOSE_VARIANT
    *&      Form  VARIANT_EXISTS                                      *
    FORM variant_exists.
      CALL FUNCTION 'RS_VARIANT_FOR_ONE_SCREEN'
        EXPORTING
          program        = w_report
          dynnr          = '0101'
        IMPORTING
          variant_exists = variant_exists.
      IF variant_exists EQ 'X'.
        CLEAR: wa_extab, it_extab.
        REFRESH it_extab.
      ELSE.
        CLEAR: wa_extab, it_extab.
        REFRESH it_extab.
        wa_extab-fcode = 'GET_VAR'.
        APPEND wa_extab TO it_extab.
      ENDIF.
    ENDFORM.                    " VARIANT_EXISTS
    At include modul i have:
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      CALL SUBSCREEN sb_0001 INCLUDING w_report '0101'.
    PROCESS AFTER INPUT.
      MODULE user_command_0100.
      CALL SUBSCREEN sb_0001.
    and i have declared in the screen a subscreen area called sb_001.
    When i try to save the variant, the next error:
    Selection screen 0100 contains no object.

    I think error is coming from function module RS_VARIANT_SAVE_FROM_SELSCREEN
    try to use function RS_REFRESH_FROM_SELECTOPTIONS toget contents of fields, then save a variant with this contents
    -> check if variant already exists with RS_VARIANT_EXISTS
    -> if exists : RS_VARIANT_CHANGE
    -> if not exists : RS_CREATE_VARIANT

  • Unable to save the ALV layout variant and display of selection screen on F4

    Hi All,
    The end user wants to directly select the layout variant (SLIS_VARI). I have used the following code to display the layout variant on selection screen. But, I am unable to save the variant on ALV. Whenever I am trying to select the layout variants (by doing F4 on selection screen) its displaying "No Layout found".
    Following is the code for displaying layout variant:
    PARAMETERS: p_var TYPE slis_vari.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var.
      PERFORM f4_variant CHANGING p_var.
    FORM f4_variant  CHANGING c_variant TYPE slis_vari.
      DATA: ls_variant TYPE disvariant,
                l_exit     TYPE char1.
      ls_variant-report = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant = ls_variant
          i_save     = 'A'
        IMPORTING
          e_exit     = l_exit
          es_variant = ls_variant
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF l_exit EQ space.
          c_variant = ls_variant-variant.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f4_variant
    and following is the code for displaying the ALV:
    FORM edition_alv.
      ws_variant2 = ls_variant.
    * Call ALV editor in list mode
      IF p_list = 'X'.
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            i_callback_program      = ws_extract1-report
            i_callback_user_command = ws_user_command
            is_layout               = ws_layout
            it_fieldcat             = wt_fieldcat
            it_sort                 = wt_sort
            i_save                  = 'A'
            is_variant              = ws_variant2
            it_events               = wt_events[]
          TABLES
            t_outtab                = wt_edition.
    * Call ALV editor in grid mode
      ELSE.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = ws_extract1-report
            i_callback_user_command = ws_user_command
            it_fieldcat             = wt_fieldcat
            it_sort                 = wt_sort
            i_save                  = 'A'
            is_variant              = ws_variant2
            it_events               = wt_events[]
          TABLES
            t_outtab                = wt_edition.
      ENDIF.
    ENDFORM.  
    I am not sure whats going wrong, but I am unable to save variants.
    Please help.
    Thanks,
    Vishal.

    The F4 will display you the existing layouts only. So you need to save the layout first & then execute the report again & check if you are getting F4 values for that field.
    The Layout needs to get stored with variant.
    Regards,
    Mahesh

  • How to get the variant name from the Selection Screen

    Hi Friends,
                       I have a Selection Screen with Variants.In the Report which is classical,i need to get the <b>name</b> of the variant which is used in the selection screen..Can anyone help me in this?

    You can use system variable
    SY-SLSET
    Thanks
    Seshu

  • Dynamic Variant -Current date  in selection screen - for batch jobs

    Hi Experts,
    My report runs in batch job with a variant, daily.
    One of the filed in selction screen should hv CURRENT DATE, with out providing as input explicitly by user.
    So, How Can I get it done?
    Its some thing with Dynamic variants + Selection Variables +  date selection, but, I forgot the navigation etc.
    pl. let me know
    thanq

    thanq.
    and pls. let me further clarify that,
    programitically am populating the date as current date minus 1 in the field of my_date in the selection screen.
    now, they wanna to run the report in back ground, daily.
    now, I followed ur tip/link and saved with_date_variant, fine.
    so, pls. let me know that,
    1) if the report runs in back ground tomorrow with with_date_variant(which is i created by seeing ur link), Is the selection screen my_date(prog. populates as June 5th) will be override with current date(i.e. June 6th)?
    In broad, Is the selection criteria wuld be over writes with the Dynamic varints?
    thanq

  • Different Web Template selection based on query selection values entered

    Dear Experts,
    We have a very unique requirement in our BI7 system.
    There is a web report which comprises of multiple queries and query views embedded in web templates. There are 2 selection parameters F1 and F2 that appear on executing the report.
    Our requirement is to display a unique web template to the user based upon his selections. If user enters values for both the fields F1 and F2 then we want to display report output from query views in web template T1.
    If user enters value for only field F1 and keeps F2 value blank, then we want to display report output from query views in web template T2.
    The problem we are facing is to decide the appropriate place where this type of condition could be coded. We do not think user exit would do the job here.
    Please help if you can.
    Regards
    XX

    Hi Pravin,
    Thanks for the reply.
    Let me please clarify my problem further.
    Web Template T1 --> Query Views V1, V2, V3.
    (All query views V1, V2, V3 have variables on fields F1 and F2).
    Web Template T2 --> Same Query Views V1, V2, V3.
    (All query views V1, V2, V3 have variables on fields F1 and F2 but this time variables would be having different values than above).
    If user enters values for both fields F1 and F2, then we want to display Template T1 with F1 variable = "value by user" and F2 variable = "value by user".
    If user enters value for only field F1, then we want to display Template T2 with F1 variable = "value by user" and F2 variable = "all values for which transaction data exist".
    Thus, we want to display a unique web template based on whether the value of F2 is entered by user or not.
    Please let me know if you need any further clarification.
    Thanks

  • Variants of web templates in the portal

    Hello,
    We launch our BI web templates via iViews in the portal. Some users
    have saved their personal variants in the portal, but after the version
    of the web template has changed, they do not access their variants any
    more.
    Are the variants in the portal linked to the version of the web
    template ? How is it possible to retrieve the variants ?
    Thank you in advance

    Danny,
    Logon to the BI system and go to transaction SE37 and execute RSBB_URL_PREFIX_GET to get the portnumber, try applying this and test your iview again.
    If this does not resolve the issue I suggest you to refer to SAP Note 937697 - Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool, it is a pretty simple tool and helps in resolving most issues with regards to BI Portal integration.
    Cheers!
    Sandeep Tudumu

  • Copy Variants between Web Templates

    Experts,
    Our users access all BI Reports via the SAP Portal.  The reports are published using Web Templates (developed using the Web Application Designer).  We are on BW 7.0 EHP 1.
    My question relates to Variants created on the web templates.  Is there a way to copy variants from one web template to another, if the templates are based off of the same query?  I can see that the web template variants are in SE11 table RSRPARAMETRIZA.  But I am not able to see a way to copy them from one template to another.  Any thoughts?  Thanks!
    Jose

    Experts,
    Our users access all BI Reports via the SAP Portal.  The reports are published using Web Templates (developed using the Web Application Designer).  We are on BW 7.0 EHP 1.
    My question relates to Variants created on the web templates.  Is there a way to copy variants from one web template to another, if the templates are based off of the same query?  I can see that the web template variants are in SE11 table RSRPARAMETRIZA.  But I am not able to see a way to copy them from one template to another.  Any thoughts?  Thanks!
    Jose

  • How Can i SEt Dynamic Variant For WEEK on SELECTION Screen.pls help me..

    <b>Hi ALL..
    Pls Help Me for this Problem..i am very confused how can i do that...plese tell me proper process..
    i  want set Dynamice Varient for WEEK on Selection screen..
    I have ALrady SET Dynamice Varient for DATE on Selection Screen.ther isd option is D...but in case of WEEK there is a no option...
    Plese help me..
    thaks in advance..
    pls help me..</b>

    Hello,
    Define your select-option in TVARV (assume Z_THISWEEK). And use a program like:
    DATA:
      zlv_week TYPE KWEEK.
    call function 'DATE_GET_WEEK'       
       exporting date = syst-datum
       importing week = zlv_week.
    SELECT SINGLE *
          FROM tvarvc
         WHERE name = 'Z_THISWEEK'
           AND type = 'S'
           AND numb = '0000'.
    tvarvc-low = zlv_week.
    IF syst-subrc <> 0.
        tvarvc-name     = 'Z_THISWEEK'.
        tvarvc-type     = 'S'.
        tvarvc-opti     = 'EQ'.
        tvarvc-sign     = 'I'.
        tvarvc-numb     = '0000'.
        insert tvarvc.
    ELSE.
      update tvarc.
    ENDIF.
    Regards,
    John.

  • Variable selection screen

    Hi,
    I have 2 currency varaibles in my variable selection screen. Now i want to remove one. I can't find these variables in query deffination.
    Can you tell me how should i remove the currency conversion variables from the web template selection screen. where in query defination can I find it.. or i have to do it some other way..
    Thanks and Regrds
    ravi

    Hi Ravi,
      if you just want to remove a variable its simple.
      1.Go to the query designer.In the query designer selecting the appropriate info object its attached to it.
    2. Right click and select the context menu -> restrict
    3. IN the pop up window de select the variable you want to remove.
    If it doesn't solve your problem post with more details abt your req.
    Cheers,
    Mathivanan

  • How to create a variant for a program without selection screen

    Hi All,
    I've created one program which takes the data from 30 tables and loads into one final table.
    This program is already moved to Production.
    But while creating variant it's not allowing, since the program doesn't have the selection screen.
    Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
    Thank You,
    Regards,
    Karthik.Ch

    Hi ,
    Are you running this program in a process chain??

  • 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.

  • Creating a transaction variant doesn't catch the selection screen

    Hi,
    I am trying to create a transaction variant for RERAPP transaction, which calls the report RFRERAPP on selection screen 1000.
    I have used SHD0, specifying the t. code and a name for a transaction variant, then pressed the "Create" button. the selection screen is displayed, I enter the relevant values for the transaction, and press enter. the system prompts me to create some screen variants, but none of them have fields listed, and none of them is for the screen 1000.
    SAP Release 600.
    Any hint on the reason behind this behavior?
    I found another related, unanswered [topic|Transaction Variant for a standard report without transaction code;

    Hi,
    I have faced similar problem..
    Here is the work around.. Might be useful for you..
    1. Create Selection screen variant for report (Modify selection screen 1000 for display/hide in variant maintaince)
    2. Then create "parameter Transaction" with report on Transaction START_REPORT
    D_SREPOVARI-REPORT = <Your Report Name>
    D_SREPOVARI-VARIANT = <Newly created variant>
    Nag
    Edited by: Naga Mohan Kummara on Dec 31, 2009 10:46 AM
    Edited by: Naga Mohan Kummara on Dec 31, 2009 10:49 AM

Maybe you are looking for

  • How to sync PC with iCloud after logging off?

    OK - I made the horrendous mistake of logging off the iCloud a couple of days ago.  I was left with some of my contacts from the iCloud - not all.  My groups were there, but no "all inclusive" iCloud Contacts.  Also my iCloud calendar was gone. I sti

  • Error Code 148:3 - Photoshop CS4 for Windows

    I have a message that comes up whenever I try to open Adobe Photoshop CS4 Extended. "Licensing for this product has stopped working. This product has encountered a problem which requires that you restart your computer before it can be launched If you

  • Merging PDFs in preview

    I can't seem to merge PDFs in Preview 5.5.1. Am I missing something. Can someone guide me to an article or let me know how to do this. I've read that you simply open multiple PDFs in the thumbnail and then place one PDF on top of another, but when I

  • How do I create a Snow Leopard partition?

    I just upgraded to Lion, and unfortunately, can't access my Quicken 2007.  (Didn't realize Quicken didn't work in Lion until after I downloaded it.  Clearly, I live in a barrel.)  I just downloaded iBank and need to export my Quicken data to it.  Fro

  • Configuring Security With 11g

    Hi, I have just started with the 11g version and couldn't find the Web service manager component. So how are the security policies to be defined which were earlier handled by the gateway and the agents? Moreover earlier there was the application serv