Info Sets - SAP Queries

Hi Experts,
Could you please assist me with how to create Info Set using SAP Queries in SAP CRM to use business partner and transactional data attributes. Example scenario: Create a Call List using business partner attributes (BP Contact Permission, DOB etc) and transactional data attributes (call list status = left message)....
Cheers,
Peter J.

Hi Experts,
Any comments or ideas please...
Cheers,
Peter J.

Similar Messages

  • SAP Query Alias Table in Info-set not working

    Hi Guys,
    I'm having a bit of trouble with a query I'm writing in SQ01.
    I am trying to create a standard margin report between two different costing variants that we use.
    n order to do so I have had to employ the use of alias tables.
    I have named the alias tables KEKO_2 and KEPH_2 accordingly and joined them in the info set with the same joins as the original tables (Left Outer to MARC on MATNR and WERKS)
    However, when I have come to test the query in SQ01 I get a runtime error which states the following:
    The following syntax error was found in the program
      AQA0MASTER_DATA=STANDARDMARGIN :
    "Field "KEPH_2-KST001" is unknown. It is neither in one of the specified
    tables nor defined by a "DATA" statement . . . . . . . . . ."
    But it is in a specified table! My alias table.
    How can I make this query work?
    Any help would be appreciated.
    Thanks in advance.

    Hi,
    This is SAP business one reporting and printing forum. Please find correct forum and repost your question to get quick assistance.
    Please close this thread by marking helpful answer.
    Thanks & Regards,
    Nagarajan

  • Re: Info set and query transport under same request number

    Hi,
      I would like to know the details about info set and query transport from development to quality using SAP Query:  Trnasport tool.my quesion is,
    Can i create all info sets and related queries under same request number or will it be created in diffrent request numbers?Please respond any body to my question.
    Regards,
    Suresh Kumar.

    No it is possible as per SAP.
    Please read follwoing help-
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    It is talking abou the Special Features of InfoCubes in InfoSets.
    For queries based on an InfoSet with an InfoCube, the system decides at runtime whether aggregates can be used for the InfoCube. This is the case if all the required InfoObjects of the InfoCube exist in an aggregate. The following InfoObjects are required:
    The key figures of the InfoCube selected in the query
    The characteristics of the InfoCube selected in the query
    The characteristics required for a join with other InfoProviders in the InfoSet.
    Furthermore, as a prerequisite for using aggregates, all the data required by an InfoCube must be readable using logical access. For an InfoCube within an InfoSet with InfoCubes, it is no longer possible to read part of the data from one aggregate and part of the data from another aggregate or the InfoCube itself.

  • Info set , info provider and info spoke

    Hi gurus plz give me the difference in between info set and info provider and info spoke. and give me what are the prerequisites are needed to process infoset, infoprovider and info spoke?
    Regards
    Vidhu

    InfoProvider
    An InfoProvider is an object for which queries can be created or executed in BEx
    Check this for more,
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/c3cd3a9ac2cc6ce10000000a114084/content.htm
    Infoset:
    An InfoSet is a special view of a dataset, such as logical database, table join, table, and sequential file, and is used by SAP Query as a source data. InfoSets determine the tables or fields in these tables that can be referenced by a report. In most cases, InfoSets are based on logical databases.
    SAP Query includes a component for maintaining InfoSets. When you create an InfoSet, a DataSource in an application system is selected.
    Navigating in a BW to an InfoSet Query, using one or more ODS objects or InfoObjects.You can also drill-through to BEx queries and InfoSet Queries from a second BW system, that isConnected as a data mart.
    The InfoSet Query functions allow you to report using flat data tables (master data reporting).Choose InfoObjects or ODS objects as data sources. These can be connected using joins.You define the data sources in an InfoSet. An InfoSet can contain data from one or more tables that are connected to one another by key fields.The data sources specified in the InfoSet form the basis of the InfoSet Query.
    Check the link for more,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/2225391d4f000be10000000a114084/frameset.htm
    InfoSpoke:
    Info spoke is an open hub destination defines to which target the data is to be relayed.
    Check this link for more,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/2225391d4f000be10000000a114084/frameset.htm
    Check this doc also,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/eb462104-0701-0010-07ae-d866630e0989
    Hope this gives you a good idea...

  • Error message when checking Aggregates on Info-set based Query

    Hi All,
    I have an Info-set (Inner-join between Info-cube and DSO) based Query. When I checking whethere it is picking up the aggregates (which is created on Info-cube) or not in RSRT, it is giving me following message -
    I>> Row: 23 Inc: SHOW_AGGR_COMPARISON Prog: CL_RSDDK_AGGREGATE_COLLECTION
    RS_EXCEPTION 
    301CL_RSDDK_AGGREGATE_COLLECTION
    SHOW_AGGR_COMPARISON
    I have checked fully that whatever fields I am using in my Query are available in Info-cube's Aggregate.
    Even when I am running same query (which I have created on same Info-cube direclty) in RSRT, it is picking up the aggregates.
    I have put the Request status 'Rolled up data (Rollup)' in Info-cube in Info-set as well.
    Please guide me what I need to do for picking up the aggregates.
    Regards,
    Dheeraj Kumar Garg

    No it is possible as per SAP.
    Please read follwoing help-
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    It is talking abou the Special Features of InfoCubes in InfoSets.
    For queries based on an InfoSet with an InfoCube, the system decides at runtime whether aggregates can be used for the InfoCube. This is the case if all the required InfoObjects of the InfoCube exist in an aggregate. The following InfoObjects are required:
    The key figures of the InfoCube selected in the query
    The characteristics of the InfoCube selected in the query
    The characteristics required for a join with other InfoProviders in the InfoSet.
    Furthermore, as a prerequisite for using aggregates, all the data required by an InfoCube must be readable using logical access. For an InfoCube within an InfoSet with InfoCubes, it is no longer possible to read part of the data from one aggregate and part of the data from another aggregate or the InfoCube itself.

  • How to create code for an additional field in an info set

    Hello,
    I have an info set in tra SQ02 and the area is HCM with version ERP2004.
    I need to create an additional field to show "Work permit" in ad hoc queries. I know that the infotype 0016 has a standard field P0016-ARBER which contains a date if that person has a work permit. System should select the latest record or the one which is valid during reporting period.
    The requirement for this new field is that it should just has X if the field P0016-ARBER contains a date (i.e. that person has a work permit). If the field  P0016-ARBER is empty, then the new field "Work permit" is also empty. So, the date itself is not enough.
    I am not an abaper. I have tried to create a code for my field but there is always problems with the code. I have tried without the line<i>into</i> but checker says I need to. I have tried different places for statement ENDSELECT but without success. How should I do this?
    What I have so far is (TYOLUPA = Work permit) is shown below:
    select SINGLE ARBER
    into TYOLUPA
    from PA0016
    where pernr = P0016-pernr
    and ENDDA = '31129999'.
    clear TYOLUPA.
    if ARBER ne ''.
    then TYOLUPA = 'X'.
    endif.
    Thanks for your advice!
    Regards,
    Pipsa

    pia,
    In extras tab  create column "workpermit" in infoset and add that column to Field groups.
    Then under record processing event...
    DATA : TYOLUPA like PA0016-ARBER.
    Under Record processing event.
    select SINGLE ARBER
    into TYOLUPA
    from PA0016
    where pernr = P0016-pernr
    and ENDDA = '31129999'.
    if  TYOLUPA  ne ' '.
      WORKPERMIT = 'X'.
    endif.
    Don't forget to reward if useful...

  • Whats the use of sap queries

    whats the use of sap queries

    Hi,
    http://www.sap-img.com/abap/what-is-sap-queries.htm
    http://www.informit.com/articles/article.asp?p=664660&rl=1
    def sap query
    http://help.sap.com/saphelp_bw21c/helpdata/en/f1/0a5625e09411d2acb90000e829fbfe/content.htm
    In HR
    You can use SAP Query in HR to report on HR data.
    how to create sap query
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb4145455611d189710000e8322d00/content.htm
    for maintain SAP query in HR
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb42cb455611d189710000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb455f455611d189710000e8322d00/content.htm
    If you want to create InfoSets for HR, you can use logical databases PNP, PAP, and PCH . The database you must use to create your InfoSet depends on the component in which the data you want to report on is stored.
    Creating InfoSets
    The maintenance procedure for HR InfoSets differs from the procedure described so far in this section inasmuch as HR data fields are grouped together in infotypes. To set up an InfoSet for the HR application, proceed as follows:
       1. On the initial screen for maintaining InfoSets, enter a name for the InfoSet and choose Create.
       2. On the next screen, enter a name for the InfoSet and select one of the HR logical databases in accordance with your reporting requirements.
    Customer infotypes can be created on all HR logical databases. In each individual case, therefore, you must decide which database to select so that you can report on customer infotypes.
    This screen enables you to enter an authorization group. All of the queries that are subsequently created using this InfoSet can only be executed by persons who have this authorization group.
       3. Choose .
    This takes you to the Infotype Selection for InfoSet  screen. You now have the option of creating field groups and assigning fields as required for non-HR InfoSets. Field groups that correspond to infotypes and already contain fields, however, are always created for HR InfoSets. The field groups are displayed in an overview tree in the top right section of the screen.
    The infotypes that you included in the InfoSet are displayed in an overview tree on the left of the screen. The infotype fields that are already included in field groups are displayed in a different color, and the field group ID is displayed.
    In the standard system, a field group is created automatically for each infotype that you included in the InfoSet (a field group corresponds to an infotype).
    In the standard system, each field group contains the infotype-specific fields. To ensure that working with the InfoSet is as easy as possible, you are advised to restrict your use of fields in each field group to those you really require. This means you should remove fields that are not required.
    An infotype's fields must only be assigned to the pertinent field group. Make sure this assignment is correct. If the assignment is incorrect, the InfoSet could be rendered unusable.
    When an InfoSet is created, the following fields are transferred automatically to the first field group:
    Logical database PNP Personnel number
    Logical database PAP Applicant number
    Logical database PCH Object ID, plan version, and object type
       6. Determine the fields that must be included in the field groups of your InfoSet. If you require further information, see
          Assigning Fields to a Field Group.
    If you want, you can change the default sequence of field groups and fields as required using drag & drop.
       7. To save the InfoSet, choose .
       8. To generate the InfoSet, choose .
          On the Change InfoSet (InfoSet name) screen, you can choose Edit ® Change infotype selection to add more infotypes to the InfoSet, or to remove infotypes from the InfoSet. Remember to regenerate the InfoSet afterwards.
          This screen also enables you to update InfoSets if, for example, the system contains new additional fields for specific key values. To do so, choose InfoSet ® Additional functions ® Update additional HR fields.
       9. Go back to the initial screen for InfoSet maintenance.
      10. Choose User group assignment.
      11. Select a user group, and save your entry.
    Please reward points.

  • INFO SET IN BI

    HI ALL
    I HAVE ONE DOUGHT IN INFO SET IN BI
    HOW TO USE TEMPORIAL JOIN IN BI..
    ANY ONE  HELP ME

    HI,
    Temporal Join
    Definition
    Join containing at least one time-dependent characteristic.
    Use
    Time-dependency is assessed when the resulting set is determined. A time interval is assigned to each record in the resulting set. The records are valid for the duration of the interval to which they are assigned (valid time interval).
    If only one time-dependent characteristic is contained in the join, note that there are several records in the database for a value of this characteristic. For this reason, several records can turn up in the results amount for the join which can be only be distinguished from one another by time-dependent attributes and the valid time interval of the characteristic. You can filter such records using a time selection. .
    If two time-dependent characteristics in the join, only combinations of InfoObject records with the same validity area time period are included in the results row. This also applies if there are more than two time-dependent InfoObjects in a join.
    http://help.sap.com/saphelp_nw04/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ad/2225391d4f000be10000000a114084/content.htm
    Tarak

  • Extended functions of Info Sets

    Hi Experts,
    what are Extended functions of Info Sets .....Could you plz explain me.
    Regards
    Venkat

    hi,
    we use cubes also in  an infoset like as data store object.
    SAP does not generally support more than two InfoCubes in an InfoSet. If you include more than two InfoCubes in an InfoSet, the system produces a warning. There are several reasons for this limitation
    see this link u get more information for infoset.
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/ca6a69992f6bb1e10000000a1553f6/frameset.htm
    hope its help to u.
    plz assign points if its solve your query.
    thanks,
    suresh.
    Edited by: sureshkumar gedela on Feb 25, 2008 12:03 PM

  • How to Mark join as left outer join in Info set

    Hi Folks,
    I have 2 info cubes in Info set, I need to mark the join as Left outer join.
    I have read some blogs where is says that it cant be joined, but one of my colleagues has made left outer join using two cubes.
    I want to replicate the same thing into my design.
    If i normally connect one IO to another cubes same IO- its a normal join- its not written as left outer join. I want to see left outer join written on my link.
    I tried global setting but no use.
    Am I missing some setting,

    Hi Vivek,
    Please have a look at SAP Note 577953 - @0S@ InfoSets (BW): Left outer joins.
    The answer on question "3. How do I define a left outer join in InfoSet maintenance?" describes how you should proceed.
    Best regards,
    Sander

  • Info-set query datasource

    Hi Geeks,
    I have created an infoset query. Based on tables
    VBAK - Sales order header data
    VBAP - Sales order item data
    VBUP - Sales document item status
    VBPA - Parnter function table.
    I created a custom data-source in RSO2 based on this infoset query.
    Now I want to delete tables (VBPA) or entries (VBPA-KUNNR) in field groups from infoset query.
    & system is not allowing me to do this saying
    System says "VBPA-KUNNR" is used in queries.
    Can anybody please suggest me any way to change the infoset & inturn datasource created over it.
    Thanx in advance.
    Monica

    If I correctly understand , you want to remove the filed or table from info set query .
    As data source is based on Infoset query , it  will not allow to change the  same
    You can delete the data source  or if you do not want to delete  just  detach the info set from Data source  by removing the info set name  ( may be you can replace it with another duplicate query name for time being ) and save activate datasource  and later change the info set .
    You can revert back to original info set  query name in data sources after changes are done.

  • Trying to prove one set of queries is killing performace (50% CPU)

    A set of queries for which SUM( cpu_time ) from the V$SQLAREA view represents around 50% of all CPU_TIME in the entire V$SQLAREA at any given point in time. We ran the check every 15 seconds and these queries always count for a hughe 40-60%.
    QUESTION: given that pin ratio is 99+% for SQL AREA, can we assert that these few queries are actually responsible for +/- 50% of the load ?
    This is important to us as we have a workaround that will be costly to put in place and want to confirm the hypothesis before undertaking the work. Moreover, thess queries are coming from an ERP and we may need their approval to do such customization.
    We saw interesting stuff on the FORUM confirming our thinking but could not see anything yet that positively confirms our approach.
    Thx a lot
    Claude Huard

    Thanks John,
    This is a long story. We first looked at Statpack info. We are READ and CPU intense. We have then identified the TOP SQL, the so-called "bad guys". We regognize them by the table they access.
    To see how bad the bad guys were, we have tried this V$SQLAREA thing I am questioning about and the numbers were impressive ( 40 - 65 % of CPU_TIME ).
    Parallelly, we could also confirmed that when then BUFFER_GETS go higher than a certain threshold, the response time for a typical query running every 20 minutes is degradating. The two curves follow a similar pattern.
    Tadam : we believe we have found the bad guys that most likely impact performance and make users complain.
    Fixing the bad guys is an issue because they are in the core of a financial ERP so we need a good case to undertake that effort. We would also prefer having the vendor’s support in the customization effort.
    To build our case, we though we could show the relative load of the bad guys with respect to the entire load. Back to the original question, maybe I shall nuance what I mean by the every-15-seconds lookup. We get the instant face value of the cumulative CPU_TIME (and BUFFER_GETS, etc.) for the cursors. One lookup is the sum of all cursors within V$SQLAREA. Another lookup is the sum of those bad guys matching a criteria (excluding our own query...). What we look at is the delta between two cumulative values. The sum of all cursors increases by such and the sum of the bad guys increases by such. That is the percentage of increase we are looking at. Does that approach make sense ?
    Plese note that the cumulative for the entire V$SQLAREA sometimes go down. To be thourouigh, we only consider snapshots where the total number of cursors + the sums look the same. We have several snapshotrs to look at so we only keep numbers that seem growing steadily. We pay attention to the number of cursors that typically is 3700. The pin ration of SQL AREA is close to 100% so we though the approach was raesonable.
    Thanks,
    Claude

  • SAP Queries using Transaction sq02

    Hi Sap all.
    i have recently joined in the SAP Retail project where they using the SAP Queries to get the info of unfinished Sites,Articles,Vendors,etc.
    i dont have any knowledge and experience on SAP QUERIES,so could any body help in this b sending the related scenarios and material,links.
    will be waiting for the best response.
    regards.
    Varma.
    Moderator message: don't just wait for others to search for you, please search for available information/documentation, don't ask for documents being sent to you.
    Edited by: Thomas Zloch on Jun 1, 2011 1:44 PM

    These are normal infoset queries which we create using transaction SQ03, SQ02/SQ01/SQ00.

  • Allow direct file extraction from SAP queries and YTRAN report

    To feed transportation planning macro, we use 2 SAP queries under user group
    YUGKO0001SIG,YQRYLO00002SIG,YQRYSD055SIG
    --User created variants for each query to extract with file store option to automatically transfer the extract file to the network.
    --User would like to set up a batch job via SM36 to extract the files and make them available in back ground, which is not possible in todays process
    --Also user need similar functionality for YTRAN report, being able to run it in background and generate a file on the net work

    Hi
    u cannot get file in presentation server.. in background..
    if you are scheduling any background jobs it should be out of any gui interface.. like gui_dowload , gui_upload// ur need to replace then with cl_gui_fronend_services Class
    or u have a option of writing file to application server in background using open dataset syntax.

  • In XML view, how to set sap.ui.core.CSSSize array for property "widths" of MatrixLayout Control?

    As SAPUI5 prefer XML views, I'm rewriting JS view into XML views.
    When I translate the statements below, I can not set sap.ui.core.CSSSize array for property "widths" of Control MatrixLayout.
    JS version:
    var oLayout = new sap.ui.commons.layout.MatrixLayout({
        id : 'matrix3'
        columns : 3,
        width : '600px',
        widths : ['100px', '200px', '300px']
    XML version:
    <l:MatrixLayout
        id="matrix3"
        columns="3"
        width="600px"
        widths="['100px', '200px', '300px']">
    <l:MatrixLayout>
    The error says: Uncaught Error: "[100px, 200px, 300px]" is of type object, expected sap.ui.core.CSSSize[] for property "widths" of Element sap.ui.commons.layout.MatrixLayout.
    Same problem with property `backgroundDesign` of MatrixLayoutCell, I can only use a workaround to use String "Fill1" not the Class "sap.ui.commons.layout.BackgroundDesign.Fill1".
    When we meet a property which need a Class object as value, we can not set it in String Format for XML views. That's a pity or I did not find the right way to set NON-String values as property for XML Controls.

    Hi,
    any settings that are not possible in the XML, need to be set in the controller instead.
    Using the string value of an enum is fine, though.
    Regards
    Andreas

Maybe you are looking for

  • Mismatch of Assigned Budget in CJ33 & Report S_ALR_87013558

    Hi, I would like to inform there is an issue in mismatch of assigned budget value in CJ33 wrt hierarchical report(S_ALR_87013558). Request you to suggest to fix the issue. Thank you for your coopearation. Regards, Ranjan

  • Photoshop cs3 crashing continuously

    Hi! Here's my error message in Photoshop - it's been happening for more than a week - several times a day. This is a microsoft error message: Adobe Photoshop CS3 has encountered a problem and needs to close. We are sorry for the inconvenience. I'm on

  • Maximum Slide Size

    Anyone know if Keynote has a maximum slide size? I'm trying to create a Keynote presentation with a slide size of 4272X1080 and it won't seem to let me put that size in the custom slide settings. I've tried different sizes, but anything above 4000 gi

  • Show user name and IP address

    Hi All, When we upload or create contents or post the messages in the discussion. The user name will be recorded.  Is there any ways to record and show both name and IP address of user? Thanks, Anucha

  • HR Indirect Role Assignment through HR ORG Distribution Model with ALE

    1) When i assigned indirect (position level security) roles in CUA(SolMan) using pfcg click on organization managment to position after that i did user comparsion but i can not see user id in user tab. 2) If personel no is not the same as infotype 01