Change infoset in sap query

Hi ,
I want to change infoset name in sap query sq01.
I dont want to create new query to change infoset name.
Any other option?
Regards,
Satyen Trivedi

Dear Satyen,
Go to  menu Edit-->Other user group, choose the user group, where u have assigned the infoset no give the name of ur query and press create button, it will display all the infosets those are assigned with that user group. Now select ur infoset and start developing the query.
see useful tips:
10 Useful Tips on Infoset Queries
Regards,
Abbas.

Similar Messages

  • Adding Fields to Custom Infotype Using Custom Infoset in SAP QUERY

    Hi All,
    We have a requirement to add fileds to a custom infotype for querying Custom Infoset in SAP Query.
    We are facing problem as the added field is not getting displayed in the Query set so that we can select and display it in the Basic List along with the other filds.
    Kindly suggest a solution.
    Full points will be rewarded.
    Thanks in Advance
    Kumar

    Hi Salman,
    Thank you for your valuable information. I haven't Configured Dynamic Actions yet. Is it simple to write the Logic for Dynamic Actions. Is this the only way to solve this Issue?
    I tried by adding the standard fields, but they are not populating the values; but just appearing as Input Fields with Input help option.
    Please let me know if you have any suggestion in this direction?
    Regards,
    Hems.

  • Issue with Infoset of sap query

    Hi All,
    There is an existing 'z' Sap query and the inofet is created using  the data source 'Data retreival by program'(Data structure:BAPIEXPLOSIONLIST).
    I got the requirement to add onemore radiobutton(for Costing Run) to the selection screen of exsiting query and when the radio button is clicked on, it should display two more fields (Costing Run name and Costing Run date).So,I have added the below lines in the existing Infoset.
    1.Under the extras button and in data read program tab,I have added the below code for radio button and the two fields for selection.
    PARAMETERS p_cstrun LIKE jest-inact RADIOBUTTON GROUP cost.
    SELECT-OPTIONS sp_kaid FOR keko-kalaid  MODIF ID s1.
    SELECT-OPTIONS sp_kadt FOR keko-kaladat MODIF ID s1.
    2.Under the extras button and in code tab and in at seletion-screen output,I have added the below logic to enable those fields dynamically.
    LOOP AT SCREEN.
        IF p_CSTRUN EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.
          screen-invisible = 0.
          screen-active = 1.
          MODIFY SCREEN.
          elseif p_CSTRUN NE 'X' AND SCREEN-GROUP1 EQ 'S1' .
          screen-invisible = 1.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    After adding this,the existing selection-screen format has been changed.Please look at the below changes.
    ->Actually,there are two blocks in the existing screen with block titles.Now they are replaced with some different text
    ->And one more block for output format and under that the layout field selection was there in previous selection screen.Now this layout field text is changed to 'Sap Listviewer' and some butto has also come additionaly in the output format.
    How to retreive the old selection-screen with previous texts and formats.
    Can any one suggest to resolve the issue?
    Thanks in advance!!
    Best Regards,
    Mounika

    This is the complete code of selection-screen
    SELECTION-SCREEN BEGIN OF BLOCK issel
                              WITH FRAME TITLE text-S01.
    SELECTION-SCREEN SKIP.
    PARAMETERS p_cstcur LIKE jest-inact USER-COMMAND ex DEFAULT 'X'  RADIOBUTTON GROUP cost .
    PARAMETERS p_cstfut LIKE jest-inact RADIOBUTTON GROUP cost.
    PARAMETERS p_cstprv LIKE jest-inact RADIOBUTTON GROUP cost.
    *Begin of Insert CBDK972000
    PARAMETERS p_cstrun LIKE jest-inact RADIOBUTTON GROUP cost.
    SELECT-OPTIONS sp_kaid FOR keko-kalaid  MODIF ID s1.
    SELECT-OPTIONS sp_kadt FOR keko-kaladat MODIF ID s1.
    *End of Insert CBDK97200
    SELECTION-SCREEN SKIP.
    PARAMETERS p_niv_g LIKE jest-inact DEFAULT 'X'.
    PARAMETERS p_niv_a LIKE jest-inact DEFAULT  ''.
    PARAMETERS p_niv_f LIKE jest-inact DEFAULT  ''.
    SELECT-OPTIONS sp_disgr FOR marc-disgr MEMORY ID lev NO-DISPLAY.
    SELECTION-SCREEN SKIP.
    PARAMETERS p_newfil LIKE jest-inact DEFAULT  ''.
    SELECTION-SCREEN END OF BLOCK issel.
    SELECTION-SCREEN BEGIN OF BLOCK csel
                              WITH FRAME TITLE text-s02.
    SELECT-OPTIONS sp_mtart FOR mara-mtart OBLIGATORY
      NO INTERVALS NO-EXTENSION MEMORY ID mta.
    SELECT-OPTIONS sp_werks FOR mbew-bwkey OBLIGATORY
      NO INTERVALS NO-EXTENSION MEMORY ID bwk.
    SELECT-OPTIONS sp_matnr FOR mara-matnr MEMORY ID mat.
    SELECTION-SCREEN END OF BLOCK csel.

  • Infoset with sap query

    Hello.
    I would like to ask about using sap query to extract data from table in infoset. Is it possible to write an abap code and get data from certain table? I ask because I do not have any experience in that. Tried to find any examles, but nothing find.
    My question is simple- how to extract data using simple abap program, then creatу an infoset with this query and then how to create attribute list based on infoset?
    Thanks a lot.

    Hi Aryat,
    Yes it is possible to include code in infoset and fetch data from database tables.
    Go to tcode- SQ02, and change query area from global->standard and click change.
    Now click on Extras,it will enable all the custom fields on right hand side.
    Now select the field from the row and click coding for addition symbol as mentioned in below screen shot, it will take you to the program line screen and you can code here.
    After completing coding save and generate the infoset and adjust the query again otherwise new changes will not reflect.
    Hope it will solve your issue.

  • Changing InfoSet of a Query

    Hi,
    Is it possible to change the InfoSet of a Query? How?
    Here is my problem: I have copied a standard InfoSet in order to make some changes. Furthermore, I have copied a query that uses the above mentioned standard InfoSet, but I cannot assign my copied InfoSet.
    Any help is greatly appreciated.
    Best regards,
    Elvez

    Hi Elvez,
    You can ignore the previous reply.. it was probably a mix-up with another post..
    Anyway, after copying the standard infoset, you can try by creating a new query for the custom infoset, instead of copying the query also.
    Regards,
    Suresh Datti
    P.S. just noticed the previous post was corrected...
    Message was edited by: Suresh Datti

  • Tarnsport infoset and SAP Query

    Hi All,
    I have created infoset and SAP quesry and user group.
    When i created user group it asked me the transport request.IT has been tarnsported to dev to QA.
    But infoset and query are not moved to QA.
    It is not asking me for create transport reuest.
    Please let me know how to tarnsport infoset(SQ02) and Query(SQ01).
    Thanks

    Hi all,
    Thanks for u r reply.
    My query is in global area not in standard area.
    Any way i solved the problem but how to transport the variant.
    When i read the documentation it is saying that we have create the system variant then only we can transport.
    IS it so pleas let me know.
    Thanks,

  • How to change code in SAP Query

    Hi Experts !!
    In SAP QUERY I am getting the  PO  with  all delivey dates & deliveried Qty  but I have to select only  single PO with latest delivery date  & qty. If there r more than one record for latest delivery date than deliveried QTY must be sum of  all QTY (for the  latest delivery date). for example :
    this is coming
    Po                delivery date                 qty
    10001         30.06.2009                   4
    10001         30.06.2009                   5
    10001         01.05.2009                   4
    we want
    Po                delivery date                 qty
    10001          30.06.2009                   9
    Thanks in advance.
    Thanks & Regards
    Navneet Singhal

    >
    navneet singhal wrote:
    > There is an internal table  %G00 in  query generated program (AQCSZPCWMM======Z_PCW_ORDER_V2) when I use this table in Code section (END-OF-SELECTION ) system thro msg %G00 is not defined . if I define this table in DATA  section than  run the query , It gives the  DUMP  with error %G00 is already decleared.
    >
    > How can I use %G00 internal table  in my code section.
    I have the same problem as the OP. I need to get rid of the duplicates and have all sumarized in just one row. I was thinking about this same solution, but when I add code to the END-OF-SELECTION event, this doesn't appears anywhere (but if I add code to any calculated field, yes).
    And the problem of the quoted message. I tried using field-symbols but I have errors saying that it's nos a valid table, etc...
    Any ideas???
    Thanks!!!

  • Query: Is it possible to change Infoset of a Query

    Hello!
    I have a question, I would like to know if the following it is possible:
    I have Query A and Infoset B and C. At the moment Infoset B is assigned to Query A, would it be possible to assign Infoset C to Query A?
    I was looking for this possibility, but could not find it anywhere, so if you have an idea, just tell me, thanks a lot!
    Dominik

    Not Possible

  • How to change infoset for a query in SQ01?

    hi,
    I have created a Infoset which I have assigned to the user group.  Now  for creating the query using this infoset, how can i
    proceed?? Its not giving me the option to change  the infoset
    and whenever I clicks on 'Create' it shows me the field group
    of some other infoset. how can i change it to my infoset which I have created.

    Hi,
    In SQ01 first you press shift+F7 then find your user group. then from infoset query tab ,select ur infoset.
    and do the further processing.
    i hope this information will help you.
    regards
    saurabh

  • Assign InfoSet to sap query

    Hi there. I made a copy of 01 Query from /SAPQUERY/AM usergroup.
    But now I've got a problem because there is still a /SAPQUERY/AM01 InfoSet seen as source of new query.
    Where can I change that source InfoSet to my own InfoSet? I'd be thankful for help. Greetings. P.

    Hi,
    Sorry to say that its not possible. You can change your query after copying from the standard one. But the the infoset assigned to the query cannot be changed.
    Regards,
    Soumya.

  • Infoset Coding (SAP Query)

    Hi, I need a field in a Query that required programming.  I hope someone can help me.
    I need to get the first character that is in the header note of the purchasing requisition (ME53N).  So I am trying to create a Local field in the infoset with some coding that help me to pull that information for any purchasing requisition.
    If any of you guys have and example, please help me.
    Regards,
    Francisco

    Hi Aryat,
    Yes it is possible to include code in infoset and fetch data from database tables.
    Go to tcode- SQ02, and change query area from global->standard and click change.
    Now click on Extras,it will enable all the custom fields on right hand side.
    Now select the field from the row and click coding for addition symbol as mentioned in below screen shot, it will take you to the program line screen and you can code here.
    After completing coding save and generate the infoset and adjust the query again otherwise new changes will not reflect.
    Hope it will solve your issue.

  • 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

  • Extracting SAP Query,Infoset  Data from VB Application

    Hi,
    I need to get all SAP Queries,Infosets and SAP Query Group data from a VB application.
    I have found a Remote Enabled Function called    IQAPI_READ_QUERY_CATALOG.
    But when I call the Function from a VB application ,the call is not successful and even I am not getting any exception.
    The call is getting false with null exception .
    Can anyone please guide me.
    Or is there any other function module /procedure / table to extract SAP Query ,Infoset,SAP Query Group data??
    Thanks in Advance.

    http://stackoverflow.com/questions/3765373/how-do-i-do-a-select-distinct-using-a-sap-infoset-query

  • Change Infoset for Query

    Hi ABAPers,
    Just curious if we can change infoset for a query that already set up?
    Currently I want to change infoset for a query into different infoset, but I can't find the way to do it.
    Can anybody advice me how to do that, or is it completely unable to change infoset for a query that already set up.
    Thank you in advance
    Regards
    Hadi

    Hi,
    If you want to assign a different infoset to query you need to create another query and from there you can assign a different infoset.
    Regards,
    Nikhil.

  • Problem in sap query

    Hi All,
    I have  changed the standard sap query . i have written coding for newly added feilds in infoset(sq02 code part).
    I want to join my internal table with standard internal table ( final internal table ) to incorporate changes.
    Please guide me to merge both the internal tables.
    Thanks in advance
    Sudhakar

    Hi,
    All other part remain same.Could you please tell me why we got that error any probable Opinion from your side...
    thanks in advance.
    Regards,
    Moni

Maybe you are looking for

  • When i connect my shuffle with my computer, it says it is already synced with another itunes library.  It isn't, so what do i do?

    When I connect my shuffle (2nd gen.) to my computer, it says that my ipod is synced with another itunes librar. And that an ipod can be synced with only one itunes library at a time.  My shuffle is only synced with the library on this computer.  What

  • [SOLVED] Gnome 3 - Audio gets loud for a while after changing volume

    I'm running gnome 3.4.2 (info from gnome-session --version), running pulse audio. Every time I increase or decrease volume music gets really loud for a few milliseconds and then it gets back to be "quiet". The only "hint" what to do with this I found

  • OIM EBS Target Reconciliation

    Hi all We have OIM 9101 with EBS UM 9043 connector. When we run the target recon, the target recon query fetches 12K user records but we can see only 2.5K user records in the Reconciliation manager. Ideally, all the users fetched by the connector que

  • Ho to change the system id (SID) of Enterprise Portal 7

    Hello Java experts, I have two EP7 Installations which have unfortunately the same SID, so I cannot configure single sign on (certificates must have differnt SID). So the only solution would be to rename the SID of one portal. Can this be done ? How

  • Multiple Channels not recognized

    I'm generating a VI to read two inputs from two channels. I've created two DAQ Aquisition blocks. One is set to channel 0, the other to 2. But when I run the program, the second channel (which should remain 2) get reset back to 0, and I endup reading