Transport selection screen variant of ad-hoc query

Hi, I've created an ad-hoc query using sq01,sq02,sq03 and I've assigned it to a transaction and created a screen selection variant.
Now I want to transport the screen selection variant. RSTRANSP doesn't seem to work for that.
Thanks

Hi Alejandro,
You can transport this to other system by make use of program RSAQR3TR,  before you transport to other systems, please check everything is working fine in Development system, once everything is perfect..
Please use the program which i have stated above and transport user group first, then infoset and then query,, you can do it in two ways..by downloading and uploading or else by export and import..
if you still have any queries on this. share with your screenshot what have you done,, so i will help you on it..
Thanks
Sriram

Similar Messages

  • To display the selection screen variant name in WAD report output.

    Hello experts,
    I have a requirement which is to display the selection screen variant description in the output of the WAD report.
    I managed halfway, by using the object "Information field", which displays all the values which are selected by the variant.
    Example:I have created a cost center report created using WAD, since I need some graphical displays..
    In the selection screen, I have the characteristic "cost center" as input field. I have created a variant " GM - IT" which will include few cost centers managed by GM. In the output, I want the dispaly to be "Cost center - GM IT". Currently it displays "Cost Center - a,b,c,d" as the values a,b,c,d are the values from the variant name "GM-IT"
    Please let me know if this required any java script. I am not familiar with java / html codes and any help would be much appreciated (and rewarded)
    Thanks in advance
    KS

    Hi,
    Try this.
    If you want to include your variables in your WAD means you have to choose "Force Variable Screen" option to be in enabled condition.
    TO enable this,in WAD select your Template(New Template1) click the WEBITEM , it'll shows all generic properties , here you can enable this "Force variable screen"
    Save and execute your WAD now you can get your variable screen.
    Thanks,
    JituK

  • Selection screen variant for report

    Hi,
    Can we restrict the selection screen variants for reports by user? For example my report is ZREPORT. Different users can save variants for the report. When they choose a variant for executing the report, they would like to see only the variants they created.
    By default SAP lists all variants created (irrespective of who created).
    Thanks
    Anil

    Hi,
      If you want the other users doesn't want to execute (Not see) other variant..you can check if that user has created the variant in the AT SELECTION-SCREEN event..
      By checking VARI-VARIANT against the table VARID and check if sy-uname <> VARID-ENAME.
    Thanks,
    naren

  • How to limit the creation of the selection screen variant

    Hi,
    I have a question concerning the selection screen variants. Is it possible to limit the number of variant created by users (in customizing, authorization..)  ?
    If, yes, can you please tell me the procedure to follow.
    thanks for help.

    Cannot be restricted during creation but you can do a program that reads the report's existing variants, delete some, or modify the variant's content, you can put that in the program itself so when executed, apply your validation, or a background job depending on your requirements.
    You can do it with this function modules:
    RS_ALL_VARIANTS_4_1_REPORT
    RS_CHANGE_CREATED_VARIANT
    RS_VARIANT_DELETE
    Hope it helps

  • Selection screen variant...

    Hi Gurus,
    My requirement is I need to call a prepare a selection screen and create a variant of that screen..
    Then user will put the name of the variant as selection id in "Production Planning run " screen...I neeed to fetch all product ids based on the sejection screen variant and store that internal table of user exit
    APOCDPS1....The internal table name is "E_SEL_PEGID_TAB". It is there in the FM Exit_SAPLCDPSUSER_02 ....
    Please help,,,how to do??
    I also need to write a query in the user exit on a table  to fetch what are stored in the variants where the variant name is selection id given by the user...Which table and which fields are maintaining that in APO..

    You should go to transaction /SAPAPO/CDPSB0.  create the screen variant there and then you can call this varient in transaction CDPS1.
    Regards.
    Nitin Thatte

  • Selection screen field not working in Query

    Hi Gurus!
    I have a small problem with one of my query that I just created for finding status of our customers. I have a code section which handles it all . The problem is that I ahve a user field called "Check date" which I ahve used in selection screen as well as the layout, when I put a value in this field in the selection screen the report dosent give any output " NO data to display" but when I leave it open it does give me the out put with the saem check date as I ahd entered earlier in my selection screen.
    I am not sure where my selection code is working wrong . Could anyone please help me out please.
    DATA: ls_vakpa LIKE vakpa.
    DATA old_date LIKE sy-datum.
    old_date = key_date - num_days.
    status = 'ACTIVE'.
    check_date = old_date.
    * (If I entere this field (check_date) with any date
    *  and run it does not give me output and without
    * entry it dioes give output.
      SELECT SINGLE * FROM vakpa INTO ls_vakpa
          WHERE kunde = kna1-kunnr
       AND audat > old_date.
          IF sy-subrc <> 0.
        SELECT SINGLE * FROM vakpa INTO ls_vakpa
            WHERE kunde = kna1-kunnr
          AND audat < old_date.
          IF sy-subrc = 0.
          ls_audat = ls_vakpa-audat.
          ls_vbeln = ls_vakpa-vbeln.
        ELSE.
          CLEAR ls_audat.
          clear ls_vbeln.
        ENDIF.
        status = 'INACTIVE'.
      ELSE.
        ls_audat = ls_vakpa-audat.
        ls_vbeln = ls_vakpa-vbeln.
      ENDIF.
    Edited by: Rob Burbank on Apr 7, 2010 12:08 PM

    DATA: ls_vakpa LIKE vakpa.
    DATA old_date LIKE sy-datum.
    old_date = key_date - num_days.
    status = 'ACTIVE'.
    check_date = old_date.
    if old_date is initial.
       old_date = key_date - num_days.
       check_date = old_date.
    endif.
      SELECT SINGLE * FROM vakpa INTO ls_vakpa
          WHERE kunde = kna1-kunnr
    *      AND audat > old_date.
        AND audat > check_date.
      IF sy-subrc <> 0.
        SELECT SINGLE * FROM vakpa INTO ls_vakpa
            WHERE kunde = kna1-kunnr
    *        AND audat < old_date.
          AND audat < check_date.
        IF sy-subrc = 0.
          ls_audat = ls_vakpa-audat.
          ls_vbeln = ls_vakpa-vbeln.
        ELSE.
          CLEAR ls_audat.
          clear ls_vbeln.
        ENDIF.
        status = 'INACTIVE'.
      ELSE.
        ls_audat = ls_vakpa-audat.
        ls_vbeln = ls_vakpa-vbeln.
      ENDIF.

  • How to get selection screen variant name of a report ?

    Hi Experts,
    Can any body please suggest, how I can get the variant name that was selected when a report program was being scheduled in background?
    I am using system field SY-SLSET but it is working only at foregrounf execution.In background mode it holds different value like '&0000000000038'.
    Thanks in advance.

    Hi !
    When running the program in foreground (SE38 -> F8) or in a background job (SM36), sy-slrel is correctly filled.
    When running in background via SE38 transaction (run in background  : F9), sy-slrel is not filled correctly (&000010 for example).
    However, in the second case, you still are in foreground when in the selection screen. Thus this simple but quite efficient idea of  [Vinod Vemuru|http://wiki.sdn.sap.com/wiki/display/~ncz6anw] :
    http://wiki.sdn.sap.com/wiki/display/ABAP/Howtogetthevariantnamewhenrunningthereportinbackgroundfromselectionscreen

  • How to print the selection screen variant as a report header

    I want to print the variant selected on the selection screen as a report header in the report painter.....Kindly help....The variant selected prior to generating the report painter output must be displayed on the final output screen as the header on the screen...

    Hi
    Here you've to use 'Z_HEADER_FOOTER' function module at TOP-OF-PAGE
    Just pass parameters for report_name                 as repid
                                              show_select_options  as 'Y'
                                              show_parameters       as 'Y'
                                              line_size                       as you wish
                                              action                           as 'X'
    Hope this fulfills your requirement
    Thanks
    Suren

  • Selection Screen Variant does not set Tab as active -

    Hi experts,
    I have a Z-report. The selection screen of this report has got 8 tabs and sub screens, for different type of reporting ( SO, PO, Invoice reporting etc).
    Now the issue is, if a user creates a variant for the report with one particular tab as active tab, while running with this variant, the report starts with default tab(Tab 1) as active tab. The filed values in the particular tab are getting populated correctly from the variant. But the current/active tab is not getting set from the Variant. (Or in other words, none of the hidden fields in the screen P_TAB1, P_TAB2, etc are getting populated with X when creating a variant)
    This issue started recently, and old variants (created long back) are pointing to the correct tab as expected. I have checked for the changes in the report. Unfortunately there is only one version(latest) available in the system.
    Any kind of help will be appreciated.
    Thanking you in anticipation.
    Deeps

    Hi,
    I was wondering if you ever solved your issue.  I am facing the same
    problem.  When choosing a variant, I would like the active tab to
    display the correct select-option fields.

  • BEX :Selection screen missing when executing a query

    Hi all,
                When I am executing a query through BEX Analyzer,I am not getting the Selection Screen Popup.Instead ,the report is directly being generated.So,this is giving rise to various problems.But when the user is executing through portal,he is getting  the selection screen.
    I am not getting this Selection screen popup in all the DEv,Quality,PreProd and Production systems.And hence ,i am  not able to give the selections for a report
    Can anyone please provide a solution for this?
    Awaiting your response.
    Thanks,
    Amar

    Hi,
    Our GUI version is 710 and 640 is recommended by the client.Hence, no problem with that.The user is able to execute more than one query.
    Do u think it is a basis or security related issue.Or is it  due to Application of some GUI Patches.
    Thanks,
    Amar

  • Selection Screen Variant (optionally default) -I dont think it's possible!?

    I have spent a lot of time looking at this issue - researching forums/sap help/on the system  - so any help appreciated...
    On the selection screen (for tx me59n) is it actually possible for users to set a variant as default on the selection screen?  It's actually that I want "Test Run" to be defaulted.
    This is the ideal scenario:
    - The selection criteria variant is created centrally (or even individually by the user)
    - The user can then optionally set this variant as their default selection criteria for the transaction
    - Next time the user runs the transaction, the defualt variant is used
    What I do not want is:
    - User having to select the variant each time they run the transaction
    - The variant always being default (it should only be default when user decides they want it as such)
    Any ideas?  I can't see that it's possible....?
    thanks in advance,
    Matt

    I've been trying SHD0 alot, but doesnt seem to work - again, i've spent time reading and trying it out but with no luck.
    This is how I'm doing it to try to default "Test Run" checkbox for ME59n
    - Run transaction SHD0
    - Input "ZDefault" into Transaction Variant field
    - Click create
    - ME59n loads
    - I tick "Test Run" (which is what I want defaulting for the transaction)
    - Click save
    - It prompts me to create screen variant
    - I input ZTEST_VARIANT and click save
    - I get a pop-up box which I enter ZTEST_VARIANT to name field but dont make any other changes
    - Get message saying ZTEST_VARIANT saved
    - Click back to Transaction Variant screen
    - Save it as a local object
    - Get message saying "Trans Variant and Screen Variant Saved"
    - Click back to initial SHD0 screen
    - Click TEST to try it out.
    - ME59n loads, but "Test Run" is not checked - the variant appears not to have been loaded at all.
    I run ME59n independently and still nothing seems to get loaded when I run the transaction. Although the new screen variant is availbale in the variant list, which if I select it it works perfectly.  But I want make it default??? How do I do it?
    Any ideas what i'm missing?
    Usually I can figure these things out pretty quickly, but this one has me stumped!
    thanks
    Matt

  • Dynamic selection screen variant

    Hi Gurus,
    There are two parameters in the selection screen of a report. One for Date, whose format is ww.yyyy and purchasing organization. Both the fields are mandatory fields.
    I have to create variants for this report in such a way that when user selects the variant, it should give current week in combination with year in Date parameter and Purchasing organization from the saved variant list.
    Suppose there are two variants created with purchasing organizations 0001 and 0002, if i select 1st variant today then date should be 22.2007 and purchasing organization as 0001... if i select 1st variant in next week then date should be 23.2007 with purchasing organization 0001...
    Thanks in Advance,
    Phani.

    Hi Sivapuram ,
      I am not sure we can create a varaint where we have some processing involved  .
    What i would suggest is if you want this to be done for a specific varaint , then you will have to write the processing code in the at selection-screen output event .
    This code must include the logic to calcuate the value as per your requirement , the code must be executed when the specific variant is loaded , the current varaint loaded in the system is stored in the system varaible sy-SLSET.
    This is a solution which is very specific to a varaint and not a generic solution.
    Regards
    Arun

  • How to transport a Screen variant from one system to other

    Hi All,
    I created a screen variant in Dev. It was included in a transport request. But when I transported the request to Quality, The transaction is not behaving according to the screen variant. i.e. Screen variant has not got transported there.
    Please help me out what can be done in this regard.
    Thanks a lot.
    Himanshu

    Check the status of the request which u have transported, whether it includes the screen variant also.

  • Initial selection screen missing when execting a query via web

    Hello all.
    We have a problem when we try to execute a query in web. We developped queries via query designer and we published all in a role. By doing it system generates a link that makes possible to execte this query via web. The issue is that sometimes the initial selection screen doesn´t appear (and the variables are "ready to input".
    Could anybody help me?
    Thanks in advance.

    Dear Carmen Rodríguez,
    In the WAD properties of the webtemplate.. carefully look for 'Force Variable Screen' Check that option..
    Save and rerun the same.. it should be able to see the screen after that..
    regards,
    Hari

  • Dynamically generating selection screen variants

    Hi,
    I have a report for which i have to create a variant. This report will be executed in background. There is a parameter Planning Date on the selection screen of this report. The format of this date is week.year i.e., ww.yyyy. Week should change automatically based on the week it is executed. For example, lets suppose that the current planning date is 19.2007. When you execute this report in the next week, the date should be 20.2007.
    Please suggest me on how to do this.
    Best Regards,
    Phani.

    Hi,
    Create two variants for the below program say VAR1 and VAR2.
    For the variant VAR1 take the default values say 12 and 3.
    and for VAR2 take the values 10 and 5.
    Now execute the program by selecting the variants VAR1 and VAR2. You can see the difference.
    when you select VAR1 the parameters can be seen in disable mode.
    parameters: p_num1 type i default 12,
                      p_num2 type i default 3.
    at selection-screen output.
    if sy-slset = 'VAR1'.
    loop at screen.
      if screen-name = 'P_NUM1' or
         screen-name = 'P_NUM2'.
         screen-input =  0.
      endif.
      modify screen.
    endloop.
    endif.
    write:/5 p_num1, 35 p_num2.
    Edited by: Velangini Showry Maria Kumar Bandanadham on Apr 14, 2008 12:52 PM

Maybe you are looking for

  • Which generation is the best choice for me?

    5th generation or 7th generation? If i very like the click weel, but the 7th generation i also very like? The 5th gen have camcorder and clickweel, and generally very familiar for me and cool (I had 2nd generation before). The 7th also is very cool,

  • Acrobat Print Driver Error/ No Printers available

    I'm on Mac OS yosemite.... I don't have the adobe pdf printer available, no printers are available. I can't add anything. When I click print from acrobat pro I get this error Before you can perform print-related tasks such as page setup or printing a

  • Delete 'choose folder' message

    Random is selected in Screen Savers, part of System Preferences. Instead of randomly choosing the folders that I have pictures/slides in to show, I get a message saying 'the folder chosen is empty, choose options', at least once a day. I don't know w

  • I want to sync all my contacts

    i want to sync all my contacts from phone how to do?

  • ITunes crashes immediately

    I've just got this new 27" iMac and everything is working great except iTunes.  It crashes immediately.  I've tried several things based on past searches on the issue but have had no luck.  Can someone check the error report and give me any suggestio