Live cache data deletion

Hi Friends,
We are facing one strange problem with our Live cache.
We have DP data in Livecache. due to some reasons planning results are corrupted.
So we have deleted time series for DP planning area and recreated time series.
Here what we found is even after deletion and recreation of time series for planning area still
the key figure data exists in live cache and can see in interactive planning book.
Can some one please give some hints what went wrong.
Any other Live cache related programs or jobs need to run to get rid of the problem?.
Regards
Krish

Hi Thomas,
You are right. after running /SAPAPO/TS_PSTRU_CONTENT_DEL all CVCs for the POS are deleted
and there are 0 CVC left.
but again i have Generated CVCs from Infocube (possibly same old combinations are generated since the infocube is same).
Now i have initialized planning area and then accessed the selection id in interactive planning.
Surprisingly still i can see key figure values in planning book.
Here are steps what i did:
1. Deleted time series for PA (de initialization)
2. Deleted CVCs from POS
3.Deactivated POS and reactivated POS
4.Generated CVCs again from Infocube
5.Created time series for PA (re initialize)
6.Loaded selection id in interactive PB.
7.Still i can see key figure data for loaded CVCs.
Some how the data is not getting cleaned in livecache inspite of doing above steps.
data might be stored superfluously in live cache.
I want to know any additional reports are available to get rid of  these kind of issues.
Regards,

Similar Messages

  • In which table is the Live cache data stored?

    Hi experts,
       I am new APO .Can anyone let me know in which database table will the Live cache data be stored?
    Thanks in advance
    regards
    Ashwin.

    Hello Ashwin,
    the idea of the liveCache is to haev data permanently and quickly available without having to read/write from/to database. Therefore, the liveCache is <b>NOT</b> a physical database, it is a program in C++ that <i>simulates</i> a database and holds the data in the memory.
    However, it does need so called liveCache-anchors which are saved on the database, and which are similar to pointers.
    However, you can extract data from liveCache using BADIs or by creating a datasource on a planning area (for DP and SNP), manipulation can also be done only by BADIs or sophisticated programming (which basically uses RFCs).
    I hope this answers your question.
    Regards,
    Klaus

  • Approach when the used Live cache data area crosses the threshold

    Hi,
    Could any of you please let me know the detailed approach when the used Live cache data area crosses the threshold in APO system?
    The approach I have as of now is :
    1) When it is identified that data cache usage is nearly 100%, check for hit rate for OMS data in data cache in LC10 .Because generally hit rate for OMS data in data cache should be atleaset 99.8% and Data Cache usage should be well below 100%.
    2) To monitor unsuccessful accesses to data cache choose refresh and compare value now and before unsuccessful accesses result in physical disk I/O and should generally be avoided.
    3) The number of OMS data pages (OMS Data) should be much higher than the number of OMS history pages (History/Undo).A ratio of 4:1 is desirable. If OMS history has nearly the same size as OMS data, use Problem AnalysisPerformanceOMS versions to find out if named consistent views (Versions) are open for a long time. Maximum age should be 8hrs.
    4)If consumption of OMS heap and data cache is large, one reason may be a long running transaction simulation that accumulates heap memory and prevents the garbage collector from releasing old object images.
    5) To display existing transactional simulations in LC10,use Problem AnalysisPerformanceOMS versions and SM04 to find out user of corresponding transaction and may be required to cancel the session after contacting user if the version open for long time..
    Please help me by providing additional information on the issue.
    Thanks,
    Varada Reddy.

    Hi Mayank, sorry, one basic question - are you using some selection criteria during extraction? If yes, then try extraction without the selection criteria.
    If you maintain selection based on, let's say, material, you need to use the right number of zeros as prefix (based on how you have defined the characteristic for material) otherwise no records would be selected.
    Is this relevant in your case?
    One more option is to try to repair teh datasource. In the planning area, go to extraction tools, select the datasource, and then choose the option of repair datasource.
    If you need more info, pls let me know.
    - Pawan

  • Detailed approach when the used Live cache data area crosses the threshold

    Hi,
    Could any of you please let me know the detailed approach when the used Live cache data area crosses the threshold in APO system?
    The approach I have as of now is :
    1) When it is identified that data cache usage is nearly 100%, check for hit rate for OMS data in data cache in LC10 .Because generally hit rate for OMS data in data cache should be atleaset 99.8% and Data Cache usage should be well below 100%.
    2) To monitor unsuccessful accesses to data cache choose refresh and compare value now and before unsuccessful accesses result in physical disk I/O and should generally be avoided.
    3) The number of OMS data pages (OMS Data) should be much higher than the number of OMS history pages (History/Undo).A ratio of 4:1 is desirable. If OMS history has nearly the same size as OMS data, use Problem AnalysisPerformanceOMS versions to find out if named consistent views (Versions) are open for a long time. Maximum age should be 8hrs.
    4)If consumption of OMS heap and data cache is large, one reason may be a long running transaction simulation that accumulates heap memory and prevents the garbage collector from releasing old object images.
    5) To display existing transactional simulations in LC10,use Problem AnalysisPerformanceOMS versions and SM04 to find out user of corresponding transaction and may be required to cancel the session after contacting user if the version open for long time..
    Please help me by providing additional information on the issue.
    Thanks,
    Varada Reddy.

    Hi Mayank, sorry, one basic question - are you using some selection criteria during extraction? If yes, then try extraction without the selection criteria.
    If you maintain selection based on, let's say, material, you need to use the right number of zeros as prefix (based on how you have defined the characteristic for material) otherwise no records would be selected.
    Is this relevant in your case?
    One more option is to try to repair teh datasource. In the planning area, go to extraction tools, select the datasource, and then choose the option of repair datasource.
    If you need more info, pls let me know.
    - Pawan

  • Upload PRODUCTION live cache data to QUALITY live cache

    Hi experts,
    We have gotten a request for an estimate on how long time it will take to take data from SCP to SCQ.
    It is data from the Livecache in production that is needed in quality livecache also.
    We have a backup cube(ZFCST_BC) where we can take out the data in an OpenHUB.
    And then we would probably need to use this file as a datasource and load it into a cube(maybe ZFCST_BC).
    Is there an easier way to do this and how to approach to achieve above solution.
    Regards
    Venuscm

    Venuscm,
    Are you talking about a subset of LC data, or are you talking about all LC data?  If it is a subset, then exactly which data will be subject to this process?
    Much LC data must be synchronized with table data.  Attempting to load the wrong data in the wrong way will only result in a quality system that is un-usable.
    The most reliable way to load Prod LC data into Qual is to follow SAP's recommendations, using 'System Copy'.
    https://service.sap.com/sap/support/notes/886103
    Best Regards,
    DB49

  • Accessing the planning cache data (In IP)

    Hello...
    I need a help in retreiving the live cache data.
    while we are using the transactional cube everytime we need to switch into planning mode and while loading we need to switch to load mode.
    Is there any other way to access the IP cache data.
    Appreciate any suggestions....
    Regards,
    Pari.

    Hi Parimala,
    Custom Planning Functions can be created using the transaction RSPLF1. Give a technical name and click on create button. It will ask for a class name to be attached with the function type. The class should be created in SE24 transaction. The implementation of the class will be in object oriented ABAP, where you will write the implementation logic in class methods.
    The custom planning function so created is available for usage when you create a planning function attached with an aggregation level. You can see it in the drop-down list of all the function types.
    You can refer to the standard function type for delete (0RSPL_DELETE) which will give you an idea on how a the class is implemented.
    The link provided by Marc above is helpful :
    http://help.sap.com/saphelp_nw70/helpdata/en/43/332530c1b64866e10000000a1553f6/frameset.htm
    Also, go through this how to guide:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0ac03a4-e46e-2910-f69d-ec5fbb050cbf
    Hope this helps you.
    Regards,
    Srinivas Kamireddy.

  • Some concern about Live cache Homogeneous System copy

    Hi All,
    I need to do the Homogeneous system copy SCM 5.0 / Live cache 7.6.00 on AIX. Following are the Source and target System SID for Live cache. Moreover I had check the respective SAP note 457425 and 877203 but still having some concern.
    Source System
    Live cache SID           =      SCD
    Live cache user ID      =      SAPSCD
    Live Database instant software owner = scdadm
    Live cache Data Size      =  8 GB ( 4 Data volume / 2 GB each / auto extend off)
    Target System
    Live cache SID           =      SCT
    Live cache user ID      =      SAPSCT
    Live Database instant software owner = sctadm
    Live cache Data Size      =  4 GB ( 2 Data volume / 2 GB each / auto extend off)
    For same I having following concern.
    1.     Since there is difference between source system and target system size / data volume number what action I need to take on target system. Do I need to add two more data volume into the target system?
    2.     After complication of database restore on target the system do I need to change the Live cache user ID (i.e. SAPSCD to SAPSCT)?
    or
    It is just fine to change the log on data in “Integration” tab in LC10.
    Please let me know some more information on same.
    Thanks,
    Harshal

    Hello Harshal,
    "1. Since there is difference between source system and target system size / data volume number what action I need to take on target system. Do I need to add two more data volume into the target system?"
    Please pay attention to the SAP note :: 457425    Homogenous liveCache copy using backup/restore
    Please update the thread withy additional information ::
      What is the version of the source liveCache? What is the version of the target liveCache?
      How much data do you have in the source liveCache?
    And you need to have the size data area of the target liveCache to be able to restore the databackup created in the source liveCache.
    So by the size of the data volumes in the source liveCache, it's not clear how much data you have.
    "2. After complication of database restore on target the system do I need to change the Live cache user ID (i.e. SAPSCD to SAPSCT)?"
    Please review the SAP note 877203.
    You could rename the user SAPSCD to SAPSCT using the SAP note 877203 steps
    OR
    You could have the user SAPSCD in the target liveCache as Standard liveCache user &
    After you run the homogenous liveCache copy using backup/restore procedure you need
    to change the LCA/LDA/LEA connection with user SAPSCD on target system and
    set the user SAPSCD to the user containers  ( please see the SAP note 616555 for more details )
    Before to restart the liveCache in LC10.
    PS: Please pay attention about the value of the liveCache parameter _UNICODE.
          What are the values of this parameter in the source & target liveCache?
    Thank you and best regards, Natalia Khlopina

  • 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.

  • 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

  • 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...

  • Data storage in Live Cache

    Hi,
         Can some1 explain me how the SNP data is stored in the live cache.
    I know it's by series of order. But tell me is there any mapping involved in it?
    Thanks,
    Siva.

    Order series data is used by both SNP and PPDS.
    While I do not know the exact way data is stored in liveCache the following helps me to explain and understand.
    Each record in liveCache for Order Series data is stored as
    Location Product combination-ATP Category-Quantity-Time Stamp.
    Unlike Timeseries data CVC is replaced by a location product combination only, keyfigure is replaced by ATP Category (each kind of Order elements has its own ATP Category) and Time Bucket is replaced by actual Time Stamp (in UTC ddmmyyyyhhmmss format).
    The mapping is essentially with ATP Category which maps to corresponding MRP elements in ECC or R/3.
    In the SNP Planning Area for each keyfigure the Category Group defines the grouping of ATP Categories for which orderseries data will be displayed in that particular keyfigure.
    Hope this helps.
    Thanks,
    Somnath

  • 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

  • ( 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

  • 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

  • MRP Data from Live Cache

    Hi
    Please let me know the FM/BAPI which will get me the MRP data from Live cache.
    My requirement is to get the date and quantity for each element, MRP elements to be used are VC,VE,LF based on the plant and material
    Thanks in advance
    Amit

    Hello Sebastian,
    FM '/SAPAPO/OM_PEG_CAT_GET_ORDERS' seems to cover my requirements and I'm happy I found out about it here. Unfortunately I have some problems testing with SE37:
    Specifying only PEGID together with needed categories was not successful. Searching for calling programs of this FM I found FM '/SAPAPO/ATP_DISP_LC_SINGLE' which additionally sets parameter IS_GEN_PARAMS-SIMVERSION to '000' and receives the correct values.
    Now I have the problem that with setting the same input values I still receive exception 'LC_APPL_ERROR' and don't know why. Since I'm new to APO it could be some basic setting, still I'm wondering why this could be. Hopefully you can provide some helpful information, otherwise I think I'm lost
    Thanks in advance,
    eddy

Maybe you are looking for

  • Can I use Mac Pro for a server?

    I hope this is the right place to ask this.... I have an older Mac Pro G5 (10.5.8) Desktop.  I cannot update it past Leopard. So now I have a newer MacBook Pro.  I was wondering if I could utilize my old Mac Pro as some sort of "server"? It has the o

  • Is there a way to move mp3s back from the iPod?

    I can transfer to my ipod fine, however I had removed a good deal of my music from my PC hard drive as I had it on my ipod. Is there an easy way to move select music back from my ipod to my PC hard drive?

  • Shared Contacts and Categories issue

    I have a user JohnDoe who shared his contacts with user B and user C. User JohnDoe has uniquely categorized all of his contacts. User B can see all of the shared JohnDoe categorizations properly. User C cannot see any of the unique categorizations of

  • System Preferences - Web Sharing...

    I've enabled Web Sharing and have been using it without issues, but recently (within the last week) I noticed that in the Web Sharing properties, where is usually displayed the "computer's website" and "personal website" url's as being "http://ip add

  • Adobe Download assisstant (erreur 101)

    Bonjour lors de mon téléchargement de photoshop Cs5 version d'évaluation l'assisstant me dit erreur 101 -_- J'ai vraiment besoin de photoshop J'utilise Windows 7 Home Premium 64bit Merci d'avance !