SAP Query - Report program generation

Hello all,
Now I'm developing SAP queries through Tr-cd:SQ01.
As you know, every time (re)defining queries, we have to (re)generate the selection screen report programs, containing the input parameter for output format along with other input parameters.
The problems are:
1.
I CAN select other layout formats on the selection screen in one system(Dev System) when I define the output format as "SAP List Viewer" in Tr-cd:SQ01 and generate the report program  (,while I CANNOT select other layout formats on another system, QA System.)
2.
When selecting other formats than "SAP List Viewer"
in Tr-cd:SQ01, so difference between these two systems, that is, I can select all formats options on the selection screen.
3.
After redefining the formats as "SAP List Viewer" on the QA System, We CANNOT select other layout formats again while I remain to be able to select all options on the DEV system.
I think the report program generation function in QA system operates normally, while there is somthing wrong with DEV system.
Do you have any idea about this phenomenon?

Hello Thomas, I appreciate your quick response and apologize for my late reply.
After recieving your sugestion I continued process of trial & error only to find that the setting to generate the report program had been changed to old one for some reason.
You can change the setting in the following way:
Tr-cd:SQ02
Settings -> Global Settings
Check (or Uncheck) the box of "Always use the old report structure."

Similar Messages

  • Issue in transaction code creation for sap query report .

    Hi  Gurus,
    I have a requirement to create transaction codes for sap query reports. I found two ways to create transaction code for sap query report
    1) By Generating program for sap query report and creation of transaction code for that generated Program. in tcode.
    2) By using parameter transaction options in start object of se93
    What are the difference between creation of these two ways. Please specify  the advantages and disadvantages of both methods.
    Regards,
    Suneel Kumar Uggina.

    Hi Jogeswara Rao,
    But I am getting problem while transporting form development system to  the production system. After transporting to Production system  I have used the code created in development system, but it is giving Error ' No Program Found for that Transaction Code. And  I would like to know  on what conditions should I have to  use the First one  and as well as a second one in sap query reports.
    Thank You,
    Suneel Kumar Uggina.

  • Debugging in SQ02 (Sap Query Report)

    Hi All ;
    I want to learn that ,how can I debug a sap query report.I added some fields to the query with code.
    How can I reach that code by debugging ?Thanks for your reply.
    Regards.
    Fırtına.

    Hi Yigit,
    Every Query generated one program like  AQZZ/FSCMA/IS===CDM_10_Q1=====
    Go To your QuerySQ01 , run your query and From selection screen, check your program name  after that you can search your added code. what you added in infoset but your breakpoint  and debug your query code.
    Regards,
    Prasenjit

  • Dump in SAP query report

    Dear All,
    I have written some development in SAP Query report.
    The main aim is to assign to own defined parameter par1  combination of version and object-partner (internal order with defined order type).
    The text is following:
    DATA: it_aufk like aufk
          occurs 10 with header line.
       DATA: p-auart like aufk-auart.
       select * from AUFK into table it_aufk
         where AUFNR = coep-parob1+2(12).
      if sy-subrc = 0.
       if coep-versn = '000'.
        par1 = 1.
       elseif coep-versn = 'GR0'.
        par1 = 2.
      endif.
    endif.
      if coep-versn = 0 and ( p-auart = 'V112' or p-auart = 'V114' ) .
        par1 = 1.
      endif.
    I have performed check and generated this info-set successfully.
    Than I have generated program in queries - other function- generate program.
    I execute report and get dump.
    What did I miss?
    With best regards,
    Kamila.

    Category               ABAP Programming Error
    Runtime Errors         CONVT_NO_NUMBER
    ABAP Program           AQICZCO=========QUE_KZHAKEN_01
    Application Component  Not Assigned
    Date and Time          15.12.2011 16:18:35
    Short text
         Unable to interpret "GR0" as a number.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "AQICZCO=========QUE_KZHAKEN_01" had to be termi
          because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         An exception occurred that is explained in detail below.
         This exception cannot be caught in the context of the current statement.
         The reason for the exception is:
         The program attempted to interpret the value "GR0" as a number, but
         since the value contravenes the rules for correct number formats,
         this was not possible.
    How to correct the error
        Whole numbers are represented in ABAP as a sequence of numbers, possibl
         with an algebraic sign.
        The following are the possibilities for the representation of floating
        point numbers:
          [algebraic sign][mantissa]E[algebraic sign][exponent]
          [algebraic sign][whole number part].[fraction part]
        For example, -12E+34, +12E-34, 12E34, 12.34
        If the error occurred in your own ABAP program or in an SAP
        program you modified, try to remove the error.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "CONVT_NO_NUMBER" " "
        "AQICZCO=========QUE_KZHAKEN_01" or "AQICZCO=========QUE_KZHAKEN_01"
        "START-OF-SELECTION"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.

  • SAP QUERY report for vendor line items

    Hi
    I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
    Please advise.

    i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.

  • Transaction code for SAP query reports

    Hi All,
    I am trying to create transaction code for sap query report but couldn't go further.
    1) Created User group in SQ03
    2) Created infoset in SQ03 and assigned that to the user group
    3) Created query in SQ01 using the infoset.
    I executed the report in SQ01 and it is working fine.
    Now I try to create a transaction code in SE93 using the steps mentioned in the following link:
    Assign transaction code to SAP Query (created via SQ01)
    But when try to execute the report using the transaction code, it is giving error message 'User group xxxxxx is not yet created'
    Could any one advice me if I miss something? Or please help me to create this transaction code and transport to production?
    Thanks in advance

    HI,
    based on the thread you've already mentioned:
    In SE93, Create a Paramter Transaction
    -> Transaction = Start_report
    -> In default values, give the below details:
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-EXTDREPORT = Name of the Query
    D_SREPOVARI-REPORT = User Group
    So check if the user group is typed correct in SE93 and check also if the user group exits in the system where you are trying to run the transaction.
    best regards, Christian

  • Problem while fetching more records in SAP ABAP report program

    Hello Frinds,
    I have SAP ABAP report program which fetches data from usr02 table
    Now, program is working fine with less number of records, bot in production there are more than 200000 records and either report gets timed out or there is run time error like buffer area not available.
    Below is the fetch statement
    SELECT bname FROM usr02 INTO TABLE lt_user
    So, do I need to take records in small chunks, I do not think it is needed as I have worked on number of othere databases where there are number of records in single fetch statement and database itself take care of this.
    Please provide me some approach to resolve this problem.

    This will be very difficult for you.....
    Since you are getting a time out error....it looks like, you are runnning this report in foreground....................
    Try running it in background it will work...
    ELSE....you have to fetch in small chunks....but the question is how will you do it. Since the USR02 only has BNAME as primary key...
    Either put the BNAME as part of selection screen and fetch the data.....it will solve your problem....
    Only fetch for those BNAME which is entered in the selection screen...
    Hope it helps!

  • SAP Query report

    Hi Friends,
    For reporting and documentation reasons I set up SAP Query report which almosts fits our needs.
    Regarding values, what we need is the total value (header or sum of all items) before and after tax.
    I am only able to display the BEFORE TAX VALUE with reference to VBAK-NETWR or VBAP-NETWR.
    is there any possibilty to displays the AFTER TAX VALUE (total value) as well from sales order or invoice?
    Pls keep in mind that I am using SAP query, so i cannot do any coding or calculations.
    Regrards,
    Srikky

    Hello,
      as of my knowledge not. So a different solution could be the following one: in customizing, in "Define and assign pricing procedure", you can assign a subtotal (field T683S-KZWIW) to the price condition item corresponding to the AFTER TAX VALUE. So this value will be stored in the corresponding field of table VBAP (i.e. if you assign subtotal '1' the value of that condition will be stored in field KOMP-KZWI1, and then in the corresponding field of table VBAP-KZWI1).
    I hope this could help.
    Best regards,
    Andrea
    Edited by: abrusa on Sep 13, 2010 2:12 PM

  • Sap query report-selection screen modification

    Hi
    I  have created a SAP query report using the logical database KDF ,the selection screen was created automatically.For vendor report open item and Cleared item Push button would be there in FBL1N but here it only displays Open key date,clearing dates.The open key date is mandatory to give though i give clearing dates as i need vendor cleared items.
    Is ther way to change the selection screen to get the option open item and cleared item push button as in FBL1N.
    This is because i was filtering a vendor only for particular doc type only for clearing items but report takes open item too though i meantioned clearing date rate.How to modify the selection screen in sap query report when Logicaldatabase is selcted.

    I need to get only the cleared items.I donot need open items.Then if go for BSIK is it wrong.Should go only for BSAK.
    I couldnt find the table BSAK in logical database KDF.
    Edited by: mysap query on Mar 18, 2009 3:15 PM
    Edited by: mysap query on Mar 18, 2009 3:15 PM

  • How many ways we can create authorization for user groups in sap query reports

    Hi Gurus, I am getting a problem when I am assigning users to user group in sap query report .The users other than created in user groups are also able to add &change  the users .So please suggest me how to restrict users outside of the user group.
    Please send me if u have any suggestions and useful threads.
    Thank You,
    Suneel Kumar.

    I don't think it can be done. According to the link below 'Users who have authorization for the authorization object S_QUERY with both the values Change and Maintain, can access all queries of all user groups without being explicitly entered in each user group.'
    http://help.sap.com/saphelp_46c/helpdata/en/d2/cb3f89455611d189710000e8322d00/content.htm
    Although I think you can add code to your infoset and maybe restrict according to authority group, i.e.:
    Use AUTHORITY-CHECK to restrict access to the database based on user.
    Press F1 on AUTHORITY-CHECK to find out how to use it in the code

  • SAP query reports

    why  reports naming contains ==== in sap query reports????

    Dear Changhal,
    Welcome to SDN!
    Do you mean to ask why "====" is in report queries?
    You can create queries by confirming to naming conventions followed by your company.
    Visit [SAP Query|http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb4145455611d189710000e8322d00/frameset.htm]
    Post your queries in relevant Forum.
    Regards,
    Naveen.

  • Reading Archived Data Through SAP Query Report

    Dear SAP Gurus,
    My client archived their SAP data in a particular year range and all the Z reports have to modified to read these archive data. Normal ABAP reports can be modified to read the archive data without no problem.
    But there are two Z SAP query reports which should be modified the same way so it will be able to read archive data.
    What is the best method for this? Does SAP Query tool provide facility to read archive data? or do I have to append the code?
    Thank you in advance for your help
    Regards,
    Isuru Fernando

    >
    Isuru U Fernando wrote:
    > hi Manthan,
    >
    > Yes I used these FMs and read the data without any problem for normal ABAP reports.
    >
    > But SAP query report is the problem. Is it advisobale to modify the SAP query generated report source code? since it is a system generated report.
    >
    > Regards,
    > Isuru
    No, do not adapt the SAP generated report source. The reason is: every time someone re-generates the query from tx. SQ01 your changes will be lost.
    You could add the functionality Manathan gave you to add to the infoset of said query - but to be honest: in my opinion that is shooting nuclear rockets at flies. Also you run the risk that every change of the infoset (add a join/delete a join) requires adjustment of said coding you applied ... and where will you be then? Fancy repairing the same query over and over again? Try talk sense to your client - go for a Z-report here ...

  • Sap query & reporting

    Hi,
    Any book that can be suggested for report writer/report painter & query reporting.. that contains almost all for reporting without programming..
    Thanks in advance...
    Vipin Arora..

    Hello Vipin,
    Sap Query
    The SAP Query application is used to create reports not already contained in the default.
    The SAP Query comprises five components: Queries, InfoSet Query, InfoSets, User Groups and Translation/Query.
    Please refer:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    A query can be created to extract information from master records i.e Infotypes.
    <u>Creation of new query:</u>
    1. T.Code SQ03 - Select Environment – Select Standard Area - Enter -- If new user group is to be created, enter name of the user group, click on create and enter necessary information and exit after saving
    2. T.Code SQ02 - Enter name of the Infoset – Create – enter name of Infoset
    3. T.Code SQ03 - Select user group
    Infoset - Enter name of newly created Infoset
    Assign users and Infosets - Assign infosets
    After creating a query use SQ01 & run.
    <u></u>

  • Navigation to Transcation from SAP QUERY Reports

    Gurus
    Can we navigate to specific transaction codes by clicking on a field in a report developed using SAP QUERY, similar to HOT SPOTS we have in ABAP reports
    Thanks
    nithi A

    Dear ,
    FORM user_command USING r_ucomm TYPE sy-ucomm rs_selfield TYPE slis_selfield.
      DATA  : fieldnm(15) TYPE c .
      DATA   : v_para(15) TYPE c.
      DATA   : v_para1(15) TYPE c.
      CLEAR mt_fieldcat.
      CLEAR lt_fieldcat.
      CASE r_ucomm.
        WHEN 'SAVE'.
          PERFORM save.
        WHEN 'SELALL'.
          PERFORM select.
        WHEN 'DEALL'.
          PERFORM deselect.
        WHEN  '&F03' OR '&F12' OR '&F15'.
          LEAVE PROGRAM.
      ENDCASE.
      fieldnm = rs_selfield-fieldname.
      READ TABLE it_zmseg INDEX rs_selfield-tabindex.
      IF sy-subrc EQ 0.
        IF rs_selfield-fieldname = 'BISMT'.
          v_para = rs_selfield-value .
          submit "transaction name " exporting from memory  return .
      ENDIF.
      CLEAR v_para.
    check syntax of submit "taransaction .
    this will help you .
    Deepak Dhamat

  • SAP Query- Reporting on SOD

    Hello everyone,
    I need some help in creating a report in SAP Query based on user's processing Vendor Invoices and also Vendor Payments?
    I would like to have the following columns to report on:
    USNAM u2013 User Name (from BKPF)
    BLDAT u2013 Document Date (from BKPF)
    BELNR u2013 Document Number (from BKPF)
    BUKRS u2013 Company Code (from BKPF)
    BLART u2013 Document Type (from BKPF)
    LIFNR u2013 Vendor Number (from BSEG)
    NAME1 u2013 Vendor Name (from LFA1)
    WRBTR u2013 Amount (from BSEG)
    Vendor Invoice- I would like to restrict to only document type fields that are KA,KR,RC,RE,RN and ZE
    Vendor Payment- I would like to restrict to only document type fields that are ZV,ZS,ZP,ZH and KZ
    I have a few questions:
    First is i am using a logical database (BRM as BSEG cannot be joined) to select my columns however i do not know how to pull the 'Vendor Name' from LFA1. I understand that this table is not in BRM but is there a way to add any extra tables to work along side the logical database?
    Secondly, i have managed to report on all columns except the vendor name (from LFA1) and although i can restrict my output data based on document type fields, i need the report to only show the user's that have process vendor invoices & vendor payments only?
    At the moment i have a list of restricted document type but cannot seem to jsut show only those users who have processed both in both processes. For example User A has processed a vendor invoice (which is shown) and the same user may have processed vendor payment (after searching through the long output list!)
    I want all users who have doen one of the other process and only interested in those that have done both?
    Any feedback is much appreciated and pelase let me know if i have not explained this problem properly (as i am a newbie in this area)
    Many thanks
    Amar

    Hi Pascal,
    Since the IT2501 is a "Simulated Time Infotype" you cannot look at the data in it, but you can confirm the data from the ZL cluster and the data from the employee.  Since it is only this employee or a few employees, it is probably not the configuration of the time buckets for the IT2501, but you may want to make sure all time times are captured as you want.  Then look at the time entries for this individual or individuals.  Did they enter a time type that was not expected or configured?  Is all their time approved and passed through Time Evaluation?  Finally check the Master Data for the employee - is the Planned Working Time (IT0007) infotype correct or has it been recently changed?  Is he in a special Cost Center (IT0027) or Project that is captured differently for time purposes? 
    Since it just one or a few individuals, I would suspect the Master Data and some inconsistant entry that affects the time cummulation for the IT2501.
    Paul

Maybe you are looking for

  • ICloud Apple ID is not current

    Backed up iphone to cloud just before buying new phone tonight. icloud restore shows an apple ID not used in over 3 years - won't let me change it - tried Appleid.com and it shows the current one and won't allow change of icloud password. Suggestions

  • Getting the size from a model

    Hello How can I get the size of a model (from a *.w3d-file). The model does not contain the properties width, height or length, so I guess that I have to measure the distance between the models vertices. But I can't seem to think of a good way to do

  • XMLdb: SQL query/XPATH/RDF issue

    Hello - a small question about the extraction of data from a XML document using XPATH. I have modified a local copy of a XML schema (foxml1-0.xsd) in order to add the xdb namespace and a "defaultTable" attribute to be able to store the object in a ta

  • By publishing page in iweb how do I get the accents to appear correctly in the Portuguese language?

    By publishing page in iweb how do I get the accents to appear correctly in the Portuguese language?

  • Setting JAVA_HOME

    Hiye I�m using win2000 and I cant seems to set my JAVA_HOME variable environment. Here is what I�ve done. variables =JAVA_HOME and value=jdk.1.3.3 I cant seems to compile or run my java program without going into jdk1.3.3/bin. Any idea?