Consictency Check liveCache - APO DB

Hello,
I have a question and hopefully one of you knows the answer or has an idea, where I can find the answer.
In SAP APO we have the transaction /N/SAPAPO/OM17 to do a livecache consistency check. If there are inconsistencies, we will have the possibility to click the button "Correct All Inconsistencies" to correct them.
In my situation we are running the consistency check as a background job every night. The program name is /SAPAPO/OM_SYNC_LC_DB. Do we have the possibility to customize, that the job also correct inconsistencies as far as there are some.
Thanks in advance for help.
Greetings, Chris

Hi Chris,
I dont think there is any option of auto correction.
But you can run the job in background and than go to transaction and load the result by "button evaluate last background job "and correct inconsistecy.
Manish

Similar Messages

  • Issues with Analysis Authorization checks in APO

    Hi Friends,
    I am facing an issue with Analysis authorization checks in APO.
    We have setup user access based on Management Entity (Analysis authorization - AGMMGTENT and 0TCAACTVT) and core APO authorizations (based on the work profile - e.g: Demand Planner).
    Scenario: Consider User A has access to India and Australia Management Entities with 0TCAACTVT - *
    This user also has display access to all management Entities (AGMMGTENT - * and 0TCAACTVT - 03). This scenario works very well in Quality where the RSECADMIN trace shows check on both Characteristics. However in Production the RSECADMIN trace shows up only against AGMMGTENT (*) and by default takes 0TCAACTVT as (*).
    In Quality the Characteristics that get checked are as below : and it works as expected. Display access for Management Entities that are supposed to be displayed only and change access to only the Management Entities that it should.
    However the Trace for Production shows the following : As a result it is allowing the user to change access to all management Entities. Which is not desirable..
    Resultant trace results are as below: This should not happen..
    I have compared all Analysis Authorizations and it is same across both Instances. The Demand planner access is consistent too..
    Will it be possible for you to advise on what could I be missing.

    Hi All,
    If it helps, in Quality: the Authorization checks are listed as: Subselection (Technical SUBNR) 1
    while in Production it checks Subselection (Technical SUBNR) 1 in one place, however where it fails - the check happens as Subselection (Technical SUBNR) 0.
    Is there a way we can change this to SUBNR 1. Is there any table entry that I can look at to check if the Authorization check is functioning incorrectly..
    Please advise.. Thanks..
    Regards,
    Prakash

  • Error BM311 during Model Consistency Check in APO

    Hi APO Experts
    I find error BM311 - Units of different dimensions cannot be converted during Model Consistency Check in APO.
    How can I get to know the code or Unit of Measure, where the inconsistency is there to rectify?
    Please suggest.
    Thank you.
    Pradipta Sahoo

    Hi Pradipta,
    Can you check below notes:
    943543
    928502
    837310
    Regards,
    Mukesh Pandey

  • To Turn OFF ATP check in APO-GATP Instead do locally in ECC.

    Dear SAP Friends,
    Currently for Sales orders & Deliveries, we have ATP Check (Allocation Check + Product Check) happening in APO-GATP. We would like to turn-off ATP check in APO-GATP, instead want to do only Inventory Check in ECC locally.
    We want to do above for few particular model/plant combinations and not for all model/plant combinations. Meaning APO-GATP will still be used for many other APO relevant Model/Plant combinations.
    What are the changes required to CIF Integration models u2013 Salesorder+ATP Check, or any other IM. Any changes specific to material master in ECC - like MRP Controller, ATP Group, Strategy Group or any config changes on APO side.
    Please guide me with stepwise instructions.
    Appreciate your help.
    Thank
    Satish
    Edited by: SatishW on Jun 18, 2010 9:33 PM

    Hi Satish ,
    I am not an expert on GATP but logically what I can suggest following steps :
    1.As you want ATP check to happen in APO for few codes, you will have to Select/Tick 'Material Independant Object' - ATP Customization in CIF IM , so that ATP customizing settings are transferred to APO from ECC.
    2. But at the same time you need this ATP check to happen in ECC locally and not in APO for certain products, then in other CIF IM you have to select 'Material dependant objects '- ATP Check where you can set the filter/exclusion on those codes so that the ATP check does not take place in APO.
    3. Also like as R/3's backorder processing, in order itself you can set as the ATP check to occur in R/3 and not in APO.
    Hope this helps...
    Regards,
    Digambar

  • Global ATP Check vs APO

    Hello All,
    Two questions about the Global ATP check :
    1. Could i get documentation about this functionnality? How does it work? What does the Global ATP check allows us to do?
    2. Is it possible to get the Global ATP check without APO?
    Thanks for your answer.

    Christophe
    The end objective of GATP is the same as that of regular ECC ATP - provide customers with committed dates and quantities. Having said that, GATP provides a HUUUGE improvement in functionality compared to the ECC ATP check - for example, rules based ATP check for product/ location substitution, multi-level ATP check, capable-to promise, etc.
    Because of these dramatic improvements in functionality, GATP has the potential to do a lot more than order promising - depending on the business requirement, it can reduce inventory, improve customer service, improve fill rates, ....
    GATP is executed in the APO system and is a module of APO. Best place to start with documentation is SAP help.
    Rishi Menon

  • Scope of check in APO

    Hi,
    Can anyone explain me the catogories in scope of check in APO. What happens if I add the catagory in scope of check. I would like to know the meaning of the below catagories .
    ProdRes
    PrdRes (W)
    PrdRes (N)
    MatRes(WN)
    OrdRes
    OrdRes (W)
    The below sdn links explains each and every parameter used in ECC6(OPJJ).
    http://wiki.sdn.sap.com/wiki/display/ERPLO/Availabilitycheckingin+SAP
    I am looking for similar one for APO
    Thanks in advance
    Purushotham

    Hi Purushotham,
    Just goto the customizing for ATP groups:
    SPRO
    SAP - Implementation Guide
    Advanced Planning and Optimization
    Global Available-to-Promise (Global ATP)
    General Settings
    Maintain Category
    Here you find a short description of each ATP group. You can add one of these elements to the scope of check and next time you run a ATP check, this element will be considered for calculating the cumulated ATP quantity.
    hope this helps.
    br,
    Michael

  • Problem in avilability check in APO while delivery

    Hello APO guru,
    we have created new material and we also have GATP setup .
    i have created two orders with different order type.
    One is normal order and one is free of charge order.
    In order avilability check done correctly.
    But when we try to deliver normal order its allowing to create delivery but when we try to create delivery for free of charge order its not allowing us to go in to delivery.
    Its saying 0 qty available.
    But QTY is there.
    when we try to debug we have found when its going in avilability of APO its comming with 0 qty.
    during debuging we have found that when in apo its going into SAPATP_PAC_CHECK its not comming with QTY but in case of normal order its comming with confirmed qty.
    in both the case material is same customer is same.Just order type is different,item category diff.
    Could you please let me know where should i check in GATP for this.

    Hi Nisha,
    As you have mentioned that you are using different sales order type & item category, please chck whether for the sales document type where you are facing the prbolem, under item category (in spro, SAP Customizing Implementation Guide , Sales and Distribution , Sales , Sales Documents , Sales Document Item , Assign Item Categories) item usage APO1 & APO2 has been assigned or not.
    Many a times due to item usage not maintained correctly can give such problem.
    Regards,
    Chetana

  • Consistency checks in APO

    Can anybody please explain the reasons for doing the
    1.Model consistency check
    2. Re-org Consistency check(/SAPAPO/TS_LCM_REORG)
    What would be the frequency for these consistency checks?

    Okay I'll try and keep the answer simple:
    1) The model consistency check results in an overview of the (in) completeness of the master data
    objects within the model concerned. Missing data (for example, coordinates of a location are
    initialised) will be displayed by error, warning or information messages. It can be checked and – if
    necessary – be corrected from the log. Should be done when maintaining master data or after
    activating the integration models (master data transfer).
    2) For Time Series the memory consumption in the liveCache increases because of superfluous time series if the master data containing the time series information is deleted or removed from the planning version model. This report removes these superfluous data and tidies up livecache. Should be run daily.
    For more info on consistency checks (mostly SNP and related) see the following document:
    [Internal and External Consistency Checks|https://websmp203.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000330202007E]
    Regards
    Ian

  • ATP check for delivery in ECC & Sales order ATP check in APO

    Hi All,
    Can we do an ATP check for delivery in ECC , but for the same set of Materials- Plant combination , the ATP check when a SO is created should happen in APO .
    We do not want to remove the Business event 'B'  which is meant for delivery in  APO . For some materials we need APO ATP check to happen for delivery   & for some it should be in ECC  & for SO  the ATP check should happen in APO .
    Even if we do not have check instructions pertaining to Business event 'B' & a particular check mode (for the materials where the ATP check for delivery should happen in ECC & SO check to happen in APO)  , when we are doing an ATP check for delivery , it is still pointing to APO ATP check rather than ECC check .
    Any pointers for this is highly appreciated.
    Regards
    Surendra

    Hi Surendra,
    For SO, business event is A and for delivery it's B. When integrated with ECC, the check rule in ECC points as biz event in APO.
    You can control ATP check by customized settings for check rule in ECC.
    Also, by setting requirement class and requirement type in ECC, you control check mode in APO. So, even if you dont define for check mode in APO, the system might refer from ECC for the ATP check settings. Look into your ECC customization for how requirement class is derived and settings for requirement type. (based on MRP type, strategy grp and Item cat).
    I'm not sure how you can control ATP to happen for some sales orders/deleveries in ECC and for some in APO, since check mode is mentioned in material master.
    However, there are ATP BADIs (business add-ins) available in both ECC and APO, whch can serve your purpose.
    Regards,
    Bipin

  • Difference in Material availability date for ECC ATP check & for APO ATP check in the same order

    Hi Gurus,
    I have a question: on what basis material availability date is calculated in forward scheduling?
    Eg:
    For a customer GR hours are maintained in unloading point calendar in customer master and Customers are not CIF'ed across to APO.
    GR hours are maintained for weekdays from 8:00 to 12:00 & 1:00 to 6:00.
    In a sales order with two line items with Requested date today & plenty of stock on hand for two products( ECC & APO) where line 10 (product 1) triggers ECC ATP check & line 20 (product 2) triggers APO ATP check at same location (loc1).
    RDD is today, material availability date for ECC ATP check (line 10) is today (working as expected) but where as the material availability date for APO ATP check (line 20)is pushed to next day by which for the same customer there are different delivery dates. And two delivery notes will be created & truck will be on road at different times for the same customer which is unacceptable.
    What am I missing here to get the material availability date as today for forward scheduling? Please guide me on this.
    Thanks,
    Nihar

    Hi Nihar
    Though the logic you mentioned makes sense. I am confused here with the data you have provided:
    UTC day
    UTC time
    CET day
    CET time
    UTC+6 day
    UTC+6 time
    RDD
    30/04
    17:24
    30/04
    7:24
    30/04
    23:24
    MAD
    30/04
    17:24
    30/04
    7:24
    30/04
    23:24
    Lod/GI
    02/05
    17:24
    02/05
    7:24
    02/05
    23:24
    Del
    12/05
    17:24
    12/05
    7:24
    12/05
    23:24
    Del
    13/05
    1:00
    13/05
    3:00
    13/05
    8:00
    Load/GI
    05/05
    1:00
    05/05
    3:00
    05/05
    8:00
    MAD
    02/05
    1:00
    02/05
    3:00
    02/05
    8:00
    In the first row, the difference in RDD in UTC and UTC+6 is 6 hours. However, in the last three rows I can see the difference between UTC time and UTC+6 time is 7 hours. Would you know the reason to this? Also, in the first four rows, CET time = 7:24 which should had been 19:24. Please correct me if I am missing something here.
    Thanks,
    Parth Soneji

  • Authorization Issue: authority-checks in APO are only warnings

    Dear Experts,
    How can we provide display access to transaction /SAPAPO/BOD001 in SAP APO system.
    I have created a test role only with the transaction  /SAPAPO/BOD001
    and made inactive the all the authorization object except s_tcode.
    when user is executing the transaction getting message not authorized to change
    but when clicking ok in the message, screen is navigated to create or change the BOD
    Also user is able to delete the BOD
    user is assigned with only this test role, no other roles assigned.
    please advise what can be done to provide only display access to BOD.
    Regards
    Suneetha
    Edited by: Suneetha Anand on Apr 28, 2011 12:52 PM
    Edited by: Julius Bussche on Apr 28, 2011 2:44 PM
    Subject title improved...

    Hi,
    Transaction: /SAPAPO/BOD001  : Maintain BOD is for maintain purpose only.
    Below transactions are available for display purpose:
    /SAPAPO/PROD2BODDISP Display Assignment-> Products to BOD    
    /SAPAPO/PROD_DISP    Display Products Assigned to a BOD
    These transactions can be used for the display purpose.
    It is not possible to provide display only access using transaction: /SAPAPO/BOD001 without customizing it.
    Regards,
    Sandip.

  • OM17 issues: Resources and Prod Alloca

    Dear Gurus,
    I'd like to seek your help on how to resolve the following errors in our Q system.
    After running OM17 > Consistency Check LiveCache - APO DB, i had 2 errors that cannot be correct by the tool.
    What should i do in order to correct the following inconsistencies, please help.
    Field entries are unequal (Message Number: /SAPAPO/OM_SYNC006)
    Incoming orders quantity cannot be adjusted (Message Number: /SAPAPO/OM_SYNC082)
    Please refer to the screen shots below.
    TIA!
    Zeke

  • Problems with liveCache in APO

    Hi experts,
    I have an issue with regards to liveCache in APO and I hope someone can help me.
    Whenever I try to create a Planning Version within a Model (via transaction /SAPAPO/MVM) the following
    error message is provided: "General error in model / version management planning".
    Through some research I found a document that makes the following recommendation: "Sometimes when you work in a multi-client system, you maybe encounter the following error message: "General error in model/planning version management". This error is due to the fact that in LiveCache the planning version already exists but it cannot be found on database. As a remedy, you have to remove this inconsistency by using the transaction /SAPAPO/OM17. For detailed information, please refer to SAP Note 519014."
    Then, as recommended, I tried to execute the transaction /SAPAPO/OM17. But when I tried to execute this transaction another error message was released: "Connection to liveCache failed. Message no. /SAPAPO/OM000".
    Moreover, the result of the transaction /SAPAPO/OM13 ( Analyze liveCache and LCA Objects ) shows the following errors and warnings:
    Item
    Check
    Connection to LCA
    with errors
    liveCache Stat. from LCA - ???
    with errors
    liveCache Initialization - 001
    with errors
    Old simulation versions
    with warnings
    /sapapo/om_reorg_daily - 001
    with errors
    /sapapo/om_delete_old_simsess
    with errors
    /sapapo/om_lcaalerts
    with errors
    Number of LC Sessions - 0
    with errors
    Thanks in advance for help.
    Greetings,
    Francisco Fonseca.

    Hi sai balakavi,
    initially, thanks for the fast help.
    As suggested, the issue was escalated to the BASIS team and the procedure chosen was as follows:
    Shutdown SAP APO and liveCache (ECC + SE6) services
    Shutdown DB Oracle (ORCL + ECC + APO + SE6) services
    Logs verification
    Restart server
    Restart SAP APO and liveCache (ECC) services
    Restart DB Oracle (ORCL + ECC + APO + SE6) services
    However, the previous problems still persist. So, in order to get more information about the problem, I exported a full report (at the end of this message) on the result of the transaction /SAPAPO/OM13 ( Analyze liveCache and LCA Objects ).
    Is there any other action to be taken in addition to shutdown and restart of liveCache services?
    Thanks in advance for help.
    Greetings,
    Francisco Fonseca.
    EXPORTED REPORT
    Versions
    Current ABAP SP          : LCAPPS 2005_700: patch 0003
    Import Date of SP        : 28.09.2006
    Import Time of SP        : 17:14:18
    Runtime Environment Vers.:
    liveCache Connection     : titanidas-LCA
    Module     ReleaBuildPatch OpSys      Change  DLL Date    Size      D
    Number of LCA Routines   :                                            0
    dbsdbslib                : (Cannot determine) Patch
    SQLDBC Release           :
    Times
    Application Server       : 16.10.2008 06:00:16
    liveCache Server         :
    LCA Object               :
    Checks
    liveCache Connection LCA : X                                OK
    liveCache Connection LDA : X                                OK
    liveCache Connection LEA : X                                OK
    Connection to LCA        :                                  ERROR
    liveCache Status from LCA: ???                              ERROR
    liveCache Initialization : 001                              ERROR
    Number of Active Traces  :                             0    OK
    Number of Active Checks  :                             0    OK
    No. of Old Trans. Sim.   :                             0    Warning
    Initialize Follow-Up     :                                  ERROR
    /sapapo/om_reorg_daily Scheduled Daily: 001                 ERROR
    /sapapo/om_delete_old_simsess scheduled regularly:          ERROR
    /sapapo/om_lcaalerts Scheduled Daily:                       ERROR
    Number of Work Processes :                            13    ERROR
    Number of LC Sessions    :                             0    ERROR
    RFC Connections          :                                  OK
    Clients with Errors      :                                  OK
    MAXLOCKS                 :                             0    Warning
    OMS_HEAP_LIMIT           :                             0    Warning
    OMS_HEAP_THRESHOLD       :                             0    Warning
    OMS_VERS_THRESHOLD       :                             0    Warning
    REQUEST_TIMEOUT          :                             0    Warning
    Critical Logging Event   :                                  OK
    Network
    Server titanidas
    Client titanidas
    Thu Oct 16 06:00:52 2008
    ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection re
    *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 1916
        (SI_ECONN_REFUSE/10061; I4; ST; 172.16.28.148:3298) [nixxi.cpp    27
    *** ERROR => NiTClientLoop: NiHandle (rc=-10) [nixxtst.cpp  2839]
    *  ERROR       partner '172.16.28.148:3298' not reached
    *  TIME        Thu Oct 16 06:00:52 2008
    *  RELEASE     700
    *  COMPONENT   NI (network interface)
    *  VERSION     38
    *  RC          -10
    *  MODULE      nixxi.cpp
    *  LINE        2770
    *  DETAIL      NiPConnect2
    *  SYSTEM CALL connect
    *  ERRNO       10061
    *  ERRNO TEXT  WSAECONNREFUSED: Connection refused
    *  COUNTER     1
    Process died with exitcode -1
    Current Messages
    knldiag - Start
    Error when reading the KNLDIAG file
    knldiag - End
    Error Messages
    knldiag.err - Last Message
    knldiag.err - Last Initialization
    knldiag.err - Last Start
    Log Initialization
    lcinit.log - Start
    Error when reading the LCINIT.LOG file
    lcinit.log - End
    Logging for Log - /SAPAPO/OM11
    Date       Time     Event      Cl. Message
    Data Cache
                        Pages              Megabyte
    Cache Sizes                 0                  0
    OMS Data                    0                  0
    OMS History/Undo            0                  0
    SQL Data                    0                  0      Used (%)
    Overall                     0                  0            0,00
    Accesses       Hit Rate (%)            Overall         Failed
    OMS Data                 0,00                       0            0
    OMS History/Undo         0,00                       0            0
    SQL Data                 0,00                       0            0

  • ATP Check: R/3 and APO

    Hi All,
    My Query related to an Earlier Post (GATP:  Unable to check ATP (in GATP)  when creating sales order in R/3).
    I would like to change the settings for ATP Check from APO system to R/3, I.E, the ATP Check for Business Rule should be triggered in R/3 and not in APO.
    In the earlier post,  inputs were provided for the following:
    - Activation of ATP in external system: this is done in SPRO in the data transfer section.
    - Another common point is cheking rule: In SPRO see that your business event(SO) is enabled for ATP check.
    As per my information, the 'ATP Check' tick is possible at the level of Checking Group and Schedule Line Category in R/3
    Could someone please provide inputs as to where in SPRO can we check the above 2 points mentioned?
    regards,
    Sudhir

    Hi Sudhir,
    The following are the points where changes are required for ATP check in APO.
    The presumption is that there already is a active CIF connection.
    1)  MRP type of the material has to be 'XO'
    2)  Define an integration model for ATP checks of those materials.
    3)  Define Checking Group.  SPRO  ->  S&D   ->  Basic Functions  ->  Availability Check  -> Availability check with ATP logic.(Here you define 02 - individual requirement)
    4)  Define Check Control:  the path is same. (Note that the combination of 02 & A is added)
    5)  Define Requirement Class: the path is same. Here you put the availability check tick. Use 050 & check availability check & transfer of requirement for them.
    6) Next you define procedure for the schedule lines.( hope this is what you were looking for.
    7)  Go to SPRO  -> integration with other SAP components  -> APO  -> Basic settings for data transfer  ->  Change Transfer  ->  Change Transfer for master data  ->  Activate change pointers Generally     and tick it.
    You are now ready to for ATP of SOs from R/3 in APO.
    All setteings required in APO for GATP is clearly mentioned in APO help docs.
    Sure it will work for you.
    All the best
    Regards
    Santanu Dawn

  • Urgent : Availability check in CRM sales order using APO system

    Hi,
    When we create sales order in CRM while entering vendor in the line item alongwith product and quantity, it goes for a Quantity Allocation check in APO system. Is there any standard BADI or User Exit to receive the information from APO to CRM system, so that using that we can provide the error msg in case of order quantity is more than with the allocated quantity.
    Thanks in advance.
    Kartavya

    Hi,
    You can use BADI CRM_AV_CHECK_APO_01 for the purpose.
    You can make use of any of the 2 methods of this badi:
    CHANGE_APO_RESULT_CRM_FORM   
    CHANGE_APO_RESULT_NATIVE_FORM
    kindly reward with points if helpful
    sharif.

Maybe you are looking for