Utilizing SQ01 SQ02 for user report generation of production data

I am interested in utilizing sap query transactions SQ01, SQ02, and SQ03 to create and customize end user reports that will be used  by our audit team to analyze SAP data in our production environment. My objective would be to have one person with authorization to run SQ01,02,03 and have that user create all the reports that would be required for the team to use. This way there isn't a bunch of users out there using SQ01 indiscriminately or perhaps not using it at all. I currently have authorization to run SQVI but it is limited. From what I understand there is more flexibility with SQ01 because they allow you to create calculated fields and offer more formatting options. Most of these reports would be related to finance, sales, vendor, customer, etc.
My question is this. How do I create these custom queries and allow multiple users to access and run them? Are the queries created directly in production? Are they created in DEV and then tested in QA before being transported to Prod? I understand you can map an sap query program to a transaction and then add that to a role but isn't the program name generated by SQ01 different in every instance? I would like this code to be reproducible as I have 5 different SAP instances in which these reports would be used. Same reports, different data.
I am looking to leverage the power of SAP query to produce meaningful reports for our team without having to use programmers to develop them from scratch. What is the optimal approach to doing this without creating a lot of hassles and without creating additional security risks?
If I create a query based on SAP tables I have access to does the general user also have to have authorization to those tables in order for the query to run for them? In theory the entire team should have authorization to the same standard SAP tables because we all have the same roles assigned but I may have some additional tables assigned to me because I am the IT auditor. Just confirming.
I appreciate any and all suggestions. I would like to proceed with the best solution as soon as possible.
Thank you very much.
Mark

Hi Mark,
It is best to create queries in dev rather than doing it in prd directly.
Query user group can be used to control the access in production.
You can have one query administrator with access to sq01,2,3 and sqvi who will assign query user group to respective users in prd so they can run these.
BR,
Mangesh

Similar Messages

  • How do I add a new worksheet to an excell file utilizing a template with the report generation toolkit?

    Hello,
    My vi is gathering data from a piece of machinery. At varrious points durring the process, my vi must create printable reports. I am using the report generation tool kit to do this. What I want to do is for every report generated durring the run, add it as a new worksheet in an Excell workbook. My excell template works fine for the initial master report and I can add new data to new worksheets. What I am having a problem figuring out is how do I add the new data to a new worksheet using an excel template? I have 5 different reports that need to be generated at different times with some more often than others. I would like all these reports to be in the
    same master excel file. Thanks in advance
    -Greg
    Gregory Osenbach, CLA
    Fluke

    Hi Greg,
    There is no built-in support in LabVIEW to add a new worksheet to an existing Excel report simply because this functionality does not exist in the Excel application itself.
    My suggestion would be to open up the template you wish to use for the new worksheet. Copy the cells from the template and paste them into your new worksheet that you've created. Then close the original template and you have another copy of the template in which you can populate with data values.
    I have attached an example program of how to Copy and Paste a Cell in Microsoft 97 Using ActiveX in LabVIEW to this post. Hope this helps!
    Kileen C.
    Applications Engineer
    National Instruments
    Attachments:
    XL_cell_copy_and_paste.llb ‏76 KB

  • Parameterized Views for User Reports

    I would like to be able to define a view such as:
    create view dept_emps(p_dept in varchar2) as
    select * from emps where dept = p_dept);
    and use this view to define a SQL Dev drilldown report with SQL such as:
    select * from dept_emps(:DEPT)
    where :DEPT is a bind variable passed from a selected depts report row.
    Oracle apparently does not support parameterized view definitions as suggested above, but I have found an article by Tom Kyte on the issue of parameterizing views, where Tom suggests using DBMS_SESSION.SET_CONTEXT (called within a user package) to set context values that can be retrieved in a view using the SYS_CONTEXT function. I can get this approach to work at the SQL prompt to work around the lack of formal view parameters. I have a package which defines a procedure which sets context values that I can then retrieve within a view using the SYS_CONTEXT function.
    To use this approach when defining a SQL Developer user report, the SQL for the report would need to be logically something like (which works fine at an SQL prompt):
    exec ssuper_context.set_ctx('DEPT', :DEPT) - - Call user procedure to assign context variable 'DEPT' with bind value from parent report
    select * from dept_emps
    where view dept_emps uses function SYS_CONTEXT to return the value for context variable 'DEPT'.
    SQL Developer complains about this as the SQL for a user-defined report. Can anyone suggest how I might pass a bind value from a selected parent record to a view which implements a drilldown report?
    TIA Jon

    I met CSI at a kongress a few weeks ago and pressed them a bit on how this works. Eventually they fezzed up about the table read but mentioned that in the next release being developed it would be different...
    Problems with this is that the FM has a couple of limitations, so you cannot read all tables correctly... so you end up reading some of the wrong ones or taking the easy ones.
    Another option is to let the database itself do the hard work, to get back to the performance aspect.
    Anyway, for neither of these two do you need any tcode, so indeed we are drifting off topic...

  • User Report Generation

    Hi,
    I want to generate a user report which lists out the all the Users being assigned to more than one resource(for Eg. LDAP,NT resource).Now with the available User Report we can generate a user report which lists out the users being assigned to only one resource either LDAP or NT etc.
    Hence I am customizing the User Report form by replacing the Mulstiselect component in place of Select (single ) componenet. But here I am getting one exception that "equals operator expects a String Operand" , as the MultiSelect component returns a list object.I am not understanding where exactly I have to do the modification to satisfy My requierement..
    Can any one help me to solve my problem ASAP.it is bit urgent for me.
    Waiting for ur replies.
    Thanks in advance.

    Assuming that all users will be assigned at least one common role, you can use the code segment below.
    This will return the names of all users who are assigned that particular role. In this case it is 'Sample Role'
    You have to make changes under the attibute 'role' in line 70 for it to work. Subsitute the ObjectRef tag attributes with the id and name of the role that u have created.
    I notice that this is not returning the role name properly, only the waveset accountId. If you figure out how to overcome this, let me know.
    Copy the code snippet, make the needed changes as mentioned above and save as .xml file. Import it, and u shld see the 'Custom Report' in your reports tab.
    Tell me if this helps.
    Rgds.
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE TaskTemplate PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <TaskTemplate authType='UserReportTask' name='Custom Report' taskType='Report' visibility='invisible'>
      <TaskDefinitionRef>
        <ObjectRef type='TaskDefinition' id='#ID#TaskDefinition:UserSummary' name='User Report' displayName='UI_REPTS_XML_USER_TITLE'/>
      </TaskDefinitionRef>
      <Variables>
        <Object>
          <Attribute name='attrMapField'>
            <Map>
              <MapEntry key='accountId' value='UI_REPTS_XML_REPORT_ATTR_ACCOUNTID'/>
              <MapEntry key='attributes.firstname' value='UI_ATTR_FIRSTNAME'/>
              <MapEntry key='attributes.fullname' value='UI_ATTR_FULLNAME'/>
              <MapEntry key='attributes.lastname' value='UI_ATTR_LASTNAME'/>
              <MapEntry key='disabled' value='UI_ATTR_DISABLED'/>
              <MapEntry key='email' value='UI_ATTR_EMAIL'/>
              <MapEntry key='organization' value='UI_ATTR_ORGANIZATION'/>
              <MapEntry key='passwordExpiry' value='UI_ATTR_PASSWORDEXPIRY'/>
              <MapEntry key='resources' value='UI_ATTR_USER_RESOURCES'/>
              <MapEntry key='role' value='UI_ATTR_ROLE'/>
            </Map>
          </Attribute>
          <Attribute name='attrsToDisplay'>
            <List>
              <String>accountId</String>
              <String>resources</String>
            </List>
          </Attribute>
          <Attribute name='defType' value='Report'/>
          <Attribute name='definition' value='User Report'/>
          <Attribute name='description'/>
          <Attribute name='id'/>
          <Attribute name='maxRows' value='500'/>
          <Attribute name='organizations'>
            <List>
              <String>Top</String>
            </List>
          </Attribute>
          <Attribute name='queryAttr'>
            <Object>
              <Attribute name='MemberObjectGroups'>
                <Object>
                  <Attribute name='enabled' value='false'/>
                  <Attribute name='operator' value='contains'/>
                  <Attribute name='useId' value='true'/>
                </Object>
              </Attribute>
              <Attribute name='Name'>
                <Object>
                  <Attribute name='enabled' value='false'/>
                  <Attribute name='operator'/>
                  <Attribute name='value'/>
                </Object>
              </Attribute>
              <Attribute name='Name2'>
                <Object>
                  <Attribute name='enabled' value='false'/>
                  <Attribute name='operator'/>
                  <Attribute name='value'/>
                </Object>
              </Attribute>
              <Attribute name='prov'>
                <Object>
                  <Attribute name='enabled' value='false'/>
                  <Attribute name='operator' value='equals'/>
                  <Attribute name='value'/>
                </Object>
              </Attribute>
              <Attribute name='role'>
                <Object>
                  <Attribute name='enabled' value='true'/>
                  <Attribute name='operator' value='contains'/>
                  <Attribute name='useId' value='true'/>
                  <Attribute name='value'>
                    <ObjectRef type='Role' id='#ID#AA5BF1A362ED9128:723321F7:1058AAB9219:-7FDD' name='Sample Role'/>
                  </Attribute>
                </Object>
              </Attribute>
              <Attribute name='user_resources'>
                <Object>
                  <Attribute name='enabled' value='false'/>
                  <Attribute name='operator' value='equals'/>
                  <Attribute name='useId' value='true'/>
                  <Attribute name='value'/>
                </Object>
              </Attribute>
            </Object>
          </Attribute>
          <Attribute name='sendemail' value='false'/>
          <Attribute name='summary' value='Lists all users having more than one resource assigned to them'/>
          <Attribute name='task'>
            <Object>
              <Attribute name='taskName' value='Custom Report'/>
            </Object>
          </Attribute>
          <Attribute name='title' value='Custom Report'/>
        </Object>
      </Variables>
      <Description>Lists all users having more than one resource assigned to them</Description>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
    </TaskTemplate>

  • Tcodes for Cin Reports generation

    hi sap gurus
    where i need generate these Report RG1, ER1,ER5,ER6,RG23A part1,2,Rg23c part1,2 and RG23D,Monthly CENVAT Return - 57AE,Service Tax Return - Halfyearly - ST3,TDS Consolidated statement - Form 27A,TDS Return - Quarterly - 26Q,FBT Qarterly Return - IR420,Monthly Sales Tax Return - VAT & CST,Service Tax Register / Return,Sales Tax Register   in  SAP  what is TCodes for for this Reports. plz send me ur inputs it is Urjent to me.
    Thanks

    Hi,
    J1I2
    Prepare a sales tax register
    J1I3
    Create outgoing excise invoices in batches
    J1I5
    Update the RG 1 and Part I registers
    J1IEX
    Incoming Excise Invoices (central transaction)
    J1IEX_C
    Capture an incoming excise invoice (excise clerk)
    J1IEX_P
    Post an incoming excise invoice (excise supervisor)
    J1IF01
    Create a subcontracting challan
    J1IF11
    Change a subcontracting challan
    J1IF12
    Display a subcontracting challan
    J1IF13
    Complete, reverse, or recredit a subcontracting challan
    J1IFQ
    Reconcile quantities for subcontracting challans
    J1IFR
    List subcontracting challans
    J1IH
    Make a CENVAT adjustment posting
    J1IIN
    Create an outgoing excise invoice
    J1IJ
    Assign excise invoices to a delivery for sales from depots
    J1INJV
    Adjust withholding tax Item
    J1INREP
    Reprint a withholding tax certificate for a vendor
    J1IQ
    Year-End Income Tax Depreciation Report
    J1IR
    Download register data
    J1IS
    Process an excise invoice (outgoing) for other movements
    J1IU
    Process exemption forms
    J1IW
    Verify and post an incoming excise invoice
    J1IX
    Create an incoming excise invoice (without reference to purchase order)
    J2I8
    Transfer excise duty to CENVAT account
    J2IU
    Remit excise duty fortnightly
    J2I9
    Monthly CENVAT return
    J1IG
    Excise invoice entry at depot
    J1IGA
    Create additional excise entry at depot
    J2I5
    Extract data for excise registers
    J2I6
    Print excise registers
    Assign points if useful pls
    Regards,
    Jigar

  • Report generation is saving data to a word template

    I created a template for a program to write test result data when prompted by the user. My problem is that after the template is written to and closed it's asks if the new data shoule be saved. I don't want to give the user that option because it actually saves it to the template not a document, and when another test is done and report is requested, it doesn't write over the data fromt the previous results, it adds to it. Is there some sort of Word security option or a vi that might be helper to prevent users from saving data permanently, to overwrite previous data?

    Harene,
    The ActiveX call to Quit comes with a parameter to Save Changes (T or F). I would suggest making that the last call you make. This is how the Dispose Report.vi is made in the Report Generation Toolkit for Microsoft Office. (This was checked on my machine with Office 2000.)
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Authorizations for WEBI report based on BPC data model

    Hi All,
    We are strugelling with setting up authorisations for the reporting on BPC data model.
    We created Bex query on top of Multiprovider that consists of BPC cube. The Bex query is source for WEBI output. The authorisations has been set up on BPC data model (cube) in BPC application but they are not passed nor to Bex query nor to Webi. Example: The query is build on top of OPEX BPC data model, this data model is restricted based on Oranizational Unit. My test user is allowed to see only Org Unit = 'Australia' in the OPEX BPC data model, however when I'm running the report I can see absolutely everything.
    We are not connecting/using any BI cubes itself for this reporting. We are intrested only in the WEBI report based on BPC data models.
    We were trying to use BPC data model (without any extra settings) as the source for BEx report, we were also trying to use virtual BPC data model as the source for Bex transient query - but non of these have helped.
    Can you please advise how the authorisations should be set up for WEBI reporting on BPC data models?
    Kasia

    Anybody can help with this issue please?

  • Report Generation Toolkit - Prints data from a previous report in Word

    I am running an executable from the "system exec.vi" created with Labview 6.1. I am using the Report Generation toolkit vi's to create a report in Word that prints simple Title with test header and then appends a Table with measurement data. The problem is the measurement data in the table is from a previously printed report. This problem only exists when I Run the Report.exe from the "System Exec.vi". If I manually start the Report.exe in Windows or open in the Windows Commandline the correct data measurement data is printed in the report table. Any suggestions are appreciated. Thank You

    Hi,
    So far I havent been able to reproduce this on my computer. Could you post your code so that I can try and reproduce this issue?
    Feroz P
    National Instruments

  • Authorizations for users to change their own data

    Hi
    All the employees are given the userids to logon to sap when these employees log on to sap with the particular userids they should be able to change /Display only the details pertaining to them not others
    We have not implemented ESS but this is in pipeline but only after 3 -4 months But Authorizations are required for users now only
    How to design role which should apply to all user requirements and they should get their Personnel no by default
    Kind Regards
    Vinod

    Hi,
       For your requirement goto transaction SU21 and select the object P_PERNR and click DOCUMENTATION. Refer the Documentation for the steps to be followed.
    (i.e)  For a user to be able to maitain his or her own data. You should assign the user an authorization for the HR: Master data - Personnel number check object (P_PERNR), with the following specificatons:                   
    1. Authorization level:  *               
    2. Interpretation of assignment
       User - personnel no:  I  
    3. Infotype           :  0002
    4. Subtype            :  *
    A related link http://www.sapfans.com/forums/viewtopic.php?p=502235&sid=cd1bde22eb24059e4d5a2eae086b7c96

  • Error 7 report generation

    Good Day,
    I seem to be having a little trouble with the report generation tool.  I'm running Labview 7.1, have the MS Report Toolkit.  I have a construct that creates and formats an Excel Report.  It works fine when running it from the developement environment, but when I create an executable and run from the runtime environment, it errors right at the first stage of this sequence, at "New Report.vi".  To this VI I have an "Excel" constant tied to input "Report Type" with no other inputs.  The error that is caught is code 7 "Open VI Reference in New Report.vi->filename.vi" replacing filename with the name of my file (not to state the obvious).
    Is there a seperate runtime toolkit that needs to be installed?
    Any ideas?  Thanks a bunch.

    Hello,
    Please read the section in the User Guide for the Report Generation Toolkit on building an executable out of your VI.  There are many VIs that are called dynamically by the toolkit that must be handled in a special way (specifically, added as Dynamic VIs to your application) when you build your VI into an executable.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Report Generation Tutorial, cannot find Rename Worksheet VI, Add Worksheet VI,

    Report Generation Tutorial, cannot find Rename Worksheet VI, Add Worksheet VI,Get Worksheet VI, Append Table to Report. I have the Report Generation Toolset, where can I locate these VI's

    Hello Jim,
    First check to see if you have the Report Generation Toolkit installed. You can check by going to your Windows Control Panel >> Add/Remove Programs >> National Instruments >> Change. If you don't have a NI LabVIEW Report Generation Toolkit entry in the list that appears, then go ahead and reinstall your Report Generation Toolkit.
    If you do have an entry for the Report Generation Toolkit, check to see if you have support installed for your version of Office. You can do this by going to your Windows Control Panel >> Add/Remove Programs >> National Instruments >> Change >> NI LabVIEW Report Generation Toolkit >> Modify. From there, you can install support for the necessary versions of Office.
    If neither of those options work, I
    would uninstall and reinstall the toolkit from the Add/Remove Programs utility.
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • Exe build with database conn and report generation vi's?

    I tried to build an .exe and learned the hard way that there are many things needed to be included for this to work.  As is now my program is not working.
    I wanted to get a list of necessary steps to make a successful build.  Please correct me if I am wrong or missing anything:
    1.  For the report generation toolkit I must include a few support files (_exclsub.llb and _wordsub.llb)
    2.  For the database connectivity:  I must follow NI's User guide by implementing the toolset build script function?  Is there an easier way?
    If there are any simpler ways to get this working please let me know.
    Dev machine=vista LV2010 office 2007
    Target machine=XP office 2007
    Solved!
    Go to Solution.

    Thanks for the response,
    Yes I have the runtime installed.  I also got the program working correctly by doing the following:
    LV 8.6 and greater-->
    1.  added two folders to the project from the project explorer menu.
          a.  Utilities folder
          b.  LVClass folder
    2.  during the .exe build I had to:
          a.  add LVClass folder to always include in source file settings
          b.  browse in the Utilities folder to NIReportLLB folder and add that to always include as mentioned above (note:  if you add the whole utilities folder you will get a broken vi error when building it, even if you fix the vi it still didn't work properly for me so I just included the folder I needed for word/excel)
    took about a day to troubleshoot and fix but the program is working as expected.  Hope this helps someone else in the future.
    Bernie

  • GR55 Report Generation

    Dear Expert,
    The report group which is created by report painter can not display
    text correctly after executing it under another language environment
    by using t-code:GR55, we have to re-generate the report group(Using T-
    code: GR55 to do the re-generation) every time when we login in with
    different language.
    We didn't change the report, why we have to re-generate it just becasue
    we login in with another language for displaying the report text
    correctly?
    We don't tick the "not automatic" in GR52 for those reports all along.
    How can we skip this re-generation action and also display the report
    text correctly?
    Please help up, Thanks a lot!
    Br
    Sophie Xue

    Hello Jim,
    First check to see if you have the Report Generation Toolkit installed. You can check by going to your Windows Control Panel >> Add/Remove Programs >> National Instruments >> Change. If you don't have a NI LabVIEW Report Generation Toolkit entry in the list that appears, then go ahead and reinstall your Report Generation Toolkit.
    If you do have an entry for the Report Generation Toolkit, check to see if you have support installed for your version of Office. You can do this by going to your Windows Control Panel >> Add/Remove Programs >> National Instruments >> Change >> NI LabVIEW Report Generation Toolkit >> Modify. From there, you can install support for the necessary versions of Office.
    If neither of those options work, I
    would uninstall and reinstall the toolkit from the Add/Remove Programs utility.
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • XML Report Generation in TestStand 4.1.1

    I'm a fairly new user with TestStand, though I've been working with Labview for a few years now.  I've written a test sequence that will be replacing a previous implementation that was done in VisualBasic.
    The problem I'm running into now, though, is in the test reporting.  I want to use the XML format for the reports, but I cannot seem to figure out how to customize what data is printed.  I want to print the failures, and then there are some global variables that I would like to see printed in the header.  I've seen the XML tutorial for TestStand 4.2, but that doesn't work for 4.1.  Is there anything similar for 4.1?  
    Can anyone provide any resources for how to go about customizing the XML stylesheet for the report generation in 4.1?
    Thanks!

    Hey ADahl,
    NI doesn't really support customizing style sheets.  There is a great tutorial here: http://www.w3schools.com/xsl/default.asp
    It's really not that hard to figure out what to change once you get digging through the style sheets.  I found this site helpful when I customized mine: http://zone.ni.com/reference/en-XX/help/370052H-01​/tssuppref/infotopics/report_stylesheets_details/
     It lays out the sections so you can read the stylesheet better. 
    Failures should automatically be included in the report if that step is set to include results.  Here is a doc on including other data in a report: http://zone.ni.com/devzone/cda/tut/p/id/8289  You should get your globals into the report by using one of the methods in there.
    Honestly though when it comes to customizing the style sheet... there are a million and 1 ways to go about it.  What I did was comb through the xsl file until I found the header information.  Then I just added my own stuff in there and kind of copied off the format they had for the other stuff.  Now it's looking great.  I had to tweak some things here and there to get it exactly right.
    Let me know if you have any other questions,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Online Report generation

    Hi All
    I'm using jdeveloper 11.1.2.0
    This is my use case.
    I'm thinking of developing web reporting tool which enables design report online and generate reports
    For this I hope to use Itext for PDF report generation.
    I plan to implement a design area in web page and user can Drag and Drop fields to that area so that they can outline the view of the report
    First I want to know is there a controller to cater my requirement
    Then I'm going to read the position details(for ex coordinations of a particular filed) and generate the PDF report online.
    Please can any body give me a suggestion to implement this use case scenario.
    Thanks
    Padma

    Hi,
    ADF is not a pixel-perfect user interface and as such doesn't allow you to lay out components this was (though it allows drag and drop). My assumption is that JavaFX, Flash or Java Applets is what you want to look into
    Frank

Maybe you are looking for

  • Email and big wifi problems.

    Email and big wifi problems. Why does it take 6 minutes to send a photo attachment when my iphone 4 will do it in 30 to 40 seconds ? Why will my email account be recognised and log on only half the time? Why does the wifi keep dropping out? Why does

  • CC Bridge encountered a problem, why can't i fix this?

    Opening bridge brings up Trying to purge the cache in preferences makes Bridge lock up, it shows "Building criteria..", is totaly unresponsive to any klick commands, and can only be shut down in Task Manager. Ever time I open bridge, it opens the las

  • How to start with BI

    hi i want to start working on SAP BI. Can any one tell how to start? what to material to prefer? From where i can get the details of SAP BI . Thank you

  • Format SD card in 680: how long?

    My 680 has been "formatting" a 1GB SD card for 40 minutes now, via the CardInfo app. Is this normal? Has it crashed? Post relates to: Treo 680 (Unlocked GSM)

  • Donu00B4t release tasks after releasing a phase

    Hi guys, after searching a lot and programming in dpr_events i have no further idea. Does anybody know if it´s possible to do not release a task after releasing the upper phase? I tried the method set_data_ext from cl_dpr_task_o in dpr_events but the