Data source based on BI Cube (TCode CRMD_MKTDS)

Hi
We have a requirement to segment customers based on BI queries. This is done in transaction CRMD_MKTDS using Origin type Business Intelligence Cube. The problem is that the RFC-destination of the BI system does not show up in the list of possible entries. The only possible entry that is shown is the RFC destination for our interactive reporting client. The RFC-destination for the BI system does exist in CRM and it's working fine. If we choose InfoSet as the origin type all the RFCs show up (including the one to BI), but when the origin type Business Intelligence Cube is used the RFC is missing. Any ideas?

Hi,
The
Function Module : CRM_MKTTG_DS_RFC_F4
For Datasource = Infoset/ External list the RFC destinations are read directly from the table.
select RFCs
    SELECT * FROM rfcdes
    INTO CORRESPONDING FIELDS OF TABLE lt_f4_com_rfc
          BYPASSING BUFFER
      WHERE RFCTYPE = '3'.
For BW datasource it is read as follows , the Function module 'RSA_RSBASIDOC_READ'gets data from statement
'SELECT * FROM RSBASIDOC INTO TABLE BASIDOC'
    IF lv_sds_type = sourcetypes-bw_cube OR lv_sds_type = sourcetypes-el
only RFC-Dest from BW: check if destination is aconnected BW
      CALL FUNCTION 'RSA_RSBASIDOC_READ'
        TABLES
          basidoc = lt_basidoc.
      LOOP AT lt_f4_com_rfc INTO ls_f4_com_rfc.
        READ TABLE lt_basidoc WITH KEY rlogsys = ls_f4_com_rfc-rfcdest
          INTO ls_basidoc.
====== Hope this information provided ansers your query.

Similar Messages

  • Error While Activating BI Web service data source based on MDM XI.

    Dear experts,
    Need help with an error that i am getting for a BI data source based on XI MDM. An extra field was added in the data source as part of business requirement and it works fine in dev environment but when we transported the changes to Q environment it is always giving following error.
    The web-service based communication structure in the data source in QA is not getting updated with the new field in the target system.
    Any inputs or pointers would be appreciated.
    Thanks,
    Abhishek

    Many thanks for your help.  This solved the issue for our .NET code, however the leak is still present in the report designer.  I was also wondering if you could help further: because of the limits on the java memory process is there a way to ensure that a separate java process is started for each report that is loaded in my report viewers collection?  Essentially the desktop application that i have created uses a tab control to display each type report, so each tab goes through the following code when displaying a report and closing a tab:
    Is there a way to ensure that a different Java process is kicked off each time that I display a different report?  My current code in c# always uses the same Java process so the memory ramps up.  The code to load the report and then dispose of the report through closing the tab (and now the Java process) looks like this:
        private void LoadCrystalReport(string FullReportName)
          ReportDocument reportDoc = new ReportDocument();
          reportDoc.Load(FullReportName, OpenReportMethod.OpenReportByTempCopy);
          this.crystalReportViewer1.ReportSource = reportDoc;
        private void DisposeCrystalReportObject()
          if (crystalReportViewer1.ReportSource != null)
            ReportDocument report = (ReportDocument)crystalReportViewer1.ReportSource;
            foreach (Table table in report.Database.Tables)
              table.Dispose();
            report.Database.Dispose();
            report.Close();
            report.Dispose();
            GC.Collect();
    Thanks

  • Need Info on RDA-enabled data source based on FM

    Hi,
    I need Info on RDA-enabled data source based on Function Module.
    How to implement it?
    Thanks & Regards,
    Rashmi.

    Hi Rashmi
    Check this link
    http://help.sap.com/saphelp_nw70/helpdata/EN/52/777e403566c65de10000000a155106/frameset.htm
    [under tab Tranferring Transaction Data from Source Systems (RDA)]
    http://help.sap.com/saphelp_nw70/helpdata/EN/3f/548c9ec754ee4d90188a4f108e0121/frameset.htm
    Regards
    Jagadish

  • Problem with R/3 Data Source based on Function module in SAP BI

    Hi,
    We have a data source based on functional module. When we load data from R/3 to BI we face the following error.
    " No end-confirmation arrived in the Warehouse from the source system."
    We are getting data but due to no end confirmation from the source system, the load become timed-out and status becomes "RED". When we change the status to be "GREEN" and proceed tha load further, load is fine.
    Please suggest us a suitable solution.
    Thanks in Advance,
    Geetha

    Hi Geetha Devi Ramalingam.
    I faced the same problem since yesterday. I just resolve the issue.
    So here is my solution :
    try this code :
        FETCH NEXT CURSOR s_cursor
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE e_t_data
                   PACKAGE SIZE s_s_if-maxsize.
        IF sy-subrc <> 0.
          CLOSE CURSOR s_cursor.
          RAISE no_more_data.
        ENDIF.
    if you add your
    bold
    IF sy-subrc <> 0.
          CLOSE CURSOR s_cursor.
          RAISE no_more_data.
        ENDIF.
    bold
    than the sy-subrc may be equal and than your CLOSE CURSOR s_cursor. will have no effect
    it work for me hope it will for u
    Hard luck!
    Salah
    Edited by: idrissi salaheddine on Jan 19, 2012 12:24 PM

  • Generic Data source based on Infoset

    Hi,
    I have a Generic data source based on Infoset. i need hostorical data from this data source, when i extract it is given me only current data. Infoset based on PNPCE logical database, in the Infoset query (ECC6) when i select "All" it gives all data, but when i extract with RSA3 with perticular personal number it just give me 1 record,
    Please help me to fix this problem.
    Thanks

    i think you mean to get data relevant to a date. have you setup the begda/enda as selection parameters in the generic datasource? that would be the only aside from a custom  program to first fetch the data and then send it to bi.
    with the dates, you can pull it with the relevant date range setup in the infopackage

  • Multiple data sources based on a parameter

    Hi there!
    Is it possible to get data from different data sources based on a parameter?
    For example, I have SQL query and parameter pFI that can be equal to 1 or 2.
    So if the pFI = 1 then I need to execute this query in DB1 otherwise I need to execute It in DB2.

    I do not think its possible to change the datasource on a data model dynamically. However you could create two seperate data models and two seperate layouts using a parameter to distguish between the two when you call the report.
    Richard

  • How to incoporate a function module in data source based on view

    Hi,
    I need to develop a data source in R/3 based on a view (which is straight forward).
    One field in the R/3 Z table  will be in like this ‘20,070,709,110,000’
    There is a function module developed in R/3 when executed will split the record(20,070,709,110,000) and display time & date
    How can i incorporate this function module in data source so that the data and time records will be loaded to BW
    Thanks

    Enhance the data source with date and time and populate these fields in the user exit using the function module IB_CONVERT_FROM_TIMESTAMP .
    OR
    You can create Z function module IB_CONVERT_FROM_TIMESTAMP in BW side and write a routine in update rules/transfer rules to populate date and time.
    hope this helps ...
    Ravi

  • 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

  • Generic Data Source Based On Function Module (Delta capable)

    Hi,
    My requirement is to develop a Generic Extractor based on Function Module (Delta capable). As I already found many threads explaining this concept, but most of them discussing FM RSAX_BIW_GET_DATA_SIMPLE with Extraction Method F2. There is another FM RSAX_BIW_GET_DATA which, one can use to build delta enabled extractor.
    Although I do have some doubts:
    what is the E_T_SOURCE_STRUCTURE_NAME ?
    read table i_t_select into l_s_select with key fieldnm = 'PGMID'. Use of this code ?
    Templet only showing
    case i_updmode.
          when 'F'.
          when others.
            if 1 = 2. message e011(r3). endif.
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '011'                "message number
                      i_updmode            "message variable 1
                      ' '.                 "message variable 2
            raise error_passed_to_mess_handler.
        endcase.
    i.upmode as F, D(delta) is not included, do i need to include this?
    Can someone help to solve this. Appropriate points will be allotted to helpful suggestions.
    Edited by: Debjit_Singha_86 on Jul 23, 2011 8:35 AM

    Try using following piece of code;
    READ TABLE g_t_select INTO l_s_select
                                 WITH KEY fieldnm = 'Date Field for Delta'.
          IF sy-subrc EQ 0.
    SELECT SINGLE *
                           FROM ROOSGENDLM
                           WHERE oltpsource EQ 'DataSource Nameu2019
                           AND slogsys      EQ lw_slogsys.
              IF sy-subrc EQ 0.                                            
                lw_date = roosgendlm-deltaid+0(8).
                lw_time = roosgendlm-deltaid+8(6).
                                                                                    ENDIF.                       " IF SY-SUBRC EQ 0.
    ENDIF.
    OPEN CURSOR WITH HOLD S_CURSOR FOR
    SELECT * FROM TABLE
                                   WHERE  CPUDT     GE   lw_date   AND
                                               CPUTIME  GE   lw_time.
        ENDIF.                            
    Table R00SGEMDLM stores the date and time data was last extracted from a data source.
    Alternatively, you can also try using the i_updmode.
    When 'F'.
    SELECT * FROM TABLE (without any where clause on last change date)
    When 'D'
    SELECT * FROM TABLE
                                   WHERE  CPUDT     GE   lw_date   AND
                                               CPUTIME  GE   lw_time.
    These are just suggestions. Try these out, I hope it helps.
    Regards,
    Gaurav

  • A data source based on a file stored in a network drive

    Hi,
    I created a new Crystal report using Crystal Report Designer XI R2. In the beginning, my data source is from a Excel file in local device like c:\.
    After I moved the file to a network device then recreated a report, it couldn't connect to the data source. Can anyone know how to sort it out?
    Thank you,

    Hi Jin,
    Since the Excel file is stored on a Network Drive the Crystal Reports page server, cache server, and job server, and the input and output file repository services should all be configured to be run by a domain user account which has local administration privileges. This should allow the report to access the excel file online.
    Hence you can try of these:
    The way to get this to work is to:
    a) set the job server and cache server to run under a domain account that has local admin rights (so it should appear as DOMAIN\user in the service settings) and
    b) when setting the connection in Crystal Reports connect to the share that holds the .xls using the unc path rather than the mapped drive (i.e.
    server\folder\file).
    Hope this helps.
    Shraddha.

  • Delta field for generic data source based on view EKBE

    Hello,
    I am creating a generic datasource based on table EKBE. Can anyone please tell me what field should I use for delta. Is it BUDAT(Posting Date in the Document) or CPUDT(Day On Which Accounting Document Was Entered).
    Thanks for the help.
    Praveen

    Hello Ajeet Singh,
    Thank you very much for the reply.
    I will go ahead with CPUDT.
    BUDAT is the date which can be changed. I can change the date in system and chances are it will not pick in delta.
    CPUDT is the date on which document was created/changed.
    Thanks,
    Praveen

  • Data Source based on Infoset.

    Hi Experts,
    I have a datasource based on Infoset.This infoset is the join of two tables.
    There is one additional field in this infoset(Timestamp)
    Now, due to change in the requirement I have to delete this timestamp.I am unable to delete as it is saying it is used in the Query.But I am not getting how to remove this from Query.
    Query Name is coming as :
    SY000000000095 Generated Query SY000000000095
    SY000000000096 Generated Query SY000000000096
    SY000000000097 Generated Query SY000000000097
    SY000000000098 Generated Query SY000000000098
    SY000000000100 Generated Query SY000000000100
    Please help

    Hi,
    The infoset may have been created using the query infoset.
    Go into SQ01, identify the queries and delete them.
    Cheers
    Neeraj

  • How to create olap cube using Named Query Table in Data source View

     I Create on OLAP Cube using Existing Tables Its Working Fine But When i Use Named Query Table with RelationShip To other Named query Table  It Not Working .So give me some deep Clarification On Olap Cube for Better Understanding
    Thanks

    Hi Pawan,
    What do you mean "It Not Working"? As Kamath said, please post the detail error message, so that we can make further analysis.
    In the Data Source View of a CUBE, we can define a named query. In a named query, you can specify an SQL expression to select rows and columns returned from one or more tables in one or more data sources. A named query is like any other table in a data source
    view (DSV) with rows and relationships, except that the named query is based on an expression.
    Reference:Define Named Queries in a Data Source View (Analysis Services)
    Regards,
    Charlie Liao
    TechNet Community Support

  • Remote cube on Data Source 0FI_GL_4

    HI,
    I have a requirement of  reconciling  the Line Items from R/3 to BW.
    So i tried to create Remote cube with Direct access, but coudnt due to 0FI_GL_4 data source doesnt support Direct access and reconciliation.
    I can see that Data Source  0FI_GL_4  is being fetched by Function module BWFID_GET_FIGL_ITEM and the base table is DTFIGL_4.
    My question is can I create the Generic data source based on the function module by taking the copy of existing FM BWFID_GET_FIGL_ITEM  and change Direct access option to 2(Supports Preaggregation).
    Do i need to change any settings at table level and parameters to get the required solution.
    Please sugget me how to proceed the development to reconcile the Line Items from R3 to BW.
    Regards,
    Siva..
    Edited by: Siv Kishore on Apr 7, 2011 4:59 PM

    HI Banerjee,
    Thanks for the update.
    As you said i cant use the data source 0FI_GL_1, Because we need to reconcile many fields from R/3 to BW, but  those fields are not available in this data source and it will be complicated to enhance such fields.
    can I create View based generic data source on BSEK and BSEG tables, Will it work? if yes do i need to follow any criteria to get the Correct Line Items.
    Please suggest me is there any SAP suggested solution or if you worked on such kind of development.
    Regards,
    Siva Thottempudi..
    Edited by: Siv Kishore on Apr 12, 2011 4:06 PM

  • Info cube key figure quantity is more than the data source

    Hi,
    I am loading data from a custom table data source into an info cube. The data records and key figure quantity of the info cube is more than the data source custom table.
    I checked the extraction in RSA3. The number of records records and key figure quantity are exactly extracted from the data source in RSA3 transaction.
    But after loading using the info package, the number of records and the key figure quantity of the info cube is more than the actual records available in the data source. The update rule is simple 1 to 1 mapping.
    Kindly help to troubleshoot this issue.
    thanks and regards
    Murugesan

    Hi,
    There could be some other data already avilable in the Infocube. Pls take the Request ID or Number from the last run of the Infopackage you used and check the records only for that Request ID in Infocube.
    You can check the data in the LISTCUBE Transaction.
    Please let me know of you need additional information.
    Thanks,
    Jeysraj

Maybe you are looking for

  • Updating the table is taking long time

    I have one table Solution, in that in one java application P, 1) i am inserting a new record by passing values to a oracle procedure A. 2) And in the same application i am updating the same record by calling one oracle function B. Now in another java

  • External USB Modem fax not working under 10.5.8

    I upgraded my Mac Mini home office server (print, fax, backup) to 10.5.8 and now it appears that faxing is completely broken (or maybe the USB modem driver.) I've verified that this is broken on another system. After booting, the following is seen in

  • Message Switch off

    Hello everyone, I am facing an error  "Account  is an affil. account and requires Trading Partner Message no. ZZ001" while posting customer invoices. Is it possible to change the message type from Error to warning or turn off the message itself? Rega

  • Why does my MBP think it's 10:20?

    I am reliably informed that the current time in England is 9:20 pm My MBP however, believes it to be 10:20 pm I know what you're all thinking, check your date and time settings, you've set it to the wrong region. But my date and time is synched with

  • Where'd my messages go?

    A problem with software update led me to restore a Time Machine version of my HD last night that was an hour or so old. Now all my folders of stored e-mail are empty. Where'd they go?