Using InfoSets as Data Source for segmentation

Hi Experts,
I'd like to use my own InfoSet as Data Source for segmentation.
The goal is, for example:
Select all BPs who have Leads (Just simple one to describe my question).
So I've created new InfoSet which joined tables:
  CRMD_ORDERADM_H
  CRMD_LINK
  CRMD_PARTNER.
The question is how should I restrict the InfoSet to use only object type "CRM Lead" (CRMD_ORDERADM_H = 'BUS2000108') and partner function "Activity partner" (CRMD_PARTNER-PARTNER_FCT = '00000009')?
I've managed to do this by small addtitional coding in Record Processing in the InfoSet as:
CHECK crnd_orderadm_h-object_type EQ 'BUS2000108'
  AND crmd_partner-partner_fct EQ '00000009'.
But it seems that it's not the best way (and no the best practise's one) because all records from the joining are processed and for each of the record this conditions are checked.
It'd be better, I think, to put this conditions as selection options. But it doesn't work (or I didn't do it properly). What I've done is: I've made them as selection criterions in my InfoSet and put default values for them. But segment builder didn't use them (default values) as I can see.
Appreciated for your any advices.

Hi Monica,
     Ofcourse query will be written by BW consultants but the requirement should be passed on by Business. CRM Functional Consultant responsibility is to understand the Business requirement and should guide BW consultants. Also make sure that BW system is in the CRM landscape for such requirement.
regards
KK

Similar Messages

  • Stored Procedure used as a data source for an Apex report

    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ?
    Thank you.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "920338".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Just wondering whether anyone has used a Stored Procedure as the data source for an Apex report. An option to select Stored Procedures(s) as the data source does not appear within the IDE (only displays Table, Views, Functions).
    Do you have to return the definition of the Stored Procedure via a function ... if so, how is this done ? When asking a question about "reports" it's firstly essential to differentiate between standard and interactive reports. Standard reports can be based on tables, views, SQL queries, or PL/SQL function blocks that return the text of a SQL query. Interactive reports can only be based on a SQL query.
    "Stored Procedures" are therefore not an option (unless you are using the term loosely to describe any PL/SQL program unit located in the database, thus including functions). What would a procedure used as the source of a report actually do? Hypothetically, by what mechanisms would the procedure (a) capture/select/generate data; and (b) make this data available for use in an APEX report? Why do you want to base a report on a procedure?

  • InfoProviders versus Queries Data Source for BO SAP Integration

    Hi All,
    I would like to know if there is any discussion or suggestion on commonly used choice of data source for BO with SAP Integration. I do know there is a best practices suggestion from Ingo on Webi and the choice is to use queries so that we could leverage the functionalities of calculated key figures, exit variables and etc. But as I see from another website it claims that this will slow down the access of data using queries.
    Thanks
    David

    Hi Ingo,
    Is there any slide presentations from anyone that has that kind of information? We are in the midst of implementation right now and are selecting the method. I need to come out with pros and cons of the choices that we have in order for us to select the best one even though from my gut feeling I would still prefer the Queries.
    Especially it will also make use of aggregates and also data flow size might be fewer due to variable that exists. Compared to using MultiProvider, it might transfer the whole data lot and if we were to create parameter there in Crystal or something else it will filter data only from there onwards.
    Please correct me if I am wrong.
    Thanks
    David Yee

  • Can you use SQL as a data source for a project in the same way you can in Excel?

    Excel allows you to create a data source that executes a SQL stored procedure, display that data as a table in a spreadsheet and have that data automatically refresh each time you open the spreadsheet. Is it possible to do the same thing in MS Project, displaying
    the data from the stored procedure as a series of tasks?
    Here's what I'm trying to do - I have a stored procedure that pulls task data meeting a specific criteria from all projects in Project Server. We're currently displaying this data as an Excel report. However, the data includes start dates and durations so
    it would be nice to be able to display it as a Gantt Chart. I've played around with creating a Gantt chart in Excel and have been able to do a very basic one, but it doesn’t quite fit our needs.

    No, You can not use sql as a data source for a project.
    You have 3 options to achieve it:
    1. You can create a Sharepoint list with desired column ,fill desired data in that list then you can create a MS project from Sharepoint List.
    2. You can create a SSRS report in which you can display grantt chart Joe has given you that link.
    3. You can write a macro in MPP which will take data from your excel. In excel you will fetch data from your stored procedure. write a schedule which will run every day to update your data or
    create an excel report in which will update automatically and write macro in mpp which will fetch the data then publish it so that it would be available to team members.
    kirtesh

  • Using an SAS2008 Cube as a data source for BI Publisher errors

    Hi All,
    I am trying to use a SAS 2008 cube as a data source for a report in BI Publisher. When I defined the data source under the admin section I gave it the following details:
    Data Source=ntsasqa01;Provider=msolap.3;Initial Catalog=WWPR_SMG
    With a username / password that has access to the cube.
    When I try and test the connection the OC4J instance stops running and the test does not finish or error. If I use the data source and then setup a report and then try and view data I get an error like the one below:
    /app/oracle/OracleBI/xmlp/XMLP/Admin/DataSource/msmdacc.dll (     0509-022 Cannot load module /app/oracle/OracleBI/xmlp/XMLP/Admin/DataSource/msmdacc.dll.
         0509-103 The module has an invalid magic number.)
    I am not sure if the error is related to the initial issue of not being able to complete the test.
    I need to find a solution though as I have to make use of MDX to access the cubes.
    Please could someone give me some advice.
    Thanks,
    Kim.

    Hi Kim
    1. SAS cubes are not currently supported - http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10417.pdf. Unless SAS cubes can use the MS drivers?
    2. If you try and pursue it you might check the permissions on the ddll in the error to ensure you have rights over it.
    Either way you are not supported with a SAS cube so you are kinda on your own. Sorry I dont use SAS so Im not going to be much help other than stating the obvious :0)
    Regards
    Tim

  • Using Oracle BI Server as a Data Source for Third Party Tools

    I have been researching how to use the Oracle BI Server as a data source for two days now. I have not yet found a solution to my problem.
    We have a remote user who is pulling data from one of our Oracle databases using automated tools. This data base is essentially being replaced by Oracle Analytics. However, we do not want this user to get at the physical tables of Analytics, rather, we want the user to be able to connect to the Oracle BI Server itself, and issue Logical SQL to pull data.
    Here are the requirements which I need to be fulfilled:
    1) The ability for a remote user to connect to the BI Server as a data source.
    2) The remote user must be able to do this on a Unix box.
    3) The remote user must be able to automate the process of issuing SQL to the BI Server. (Command line interface is preferable)
    4) The solution needs to be easily implementable, that is, this solution will be implemented many times over.
    I found many articles explaining how to set up a Windows box to connect to the BI Server in this way. However, these articles outline how to use tools like Excel and Microsoft Query to pull data from the BI Server. Our current user is using SQLplus.
    If possible, I would like the user to continue using SQLplus as the tool for connecting to and retriving information from our BI Server. I have tested using SQLplus many different ways to no avail. I have also tried using other tools, such as Oracle SQL Developer.
    Is there a program out there that will fulfill the needs I have outlined above? Or, does someone know of a way to use SQLplus to connect to the Oracle BI Server as a data source? Or, is there a series of solutions which will fulfill the needs outlined above?
    Edited by: user11177366 on Jun 11, 2009 11:46 AM

    I agree it would be inefficient but only because you are using OBIEE for something it was not designed to do. You are basically asking for a "DB feed" and that should designed using PL/SQL, DB Links, Web Services or whatever is your entreprise standard to send data from one system to another. Using OBIEE for this seems a bad architecture decision to me.You are correct, the BI Server is not really intended to be queried like another Oracle Database remotely. However, the reason we are trying to do it this way is twofold:
    1) We want to enforce data level security.
    2) The BI Server has been fine tuned for high performance.
    Forcing the end users to go through the BI Server rather than directly to the physical tables or other sorts of systems built on top solves both of these issues.
    I think you are wrong. I don't see why SQLPlus should be able to query the BI Server. The BI Server can sit on top of many different DBs not just Oracle, even flat files etc. So you can't really expect the BI Server to able to translate all that into Oracle SQL output so you can query it using SQLPlus. The BI Server is not an Oracle RDBMS.You're right again. The BI Server isn't an Oracle RDBMS, and I have been wanting to treat it like one. From the data I have gathered SQLPlus can't query the BI Server.
    However, my research has led me to realize that the BI Server supports the JDBC API. Therefore, (I should have went down this route in the first place) one can use the JDBC driver provided by Oracle (bijdbc14.jar) to interface with the BI Server. There are many programs and applications out there that support the JDBC API and let us connect to BI Server the way we want to. Furthermore, these programs are mostly platform independent, as they are mostly written in Java.
    Lastly, from what I understand the NQCMD program can be installed on any platform as well (provided by Oracle). This is another option to connect to the BI Server as well.
    Thanks for your help and your comments as I went through this process of discovery.

  • Using MS Access as a Data Source for BW

    I have used MS Excel spreadsheets and 'mainframe' databases as data sources for BW in the past.
    The company I ma working with has a large MS Access database containing historical sales data (from an R/3 3.1H system) that they wish to upload into BW v3.5 for comparison purposes.
    My undersatnding was that MS Access was not a valid data source for BW. Could someone point out the error of my thinking and suggest how to set up MS Access as a data source.
    Thanks in anticipation

    Hi Austen,
    Welcome onboard!
    True, as far as I know, MS Access is not supported by BW. But you can use MSSQL instead. MSSQL is supported. I think the free version of MSSQL called <b>MSDE</b> (<i>Microsoft SQL Desktop Edition</i>) is also supported (<i>Although I have not tried it yet</i>)
    Importing MSACCESS data to a similar table in MSSQL is very easy. Just use the <b>Data Transfer Utility</b> bundled with MSSQL. It will bulk insert data from MSACCESS to MSSQL. Then from MSSQL, you can set up BW to connect to it and you are done...
    Hope I have helped. if I did, please grant points...
    Regards,
    Jkyle

  • Using COGNOS as an infoprovider/data source for WebI...?

    I saw a job posting today that listed a requirement that I am pretty sure is IMPOSSIBLE...
    WebIntelligence report experience with using COGNOS as an infoprovider/data source for BOBJ is an important skill.
    Data sources for client will be both COGNOS and SAP.
    Now, it wouldn't be the first time that a client spec asked for the IMPOSSIBLE- but it got me to wondering if maybe I am wrong in my understanding that COGNOS 8 still uses PowerPlay cubes that are 100% proprietary and can only be read with the CONGOS report-design tools.
    Is there actually a "supported" way to use COGNOS as an infoprovider/data source for BOBJ...?
    Maybe using some COGNOS equivalent of QAAS...?
    I have no intention of applying for this job - but would like to know if it is technically possible.

    It's been more than a week since I posted this question and nobody came up with a "YES" here or on the BOB Forums...so I am going to close this question as an IMPOSSIBLE request.
    Based on the current technology - COGNOS cubes can not be used as an infoprovider/data source for WebIntelligence.

  • Using Oracle Stored Proc as Data Source for PowerBuilder Data Window Object

    Hi,
    I'm trying to use an Oracle stored procedure as the data source for a PowerBuilder data window object. I'm using the following (which is a variation of an example given on Sybase's web site, with the appropriate database/column name changes and use of %TYPE):
    ======================
    CREATE OR REPLACE PACKAGE pkg_dw_sp_example
    AS
    TYPE typ_example_rec1 IS RECORD(
    v_comcodsa st_sa.comcodsa%TYPE,
    v_comnamsa st_sa.comnamsa%TYPE,
    v_cocitysa st_sa.cocitysa%TYPE);
    TYPE cur_example_cur1 IS REF CURSOR;
    RETURN typ_example_rec1;
    END;
    ======================
    CREATE OR REPLACE PROCEDURE sp_dw_example1
    (arg_teamid IN st_sa.comcodsa%TYPE,
    cur_team IN OUT pkg_dw_sp_example.cur_example_cur1)
    AS
    BEGIN
    OPEN cur_team FOR
              SELECT comcodsa,
              comnamsa,
              cocitysa
              FROM st_sa
              WHERE st_sa.comcodha = arg_teamid;
    END sp_dw_example1;
    ======================
    The package is created okay, but the procedure is saved with compilation errors. Unfortunately, Oracle does not indicate what the errors are (great product), so I have no idea what it is complaining about.
    Questions:
    1) Can anyone point me to/or provide a better example?
    2) The examples in books I have seen all would have declared the procedure in the package specification - is the above valid?
    3) This is a PowerBuilder specific question, but if the package does not show up in the stored procedure list when creating a data window object, how does one use it as a data source?
    Oracle 8.1.7
    PowerBuilder 8.0.1
    Thanks,
    Ed Holloman

    1) Everything looks fine with your code. You did not mention the environment you are compiling your code in, but if it is SQL*Plus, you can type 'show errors' after the compile and it will list the errors and line numbers for you.
    2) You can include the procedure in the package - in which case you would have a procedure declaration in the spec and the actual procedure in the body. You would no longer include the 'create or replace' - the declaration and procedure would just start with 'procedure'. The spec would look include:
    PROCEDURE sp_dw_example1
      (arg_teamid IN st_sa.comcodsa%TYPE,
       cur_team OUT cur_example_cur1);Note the removal of the package reference (since we are now IN the package) and the second parameter is just OUT instead of IN OUT.
    3) Not much, but I know that in PB8, our developers have said they have visibility now to the package when creating a DW - something they didn't have in PB7. Previously, we had to create a dummy standalone procedure that they would select and they would later modify the code to include the package prefix.
    Hope this helps a bit.

  • Can Discoverer be used as an XML Data source for XMLP ?

    I am wondering if Discoverer can generate an XML Data Source for XMPL.
    I have heard that Discoverer Viewer can have XML as an output. Is there a way of using this XML output with XMLP and, if yes, how to batch both steps ?

    Hi
    My understanding is that Discoverer does not generate XML data as an ouput that XMLP can consume. The XML is does generate is actually an XML RDF for Oracle Reports.
    XMLP is integrated thou, when you export your Disco report to PDF thats XMLP doing the conversion to PDF for you.
    Regards, Tim

  • How to use web service as data source for forge or endeca ?

    hi,
    is there any way to use webservice as data source in pipeline ?
    i have requirment to get data from web service and dump it in endeca. for this i need some idea on how can be this achieved. is it possible to do so?

    Crawling is part of the CAS, which is kind of the data ingest process in Endeca as you would know. There are a bunch of OOTB Crawlers available like FileSystem based, XML Crawlers, etc., and there could be a case where you have to write your own and thats what I am suggesting because the XML crawl thats OOTB expects a specific format which isnt really mentioned in the Documentation. Please refer to CASDevGuide for more information. CAS, PlatformServices and ToolsAndFrameworks should be running when you start off with Endeca, you can see that from
    ps -ef | grep java
    on your machine

  • Is it possible to use same data source for two info cube

    Hi,
    My Problem is in BW we can not have value of material at storage location level.In R/3 also value is maintained at plant level.
    Then we searched and we found out one hot to doc for summarized display of stock values on storage location level.
    Problem is that we have gone live in last December and we are using " 0AFMM_C02 " and it contains around 1,81,26,000 records. and according to note we have to use
    "0IC_C03".
    Both the cube uses same data sources for the data.So, how to get the data for "0IC_C03".
    and how to delete the data of existing info cube.And is it possible to delete data selectively from the info cube.
    Pls. help.
    Regards,
    viren.

    Hi,
    You can't create update rule from PSA.You can create from the infosource or from ODS or from cube to cube or ODS to ODS.
    In your scenario, what you can do is create update rules from the ODS to the new cube and then transfer the data from there. Or from the Infosource create rules to the new data target and then upload the full data and then set up the delta.
    Third option is to create update rules from the existing cube to the new cube and then load all the data one time. Then you can deactivate the update rules as that was needed only for 1 time data transfer.
    Cheers,
    Kedar

  • Using a SQL data source and XML data source in the same template

    I am trying to develop a template for the Request for Quote report generated in Apps 11.5.10. I have loaded the data from the XML output into the template, but I am missing one field - I need the org_id from the po_headers table. Is it possible to use a sql data source (i.e., "select org_id from po_headers_all where po_header_id = [insert header_id from xml data]...") in addition to the xml data source to populate the template at runtime? When you use the Insert > SQL functionality is it static at the time the template is created, or does it call to the database at runtime? I've looked through all the docs I could find, but this isn't clear.
    Thanks for any help or suggestions you may have.
    Rhonda

    Hi Pablo
    Thats a tough one ... if you go custom with a data template you will at least get support on the data template functionality ie you have a problem when you try and build one. You will not get support on the query inside the data template as you might have gotten with the Oracle Report, well you could at least log a bug against development for a bad query.
    Eventually that Oracle Report will be converted by development anyway, theres an R12 project going on right now to switch the shipped OReports to data templates. AT this point you'll be fully supported again but:
    1. You have to have R12 and
    2. You'll need to wait for the patch
    On reflection, if you are confident enough in the query then Oracle will support you on its implementation within a data template. Going forward you may be able to swap out your DT and out in the Oracle one without too much effort.
    Regards, Tim

  • Unable to generate "Export data source" for Master data infoobject

    Hi Gurus,
    I'm in BW 3.5
    I need to generate "Export data source" for a master data info object.
    I followed below steps:
        I ticked the checkbox "Characterist. is export data source" in the master data Info object maintenance screen.
        In the Infosource area, for the desired Infoobject --> Right click --> Generate export datasource --> a dialog box displays saying "The generation of DataSource  was successful"
    Problem:
    Even after refreshing, etc.. I couldn't find the generated datasource 8**** for the above master data. I also tried to replicate the datasource from the myself source system, but couldn't find it even there. I don't know where the generated export data source is hiding ???
    Could anyone please help ????
    Thanks,
    Venkat

    Hi Venkat,
    I guess that after creating an export datasource for infoobject this DS should appear in the RSA1-Source systems - MYSELF - datasource overview (with name starting with 8). Since it's a datamart, it should appear also as system generated infosource. And in this case you would be able to assign in URs of data target the appropriate infosource (make sure that in Infoproviders tab of RSA1 you have inserted your infoobject as a data target).
    However, there are some bugs related to export data source. CHeck if you see you export data source in RSA6.
    If you don't see it - consider applying OSS Note #816892 - "30BSP26: Export DS for master data is not generated".
    Note #876845 - "30BSP29: InfoObject change: Export DataSource not adjusted" is also may be useful.
    -Vikram

  • Standard BI Data Source for FMGLFLEXT

    Hello Friends,
    The standard data source for the Financials New Legder is 0FI_GL_10 General Ledger: Leading Ledger Balances, which fetches the data from the FAGLFLEXT Table using the Extract Structure FAGL_EXTSTRUCT_LEAD. However there has been a migration of the FAGL table to FMGL table. And now the FAGLFLEXT is no longer populated with any FI postings data. And the new table which is getting the update is the FMGLFLEXT Table. GL Migration from FAGL to FMGL is a standard procedure. However I am not finding any Standard Data Source to fetch the data from the FMGLFLEXT Table.
    Can anybody let me know if there is any standard datasource for this or should we create a custom data source to fetch the data from FMGLFLEXT using the FMGL_EXTSTRUCT_LEAD Extract Structure.
    Appreciate help in this regard.
    VB

    Hello,
    The requirement is resolved by the following:
    If you want to use your own totals table (in this scenario FMGLFLEXT) as your basis, you first have to create the corresponding extraction structure using transaction FAGLBW01. In this way, all fields of the totals table are transferred into the extraction structure. Further In the OLTP system, call up transaction FAGLBW03 and Configure the DataSource and save your settings.
    http://help.sap.com/saphelp_nw70/helpdata/en/be/928f40f5767d17e10000000a1550b0/frameset.htm
    Regards,
    VB

Maybe you are looking for

  • How do you recover a pages document when pages crashes before you can save it for the first time

    Pages crashed unexpectedly before I had a chance to save it for the first time.  How can I recover that document?  It must be out there somewhere!! Thanks

  • JDBC ORACLE SQL

    in the oracle database, i have a table with 3 fields which are Number, flag and date NBR(data type NUM) flag (data type char) todaysdate (data type Date) i want to update the table with system current date using prepared statement. String sql = "UPDA

  • GroupWise 8.0.2 with FTF patch

    I heard that the new ZAV 9 has a prebuilt template for GroupWise 802 that has the send to built in. How would you go about updating this GW802 template to include the new GW803HP3FTF that fixes the security issues?

  • E72-1 RM350 - Can I use this phone in Japan - wh...

    Hi, Im travelling to Japan and would like to know if it is possible to use my E72-1 there  my local provider is TELENOR  AS I understnad it all netowkr in Japan are 3G but seems according to guide books that most european phones will not work in Japa

  • SD Document Flow

    I want to update a FI document to SD - sales order in it's document flow. I was able to update Table - VBFA by using Function Module RV_DOCUMENT_FLOW_UPDATE_U. But I still can't see the updated document flow when using VA03N for that sales order , th