Variants in Reports

Hello aLL,
I want variants to be seen on the selection screen but do not want it to be seen in the report. What are all the things or settings i have to do for this ?
Thanks !!!
Sankar

Hi ,
After giving the entries in select-options where u will get save options.click that save option,give the variant name & meaning then click save.
Thanks,
Sekhar.

Similar Messages

  • Printing Selection Variant in Report Painter

    Hi, I am using ECC 5.  There is a requirement for printing the selection variant in Report Painter (GR55) Reports.  Presently there is a provision to print selection fields and values.
    Is any way, I can print a Selection Variant and Name in Report Painter?  I understood that the information is stored in Table VARIT.  This table contains Lang., Report Name, Variant and Short text.  I do not know how to get this info in Report screen.
    Can any one help?
    Advance Thanks
    Venkat

    Hi,Thanks for your reply.  Let me explain.
    When using Transaction Code GR55, enter Report Group, Execute.  This will open a Report Paramenter screen.  In this screen, if you select Goto --> Variant --> Get OR Get Variant icon, this will show the available selection variants.  Select any one of them and run report.
    In report it will pick-up the each selection paramater field and value NOT a variant.
    Is any way to get the variant also printed in report?
    Hope this will is clear.
    Thanks
    Venkat

  • 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

  • ALE Error + Mass deletion of variants for Reports

    Hi,
           I have two questions
    1- is there any transaction in SAP, which delete the mass variants for reports for all users?
    2- I am getting an error  “An Idoc without a message type was passed to the ALE layer”.
    I have already check file port is set up correctly and I am passing message type “HROT_BRM”.
    This also happen in previous test, as user does not have the proper authorization, so I assign the authorization and ran it. It worked.
    However, this time a user has the authorization and still the error messaging is coming. Am I missing something?
    Waiting
    Bye

    There are some function modules like "KYVA_REPORT_VARIANTS_DELETE” or get user variants "RM_GET_VARIANTS_4_REPORT_USER".
    - is there any transaction in SAP, which delete the mass variants for reports for all users?
    2- I am getting an error “An Idoc without a message type was passed to the ALE layer”.
    I have already check file port is set up correctly and I am passing message type “HROT_BRM”.
    This also happen in previous test, as user does not have the proper authorization, so I assign the authorization and ran it. It worked.
    However, this time a user has the authorization and still the error messaging is coming. Am I missing something?

  • Issue with saving SAP& variant for report as per OSS note 1885125

    Hi,
    I'm implementing OSS note 1885125 and it instructs me to adjust several SAP& variants:
    The variants of the report RSUSR070 (SAP&_AUTH, SAP&_CHANGE, SAP&_PROFIL, SAP&_STANDARD,
    SAP&_TRANSAKT, SAP&_VALUES)
    must be adjusted.
    Call transaction SE38 for the report RSUSR070 in the client 000. Change the values for the relevant
    variants. On the selection screen, choose "+" ("All Selections" (Ctrl+F7)):
    l Select the "All Roles Irrespective of User Assignment" radio button.
    For the variant SAP&_BENU, you must select the "With Valid Assignment Of" radio button.
    If the variants are protected, run the report RSVARENT for each variant."
    Now I'm in client 000 and I can unprotect the variants with report RSVARENT, but then SAP tells me that SAP& is the SAP name space, and that I need to create new variants. So it doesn't let me save these. The whole point of the OSS note requesting the SAP& variants to be adjusted is because they are using in SAP standard transaction codes:
    S_BCE_68001418
    Roles by Role Name
    S_BCE_68001419
    Roles by User Assignment
    S_BCE_68001420
    Roles by Transaction Assignment
    S_BCE_68001421
    Roles by Profile Assignment
    S_BCE_68001422
    Roles by Authorization Object
    S_BCE_68001423
    Roles by Authorization Values
    S_BCE_68001424
    Roles by Change Data
    S_BCE_68001425
    Roles by Complex Criteria
    S_BIE_59000249
    Roles By MiniApp
    Any advice how to get round this issue please?
    Thank you
    Philipp

    Ansel,
    Thanks again!
    In RSA1 ->Transport Connection, yes, I can see the Source System objects.
    In the Source System objects, I have selected the ECC source system and dropped it to the right panel.
    Now I can a list of Datasource and Transfer Rules there.
    1) Does it mean these are all the source system related objects?
    I then create the normal transport request to capture all the objects. And release the Transport.
    2) Now how can I export this transport?
    What I try to do is to delete the existing SAP Source System. Create the new SAP Source System, then import back all the source system related objects...... so that my existing data model will not disappear after deleting and creating the new SAP Source System.
    Is the following steps correct?
    1) Collect all the Source System related objects and capture in Transport.
    2) Release and export the Transport (but how?)
    3) Delete the SAP Source System
    4) Create new SAP Source System
    5) Import the existing SAP Source System related objects (but how?).
    Please help, thanks in advance.

  • How to Restrict the users from changing the Default variant of report.

    Hello everybody,
    The requirement is to restrict the users to save and overwrite  the default layout variant (Layout for higher managenet)set for the report, but at the same time they should be able to change and save the other layouts for which they are having access.
    I have written the logic in the program which is working fine for all the scenario when we execute the report. But the logic doesnt work if the user is selecting the layout on the output screen of the report.
    for e.g if the user runs the report using the layout varaint for which he is having the authorization then he gets the all 4 options so he then he can select the layout for which he is not authorized and he can overwrite.
    i have debugged and check as i have found that after the report output is shown all the layout paramater is controllled by the statndard SAP objects.
    Can anyone help me out in this issue.
    Thankyou in advance.
    *to get the default layout variant.
      w_save = 'A'.
      if p_vari is initial.
        clear disvariant.
        disvariant-report = sy-repid.
        w_variant = disvariant.
        call function 'REUSE_ALV_VARIANT_DEFAULT_GET'
          exporting
            i_save     = w_save
          changing
            cs_variant = w_variant
          exceptions
            not_found  = 2.
        if sy-subrc = 0.
          p_vari = w_variant-variant.
        endif.
      endif.
    *logic to check user authorization to change the layout setting.
      if p_vari = c_layout.
        if not sy-uname is initial.
          select single * from agr_users
                  where agr_name = c_role
                  and   uname    = sy-uname.
          if sy-subrc = 0.
            w_save = 'A'.
          else.
            w_save = ' '.
          endif.
        endif.
      endif.
    Regards,
    Satish.

    Hi Maine,
    Thanks for your reply.
    As you mentioned for your own program, you can control the parameter "I_SAVE", when calling "REUSE_ALV_GRID_DISPLAY".
    so already i have use the same logic and control the parameter through I_SAVE and here i am calling method ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY instead of "REUSE_ALV_GRID_DISPLAY".
    and it works fine when we execute the report but the logic doesnt work when the user tries to change and save the layout variant on the output screen of the report.
    Regards,
    Satish

  • How to delete the variant in report

    Hi Friends ,
    i am unable to delete the Variant from the Report.
    please find the error in attached screen shot.
    Regards,
    Muralidhar.

    Hi ,
    You can check weather variant is protected or not in table VARID and field 'Indicator' by passing your variant name in field 'Variant'..
    https://help.sap.com/saphelp_nw70/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm
    please check this link it shows how to make a variant protected... ex: if you create a variant and make it protected then only you can make the value changes in that variant it won't allow other users to make changes in the values.
    RSVARENT this is the program which cancels the protected variants..
    Regards,
    Nitin

  • Cant set status released for Generation Variant for report category IBD_MSD

    Dear EH&S people,
    I am trying to upload a vendor MSDS'. I am not succesfull in this. The reason is that the status of the generation variant is not "Released".
    I am not able to set the status released in the Generation variant. I am using report category IBD_MSD which should be the standerd one for Vendor MSDS.
    Together with an abap consultant we found via debugging of the matchcoded of the search of the status that he takes the DMS document type SBR as a basis. It should however be IBD.
    Has somebody encounter this problem before and have a solution for this?
    Is there somewhere customizing which controls for a certain category which DMS document type to use?
    Thanks in advance for your answer.
    Regards,
    Pascal

    Hi All,
    I found the solution.
    I looked at the detailed customizing of the document type SBR. Note 1091699 explained detailed settings of the different document types.
    SBR was not correct customized.
    It sounds strange that SBR is used for the report generation status for Vendor MSDS. I think it is because SAP treads it as if it is a raw version. So that could be an explenation why it searches for the status of that document type.
    After I updated the SBR-type correctly, I was succesfull in uploading Vendor MSDS. The DMS type which was used to save the document was IBD.
    Thanks all for your help.
    Issue closed.
    Regards,
    Pascal

  • Data of table control not saved in variant of report

    Hi ppl,
    I have created a report program with some selection parameters.
    Also, I have included a table control on the selection screen (using subscreen).
    The report works perfectly.
    But, when I press the SAVE button on the selection screen to save the data on the selection screen into a variant, the variant only stores the values of the parameters and select-options present on the screen. It is not capturing the data in the table control.
    Please let me know if I need to do some additional coding for this.
    Thanks,
    David.

    Hi David,
    I too struggled a lot to find the solution ....atlast got it....It possible by exporting and importing the table control values to Database Index.
    1. AT SELECTION SCREEN OUTPUT event  triggers when you SAVE and GET the variant.
    2. So write the logic in AT SELECTION-SCREEN OUTPUT event.
    CONSTANTS: c_vari TYPE char30 VALUE
                             '(SAPLSVAR)RSVAR-VARIANT'.
      FIELD-SYMBOLS: <lfs_vari> TYPE ANY.
      ASSIGN: (c_vari) TO <lfs_vari>.
      IF sy-subrc = 0.
        IF <lfs_vari> IS NOT INITIAL.
          IF ok_code = 'SPOS'.
            EXPORT gt_chars[] TO DATABASE vari(tc) ID <lfs_vari>.
          ELSEIF ok_code = space.
            IMPORT gt_chars[] FROM DATABASE vari(tc) ID <lfs_vari>.
          ENDIF.
        ENDIF.
      ENDIF.
    In the above logic if OK_CODE is 'SPOS', that is for saving the variant with the name <lfs_vari>.
    Similarly if the OK_CODE is other than, 'GET'....that is for retrieving the variant. But in case of getting the variant OK_CODE is not filled with 'GET', but variant will be filled. We should take variant filling as base and do as done above.
    It worked for me.....

  • Urgent -Assigning Variant to Report

    Hi all...
    I have Copied a program from Transaction MR11...
    I have made some changes in the proram...
    But when i execute, its Gives an error msg ' report can only be started with a variant'.
    I have created a Variant for the report..
    But still it doesnt get executed...
    Pls Help me..
    Points rewrd for helpful answer...
    regards
    Snehal

    Hi Snehal,
    In the attributes uncheck the check box " Start using variant".
    or
    Try creating a tcode for the Z program you have created.
    and then excute that tcode.

  • How to assigne transaction Variant to Report

    Dear Hcm Gurus:
    i have to develop a report by using infoset query and also assigned transaction via se93
    Report is alv-based.
    so when i access report through t-code "ZHR_STAFF" and  save variant /default then this variant not
    outcome with desired result when i again access said mentioned t-code so kindly guide me when i access
    t-code then default variant is automatically displayed.
    barket

    Hi:
    Please, go to tcode SE93 and modify your transaction code adding your variant name in the field Start with variant (RSSTCD-REPO_VARI).
    This way while calling tcode ZHR_STAFF the program will be automatically initialized with the specific recorded value for the specified variant.
    Hope it helps,
    Regards.

  • Create dynamic variante in report

    hello masters, im trying to create a dynamic variant for a report, im following the instructions of document that exists in <blocked site removed by moderator> but the option D- Dynamic date calculation doesnt appear to me in the field that i want to calculate date... the field it is of type S - selection-option... someone have any clue that could be.
    regards and thanks in advance
    Mario
    Edited by: Thomas Zloch on Jul 11, 2011 2:34 PM

    hello Alvaro, thanks for your answer.
    you are right, my field isnt DATE it is CHAR.
    thanks for your help.
    Mário

  • Dynamic Variant for Report

    Hi,
    How to put current date in report output through variants.
    I should not use events, when user selects variants then i should place the current date in my selection-screen.
    help full information will be appreciated.

    Hi Rams,
    U have to create a dynamic variant for this.
    Fallow these steps.
    1. Fill all the selection screen values including date(Current date).
    2. Save it as variant(ctrl+S), give variant name and description.
    3. In the same screen u can see some check boxes corrosponding to each selection screen parameter.
    Now for the date field select the check box under
    L Selection variable and then press the push button selection variables in the tool bar.
    4. Now u will get the date range in the next screen.
    5. Here press the yellow light under D, it will become green colour.
    5. Next press drop down(Small arrow pointing down at the end of date)
    6. Now u will get a list of options for calculations.
    7. Here select current date.
    8. Now save the variant.
    This completes setting up of dynamic variant.
    Now when ever u select this variant it will populate the selection screen with current date and remaining fields with the data u save while creating the variant.
    Hope this will solve ur problem.
    Thanks,
    Vinod.

  • How do we create a variant for report which runs in the background?

    Hi,
    I want to create a report which will have some variants and will be running in the background?
    The main intention is to transfer the data from one database into another. Please explain the step by step process.
    Regards
    Amit

    Hi Amit,
          When you run a report program in foregorund(If you have a selction-screen), by pressing F8 button, it takes you to the screen where when you press execute button, the report is executed.
          In this screen, you can enter the requirec values which you wish to store in the variables in the selection-screen and press SAVE button, then a variant will be created. You can create the required variants for your report and then when executing the same report in background, the process goes in this way,
    Go to SE38->Program-> Execute->Background, there you can give the variant name and press EXECUTE IMMEDIATELY and your program runs in background for the given variant.
    Hope this is helpful to you. If you need further information, revert back.
    Reward all the helpful answers.
    Regards
    Nagaraj T

  • Setting Default Variant for Report Trans

    Hi All,
    Is there a way to set a default Variant to a reporting transaction? for example for ME2N how do I set a default Variant to be imported to the selection screen automatically once the report transaction is called?
    This is useful if the user uses the same variant all the time.
    Thanks in advance!

    Pls try the below example
    I give you one example,
    Enter t-code ME2N, Then click on Dynamic field selection button.
    Then double click on created by field enter enter any user id in it.
    Then click on save button.After click on this screen your can see one other screen for variant.
    Here you have to assign variant name and meaning. You can also change field status for report with help of this screen.
    Before click on save button, tick on protect check box button and then click on save.
    Then exit from transaction and enter ME2N.
    Click on Get variant button. Here you can see list of variant, select your variant and get report as per your requirement.
    by
    Rajj

Maybe you are looking for