Tcode to SAP Query

Hi All,
I have created a SAP Query and I have assigned a tcode in the dev Server, It is working fine in the Dvelopment But Throws a dump in the Quality and Production Server of Program not found and asks to create the program.
The Program exists in se38 in the quality and Production Server and it works fine in the Devlopment Server.
Nimisha Gandhi.

Hi,
1) set a break-point on:
PERFORM load IN PROGRAM (i_s_prof_int-progname).
and check which porgram-name is shown at runtime
and search for this program and perform.
if you don't find - create an oss-note
what i can imagine - that it's a program, which should be generated at runtime - but wasn't gen. because of a syntax error!
or
try update debugging? Maybe this part is executed in an update task.
Otherwise online/background version are really running different!
or
There is a dynamic call, which needs correct program in variable i_s_prof_int-progname.
Obviously this is filled different (or not at all) in background run.
Set a break-point and try to find out, how this field is filled. Maybe you get a hint, why this might be different in background
Regards,
Harini.S

Similar Messages

  • Tcode for sap query

    hi experts,
                   Pls let me know how to create a tcode for a SAP query .I am using infoset query for combining two tables.I have created a query and the report is working properly .now i need to create a tcode for end users to work on it .when they enter the tcode it has to go to the selection screen ie variant part of my report.

    Hi,
       Go to se93 and select the create button.  You will then be asked to writed down the tcode of your choice then create a short text for that tcode. Select the 2nd option button w/c is the "Program and Selection Screen (report transaction)."  Press enter.  Then key in the program name and the variant you saved in the program.  When transporting to Prod, Save the variant there as well.  If you placed "DEFAULT" in the creation of tcode, you should also save "DEFAULT" variant in production.  Hope this helps.

  • How to create a tcode using sap query

    Hi
        I have created a query using SQ01. It is working fine. But I want to create a transaction code for that. How can we achieve this?
    Regards.
    Hari

    Hi,
    Go to se93 and select the create button.
    You will then be asked to writed down the tcode of your choice then create a short text for that tcode.
    Select the 2nd option button w/c is the "Program and Selection Screen (report transaction)." Press enter.
    Then key in the program name and the variant you saved in the program.
    When transporting to Prod, Save the variant there as well.
    If you placed "DEFAULT" in the creation of tcode, you should also save "DEFAULT" variant in production
    Thanks,
    Reward If Helpful.

  • Find SAP Query using Tcode

    Hi All,
    I have TCode of SAP Query, i need to find out SAP Query.
    things i followed:
    1) Executed TCode and menu bar --> System --> Status. I got Program.
    2) I went to SE93 --> TCode --> Display --> bottom i got UserGroup, Query but when i try to check that Query in SQ01 it is saying Query has not created.
    3) Executed program using FM RSAQ_DECODE_REPORT_NAME, got UserGroup n Query. but same issue as above.
    Query is working but when i check in SQ01, it has not created is showing.
    My requirement is - functional has created 4 SAP Queries. i need to merge all the SAP Queries into 1 report program.
    i need how can we check those SAP Queries in SQ01 using TCode.
    Regards,
    Naresh.

    Hi Naresh,
    You did not explain how the reports were created, but if they can be accessed directly via a transaction code individually, they were probably manually created by a programmer via ABAP and were not created via SQ01.  Thus, you cannot find them in the SQ01 table.  Only if they were created via Ad Hoc Query (PQAH) or directly in SQ01, would they be available via SQ01.
    If they were created in SQ01 in a Development system and transported to your Productive system, they can be found in the Global Area as indicated above by Boris.  If they were created directly in the Productive system, they can be found in the Standard Area.  And again, each area has its own set of User Groups, so you may be looking in several areas.  The key is to learn how and where the queries you are searching for were created.
    Paul

  • Class to run standard SAP Query

    Hi,
    Could you help me with finding standard SAP class to run query created in SQ01?
    Thank you

    Hi,
    You can create the TCode for the Sap Query and use to run query.
    refer the links to create tcode for sap query..
    how to create a tcode for abap query
    tcode for sap query

  • SAP QUERY DECIMALS

    Hello ,
    How can we restrict in display decimals using SAP query.
    Ex: i have a field ^marc-MINBE dont want to show decimals, hwo can i restrict it at display level.
    Tcode : SQ01 (SAP query)

    Hello,
    Add a new field in infoset ( without decimals ) and in coding you can move the field, may be after rounding, into the new field which is used for the display.
    Hope this helps you.
    Regards, Murugesh AS

  • Require TCode used by user for sap query created through SQ01

    Hi All,
    I have number of SAP Query in production that currently are used by different-2 user & created through SQ01
    My question is how to know the TCode that used by user for SAP Query.
    Thanks In Advance
    Regards
    San

    Charlie
    You did not get the question.
    I knew the TCode of the query which I had created using tcode SQ01. user is using this query to see the report
    Like I created query named 'order_line_details'. This query is basically to see the order & other details. To use this by user one TCode'zncv_ord_item'  has been created.
    So in the system lots of query are available. So i want to know the Tcode for those query that are using by user.
    Thanks in advance
    San

  • How to identify whether a TCode is for SAP query or for a customized TCode

    Hi,
    We have a list of TCodes starting with Y_*
    Some of these TCodes could be related to SAP Queries and some could be real custom transactions. How do I find out which one of those are related to SAP queries and which ones are related to custom SAP transactions?
    I have already checked table TSTC for the program names of these Transactions, but the program name field (PGMNA) is blank. Also in TCode SE93 the transaction mentioned is START_REPORT. Also for some, when I go to the transaction (Y_*) and then environment->status to check the program name the values found are something like AQ11FI==========F10A==========.
    Please help on how to identify whether a TCode is actually for an SAP query or for a customized transaction.
    Thanks in advance.
    Mick

    Thanks Anil.
    In TSTC, the filed for program name is blank. Therefore I would have to go to each and every transaction (I  have around 250 Y_* TCodes with me) and then to environment->status to get the program name and then check whether it is A......
    Is there any easier way to know whether a TCode refers to an SAP query or a custom developed transactions/program.
    Mick

  • How can I define Double Click Processing in SAP Query ?

    The first question is : How Can I define drill-down for SAP Query report ?
    The second one :  How can I program Double Click in SAP Query report for Different columns like ALV Grid processing ?

    you can attach a repot or at tcode etc in an SAP query using report assignment in SQ01 but as far as i remember you cannot attach multiple reports.
    regards,
    khusro habib

  • Question on creation of t-code for SAP query

    Hello,
    I posted a thread in here back on 06/20/2007 asking for help on creating a t-code for a SAP query. one of the responses that I recieved was
    <i>"Sure, all you need to do is get the report name which is generated by the query. You can find this in SQ01, select the query and from the menu, Query, More Functions, Display Report name. Then go to Se93 and create the tcode with this report name."</i>
    the report name was AQFKZFINANCE====GL_FRANCE=====.
    I created the t-code using this name. I had it transported to my QAS system an now we are getting a error stating that the the program is not found.
    When I check in SE38, I can see this program AQA0ZFINANCE====BP_RECON====== in both my development system and my QAS system.
    Should I have created in the t-code using the AQA0ZFINANCE====BP_RECON====== instead of the AQFKZFINANCE====GL_FRANCE===== program? 
    Is there any reason why the program AQFKZFINANCE====GL_FRANCE===== would not be in QAS?
    I do not have access to SQ01 in our QAS system so I cannot perfrom the process stated above.
    thanks in advance for the help.

    Hi,
    Please check this thread perhaps it may help.
    Re: How to create TCode for Sapquery
    Regards,
    Ferry Lianto

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

  • Addition of new column into SAP query program

    Hi freinds,
    There is a query program(joins EKKO,EKPO) which contains columns like vendor,purchase doc,item,material and material description etc..
    I need to insert a new column 'Supplying plant' in 2nd position after vendor column...When I try to add a field into internal table,am getting short dump error...
    Kindly suggest on this problem...
    Thanks in advance...
    Bharat.

    Hi,
    the program you got is it a copy from a SAP QUERY created on TCode SQ01 ?
    If yes got to Tcode SQ01 draw a new one and see the report generated
    Best Regards
    Jaime

  • SAP Query with Logical databse BRM

    Hi All,
    I'm developing one report by SAP Query using with logical database BRM to pick the accounting documents. But I would like add some kind of where condtion for one of field for BKPF table. Is there way to achieve this by using logical database concept? If there is a way please help me.
    Thanks in advance.
    Regards,
    TNR

    hi
    in SQVI, kindly follow the below steps:
    a.  in the left hand pane, click on the data fields.
    b.  expand the 'accounting document header'.
    c.  for the field BKPF-TCODE click on the 'List Fields' and the 'Selection fields'.
    d.  click on execute,
    e. you can now enter the values for the BKPF-TCODE.
    regards
    eashwar
    Edited by: eashwar1 on Feb 11, 2010 11:55 AM

  • SAP Query with Logical databse

    Hi All,
    I'm developing one report by SAP Query using with logical database BRM to pick the accounting documents. But I would like add some kind of where condtion for one of field for BKPF table. Is there way to achieve this by using logical database concept? If there is a way please help me.
    Thanks in advance.
    Regards,
    TNR

    hi
    in SQVI, kindly follow the below steps:
    a.  in the left hand pane, click on the data fields.
    b.  expand the 'accounting document header'.
    c.  for the field BKPF-TCODE click on the 'List Fields' and the 'Selection fields'.
    d.  click on execute,
    e. you can now enter the values for the BKPF-TCODE.
    regards
    eashwar
    Edited by: eashwar1 on Feb 11, 2010 11:55 AM

  • Interactive reports in SAP query

    I created a SAP query which prints the sales documents numbers..After displaying the ALV list,when I click the sales documet ,it will directly go to the VA03 tcode.
    Can any body help how to develop it?

    Hi,
    try this .
    at user-command.
      GET CURSOR FIELD w_cursor VALUE fs_customer-kunnr.(field on which you click)
      CASE sy-ucomm.
        WHEN 'CUSTINFO'.
          IF w_cursor = 'FS_CUSTOMER-KUNNR'.(compare field name )
            SET PARAMETER ID 'KUN' FIELD fs_customer-kunnr.( see parameter id in dataelement further characteristics )
            CALL TRANSACTION 'TCODE' .
            CLEAR w_cursor.
          ELSE.
            MESSAGE text-005 TYPE 'I'.
          ENDIF.                           " IF W_CURSOR = 'FS_CUSTOMER-KUNNR'

Maybe you are looking for

  • Changing terms of payment on an order

    Hello Everyone, There is a big issue at my company and I am hoping someone can help me out with this. There are occasions when a customer will come into one of our branches and place an order on their account that has the terms of payment set to cash

  • Using array in forall

    I was wondering what the syntax is for using a forall with a array. I want to do something like below but this doesnt work correctly. forall i in 1 .. p_array.COUNT insert into test_object (attr_id, attr_1, attr_2) values (p_array(i).attr_id, p_array

  • Help too selecting object [JS]

    Hi there I am problems selecting an object by it id or label. In my script a list items on on page and if the text are using ParagraphStyleName "Itembox 9" i save it in array. But how do i select the object by id or label ? I have to do this to make

  • Local raid storage: G-Speed, CalDigit, etc?

    Hello, looking for some storage recommendations. I'm going to be cutting a low-budget feature in the next couple of months. The footage will be coming off a 7D so I'll be looking for a raid solution, Raid 5 perhaps? I'll be cutting on an Imac and Mac

  • MRP1  Lot Size customizing   bundle fullfillment of demands

    Hi SAP PP/MM Gurus, does anybody know a smart way to built up MRP planning parameter, which split the raw material demands into 2 Purchase Requsitions, or Schedule Lines per week. Plant receiving date, 2 fixed days each week (Monday and Thursday only