SQ01 Infoset Query - making a selection mandatory

Hello,
Is it possible to make a selection mandatory on an Infoset Query? If so, how do you do this?
I have a report that I created using infoset query, but need to make a selection option mandatory to prevent the scenario of the report being run with no selections.
many thanks,
Allan

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.

Similar Messages

  • Add field in sq01, infoset query.

    i am trying to create a virtual field in sq01. i am creating a infoset query where i want to add two fields and need to displayed in the report. how can i do that without enhancing the infotype? i just need to add two fields and need to be displyed in third field. i want to add some logic of addition to those two fields and the result need to be stored and displayed.
    Message was edited by:
            shahid mohammed syed

    Hi ,
    I have got a query in AD-HOC query.
    After creating the Adhoc query using the join table functionality the resulting adhoc query does not results any out put.
    What I have done is :
    1.Created a user group through SQ03
    2.Attched user to My user group
    3.Created an infoset using join table functionality(SQ02).
    4.Saved and generated the infoset
    5.Added the user group to the infoset and than run the ADHOC query.
    The table I have used to join is all PA table (For test pupose)
    Though the purpose of the custom infoset is to join PA,OM and E rec infotypes, for testing purpose I have joined only PA infotypes.
    Result:The adhoc query does not gives any out put instead it says no data could be read.
    Could you please tell what else I need to do so that the custom infosets gives an out put.
    Will greatly appreciate your help.
    Thanks and best regards
    Rajeev

  • InfoSet Query - Long Description while selecting variable values

    Dear Experts,
    We have an InfoSet Query on different InfoObjects like 0CUSTOMER, 0CUST_COMPC etc and the common link between these InfoObjects is CUSTOMER.
    We have a variable created on this CUSTOMER. The requirement is that when this query is executed, user should be able to select a value of Customer (F4 help) and at that time, he should be able to view both Key and Long Text of Customer.
    We know that if we change the CUSTOMER InfoObject --> BEx Properties tab, then we can display Long Text and Key in Query Selection Screens. However we can not do that because it would affect all queries in which this InfoObject is used.
    If we go to Query Design, and choose "Long Text and Key" in properties of Customer, then system displays Long Text and Key of Customer but after the report execution is done.
    We want to display the Long Text of Customer to User at the time of selection and that too without making any InfoObject level change.
    If it was InfoProvider, we could have done it using "Provider specific properties of Characteristic" option. But this is InfoSet and that option does not appear here.
    Please suggest the solution.
    Regards
    P

    Rohit,
    Are you looking to display long text for infoobject instead of short description ?
    Then go tp rsd1>infoobject>display/change-->master data/texts -->text table properties -->check long text exists.
    It supports a long text field with a length of 60 characters
    Activate the infoobject
    --Doodle
    Message was edited by: Doodle

  • Infoset-query-selection-screen-default-values

    Hi All,
    I am having the requirement as I need to put default values in the selecion-screen of the report by using  Infoset query. Let me know the settings required for this.
    I am using SQ01, SQ02, SQ03 T.Codes.
    And I need display  one record only if any field contains mulitple records, for example in the HR-ABAP, field p0105-usrid contains multiple values depending on the subtype.So, I need to display USRID when URSTY = '900'. All these should display by Infoset query only.
    Pls help me in this scenario , its an urgent requirement.I am very much thankful for you for reading my proble, if you will provide some sort of solution, I feel very happy.
    Advance thanks for this .
    Regards,
    Prakash.

    Prakash,
    To default the values on your selection screen, you will need to do some ABAP I guess. (if you do not want to use variant). Open up the infioset in SQ02 and then goto code option for the PNP**** field and then you can code to initialize the selection screen variables. Test with an ABAPer.
    To display multiple records as multiple columns, you will have to create custom fields in infoset, and then go from there. Again see ABAPer.

  • Infoset query SQ01 preview output display truncated

    Hello Experts,
    When we are creating an infoset query from SQ01, the preview of output just below the screen is truncated.
    Example when I select personnel area as output with value and text, the value is only displayed as 1 character and the text 8 characters. But when I click start ouput their original output size is displayed.
    I already checked the output length of the fields and they are correct. The lengths are correct when start output is clicked.
    Any ideas on what should I check?
    Thanks in advance!

    Hi Jitesh,
    Please follow the below stepas . (here pseudo code)
    In Data Section
    DATA: str1 TYPE string,
               str2 TYPE string,
               str3 TYPE string.
    str1 = 'MC*'.
    str2 = 'EQP*'.
    str3 = 'WE*'.
    If you have more strings to compare ..declare those like that.
    In 'Record processing Event' you need to use CHECK statement with CP operatoar of String
    CHECK table_name-transaction_field CP str1 OR  table_name-transaction_field CP str2 OR table_name-transaction_field CP str3.
    CHECK SY-SUBRC EQ 0.
    Genrtae the Infoset "Important step
    Go to SQ01(in a new session) , and see if your getting required result.
    Regards,
    Dinesh
    Edited by: Dinesh Tiwari on Oct 1, 2009 7:17 AM
    Edited by: Dinesh Tiwari on Oct 1, 2009 7:18 AM
    Edited by: Dinesh Tiwari on Oct 1, 2009 8:07 AM

  • Infoset Query Selection Screen Issue

    Dearf Experts,
    I am a SAP-PM functional area. (Do know very little about technical sideof SAP)
    I am working on SQ03/SQ02/SQ01 for the first time to create an Infoset query.
    The output screen is incontrol and showing all the fields as per my specifications.
    My problem is the Selection Screen. This is displaying to many things not desired by me.
    1. Two tabs (I do not expect any tabs)
    2. Many Screen areas, repeating the fields (1000,0100,0101,0102,0103) 
    The screen area of my specified fields in at the bottom.
    My expectations about the selection screen is - just like simple one as in the case of SQVI.
    Please help me in getting through this problem.
    Regards
    Jogeswara Rao

    Gungor Ozcelebi,
    Thank you very much for responding,
    Exactly as you said, I am using Notifications logical database.
    (I was suspecting this reason)
    Infact I found about 8 fields (Perhaps related to Date fields, checkboxes etc) are automatically selected from the LDB.
    My trials to delete them were invain. They reappear while saving.
    I would be very thankful, if you help me in this case.
    Regards...

  • Infoset/query : how to fix a selection field value?

    I am writing queries with SQ01 and designing Infosets with SQ02.
    I have to restrict the results of a query to a specific plant.
    This can be done by adding the plant field in the selection screen of the query and by asking the users to fill always the same fixed  plant number when the query is started. Another solution is to filter the output.
    Isnt it possible to simplify this by forcing the plant number in the initialization of the Infoset values without display of this field in the selection screen? This value has to be initialized before the table containing the Plant field is joined to the other tables?

    Open SQ01 transaction,give your query name, click on infoset query button.
    On the right side of the screen you can define default values for those fields.
    If you want to disable the same field in selection creteria then open your infoset in SQ02
    transaction and click change, click on extras buttonin appllication tool bar,on right hand side
    in code tab you can add your logic.

  • 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

  • Infoset query ('At Selection-Screen') - Urgent

    Hi All,
    The below code for selection criteria 'At Selection-Screen' for an infoset-query works ok, but i find 2 problems, can someone help.
    1. When user presses F4, i wanted the output to display
       SG Singapore
       IN   India
       But at the moment it just displays
       SG
       IN
    2. If the user enters any other value apart from the above 2 i do not want the query to execute, instead show something like enter a valid value. But at the moment if i enter another country code manually just to test eg: US, the query runs with this selection which i do not want.
    Hope my problem is clear, await inputs.
    Code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR VEN_CTY-LOW.
            IT_LAND-VEN_CTY = 'SG'.
            IT_LAND-LTEXT   = 'Singapore'.
              APPEND IT_LAND.
            IT_LAND-VEN_CTY = 'IN'.
            IT_LAND-LTEXT   = 'India'.
              APPEND IT_LAND.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD   = 'VEN_CTY'
          VALUE_ORG  = 'S'
        TABLES
          VALUE_TAB  = IT_LAND
          RETURN_TAB = IT_RETURN
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2.
    IF SY-SUBRC = 0.
        READ TABLE IT_LAND INDEX 1.
        MOVE IT_RETURN-FIELDVAL TO VEN_CTY-LOW.
    ENDIF.

    Hi vivek,
    for the 2nd problem,
    create a range for ingapor and india say r_range.
    and
    r_range will have two values say india, singapore.
    loop at VEN_CTY.
    if ven_cty not in r_range.
    display error message.
    exit.
    endloop.
    try this and let me know.
    reward if helpful.
    thanks .
    ranya

  • Select distinct from an infoset query

    Hello
    I need to select distinct / delete duplicate from an infoset query created thru SQ02.
    Please let me to know how this can be done?
    Many thanks in advance!
    regards
    Sanjyot

    Hi,
    You can verywell use infoset query if you are doing following things
    Join using Keyfields to retreive data from tables
    If not using keyfields create index for those table fields  in those fields which will improve in accessing database
    Try to use minimum of tables of small size dont try to join big tables like GLPCA and all.
    Try to load small set of data like a period or month. Dont try for a year or so.
    if your performance is good for aperiod you can go for a year.
    If you are good in function module you can try function module in which you will have the option of specifying no of records to be selected usign package size.
    Hope this helps for you.
    Thanks,
    Arun

  • Infoset Query Selection Screen

    Dear Experts,
    In an infoset query. how to split the Selection Screen into different screen areas (Blocks).
    Means, presently the Selection Screen is having 20 fields together under single block.
    I want to group them into different blocks with respective Headings.
    How to do it?
    Regards
    Jogeswara Rao

    Hello Jogeswara,
    Go back to the infoset using SQ02.  On the "Change Infoset" screen, go to the "Field groups" section.  You may have to click the "Field groups" pushbutton.  If you right-click on the field group, then you can create, change or delete a field group.  Add fields to a field group by dragging field from left-side of screen and dropping on the right-side of screen.
    Kind Regards,
    Rae Ellen

  • 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

  • Infoset Query -- Selection Screen Text

    Dear experts,
    I hv created an infoset query. every thing is working fine except the selection screen text.
    It is coming like
    "Date on which the record was"    instead of
    "Date on which the record was created".
    Is there any way we can manage the selection screen texts in infoset query.
    Regards,
    Jaspal Kumar

    Hello,
    In the Infoset, click table -> field, double click on field and you see the field technical & label information, change the Field label there.

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

Maybe you are looking for

  • Xacti HD and Final Cut Express -- It used to work great! How do I go back?

    I have a Sanyo Xacti HD700. It gives me 1280x720 MPEG-4 AVC/H.264 files, which my Mac just loves. I used to be able to quickly edit the clips together in Final Cut Express, export using complementary QuickTime settings (specifically, those recommende

  • MM related

    HI ,    Anybody please tell me how to get functional knowledge in MM from the net basically i am an ABAPer,

  • Selecting data source in physical view in OBIEE 11G when using sql server

    Hi, I doing my physical view against a 2008 R2 SQL Server. Looks like the list goes upto 2005. Should I select 2005 in that case? As per image: http://i.imgur.com/3H7MO.png Cheers. I am using OBIEE 11G 32bit Windows.

  • Z10 won't access mobile network

    Hi everyone.<br><br>My Z10 STL 100-1 won't give me an option to switch on the mobile network (its protected). The airplane mode is off.<br><br>When I go to Sim card settings, the phone doesn't sense the Sim card. I'm using a micro sim card.<br><br>I'

  • SubReport Object Properties

    I am using Crystal XI.  I have a main report which is acting as a container for multiple sub-reports.  I have the Supress Blank Subreport option set.  I am trying to determine a way I can display some fixed text in place of the supressed subreport.