Query - report assignment problem

Dear experts,
I've created a query to get PO and purchase requisition details and I've assigned tcode ME53 in report assignment. When I double click in the purchase requisition number the new ME53N is called instead of ME53. To PO numbers, ME23 works fine.
Any idea why is this happening?
Thanks in advance for any help.
Regards,
sb.
Edited by: Sara  Bernardo on Feb 19, 2009 2:33 PM

Are these OSS [Note 663911 - ENJ_CALL_ME53N is not interpreted correctly|https://service.sap.com/sap/support/notes/663911] and  [Note 334986 - Branch to PReq processing: ME53 vs ME53N|https://service.sap.com/sap/support/notes/334986] applicable to your system?
Regards

Similar Messages

  • ABAP Query- Report Assignment functionality

    Dear Collages,
    I am using SQ01 for reporting materials data information.
    Also I am using the Report Assignment functionality to call transaction MM02
    In the drill down mode expecting to change materials according to the ALV list after selecting double click on one material out from list.
    The problem is that the material I am getting after moving to transaction MM02 is the last in Memory Id not the one I want to get fro ALV list.
    Is this functionality I am expecting is available in ABAP Query??
    If so how!
    Many Thanks in advance
    Oren

    You need to clear the parameter id MAT , Try to use some events or using free coding clear the MAT
    SET PARAMETER ID: 'MAT' FIELD space.

  • Query report generation problem

    Hi,
    I want to know how to view the queryvalues without variable screen but after report showing the values if i click the variable screen option it should show the screen.
    If u know pls tell me.
    Thanks and regds,
    S.Girikumar.

    from what i understand you would like this below functionality:
    1) Run the report without giving the values in the variable screen.
    2) use the variable screen now to select the values.
    one of the possible solution:
    1) remove the mandatory option for all the variables
       eg: bex > 0customer > char values > select the variable > edit > remove mandatory option
    2) run the query
    3) you will be prompted with the variable screen, just say yes, without entering any values.
    4) report is displayed
    5) press the refresh button
    6) variable screen is displayed
    7) give the variable values now.
    let me know if i interpreted the questions wrong.
    Thanks,
    BWer
    Assing points if helpful.

  • The problem about  integrate  Portal and R/3 : vendor query report problem

    Hi everyone :
       We want to achieve that our vendor can query R/3 report via our Portal. I had done SSO configuration.
       But we had about 500 vendors, it is impossible that we create 500 R/3 users for our vendors,  because the cost is too much .
       And there is another problem, vendor who had the authorization to query report can query the other vendor's data at same time. But we expect that certain vendor can query his data only.
       I think this is a general problem when integrate Portal and R/3, BW .
       Is there somebody had solved this problem or give any advice?
       Any discuss is welcome.
    Best Regards,
    Jianguo Chen

    Hi,
    I would say: get in contact with your SAP account manager anc check which options SAP can offer you...
    Normally every user using a R/3 system has to have a valid user license in that system. Expecially when you want to access control to data on user (vendor) level you nedd to identifiy the user clearly and uniquely which by standard means you need a user for every vendor.
    Hth,
    Michael

  • Query report problem

    I copied all query reports from one old database to another new database using a copy express.
    But while executing the query report in the current new database.
    It is showing an error" FORM NOT FOUND [66000-9]"

    Sometimes the errors provide little information as feedback to correct the problem.  I would suggest that you review the query iin both databases and see if have been copied correctly.  Secondly make sure all field and table references in the query actually exists in the copied database.
    Suda

  • Report assignment in Query

    Dear All,
    I have created a query and i am trying to add me33k and me23n as report assignment. The strange thing is that the system does not bring the screens.
    When i double click the line to display the contract, it gets me to the initial screen of me33k with agreement field empty. As for PO, it shows an old po and not the one i have on the screen.
    I have made the same thing in the past and it worked fine (showing the contract items and the correct PO).
    Any suggestions please?
    BR

    Hey , Apparently the report assignment does not work with Enjoy Transactions ,  in my case ME23N and ME53N did not work  but ME23 and Me53  worked.
    Regards
    Raviraj

  • Help with Query and report assignment

    Hi,
    I am able to attach 2 transactions (e.g. MM03 and ME23) to my SAP Query through report assignment.  My question is how do I skip the selection screen that asks me if I want to Display Material or Display PO?
    What i want to happen is in my report, if I click on the material - MM03 is called and if I click on the PO, ME23 is called.
    Is this even possible through queries?
    Cheers.

    Thanks for replying.
    I did as suggested and added the following at the start of my code.
    AT LINE-SELECTION.
    GET CURSOR FIELD FILD_NAME VALUE F_VALUE.
    I set a breakpoint in AT LINE-SELECTION and when I executed my query, it wasn't passing through it. 
    When I removed the line AT LINE-SELECTION, it passes through GET CURSOR FIELD, but FILD_NAME is not populated.  It's blank.
    Below is my code at the moment:
    data: fild_name(30), F_VALUE(50).
    *AT LINE-SELECTION.
    GET CURSOR FIELD FILD_NAME VALUE F_VALUE.
    if fild_name = 'MAT'.
    PARAMETERS P_MATNR LIKE MARA-MATNR.  "DD ref. as in MM03
    SET PARAMETER ID 'MAT' FIELD P_MATNR. "ID for MARA-MATNR
    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    endif.
    Appreciate any help.

  • UDF Value is not coming in the query report

    Hi all,
    i have designed query report based on AR Invoice which has some UDF .
    all udf have FMS applied and all these udf has values.
    when i run report some times udf values are coming in the report and somtimes not even if udf contains values.
    if i open perticular invoice and again update that udf and again run report now udf value will come in the report.
    every time i need to manualy update the udf even if that udf contain value.
    how to avoide this problem.
    Pls suggest solution.
    Regards,
    Chetan

    Hi Chetan,
    Try this,
    -> Open the require document(module).
    Assign this procedure and then ADD the document
    and Run the Query Report.
    1. Goto the UDF and Click (ShiftAltF2).
    2. Select the SEARCH BY SAVED QUERY.
    3. Assign the FMS Query in UDF.
    4. Select the AUTO REFRESH WHEN FIELD CHENGES.
    5. Select the Auto Refresh Field (for example CardCode (or) Remarks).
    6. Check the Display Saved Values.
    OR
    -> Open the require document(module).
    1. Goto the UDF and Click (ShiftAltF2).
    2. When will you add the document at that time
    you can Click the SHIFT + F2 and than ADD the document.
    and than Run the Query Report.
    Regards,
    Madhan.

  • 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

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

  • How to copy existing query report into new query report in SQ00

    Hi Experts,
    Hi Experts,
    I want to add fields "company code" "'region" to existing  query report AQZZ/SAPQUERY/FKF1============
    (list of vendor address) for this i done as following:
    1.In SQ01  go to "EDIT->other user group" and i selected user group as /SAPQUERY/FK
    2.I typed F1 in query field and click change button
    3.I clicked next screen button and entered into "change query f1: select fields screen".here i clicked "basic list" button and searched company code checkbox and saved it as result company code is appearing in the standard report"AQZZ/SAPQUERY/FKF1============"
    but unfortunately there is no region field(LFA1-REGIO) for this i think i should copy the existing  query report  into new query report(Ex:Z_LIST_OF_VEND) which should be 14 characters.please tell me briefly how to do this because this is first time i am using SQ00.
    one more issue is when i selected "edit-otheruser group" and choosing /SAPQUERY/FK  i  am getting only infoset "/SAPQUERY/FIKD" but i should need Info set: "/SAPQUERY/FIDD" please tell me how to add the previous one into user group.i think if i got /SAPQUERY/FIDD into usergroup  /SAPQUERY/FK i can add region also into Query report as i mentioned above by going SQ01 ...............................
    please help regarding this which should be very beneficiary to my carrier.
    Regards,
    naresh

    Hi Experts ,
    I solved issue by changing infoset in SQ02 by means of assigning field to field group and changed the query in SQ00.
    Regards,
    naresh.

  • Sub Report Performance problem

    Our current software configuration is Microsoft SQL Server 2008 R2 (10.0.2531.0) where our data is housed. Our User Interface is Microsoft Visual Studio 2008 (Visual Basic) and Microsoft .NET 3.5 SP1 platform.  We use Crystal Reports 2008 (12.0.0.683) to do our reporting.
    We upgraded from Crystal Reports XI and our reports are taking a long time to render?... Is there any evidence of other companies experiencing this trouble? Are there any degraded performance issues when moving from XI to 2008?
    In some cases we utilizing a small simple sub report.
    Any help appreciated. Thanks.

    Hi Billy,
    Subreports in detail sections are never a good idea. Example, you have 100 records returned int he main report and if that field is your subreport link it causes the subreport to run 100 times. Your database is being queried 101 times.
    Also, the default time out for database is typically 1 minute, could be you need to verify your report and database so CR can "clean up" any wrong pointers.
    It's always better to do the data collection server side if and when possible, after all that's what they do best.
    Not much detail to go on so I can't say if it's a report design problem other than the above or not. It could be also that .NET takes time to load all of the CR assemblies so depending on how you have your app configured depends on the delay. If you load a dummy report when your starts up to pre-load CR runtime then subsequent reports will be much faster.
    Also check off all of the Verify Database options, you may be telling CR to verify each time which on big databases can cause a delay also.
    Thank you
    Don

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Query Report:To Retrieve Data from A/R Invoice and A/P Invoice

    Hii Experts,
          I am a new Sap B1 Trainee.I am facing a problem when retrieving data from A/R Invoice and A/P Invoice in order to track
    Expenditure and Revenue according to a Bussiness partner,
    I am using union to retrieve the information,but it is saying a error that  Error Converting Varchar to Numeric and also
    i would like to know how can i show the total final payment by reflecting Downpayments in A/R Invoice and A/P Invoice
    With Regards
    Cherry.

    Hii.
    My Sap B1 version is 8.8.1 and patch level is 20. Actully i need a scenario where i can able to show both Expenditure and Revenue of a particular bussiness partner and profit/loss in a single query report.
    I need some tips regarding this,When i am doing union i am getting conversion error converting varchar to numeric when i take
    Sum(Line Total) from OINV and Sum(line total) OPCH group by docdate and docentry and BP .
    and another scenario is how to deduct A/P downpayment or A/R downpayment from A/P invoices and A/R invoice to get the final Revenue and Expenditure ..
    Thanks & Regards
    Cherry

  • Setting a Default Value in SQL Query Report

    Hello:
    We are using a SQL Query Report to provide a mass update to a table. We are using the apex.collection and having it display a number of records in a SQL Query Report for mass update. We have 14 columns in the report, for which the first 11 are populated via the collection. The remaining 3 are open for input but the individual making the updates. We've were able to provide a default value for 2 of the remaining 3 columns using a named LOV's - however the fourth column we would like to default a sysdate - but we are not successful.
    We've attempted many things but none seem to work, including adding that column to the collection and assigning it a default sysdate value. We've also tried changing the settings in the report attributes --> Tabular Form Elements by setting the Display as to: Datepicker, Default type to PL/SQL Expression and setting the default to sysdate. We've also tried caputuring a date on the previous page and loading it onto the report page and trying to default the date column to a page item default.
    I'd appreciate any help.
    Thanks
    FYI - we are using version 3.2

    use as default
    to_char(sysdate, 'dd/mm/yyy') where the format is your application or item date format

Maybe you are looking for