BW reporting from APO live cache

It has been 4 years since I have worked on a BW/APO project.  Back then, I know that in APO you could backup live cache and then use the backup as the datasource for reporting in BW.  Is this still the same or can you go directly against live cache now. 
Thanks,
Dean

Hi Somnath,
Can you pl. give me the reference where running reports from internal APO-BW directly is recommended by SAP?
We have a similar situation with our client. It is possible to do reporting from APO cubes directly, but we are not sure since I found this in once of the SAP presentations
SAP recommends for customer to prepare separate systems for APO and BW.
Reasons
The APO system will be tuned for optimal APO functionality performance such as calculating forecasts in demand planning or deriving ATP values
The BW system will be tuned for optimal query performance in order to return results in a timely fashion.

Similar Messages

  • How to identify records deleted in APO live cache while loading into ODS

    I am doing FULL load of data everday for APO DP from APO live cache into a ODS. Users at time delete some data from DP planning area. This subsequently needs to get deleted from the ODS.
    How can I identify records that were deleted by the user and mark them as deleted in the ODS?
    Note that the extractor only returns records that exist currently in the Live Cache.
    Thanks for your help.

    Hi Jr,
       I need your help again to fix the below problem please.
       I have a query on Infoset with two ODS and linked with  BillingDoc which exists in both ODS.
       Sales Doc & Billing Doc Fields are in ODS1 and  Billing Doc & Amount are in ODS2.
      If matching BillingDoc is found in ODS2 then report should have Combined data (Sales Doc, Billing Doc & Amount), otherwise just Sales Doc & Billing Doc from ODS1 only. 
    Tried Inner Join and it gets only matching records. 
    Left Outer join with ODS1 on left side or Right side doesn't get the requested report.
    I found in SDN that with Left Inner join we could get all data from ODS1 and Matching data from ODS2.
    How could I get my requested data, PLEASE ?
    Thanks,
    Venkat.

  • APO Live cache

    Hi guru's,
             i just wanted to know what live cache means? How do  we mention live cache? If an APO person says that "data is stored in live cache " what does it mean? How do we extract data from live cache?
    I will be very thankfull to you all if i get this answers.
    Thanks a Lot
    Regards,
    Raja

    Hello Raja,
    For SAP liveCache documentation in English:
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm  
    ( please see the liveCache terms 'Data Cache' & 'OMS Data' ) 
    As you know objects in liveCache stored in the class containers can be                          
    accessed and manipulated only via LCA ( liveCache Applications ) routines
    ( Database Procedures ) which are methods of LCA ( COM ) objects.
    The registration of the LCA routines is done automatically when the liveCache
    is started by the LC10, check the lcinit.log file.                                 
    The shared ( dynamic linked )procedures in the LiveCache are written in C++                          
    and shipped to the customers as binary shared libraries ( dynamic linked )                            
    (COM-Routines or LCA-Routines) together with the LiveCache. The original                           
    C++ source code of the libraries is not generally available to the customers.                                                                               
    You can get the complete list of the stored procedures using SQL Studio
    (shipped with the LiveCache):                                     
    just connect to the LiveCache as Standard livecache user ( SAPR3 or SAP<LC-SID>
    By default ) with the password 'SAP'( default ).                                                                
    You can read the Config-Files ./sapdb/<LC name>/db/sap/xxx.lst                 
    or check the information in the lcinit.log file.                                                                               
    Names of all registered procedures, which have been called from ABAP, you can find
    executing 'lc10' transaction on your SAPAPO system:                                             
    LiveCache Monitoring ->Problem Analysis -> Database Procedures .                                        
    If you need to see the interfaces of the procedures, you may use 'se80'
    transaction and navigate in the Development class '/SAPAPO/OM'.                                                                  
    The transaction /n/SAPAPO/OM16 is provided by SAP to get                                             
    information about data stored in the LiveCache. If you                             
    would like to get your own views, you should write a special report                
    in ABAP using "/SAPAPO/OM"-development class functionality.                        
    '/SAPAPO/OM16' itself calls a bunch of OM- functions to read                       
    data from the LiveCache, e.g.:                                                     
    /SAPAPO/OM_RESOURCE_GET_ALL                                                        
    /SAPAPO/OM_ORDER_GET_ALL                                                           
    /SAPAPO/OM_SETUPMATRIX_GET_DAT                                                     
    /SAPAPO/OM_STOCK_GET_BY_UID 
    You can get more information about liveCache and LCA object at the following links:                                    
    Service.sap.com/scm ( -> mySAP SCM Technology )
    Service.sap.com/liveCache
    Thank you and best regards, Natalia Khlopina
    Message was edited by: Natalia Khlopina

  • Hi having a problem upgrading SCM 4.1 APO Live Cache

    Hi I am new to SCM and I came into a project that was already started, I am doing a SUM upgrade and its at the upgrade of Live Cache I need to run the report /SAPAPO/OM_LC_UPGRADE_70 and perform all steps in section A. when I try to run the report it comes back "No shared library for the database with ID LCA" I checked LC10 and saw in the Settings that the database is still pointing back to the source system it was copied from. Like I said I walked into this in the middle the they are upgrading from SCM 4.1 to 7.0EHP3 on SQL 2012 and Windows 2012 so they built the 2012 Vm installed the Central services and when they installed the DB it was an attach / detach method and I installed the DB instance. Question should any of the file directories have come with the attach db there are no sapdb in the directories do I just install the live cache and that installs the maxdb and makes the directories /sapdb/ because I see them in the source system? I tried installing the live cache that came with the original system but it had errors.

    Hi All,
    I went ahead with Option 0 and it asked me for Kernel file and i provided the files.
    I checked logs in /sapdb/wrk directory and i see that Installation of SAP livecache finished successfully.
    From LC10 i gave database connection name (LCA) and clicked on live cache monitoring and it comes back with an error
    Name and Server : LCA - XXXXXXX (XXXXX = Server Name)
    DBMRFC Function: DBM_EXECUTE
    Command: dbm_version
    Error: DBM Error
    Return Code : -4
    Errror Message: database instance not found.
    Application Server:  XXXXXX                     ( Windows NT )
      1. Connect. test with "dbmcli db_state"
         Error! Connection failed to node XXXXXXX for database LCA: database instance not found
         External program terminated with exit code 2
      2. Connect. test with command mode "dbmrfc db_state"
         Name and Server     : LCA - XXXXXXX
         DBMRFC Function     : DBM_EXECUTE
         Command             : db_state
         Error               : DBM Error
         Return Code         :         -4
         Error Message       : database instance not found
      3. Connect. test with session mode "dbmrfc db_state"
         Name and Server     : LCA - XXXXXXXX
         DBMRFC Function     : DBM_CONNECT
         Error               : DBM Error
         Return Code         :         -4
         Error Message       : database instance not found
      4. Connect. test with "native SQL"  ( LCA )
         For detailed information, see the developer trace for work process:          1
    From the OS level i gave command dbmcli db_enum and i get OK as reply.
    Can someone please let me know how to resolve this issue.
    Regards,
    Ershad Ahmed.

  • Deleting orders from Live Cache

    Hi Gurus,
    Is there any way where we can delete orders directly from Live cache?
    I have a situation where Process orders are present in R/3 and not available in APO. It shows up in the CCR report, but when we push them it gets stuck in the queue with the error Order Type 6 and 'A table entry exists with this Secondary Key'.
    I verified these orders in OM16 transaction and these orders are available there, but I am unable to view them in RRP3. When I check in Tcode: OM19 this is availavble in ORDMAP Object.
    Is there any way I can delete them from directly Live cache ? or how can I make both the systems sync?
    Thanks in advance.
    Regards,
    Murali.

    Hi
    Check the following
    1)Use this Program /SAPAPO/DELETE_PP_ORDER and make sure the check box LV_EXECU is ticked and specify the time period of the orders. Becuase some times without specifying the above it will not display the details
    2) Use the Program /SAPAPO/RLCDELETE and execute. I'm not sure on this. But you can try
    3) Tell me- This Process orders are created in R3 and ciffed to APO or it got converted in APO from Planned order to Production order. Pls look at the origin of Process orders
    Hope this helps
    regards
    Vijay

  • ( very urgent ) read data from bw to live cache

    hi,
         i am very mew to APO LIVE CACHE. i need to read the data from BW to LIVE CACHE for forecasting. i now the transaction lc10 and lc11. but the problem is i need to know where i have to give the BW cubes or BW information into LIVECACHE.
    WOULD APPRECIATE UR HELP.
    RGS,
    SUGUNA.S

    Try TCode/SAPAPO/TSCUBE or Program /SAPAPO/RTSINPUT_CUBE
    Regards
    Krishna Chaitanya.P

  • Is Live Cache System refresh required with APO refresh

    Hi APO Experts:
       I have a question concerning the refresh of an APO QAS system. \
       If I have an APO system refreshed from a production APO system, is it required that I refresh the Live Cache as well?
       We have just refreshed our APO QAS system from production and I was thinking it could be easier to just reinstall a new database for Live cache in QAS then refreshing it from production Live Cache......
    Please share your words of wisdom. Thanks! - Will S.

    Hi Will,
    I think LiveCach refresh with production is not required. But you need to down the LC and then start it.
    LiveCach is a temporary storage area and it will refresh with database.
    I suggest please post this in BASIS forum.
    Regards,
    Kishore Reddy.

  • Unable to delete Order does not exist in live cache but in table POSMAPN

    Hi Experts,
    We are facing an issue where purchase order is not available in live cache (which means no GUID) but exists in database table POSMAPN. We have tried to delete it using standard SAP inconsistent order deletion program and also using BAPI BAPI_POSRVAPS_DELMULTI but not able to delete it.
    Can anybody suggest a method by which we can get rid of this order from the system.
    Thanks a lot.
    Best Regards,
    Chandan

    Hi Chandan,
    Apologize me for taking your question in a wrong perspective. If you want to delete the same then you need to Re-CIF the order from ECC so that it would come and sit in Live Cache. Once done, try using the BAPI.
    If you are not successful with the above approach try running the consistency report /SAPAPO/SDRQCR21 in APO system
    so that it first corrects the inconsistency between ECC and APO (Live Cache + DB tables) and then use the BAPI to delete the PO.
    Not sure if you have tried this way. If this does not solve your purpose you need to check SAP Notes.
    Thanks,
    Babu Kilari

  • Clarification on details regarding getting data from APO into BW

    Hi Friends,
    I need some clarification in terms of getting data from APO into BW for reporting:
    I observed that SAP has provided standard data flows for PPDS module, where as for the Demand Planning and Supply Network Planning SAP has just provided some standard InfoCubes ex: 0APO_C07, 0APO_C10, 0APO_C11, 0APO_C12.
    Which makes me believe that for Demand Planning and Supply Network Planning we need to generate DataSources from the Planning books in DP & SNP and build our own custom data flows. In that case what is the use of above mentioned InfoCubes provided by SAP?
    Also in my current project the client has built a custom DataSource on top of a Planning Book in DP and created custom data flow in BW for reporting and also created a Back up cube in APO.
    My question on this is, what is the use of this Back up cube in APO, what is the need to maintain two same cubes in two different systems?
    My next question is, I have installed complete data flow for 0APO_C02 (Orders Data) in BW and loaded data. In SAP documentation it says when we try to load data for a particular date range using this InfoSource (0APO_PPDS_ORDER_01), it directly loads data from the live cache.
    Is there a way to know if the data is coming from Live Cache or from APO server, can we get data from live cache for 9A*** Datasources also, which we create on planning books in DP and SNP?
    Any comments and Info will be greatly appreciated. Thanks!

    Hi Sunitha, thanks for your inputs. So does that mean for Demand Planning and Supply Network Planning, SAP has not given any standard DataSources because it makes more sense to build DataSources from the planning books as each company has their own planning strategies based on how they do there business. Right?
    And for these modules there is no other way rather than generating DataSources from Planning Books and build the Data Flows based on it. Right?
    Also these generated DataSources i.e. 9A**** pull data from live cache itself right or is there any setting that we need to enable for it to get data from live cache?
    Thanks again for your valuable inputs hope to get answers to above questions as well.

  • Data movement from R/3 DB to APO DB and to Live cache

    Dear APO Experts,
    I have few questions on live cache and how it works, I understand that Live cache is memory resident database. below are my questions.
    1) What sought of data move from R/3 DB to APO DB and then to Live cache DB
    2) When data moves from APO DB to Live cache, till how much duration that data stays in live cache
    3) And how does data gets pulled in to live cache from APO DB
    4) Why do we require live cache logs while data never gets commited to hard disk
    5) Do we ever add a datafile to Live cache DB
    any info that you provide on this will be really helpfull to me
    Thanks,
    Chetan

    Hello Chetan,
    As you know, itu2019s MAXDB/liveCache forum.
    What is the version of your system?
    The is documentation available at:
       SAP liveCache technology
    < Please review document u201CWhat is SAP liveCache technology?u201D >
    Sap documents at service.sap.com/scm -> Technology:
    u201CliveCache overviewu201D and u201CIntegration overviewu201D
    For SAP liveCache documentation also see the SAP note 767598.
    Go to SAP link Best Practices for Solution Management: mySAP SCM at   SAP liveCache technology ...
    And Review the document u201CManage APO Core Interface in SAP APO (3.x) / mySAP SCM (4.x/ 5.0)u201D
    1. As you saw in the reference documents the data transferred from the connected R/3 system to APO.
    And the transactional data could be uploaded to the liveCache, if you downloaded them
    to the APO database cluster tables first. This procedure steps are running during the
    system upgrade < for example, from SCM 5.0 to SCM 7.0 ) u2013 report /SAPAPO/OM_LC_UPGRADE_70 steps. Or you want to migrate the          
    liveCache to another operating system or convert your system to Unicode,  
    and therefore you want to back up the liveCache data first so that you    
    can reload it into the liveCache afterwards - SAP Note No. 632357.                              
    2. Could you collaborate more on this sentence. Could you give examples?
    3.  u201CAnd how does data gets pulled in to live cache from APO DBu201D
        The data are not pulled from the APO DB to liveCache.
         When you changed the APO data on the system the LCA procedures have been called from ABAP. The objects stored in the class containers in liveCache can be accessed and manipulated only via LCA routines. The registration of the LCA routines is done automatically when the liveCache is started by the LC10. The LCA procedures in the LiveCache are written in C++                          
    and shipped to the customers as binary LCA libraries(LCA build) together with the LiveCache.
    < See more details in SAP Note No. 824489 or 1278897 as of SCM 7.0 >
    4. See the SAP notes:
                   869267     FAQ: SAP MaxDB LOG area
                 1377148     FAQ: SAP MaxDB backup/recovery
    5. You could run the quicksizer & estimate how much data you are planning to have in liveCache.
         Also the amount of data could be increased by the creation of the new data in APO by users
         Or another reason u2026
         In general you will add the datavolume to solve or prevent the DB_FULL issue,
         See u201C17. What do I do if the data area is full? u201C in SAP note 846890.
    Thank you and best regards, Natalia Khlopina

  • ST22 timeout for all LC related transactions  LIVE cache start stop working from LC10

    Hi Team
    we are a getting a  ST22 timeout for all LC related transactions  LIVE cache start stop working from LC10
    LC version 7.9
    OS AIX
    SAP SCM 7
    SDBVERIFY giving the following error
    Checking package Redist Python
    Checking package Loader
    Checking package ODBC
    Checking package Messages
    Checking package JDBC
    Checking package DB Analyzer
    ERR: Failed
    ERR: Checking installation "Legacy" failed
    ERR: Group of directory /sapdb/data/config/install changed [0 =>
    sdbregview -l is showing good.
    any idea what might went wrong.
    trying to use sdbverify -repair_permissions , but not sure about the exact syntax to use.
    and it is not related to timeout parameter, we tested with different timeout values, but still the same error.
    thanks
    Kishore Ch

    Hello Kishore,
    you could check the sizing of the liveCache data.
    * Report  /SAPAPO/TS_LCM_REORG_SNP has checks  of the SNP planning areas for superfluous objects.
    * Delete old/temporary APO data.
    * /SAPAPO/TS_LCM_REORG report checked TS superfluous objects.
    If you didn't create the planning versions, copy of planning versions & data load to liveCache, then create the SAP message to check your system on the question of the dataarea usage.
    If you have the long running APO transactions => performance of the SCM system has to be checked.
    If you have the bottleneck in liveCache & could not solve the case by yourself => create the SAP message to BC-DB-LVC and get SAP support.
    Best regards, Natalia Khlopina

  • LIve cache and why BW in apo

    helo  sap masters
    could u plz help me out ..
    1. Why should we maintain LIVE Cache separately despite of having in APO tool.???
    2. Why should we have BW in APO too in spite of having BW tool seperately ??

    Hi Dallyanusha,
    1) Livecache is a special inbuild device in APO which does
    speedy operations especially during optimisation and retrives
    data quickly from database.   For effective functioning of
    planning activities, livecache in APO is must.
    2) BW in APO serves and stores information on business
    master data and transactional data objects and can be
    extracted to create various queries and reports.   This is
    more useful during demand planning
    Regards
    R. Senthil Mareeswaran.

  • Data fetch from live cache

    How can I retrieve data from live cache?This is in Demand Planning : SCM APO.
    Please suggest ways.
    Thanks & Regards,
    Savitha

    Hi,
    some time ago I worked on SAP APO.
    To read live cache, you first have to open a SIM session.
    You can do this as shown in this function module:
    FUNCTION ZS_SIMSESSION_GET.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(IV_SIMID) TYPE  /SAPAPO/VRSIOID
    *"  EXPORTING
    *"     REFERENCE(EV_SIMSESSION) TYPE  /SAPAPO/OM_SIMSESSION
    CONSTANTS:
      lc_simsession_new       TYPE c LENGTH 1 VALUE 'N'.
    DATA:
      lt_rc                   TYPE /sapapo/om_lc_rc_tab,
      lv_simsession           LIKE ev_simsession.
      IF NOT ev_simsession IS INITIAL.
        EXIT.
      ENDIF.
    *--> create Simsession
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_22 = lv_simsession.
    *--> create transactional simulation
      CALL FUNCTION '/SAPAPO/TSIM_SIMULATION_CONTRL'
        EXPORTING
          iv_simversion            = iv_simid
          iv_simsession            = lv_simsession
          iv_simsession_method     = lc_simsession_new
          iv_perform_commit        = space
        IMPORTING
          et_rc                    = lt_rc
        EXCEPTIONS
          lc_connect_failed        = 1
          lc_com_error             = 2
          lc_appl_error            = 3
          multi_tasim_registration = 4.
      IF sy-subrc > 0.
        CLEAR ev_simsession.
    *   error can be found in lt_rc
      ENDIF.
    * return simsession
      ev_simsession = lv_simsession.
    ENDFUNCTION.
    Then you can access the live cache.
    In this case we read an order (if I rememver correctly, it's a plan order):
    DATA:
      lv_vrsioid                  TYPE /sapapo/vrsioid,
      lv_simsession           TYPE /sapapo/om_simsession.
    * Get vrsioid
      CALL FUNCTION '/SAPAPO/DM_VRSIOEX_GET_VRSIOID'
        EXPORTING
          i_vrsioex_fld = '000'  "By default
        IMPORTING
          e_vrsioid_fld = lv_vrsioid
        EXCEPTIONS
          not_found     = 1
          OTHERS        = 2.
    CALL FUNCTION 'ZS_SIMSESSION_GET'
          EXPORTING
            iv_simid      = iv_vrsioid
          IMPORTING
            ev_simsession = lv_simsession.
      CALL FUNCTION '/SAPAPO/RRP_LC_ORDER_GET_DATA'
        EXPORTING
          iv_order      = iv_orderid
          iv_simversion = iv_vrsioid
        IMPORTING
          et_outputs    = lt_outputs
          et_inputs     = lt_inputs.
    If you change something in your simsession, you have to merge it back afterwards, so that your changes become effective.
    You can do this like that:
    * Merge simulation version (to commit order changes)
      CALL FUNCTION '/SAPAPO/TSIM_SIMULATION_CONTRL'
        EXPORTING
          iv_simversion                = lv_vrsioid
          iv_simsession                = lv_simsession
          iv_simsession_method         = 'M'
        EXCEPTIONS
          lc_connect_failed            = 1
          lc_com_error                 = 2
          lc_appl_error                = 3
          multi_tasim_registration     = 4
          target_deleted_saveas_failed = 5
          OTHERS                       = 6.
    I hope this helps...

  • Why we need live cache along with RDB in APO

    Hello Expert,
    I recently entered to APO module so want to know about live cache and why we really need comparing to RDB and what RDB cannot do that live cache can do?

    SRS,
    Functionalities are pretty much the same.  LiveCache is a relational Database, built on MaxDB.
    Advantage of LC is that most of the data is stored in memory rather than on disk storage.  Data access and retrieval is substantially faster from memory than from disk storage.
    Best Regards,
    DB49

  • Read AMON1 from live cache

    HI Gurus,
    I want to read AMON1 data from live cache.Could you guys help me in this.
    Regards

    CALL FUNCTION '/SAPAPO/OM_ALERTS_GET_DATA'
    EXPORTING
    is_gen_params     = ls_gen_params
    iv_simsession     = lv_simsession
    it_peglist        = lt_pegid
    it_alertid        = lt_alertid
    IMPORTING
    et_alerts         = lt_alerts
    et_rc             = lt_rc
    EXCEPTIONS
    lc_connect_failed = 1
    lc_com_error      = 2
    lc_appl_error     = 3
    OTHERS            = 4.
    There is a new book on Programming in SAP APO. You might want to check that out.
    http://www.flipkart.com/programming-sap-apo-1st/p/itmdgt9hbdh6auzu?pid=9781259028441&ref=bc49ea80-1a9b-403b-b9b7-9cf00d7f05db&srno=s_1&otracker=from-search&query=ankush%20agrawal

Maybe you are looking for

  • OIM 11g -  AD Organization Recon "missing expression" error

    Hi, I've got an environment with a OIM 11.1.1.5.2 installed with MSAD user management connector version 9.1.1. Provisioning to Active Directory works just fine out of the box, however, we've run into a problem with the Organization Reconciliation Job

  • E3000 severe drop in speed from ethernet connection to wireless

    I have an E3000 connected to COMCAST. My download speed with an Ethernet connection to my computer (Windows 7) is just over 60Mbbs. When I connect to the internet using wireless only (computer adjacent to the router), my download speed drops 50% or m

  • USB microphone not working with AudioPublisher

    Hi, I have a voice chat feature in my application, in which I use AudioPublisher and AudioSubscriber. The code is almost identical to the Audio.mxml example coming with the SDK. I have a 'start voice chat' button that starts voice chat. The problem I

  • IOS 7 App Store is BROKEN!

    Well, Stupid Me won out over Sensible Me and I downloaded. Received several notifications that I had apps which required updating, so I attempted to download. "Download failed". This is for ANYTHING downloaded from the App Store NOT just updates! THE

  • Co-existing roles for Airport Express??

    I travel alot and routinely use my Airport Express to create a wireless network in hotels. Can I also establish a second "profile" which would see it as a range extender to my home network?