Selection field in Infoset Query

Hi All,
I have an Infoset which is based on Logical database PNP &  it has few additional fields. Now the requirement is to add one of the additional field to the selection screen of "Infoset Query". But in the Infoset query the 'Selection' checkbox for all the additional fields is graded out, & only the 'Output' Checkbox is enabled for all the Additional fields.
I added a new additional field in Infoset and even that is not available for selection in the Infoset query.
Kindly let me know if you have any info regarding this....
Please note that i have this problem in 'Infoset Query' only.
Thanks in advance.
Regards,
Karthick.

Navin,
Try with this link,everything in detail is explained about Infoset queries..
http://shafiq.us/sap/index.php?view=article&id=54%3Aadhoc-query&option=com_content&Itemid=61
hope..this will help you!
Cheers,
KK

Similar Messages

  • Order of the selection fields in SAP QUERY

    Hello All,
    How can we set the order of the selection fields in SAP QUERY!
    Regards!
    Ashish

    Hi,
    You can go into infoset and change the order.
    Or you can select 1 by 1 in the same order, you want to display.
    Below is the link which might help you:
    help.sap.com/printdocu/core/Print46c/EN/data/.../BCSRVQUE.pdf
    Please revert, if needed more clarifications
    Regards,
    Yashwin

  • I need use conditions in the select fields of a query.

    Hello,
    Is possible, that I can have conditions in the select fields of a query? In a invoice when the type is cancellation I want to put *-1 to price and if is other type the price is normally.
    If VBRK.FKART = 'S1' THEN KWERT*-1 else KWERT .
    Thank you very much.

    you can do two things:
    1. select the data into internal table and loop through the internal table and do the necessary changes
    SELECT fkart kwert
    FROM vbrk
    INTO TABLE itab
    WHERE ...
    LOOP AT itab.
    IF itab-fkart EQ 'S1'.
    itab-kwert = itab-kwert * -1 .
    MODIFY itab.
    ENDIF.
    ENDLOOP.
    2. use select-endselect and change the data acc. to your needs inbetween and append the internal table.
    SELECT fkart kwert
    FROM vbrk
    INTO wa
    WHERE ...
    IF wa-fkart EQ 'S1'.
    wa-kwert = wa-kwert * -1 .
    ENDIF.
    APPEND wa TO itab.
    ENDSELECT.
    (The first approach is probably faster.)

  • Selecting table fields in InfoSet query manually?

    Hi Experts,
    I have created an infoset query with two table. At the end selected field group as 'Key fields only'.
    Can you please tell me how to manually select the fields from both tables so that I can build an InfoSet with the selected fields?
    Thank you for you help!
    Lakshmi

    hi,
    For manullay selecting the fields, Just drag and drop fields from respective tables ( left sub tree) to their
    respective field groups( Right sub tree ) in a infoset.
    If you wish to create your own field group, just delete the sytem created field group and then recreate it by giving suitable name and then again drag & drop fields from table to  your field groups.

  • Additional i/o fields to infoset query based on PNPCE logical database

    Hi All,
    I have a requirement to add two additional input and output fields "job function" and "job family" to a infoset query based on logical database PNPCE. I am new to writing code in infset query and there are so many code areas in infoset query. I am confused where to write code and how to limit the output list based on the user selection to the additional fields "Job function" and "job family". have any one done this in the past?. is there sample code somewhere to do something similar to this?
    Your help will be much appreciated with points! (as per our community guidelines)
    Regards,
    Arul

    Hello Arul,
    Your question would be better answered if you post it in on of the Business Intelligence Forums. Please close this thread and goto:
    Expert Forums » Business Intelligence
    or
    /community
    Regards,
    Manny

  • Populating Additional Field in InfoSet Query

    Hello,
    My team and I are working on generating a relatively simple report from the VBAK (Sales Header), VBAP (Sales Items) and VEDA (Date data) tables.  We would prefer to be able to build an InfoSet (SQ02) and Query (SQ01) instead of writing a custom report.
    The problem is the VEDA table contains data that may link to the VBAK and sometimes the VBAP table.  The usage is that the header has begin and end dates for a contract, which is denoted by a blank value in POSNR field in the VEDA table.  If a particular line on a contract has different dates than the header, there will be an additional record in the VEDA table where the POSNR value matches the POSNR value from the VBAP (Item) record.
    The link to the VBAP table is straight forward being keyed off of the VBELN (doc number) and the POSNR (item number) fields in both tables.  However, there's isn't a POSNR field in the VBAK (header) table and the VEDA table shows this as a blank value in the POSNR field.
    The simplest thing I can think of doing is link the VEDA table to the VBAP and let it retrieve all the exact matches on Sales Doc & Item Number but add two "Additional Fields" to the Query that would represent the Sales Header begin and end dates.
    I know how to add an additional field but how would you "re-query" the VEDA table and under which option under the Code tab.
    Thanks

    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

  • Error with 'At Selection-Screen' in Infoset query (Urgent)

    Hi All,
    I have defined a field as a selection criteria in Selections tab of Infoset & written a few lines of code. The syntax is ok, but when i try to run the query, the system prompts the message as below & terminates:
    'Local SELECT-OPTIONS are not allowed (FORM routine or GET event is active).'
    I would like to know what code should i enter in the GET / GET LATE section. Can someone help me?
    Edited by: Vivek on Dec 31, 2007 10:27 AM

    Mr. Atish,
    Thanks for the reply, but wish to inform you, i have not written any code in GET / GET-LATE section of the infoset. I just read the SAP help files, where it mentions that i need to maintain some check code in GET / GET-LATE section if i have defined selection criteria in selections tab.
    May i know what code should i maintain?
    In selections tab i have defined 2 selection criterias, for one criteria i have maintained the code & for the other in Extras field i have maintained a Default value & entered 'NO-DISPLAY'.
    Await your inputs to resolve this problem.
    Vivek

  • Additional fields in infoset query can not be used as datasource fields

    I create one infoset query with additional fields (using ABAP code) in R/3. When I create datasource RSO2 using this infoset query, system only show all fields without additional fields that I enhanced in infoset query. Does that mean we can not get additional fields information in generic datasource creation that we enhanced in infoset query?

    dear Awa,
       you are enhanced some fields in r/3.right that fields are  shown in
    rsa6 select your data source click on display your datasource then select
    extract structure its shows how many fields are haveing particular
    datasource .or otherwise goto rso2 select your data source display
    double click on  your extractstructure  its show how many fields haveing
    the particular datasource. check the Rsa6 what ever fields you newly added that field default hide mode
    you remove the hide tickmark.

  • Mandatory fields for Infoset query

    Hi all,
       I am creating a datasource using Infoset queries.to test it, how to make a field as mandatory in selection screen.
    thanks in advance.
    Reagrds,
    Murali

    hi murali,
    Mandatory selection screen:
    When you display infoset go into the infoset>Goto >selections or click on the app tool bar button for selections,
    it will open up a table will all the screen fields. Adjacent to these, there are 3 check boxes for Standard selection, required entry and default. Check the required entry field.
    You would have to place the code in the PBO. In case of selection screens, you will have to do it in the AT SELECTION-SCREEN OUTPUT EVENT.
    Doesn't really make much sense to try and do it in the PAI ( = AT SELECTION-SCREEN).
       You can do it using customer exit. You have the options to verify a variable input and display a message back to the users, check the attached documents. The check can be done in the customer exit step I_STEP = 3.
    https://websmp102.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
    A tool that provides reporting on one or multiple ODS Objects. InfoSet Query provides Web reporting capabilities (known as ABAP Query or SAP Query).
    Check this link.May be it can help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    Hope IT solves ur problem
    Thanks
    Varun CN

  • Select-options in Infoset Query

    Hello experts,
    I'm working on a report in SAP HR and using infoset query.
    I want to use select-options in my selection screen but without interval. In normal abap report we do this using 'NO INTERVALS' but how to achieve same in infoset query ?
    please help.
    regards,
    siddhesh

    Hello experts,
    I'm working on a report in SAP HR and using infoset query.
    I want to use select-options in my selection screen but without interval. In normal abap report we do this using 'NO INTERVALS' but how to achieve same in infoset query ?
    please help.
    regards,
    siddhesh

  • Custom Field in Infoset Query missing in Infoset

    Hi Everyone,
    I'm in a puzzle and I hope someone can help me. Basically I need to maintain an existing infoset Query - While looking through the query and it's related Infoset I noticed there is a custom field appearing in the query (SQ01) but this field is nowhere to be seen in the Infoset (SQ02) - I'm just wondering how can this be ?
    The same custom field exists in another Infoset - is it therefore possible to build a query using an infoset while pulling in fields from another ?
    I would appreciate any thoughts on this matter as I'm in a very confused way over this.
    Thanks in advance
    Kind Regards
    Damien
    Edited by: Damien Kesle on Jul 22, 2009 3:48 PM

    Hi Damien Kesle ,
    There are ways by which you can create fields ( they are called Local fields ) in the Query too.
    Please see , whether the custom field you are asking is present in the Query.
    Even then , just to confirm that your said field does not exist in the infoset, follow the steps.
    Go to SQ02, put the name of your Infoset and click on tab "Description ".
    Then do a Ctrl + F (Find/Search) for the field. If its not there, then you can confirm that the field comes from Query and not Infoset.
    Approach for any further queries.
    Regards,
    Subin John

  • No hide fields or select fields in SAP Query Extractor?

    HI Gurus,
    I want to generate a data source, extraction data from SAP Query.
    Now I want to hide some fields or to mark some fields as relevant for selection.
    But after saving my settings are unavaiable...?
    Does somebody have an idea? Is this standard when extracting from Query or is this maybe an OSS...?
    Thanks

    Hello,
    Just logoff and Login again, then check it.
    Also see
    SAP Note 1014073 DFG: Changes to the DataSource are displayed incorrectly
    SAP Note 1073714 DataSource in RSA6: Unable to display/change customer fields
    SAP Note 925398 RSA6: DataSource enhancement only visible after restart
    Thanks
    Chandran

  • Changing sequence in selection screen of ABAP query

    Hi,
    I have added a field(ZEXTLTCA - Exclude LTCA lots) as SELECTION in a Infoset selections.We can add additional fields and selection fields to infoset.I am using the option selection field.This will appear in the selection screen when we execute query.
    Few more fields i have declared as part of table in infoset.
    These table fields will be visible in the query to change the sequence and its characteristics.
    Now the problem is as selection fields of infoset are taking priority over infoset table fields ( which will be visible in query) selection fields are coming top when i execute query.
    Ex:
    Exclude Cancelled Lots
    Material number
    Plant
    Material type
    Inspection Lot Origin
    I need to change the order of appearance in the selection screen.
    As
    Material number
    Plant
    Material type
    Inspection Lot Origin
    Exclude Cancelled Lots
    Can anyone help me in solving this.
    Thanks
    Nirmala
    Message was edited by: Nirmala  Reddy

    Hello Nirmala,
    Go to Sq01, select the query and goto to change mode.go to the next screens till u reach Selection fields. Here u enter the NO field in the sequence which u want ot appear in the selection screen and it is done. Save and execute.
    Ex:
    Selection fields          No
    Exclude Cancelled Lots     5
    Material number            1   
    Plant                      2
    Material type              3
    Inspection Lot Origin      4

  • Information message in infoset query.

    hi all,
    i have added a field into the infoset query adn im using s_pho_48000513 . my probelm is when ever im opennig the query im getting information message as some selection fields are not available.does any have idea why im getting this message ..where i went wrong in ading the field to infoset.what check should i do.please suggest.and another thing when im doing switch off object selection from extras im not getting this information message but this field is comming in selection fields from infoset with default selected with enable mode and all other fields selected with disable mode.
    any inputs is apreciated..
    regards,
    suha

    Remove those fields/Infotypes from the infoset with the help of SQ02 from that infogroup
    Thanks
    Jaydeep jadhav

  • Problem with selection fields in SAP Quick Viewer

    Hi Friends
    I am using SQVI t-code to develop the SAP queries. I have developed a query using tables KNA1, VBAK and VBAP. Initially I used customer number, customer name, city, document creation data, document type and document number as selection fields. Now I have removed customer name, city, document creation data, document type from selection fields.  I am executing this query through a Function module "RSAQ_REMOTE_QUERY_CALL". While passing the data to selection table, even after deleting the 4 selection fields, still I have to pass the sales document number positioning as 6. Is there any way to solve this and make its position as 2.
    I have gone through the FM "RSAQ_IMPORT_QUERY", there one table parameter O_DBSE will retrieve the values for selection fields are designed for that query, again its tedious process, I have create a customized function module and make the required changes. Instead of using this FM, is there any table which stores the data of the selection fields of a query. I have tried for the table and I failed to find that.
    Please help me in this regards
    Regards
    Praveen

    Hello, I am trying to create LSMW to upload KP06 also, we have been uploading by copying and pasting once we run the iverview layout and then save. The problem is that we can only do this by G/L account. We want to use one file to upload all. Can you give me some tips how you were able to accomplished. I am familiar with LSMW, but tcode KP06 behaves in different ways. Do you use the flexible upload to load the fiel thru LSMW? Can you tell me which fields you touch in KP06 when you were recording?
    Thanks You,

Maybe you are looking for

  • EBS Error

    Hello Everyone, My client is using MT940 FORMAT for EBS. Suppose there are 10 transactions which have the same amount for eg:Rs.1000 for ten payment transactions, the system is unable to post the document when we import the bank statement. Kindly hel

  • Created routine cannot be found NACE

    Hi Gurus, I created a custom program that will be called by the nace transaction. However, I am having a problem "Processing routine ENTRY in program ZPROGRAM does not exist." when I save my SO. But I have the ENTRY form in the program. The output ty

  • Cant update AIR due to adminstrator problems

    I am trying to update AIR but every time I get this message................An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator.   As far as I am aware, I am the admini

  • Signatures on email

    I set a signature in mail settings. How do I attach it to an email?  Thanks

  • Urgent - steps need to done, when MS SQL upgraded from 2000 to 2005

    SQL server is upgraded from MS SQL 2000 to MS SQL 2005. Please let me know the steps ned to be performed at XI .