RDA_SDN_BLOG

  • Upload
    venu212

  • View
    223

  • Download
    0

Embed Size (px)

Citation preview

  • 8/7/2019 RDA_SDN_BLOG

    1/20

    Real-Time Data Acquisition -BI@2004sKamaljeet SinghBusiness CardCompany: Forest Laboratries IncPosted on Nov. 13, 2006 03:49 PM in Business Intelligence (BI)

    URL:https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fd

    You might be having complex reports in your BI System, which helps in making decisions on the basis of data of yourtransactional system. Sometimes (quarter closure, month end, year ending...) single change in the transactional datacan change your decision, and its very important to consider each record of transactional data of the company at thesame time in BI system as it gets updated in the transactional system.

    Using new functionality ofReal-time Data Acquisition (RDA) with the NetWeaver (BI) 2004s system we can nowload transactional data into SAP BI system every single minute. If your business is demanding real-time data in SAPBI, you should start exploring RDA.

    The source system for RDA could be SAP System or it could be any non-SAP system. SAP is providing most of theStandard DataSources as real-time enabled. For more information on this check theThread

    The other alternative for RDA is Web Services, even though Web Services are referred for non-SAP systems, but fortesting purpose here I am implementing Web Service (RFC) in SAP source system.

    For more information on RDA check theRDA SAP help Documentation.

    Below are the steps to load real time data from SAP source system to SAP BI system using Web Services @RDAconcept.

    1. Create Web Services DataSource in BI system.

    Subscribe

    Print

    Permalink

    https://weblogs.sdn.sap.com/pub/u/44710https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.SDNBusinessCard?u=yaMEBNdj1kY%3Dhttps://weblogs.sdn.sap.com/weblogs/topic/11https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fdhttps://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fdhttps://forums.sdn.sap.com/thread.jspa?threadID=248635&tstart=0https://forums.sdn.sap.com/thread.jspa?threadID=248635&tstart=0https://forums.sdn.sap.com/thread.jspa?threadID=248635&tstart=0http://help.sap.com/saphelp_nw04s/helpdata/en/52/777e403566c65de10000000a155106/content.htmhttp://help.sap.com/saphelp_nw04s/helpdata/en/52/777e403566c65de10000000a155106/content.htmhttp://help.sap.com/saphelp_nw04s/helpdata/en/52/777e403566c65de10000000a155106/content.htmhttp://weblogs.sdn.sap.com/pub/q/weblogs_rss?x-ver=1.0&x-mimetype=application%2Frdf%2Bxmlhttp://weblogs.sdn.sap.com/pub/q/weblogs_rss?x-ver=1.0&x-mimetype=application%2Frdf%2Bxmlhttps://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4918https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4918https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4918http://weblogs.sdn.sap.com/pub/q/weblogs_rss?x-ver=1.0&x-mimetype=application%2Frdf%2Bxmlhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.SDNBusinessCard?u=yaMEBNdj1kY%3Dhttps://weblogs.sdn.sap.com/weblogs/topic/11https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fdhttps://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/230d95df-0801-0010-4abb-ace1b3d197fdhttp://weblogs.sdn.sap.com/pub/q/weblogs_rss?x-ver=1.0&x-mimetype=application%2Frdf%2Bxmlhttp://weblogs.sdn.sap.com/pub/q/weblogs_rss?x-ver=1.0&x-mimetype=application%2Frdf%2Bxmlhttps://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4918https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4918https://forums.sdn.sap.com/thread.jspa?threadID=248635&tstart=0http://help.sap.com/saphelp_nw04s/helpdata/en/52/777e403566c65de10000000a155106/content.htmhttps://weblogs.sdn.sap.com/pub/u/44710
  • 8/7/2019 RDA_SDN_BLOG

    2/20

    When you will activate Web Service DataSource it will create Web Service/RFC FM automatically for you.

    (/BIC/CQFI_GL_00001000)

    2. Create transformation on Data Target (DSO) while taking Web Service DataSource as source oftransformation.

  • 8/7/2019 RDA_SDN_BLOG

    3/20

  • 8/7/2019 RDA_SDN_BLOG

    4/20

    4. Create InfoPackage. (When you create InfoPackage for Web Services DataSource it will automatically enable

    Real-Time field for you, but if when you create it for SAP Source System DataSource you have to enable Real-Time field while creating InfoPackage, if your DataSource supports RDA)

  • 8/7/2019 RDA_SDN_BLOG

    5/20

    In the processing tab of InfoPackage we enter the maximum time (Threshold value) for each request to open.

    Once that limit is cross RDA creates new request. The data is updated into data target ASAP it comes from

    Source System (~ 1 min), even though request will be open to take new record.

  • 8/7/2019 RDA_SDN_BLOG

    6/20

    Click on Assign window to go to RDA Monitor. (You can also go to RDA Monitor using TCode RSRDA)

  • 8/7/2019 RDA_SDN_BLOG

    7/20

  • 8/7/2019 RDA_SDN_BLOG

    8/20

    5. Assign a new Daemon for DataSource from Unassigned node. (Required to start the Daemon)

    6. Assign the DTP to newly created Daemon.

  • 8/7/2019 RDA_SDN_BLOG

    9/20

    7. Start the Daemon.

  • 8/7/2019 RDA_SDN_BLOG

    10/20

    Once you start the Daemon, you can check Open Request in PSA of DataSource or in RDA Monitor under

    InfoPackage also.

  • 8/7/2019 RDA_SDN_BLOG

    11/20

    8. Call RFC from the Source System, which got created when we created DataSource. Check Appendix for

    creating test FM to call RFC from (ZTEST_BW) Source System.

  • 8/7/2019 RDA_SDN_BLOG

    12/20

    9. Under RDA Monitor or PSA table now you can check 1 record under Open Request.

  • 8/7/2019 RDA_SDN_BLOG

    13/20

    When you call RFC from Source System it will take ~ one minute to load it to PSA of DataSource.

    Once the record will come to PSA Table, RDA Daemon will create new open request for DTP, and update the

    data into Data Target at the same time.

  • 8/7/2019 RDA_SDN_BLOG

    14/20

    You can see Open request in RDA Monitor for DTP, and Record to be cleared from Records in Upload, it

    means record is already updated into Data Target.

    You can also check the status of DTP Monitor:

    Check the data in DSO activated data table or in the manage request tab of DSO.

  • 8/7/2019 RDA_SDN_BLOG

    15/20

    10.Close the Request. You can manually close the request also, it will create new request for the sameInfoPackage. It is required for performance reason even though its not a mandatory step.

  • 8/7/2019 RDA_SDN_BLOG

    16/20

    11.Stop the Daemon Load. Even though the Daemon will run under sleep mode all the time, and once the

    request will come from source system it will start working automatically. In General practice we dont needto close the Daemon, but if it is required by any chance you can.

  • 8/7/2019 RDA_SDN_BLOG

    17/20

    AppendixCreate Test FM to call the RFC in BI system. (I am using RFC for testing purpose you can also use Web Service)Below is the FM that will get created automatically on BI side when we activate Web Services DataSource.

  • 8/7/2019 RDA_SDN_BLOG

    18/20

    It takes Import parameter as a Table Type, which is linked to Line Type Structure.

    Structure in Line Type contains the basic parameters as fields what we added in DataSource.

  • 8/7/2019 RDA_SDN_BLOG

    19/20

    We have to create Structure with the same parameters in SAP System to call this RFC FM.

    Create FM (ZTEST_BW) and call BI RFC of Web Services DataSource from here.

  • 8/7/2019 RDA_SDN_BLOG

    20/20

    FUNCTION ZTEST_BW.

    *"----------------------------------------------------------------------

    *"*"Local Interface:

    *"----------------------------------------------------------------------

    DATA : l_data LIKE ZCQZFI_GL_00001000 ,

    lt_data LIKE STANDARD TABLE OF l_data .

    l_data-BUKRS = '3620' .

    l_data-FISCPER = '2006' .

    l_data-BELNR = '100039090' .

    l_data-BUZEI = '01' .

    l_data-STATUSPS = '0' .

    l_data-KTOPL = 'FHS1' .

    h