Problem in changing SAP query ME80FN  in transaction SQ01

Hi,
I  have added two new fields in list layout of the transaction ME80FN. When I execute this transaction it is executing ABAP QUERY REPORT ME80FN.
I added two new fields in infoset SAPQUERY/ME80FN via transaction SQ02.
Then trying to change the QUERY ME80FN via transaction in SQ01. It is saying locked by some user.
Can any one help me how to resolve this what to be done.
Thanks,
JWala

Hi
I found this in another forum. It  is simple to do it:
1. Go to SQ02 transaction (Infoset: Initial Screen)
2. Select or Highlight the Infoset corresponding to the query.
3. Go to --> Query Directory --> (you will see the infoset in the name being displayed) Execute.
4. Select the Query you would want to unlock.
5. Click on Cancel Edit lock button or Edit --> Cancel edit lock or Shift + F6
Done...!!!! Query is unlocked
José M Mercado

Similar Messages

  • Transaction ME80FN, SAP Query ME80FN, and logical database MEPOLDB

    I am looking at transaction ME80FN. Is that from the global query /SAPQUERY/ME, ME80FN? I was told that ME80FN was from SAP Query... but doubts are creeping in.
       SE93 shows trans. ME80FN as Program RM06EAAW and no logical database. RM06EAAW has different headings and an additional toolbar in the results screen.
      Did RM06EAAW get generated from SQ01 ME80FN?
       I have to modify the ME80FN transaction output by adding a field to the PO History display, which is selected from the bottom toolbar, rightmost button. I guess I have to go with RM06EAAW as the starting point(?).
       We are on 4.6B Any suggestions are welcome.
      Thanks

    These are what I am dealing with:
      Transaction ME80FN
      /SAPQUERY/ME, ME80FN query.
      Another way to word the question is: How can I make a copy of the global query /SAPQUERY/ME, ME80FN to have that nifty bottom toolbar that transaction ME80FN has?
      At first glance, they are the same entity... But the toolbar in the transaction and display options via the last button on the toolbar differentiate the two.
       Thanks....

  • Problem Change SAP Query in Crystal Reports

    Hi,
    i have a problem with changing a SAP Query in an Crystal Reports.
    I build a Report with a Query(1) and Design the Report complet everything works fine.
    I make a new Query(2) and if i make a new Crystal Report with this new Query everything works fine.
    Now my problem is i would like to use the design of the first report. Therefore i open the first report and save it under a new name. Delete all Database fields and delete the database connection.
    Now i gave in the new database connection to the new query(2) and in the Database fields i see a lot of Fields but not the right ones. Its completly wrong. Is there anybody how know this problem?????

    Hi i solved my problem by myself.
    I have to set Query as external available and have to use the MDX Query.
    Its strange because if i build a new report the query dont have to be set as external available.

  • Problem while changing the query of the field in Oracle apps 11.5.10

    Hello All,
    Requirement:
    User want to change the query of the LOV attached to Ordered item field on Line items tab on the Sales order form in Order managment
    Block name = 'LINE'
    Field name = 'ORDERED_ITEM_DSP'
    LOV attached to this field in FMB: ITEMS
    LOV attached to this field in front end: ENABLE_LIST_LAMP
    Problem: Following code is firing at all points (Debug messages are appearing at all points) but Query of the LOV attached to item is still same.
    How can in FMB LOV is "ITEMS" and in front end "ENABLE_LIST_LAMP"
    My guess is there is some problem with the LOV name which we are passing in the code below. Because LOV name attached to item are different in front end and FMB. There is no LOV in FMB which has “SYSTEM ITEMS Description” kind of structure.
    I have written following code in custom.pll (l_chr_rg_query is query taken from the record group attached to “ITEMS” named LOV with some modifications ex: rownum<6 so that it will show only 6 records in LOV if it is really firing our query for LOV)
    IF ( form_name = ‘OEXOEORD’
    AND block_name = ‘LINE’
    AND field_name = ‘ORDERED_ITEM_DSP’
    AND event_name = ‘WHEN-NEW-ITEM-INSTANCE’
    THEN
    MESSAGE (‘message1’);
    l_chr_rg_name := ‘XXLION_UNIFORM_CODE_RG’;
    l_chr_rg_query :=
    ‘SELECT item, item_id, item_description, inventory_item_id,item_identifier_type,null           item_identifier_type_meaning, ‘
    || ‘inventory_item, address, cust_address, item_definition_level ‘
    || ‘FROM oe_return_items_v ‘
    || ‘WHERE (sold_to_org_id = :parameter.lov_num_param1 OR sold_to_org_id IS NULL)’
    || ‘ and rownum < 6 ORDER BY item’;
    MESSAGE (‘message2’);
    l_rg_id := FIND_GROUP (l_chr_rg_name);
    MESSAGE (‘message3’);
    IF ID_NULL (l_rg_id)
    THEN
    MESSAGE (‘Creating record group here’);
    l_rg_id :=
    CREATE_GROUP_FROM_QUERY (l_chr_rg_name, l_chr_rg_query);
    END IF;
    errcode := POPULATE_GROUP (l_rg_id);
    MESSAGE (‘ERROCODE is : ‘ || errcode);
    L_lov_id := FIND_LOV (‘ITEMS’); --My guess is this LOV name is the source of problem.
    MESSAGE ('Error code is4');
    SET_LOV_PROPERTY (l_lov_id, group_name, l_rg_id);
    MESSAGE ('Error code is5');
    SET_ITEM_PROPERTY ('LINE.ORDERED_ITEM_DSP', lov_name, 'ITEMS');
    END IF;

    I found that there is no problem with code. My problem is not technical, its a functional problem.
    It is related to Inventory's "System Items" KFF.
    Can anybody tell me, to this "System Items" KFF, one value set is assigned. but it is of none type of value set. so from where the values in LOV are coming?

  • SAP Query in SQVI transaction

    Hi All,
    I have created a Query in SQVI transaction, How to assign a transaction code for it.
    Thanks in advance
    Raju

    hi,
    follow the link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
    you will get full information about SAP Query.
    There is no SQV1 transaction.
    SQ01 --> maintain query
    SQ02 --> maintain info set
    SQ03 --> maintain user groups
    he SAP Query application is used to create reports not already contained in the default. It has been designed for users with little or no knowledge of the SAP programming language ABAP.
    SAP Query offers users a broad range of ways to define reports and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    The SAP Query comprises five components: Queries, InfoSet Query, InfoSets, User Groups and Translation/Query.
    hope this may help you,
    regards,
    srinivas

  • Problem with a SAP Query

    Hello all,
    I am working on an sap query and i am running the query for a date intreval say for the current month. But the query is picking the date from the infotype begindate and not the interval with which i am running.
    What might be the possible cause for this.
    Thanks,
    Krishna

    Hello Krishnakumar,
    U have selected the fields in query from the infoset and u r entering the value in the same now as the query the program should use the values entered in the fields selected from query unless u have create local fields which are not connected the the database.
    What is the data selection?

  • Problem in Changing the Query of LOV using Forms Personalisation

    Hi all,
    I have a problem while trying to change the LOV of job field in the people--> assignment form. I am trying to do through forms personalisation. I defined all the rquired fields:
    Following are the description of fields Idescribed in the form Personalisation:
    Trigger Event: WHEN-NEW-FORM-INSTANCE
    in actions tab:
    10-- Built In--Create Record Group With Query
    11-Property----LOV
    Target Object--JOBS
    Property Name--GROUP_NAME
    vALUE--jobs(rECORD gROUP NAME created above)
    It is validated successfully,
    but when trying to open the form it is giving an error 'cannot create record group jobs'..
    Can anybody help me with this..
    Thanks and Regards
    Raj

    I found that there is no problem with code. My problem is not technical, its a functional problem.
    It is related to Inventory's "System Items" KFF.
    Can anybody tell me, to this "System Items" KFF, one value set is assigned. but it is of none type of value set. so from where the values in LOV are coming?

  • Problem while changing SAP Script

    Hi all,
    while trying to display or change a form in SE71, it gives the following msg ...
    " <b>Form *** language EN is inconsistent in text file</b> "
    Please can anyone help me on this ?
    I have tried for language DE also

    Hi
    Which sapscript? a std one or custom one?
    Anyway try to see the note <a href="https://websmp208.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=326801&_NLANG=E">326801</a>
    Max

  • SAP Query - Modfication/Changes

    Hi Experts,
    I am new SAP Query, so i have come up with this issue. Please help.
    I have an infoset query with me, also a SAP query and a transaction with some Z transaction code, the program name as taken from System->Status is AQZZZSD=========Z_SD_ORD_WO_ST.
    1. Now I can see code in the program, but I cant see that much of code in the SQ02 under extras tab. 
    2. Moreover, I have to change the code to address new requirements. How can I change the code in a SAP query???
    What are the ways to change an existing SAP query's code ???
    Thanks,
    Chandan

    Hi Chandan,
    Go to Infoset (SQ02) in change mode, click on Code icon (Sfift + F8) displayed on Application bar.
    You will find, 'Code section' where different events are listed. You can write your code in any of listed events depending on your need.
    For ex. if you want declare any variable in u2018DATAu2019 Section, to initialize any variable can use INITIALIZATION event.
    If you want to perform operation on selection screen you can use 'AT SELECTION-SCREEN OUTPUT'
    And most important event for this tool is Record Processing event like if you want to have any condition and calculation or modification of field value, you can write code in this event.
    END OF SELECTION BEFORE LIST--> You can write header information in this event. After this information, your output is displayed. (User WRITE statement to write your information)
    END OF SELECTION AFTER LIST--> You can write footer information in this event. After query output, information mentioned in this event is displayed.
    Note: END OF SELECTION BEFORE LIST and END OF SELECTION AFTER LIST work only when output format of your query (SQ01) is u2018ABAP LIST'
    GET and GET LATE: When you select a logical database as a data source of an infoset, you get this additional event to maintain the code as per your need for LDB.
    Please let me know if you need any further details.
    Regards,
    Dinesh
    Edited by: Dinesh Tiwari on Sep 30, 2009 7:21 AM

  • Unusual Problem in SAP Query

    Hi Experts,
    I am facing a very Unusual problem in during SAP Query Devlopment.
    In Input screen I am taking value as User , which is coming from User02 table and field name is
    Bname . In USR02 table Username is maintained boths as Numeric num ( like 1236533) and Username wise ( Like gd.anil etc).
    But While running the query , Its execute only when giving the nUmeric Num , It wont executes if i give the name like gd.anil .
    This gd.anil is also maintained in USr02 table .
    Can anyone tell me why its happening.
    Thanks .
    Koro

    If the user ID is actually stored as lower case, then it was entered directly or with a screen field that doesn't have a screen mask.  You are most likely using the DB field in your selection screen and it's being converted to upper case after entry but before selection.  Have you debugged the generated program?  You should see this in the query.

  • Find SAP Query for SQ01 in transaction ST03N

    Hello Experts,
    My requirement is to find the SAP Queries that were executed through the transaction SQ01 by the user in a given period. I am using transaction ST03N for the same.
    I am able to view the transaction SQ01 and the users who have executed the same in transaction ST03N for a particular period (day, month). But unable to see the SAP Queries executed through SQ01.
    I have checked the standard program RSSTAT26 but it only gives the data for 2 days.
    Please let me know how I can get the SAP Queries run through transaction SQ01 using transaction ST03N.
    Please treat it as high priority.
    Waiting for quick response.
    Thanks and Regards,
    Rahul Sinha

    Hi Danish,
    In the program name, the query name is always attached.
    For example : The program name is , AQ10SD==========Z10SD_INVPRODL=
                           Here the query name is Z10SD_INVPRODL and if you go to transaction SQ01 and enter the query name
    then you can find the infoset.
    And also you can gernate the program with the help of query name.
    Please try the same and let me know if any details are required.
    Regards,
    Darshana

  • Additional field in SAP Query

    This problem is about sap query. I have created an additional field in an infoset. The initial header text of this additional field is english. Then I created a query which use the additional field as an output field. If I use this query in other language, however the additional field header remains english. How can I maintain addtional field header to support mutil-language?
    Thanks in advance!
    --Alex Miao

    Hi Alex
    Please see if below example helps you to understand:
    Supposing, we are displaying material description within our query.
    1. So we define the join with MARA & MAKT while creating infoset in transaction SQ02.
    2. We create feild groups to identify the fiels we use for selection and display.
    3. Here after selecting language key from MAKT, by default this will take SY-LANGU always for the case.
    4. To make it applicable for different languages we can code in INITIALIZATION Event.
    5. To do so we can do it by two options: Use menupath: Goto->Code->Initialization
    i) First option using variable: <b>MAKT-SPRAS = SY-LANGU.</b>.
    ii) Second option using Parameter-Id: <b>SET PARAMETER ID 'SPR' FIELD SY-LANGU</b>.
    6. Save & Generate.
    Now when we execute the query, we are defaulting the language as System Language.
    Hope the above info helps you for better understanding.
    Kind Regards
    Eswar

  • SAP Query failed...

    Hi all,
    I am working on the SAP Query by using transaction code SQ02, SQ03 and SQ01.
    I have also generated the program and copied display report name to create a transaction code for this report.
    I am able to use the transaction code in the Development Environment. However, when I transported everything into Quality Environment and run the transaction code. It prompt me a shortdump with the message "Program AQZZZQTEST=ZTEST=== not found".
    Anyone knows what is not right? How should I debug on this?
    Thank you so much.

    Create your query in the Global Area (Cross-client) instead of the Standard Area (Client-specific). When you create a query or Infoset in the Cross Client, you have to save your work in development package. Inturn, you will save your work in transportable request.
    So, if you create a tcode for this kind of query, their name will not change in the Other system and you will not get the dump.
    To change the Global Area, you can select it in Tcode SQ01 or SQ02: Environment > Query Areas
    Regards,
    Naimesh Patel

  • To Find the SAP Query from the tranaction code or the program name

    Hi,
    I have a situation wherein I have to modify the sap query associated with an transaction code.But the problem is that I am unable to find the SAP Query.
    <b>Please let me know how to find the SAP query from the transaction code or the program name.</b>
    Thanks and Regards,
    Rupesh

    Hi Rupesh,
    1 use FM
      RSAQ_DECODE_REPORT_NAME
    2. This is one of the best and easiest way.
    3. It will provide u the following info.
       WORKSPACE
       USERGROUP
       QUERY    
       CLIENT   
    4. Thru TCode U must know the program name first.
       This can be discovered using SE93.
    Hope it helps.
    Regards,
    Amit M.

  • 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

Maybe you are looking for