Table inconsistencies after EHP4 Upgrade

Hi Experts,
Weu2019re setting up ALE from Production to Development as well as some manual copy of table content.
We have completed the ALE setup, but we have an issue with the table content copy.
Some SAP tables have changed after Development was updated with EHP4.
To be more specific,we have identified some tables ,which will need to be exported from Production (content only) via a transport, and then imported into Development.
If we just try to export/import these tables, the transport will most likely fail, and if it doesnu2019t, there may be data inconsistencies
If we just copy the data as is some fields would be left out unpopulated, potentially causing inconsistencies.
I need your suggestion for best course of action.

Hi,
Is your development and production are on different Support pack level ? If yes, then this is normal and table structure will differ.
why you need to export tables from production to development ?
Thanks
Sunny

Similar Messages

  • Mass structure and table Inconsistencies after upgrade

    Hi all,
    I'm on an upgrade project upgrading system from R/3 4.6 to SAP ECC 6.0 EHP4. After the upgrade, apparently there's a mass inconsistencies that happen in the table. There's at least 1000 table which can be activated because of this inconsistencies between runtime and DDIC based on the checking run using program RUTMSJOB.
    I've tried applying note 1248769 but it does not fix the problem. I've also tried the mass checking and activation feature of report RUTMSJOB which also does not fix the problem.
    Has anybody encounter this problem before? What's your solution on this problem?
    Here's the pic of the condition of the table in my SE11
    http://img683.imageshack.us/i/64131370.jpg/
    Here's the inconsistencies which is found:
    http://img375.imageshack.us/i/47550099.jpg/
    Kindly note that the same error happen even after I implement the note correction 1248769.
    Thanks
    -Suwardi-
    Edited by: Suwardi Nursalim on Jul 9, 2010 9:40 AM - Change pic link.

    Hello Suwardi,
    please inform which actions you took in SPDD and SPAU - this is key for a problem like yours.
    Did you have a transport request ready with modifications from a previous upgrade? Please check these notes:
    #68678:   Exporting modification adjustment for second upgrade
    #610311: Importing modification adjustment in second upgrade from 620
    Lastly, did you run the upgrade with latest sapup version AND latest upgrade fix?
    Now in order to fix the problem, you'll likely have to restore from backup and perform the upgrade again. Alternatively, please check note #1406740 (are you using IBM's DB2 as your database?). If you faced the problem described on this note (which points to errors in table DD03L during EU_IMP2 phase), you need to apply FP8 like on this note.
    Then you could proceed like the following to fix the problem:
    1. Restore the backup from phase MODPROF immediately before the downtime including the /usr/sap/P01/upg/abap directory
    2. reset the Upgrade with report RSUPGRES
    3. clear the upgrade directory
    4. Start the upgrade from the very beginning after installing Fix Pack 8 for your database.
    Please let us know if this helped.
    Tomas Black

  • Upgrade HR component after EHP4 upgrade

    Hello,
    Recently we did a upgrade from R/3 4.7x110 to ECC 6.0 EHP4 using CUUC method. For EHP4 in the MOPZ we selected some 5 usage types where HCM self services or Self services (XSS) was not selected. Now after the upgrade we hav SAP_HR in release 600 and level 045 and EA_HR is also in same level.
    Right now we are trying to configure MSS and found business functions related to HCM are
    missing in the backend system also when we tried to customize the Report launch pad we did not get the tab in SPRO. Can we solve this problem by upgrading SAP_HR and EA_HR to 604 release or we should add all the HCM related Technical usage types into the system to get them activated.
    Because as per the link below we are not having the correct version for
    SAP_HR and EA_HR.
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/HOWTOGETRIDOFSPSTACKMISMATCHISSUES
    Please find the ERP EHP stack and SPS levels we are in at present:
    ERP Stack:16
    EHP:04
    EHP Stack:05
    We have PORTAL on NW 700 EHP1 SPS05.
    Regards,
    Yoganand.V

    Hi,
    > We will proceed and upgrade SAP_HR to 604, but the addon EA-HR also needs to be upgraded to EA-HR 604 and for this we >have to upgrade to EA-HR 601 and then go to 604, please share your thoughts on this.
    As per EHP terminology, EHP packages are cumulative so when you will donwload all the packages from MOPZ, it will take care of all dependencies and download the file accordingly. Please check below extract from Technical FAQ guide:
    We would like to clarify this without using the term "cumulative", as this term could
    potentially be ambiguous:
    u2013 You can install EHP4 for SAP ERP 6.0 in one step on 64-bit platforms without having
    installed EHP3 before.
    u2013 Every EHP version includes the content of any previous EHP versions. For example,
    you cannot install EHP4 without getting the content of EHP3 and EHP2 as well.
    u2013 Technically, SAP has started to deliver EHP software packages as delta packages with
    EHP4 for SAP ERP 6.0. Thus, your EHP4 installation queue will contain EHP4 and
    EHP3 packages if you have not already installed EHP3. However, all these packages
    should be installed in one step on 64-bit platforms.
    > Also before upgrading SAP_HR do we need to take backup of any tables related to HR, but right now in our system we >are not using HR.
    Its not required as you are not using HR module earlier.
    Thanks
    Sunny

  • Oracle Follow-Up activities after EHP4 Upgrade

    Hi!
    I am currently executing the EHP4 Upgrade for SAP ERP 6.0 with Oracle.
    After doing so I need to execute several oracle specific actions
    Can some one give me technical documentation for the following actions:
    1) Delete all empty Tablespaces
    Question: How (SQL commando) can I identify which of my tablespaces are empty?
    2) Tablespace "PSAPSR3700" should be released/deallocated
    Question: what does it mean? 
    3) Load generation ???
    Any helpful information will be very appreciated
    Jürgen

    > 1) Delete all empty Tablespaces
    > Question: How (SQL commando) can I identify which of my tablespaces are empty?
    You can check that using brtools.
    > 2) Tablespace "PSAPSR3700" should be released/deallocated
    > Question: what does it mean? 
    The sources are in PSAPSR3701 with EHP4 so that old tablespace is no more needed.
    > 3) Load generation ???
    Yes -run SGEN.
    Markus

  • Poor System performance after EHP4 upgrade

    Hello Experts,
    We have just finished our Upgrade to EHP4 for ECC6 system. After the upgrade we are noticing awfully slow system response time.
    My SGEN is currently executing and it's showing another 45 hours before it is finished.  Are there specific post Upgrade activities that I am missing? Once I try to perform some action it takes ages to compile the program. I undesratand that since SGEN is not run yet so it will need some time to compile and generate load for the application but still the response is takinng agaes before I see the actual Application/Program active in GUI.
    Please suggest what I can do to boost up my system performance.
    Thanks,
    M

    Hi Sunny,
    Another Update
    I looked at SAP Note 146289 - Parameter Recommendations for 64-Bit SAP Kernel
    Following is the recommnedation:
    Implement the SAP profile parameters as follows:
    em/initial_size_MB 1024 up to 1TB (note 835474)
    em/blocksize_KB 2048, 4096 or 8192 (note 835474)
    ztta/roll_first 1
    ztta/roll_area 6500000
    The deafult value of the following parameters is 2000000000 (2GB).
    They can be changed depending on the HW (RAM) and the configured
    SWAP Space:
    ztta/roll_extension 2000000000 (2GB)
    abap/heap_area_dia 2000000000 (2GB)
    abap/heap_area_nondia 2000000000 (2GB)
    abap/heap_area_total 2000000000 (2GB)
    But same SAP Note refers for windows:
    For Windows 64Bit recommendations see note 88416:
    As per this note recommendations are as follows:
    Standard values for zero administration memory management
    [HS] = size of the physical main memory
    [PM] = value of the profile parameter PHYS_MEMSIZE (standard value=[HS])
    [BE] = maximum possible number of users (calculated from [PM])
    Profile parameter
    Standard 32-bit
    Standard 64-bit
    Unit
    em/initial_size_MB
        [PM]
        [PM]
    Mbyte
    ---    em/max_size_MB
    ---    20000
    ---   100000
    Mbyte
    em/address_space_MB
        512
       4096
    Mbyte
      ztta/roll_first
        1
        1
    Byte
    ---    ztta/roll_area
    ---  2000000
    ---  3000000
    Byte
    ztta/roll_extension
    2000000000
    2000000000
    Byte
    abap/heap_area_dia
    2000000000
    2000000000
    Byte
    abap/heap_area_nondia
    2000000000
    0
    Byte
    abap/heap_area_total
    2000000000
    [PM]*1048576
    Byte
    -    rdisp/ROLL_MAXFS
    [BE] * 100
    [BE] * 100
    8KB Block
    ---    rdisp/ROLL_SHM
    [BE] * 100
    [BE] * 100
    8KB Block
    ---    rdisp/PG_MAXFS
    ---    32768
    ---                          32768
    8KB Block
        rdisp/PG_SHM
    [BE] * 50
    BE] * 50
    8KB Block
    PLease note that ours is a 64Bit kernel for WIndows 2003
    x86_64
    So is it ok to change the value of abap/heap_area_nondia  ?
    Thanks,
    M

  • ABAP Dump After EHP4 Upgrade "SYNTAX_ERROR"

    Hello
    I performed ERP ECC 6.0 to EHP4 upgrade. System is working fine, Support Package stacks at maximum level, kernel, tp and R3trans is up-to-date. Only problem is I am getting "SYNTAX_ERROR" every minute. What could be the reason?
    Runtime Errors         SYNTAX_ERROR                                                            
    Date and Time          15.03.2010 16:10:28                                                                               
    Short text                                                                               
    Syntax error in program "CL_HTTP_SERVER_NET============CP ".                                                                               
    What happened?                                                                               
    The following syntax error occurred in the program                                        
          CL_HTTP_SERVER_NET============CP :                                                       
         "Method "SET_SSO_MANDATORY" is not declared or inherited in class "CL_H"                                                                               
    What can you do?                                                                               
    Please eliminate the error by performing a syntax check                                   
         (or an extended program check) on the program "CL_HTTP_SERVER_NET============CP           
    You can also perform the syntax check from the ABAP/4 Editor.                             
         If the problem persists, proceed as follows:                                                                               
    Error analysis                                                                               
    The following syntax error was found in the program                                       
          CL_HTTP_SERVER_NET============CP :                                                       
         "Method "SET_SSO_MANDATORY" is not declared or inherited in class "CL_H"                                                                               
    Information on where terminated                                                                   
        Termination occurred in the ABAP program "SAPLHTTP_RUNTIME" - in                              
         "HTTP_DISPATCH_REQUEST".                                                                     
        The main program was "SAPMHTTP ".                                                                               
    In the source code you have the termination point in line 124                                 
        of the (Include) program "LHTTP_RUNTIMEU02".                                                                               
    Source Code Extract                                                                               
    Line  SourceCde                                                                               
    94     ELSE.                                                                               
    95 *                                                                               
    96 * create a server control block for internal communication type of ICF                      
        97 *                                                                               
    98       CREATE OBJECT c_server_par TYPE cl_http_server_par.                                   
        99       c_server_par->set_local_server_name(                                                  
       100                       EXPORTING name = client_name                                          
       101                       EXCEPTIONS name_already_exists = 1 ).                                 
       102       c_server    = c_server_par.                                                           
       103 *      server_type = 2.                                                                     
       104                                                                               
    105 * insert server to server instances, only in case of stateful session                       
       106       server_instances-server      = c_server.                                              
       107       server_instances-client_name = client_name.                                           
       108     ENDIF.                                                                               
    109   ENDIF.                                                                               
    110                                                                               
    111 *                                                                               
    112 * create server control block, if not happen before                                             
       113 *                                                                               
    114   IF c_server IS INITIAL.                                                                       
       115                                                                               
    116     IF NOT server_accepted IS INITIAL AND                                                       
       117 *           server_accepted_type = 1.                                                           
       118        server_accepted->m_server_type =                                                         
       119            cl_http_server=>co_servertype_net.                                                   
       120 *   use last server object created for stateful communication                                   
       121       c_server_net ?= server_accepted.                                                          
       122     ELSE.                                                                               
    123 *   create a server control block for network communication type of ICF                         
    >>>>>       CREATE OBJECT c_server_net TYPE cl_http_server_net.                                       
       125     ENDIF.                                                                               
    126 *   accepted server control block called via network                                            
       127     c_server    = c_server_net.                                                                 
       128 *    server_type = 1.                                                                               
    129 * register network server for HTTP auto logout (timeout handler )                               
       130     server_accepted_org = c_server.                                                             
       131   ENDIF.                                                                               
    132                                                                               
    133 * for local execution use VIRTUAL_HOST parameter                                                
       134   IF NOT document_in IS INITIAL.                                                                
       135     cl_http_server=>c_virtual_host = virtual_host.                                              
       136   ENDIF.                                                                               
    137                                                                               
    138 *                                                                               
    139 * register accepted server control block for responses of network                               
       140 * server_accepted is used in function modules HTTP_CONFIRM_USERSWITCH                           
       141 * and HTTP_GET_CURRENT_SERVER_CB                                                            
      142 *                                                                               
    143   IF server_accepted IS INITIAL.                                                                               
    Internal notes                                                                               
    The termination was triggered in function "ab_genprog"                                         
         of the SAP kernel, in line 1584 of the module                                                  
          "//bas/701_REL/src/krn/runt/abgen.c#6".                                                       
         The internal operation just processed is "ABOO".                                               
         Internal mode was started at 20100315161028.                                                   
         Program name.........: "CL_HTTP_SERVER_NET============CP ".                                    
         Error message........: "Method "SET_SSO_MANDATORY" is not declared or inherited                
          in class "CL_H".

    Hello Kaan,
    Please try this workaround:
    1) se24
    2) put the class name "cl_http_server_net"
    3) create a new method "SET_SSO_MANDATORY"
    as instance methid and "visibility" private
    Regards
    Niraj
    Edited by: Niraj Kumar Soni on Mar 15, 2010 8:24 PM

  • Business functions to be activated after EHP4 upgrade

    Hi All,
    I have recently upgraded ECC 6.0 to EHP4.The following technical usages were selected during download.
    Financial Services,Financial Supply Chain Management and Financials.
    Please let me know what all business functions that are to be activasted.
    Do I have to activate business functions for EHP2 and EHP3 as well.Below are the BFs for our usage types.
    Business Function                           Technical Usage                         EHP
    /IBS/EAFS_RBD_BUSOPR                           Financial Services                          4
    EAFS_BCA_BUSOPR                           Financial Services                          4
    EAFS_CML_LOANS_POOLING                Financial Services                          4
    FICAX_BILL_INVOICING                           Financials                                                4
    FICAX_CI_1                                                Financials                                                2
    FICAX_CI_2                                                Financials                                        4
    FIN_FSCM_CCD_INTEGRATION               Financial Supply Chain Mgmt     4
    FIN_FSCM_INTEGRATION                           Financial Supply Chain Mgmnt     2
    FIN_TRM_CORR_FW                           Financial Services          4
    FIN_TRM_INS_HM                           Financial Services          4
    FIN_TRM_LR_FI_AN                           Financial Services          3
    FIN_TRM_LR_FI_AN_2                           Financial Services          4
    FIN_TRM_PSM_INTEGRATION      Financial Services          4
    INS_FSSR_CI_1                           Financial Services          3
    INS_FSSR_CI_2                           Financial Services          4
    INS_FSSR_I18N                           Financial Services          4
    Out of the above FICAX_BILL_INVOICING,FICAX_CI_2,FIN_FSCM_CCD_INTEGRATION,FIN_TRM_INS_HM and FIN_TRM_LR_FI_AN_2 have dependencies like X_CONT or BI_CONT which are not installed on the system.
    I guess I can't activate these business functions.Am I right?
    And I read that only one BF set is activated per one system.I did not find any BF set related to Finance in the drop down list of SFW5 in the system.Please enlighten me on this topic.
    Regards,
    Dinakar
    Edited by: mutnuru dinakar on Mar 8, 2011 1:44 PM

    > Thanks for your reply,as I mentioned the list of BFs are applicable for the 3 technical usages I  had selected during EHP4 upgrade.I need to select out of them.
    I understand your question - however, how should anyone else but you know whether you need the functionality behind them? This is a business decision.
    I suggest you use the documentation (press on the corresponding "i" in SFW5) to see if the business requires the functionality. If yes, enable it, if not, you don't need to enable it.
    Some of those BFs will need a BW/BI to work. You have to decide, whether you need them or not.
    Markus

  • Syntax error in program "CL_HTTP_SERVER=CP " after EHP4 Upgrade

    Hi All,
    Iam getting ABAP dumps after upgrading my system to EHP4  Windows ABAP+JAVA stack,
    Syntax error in program "CL_HTTP_SERVER================CP ".
    Error in the ABAP Application Program
    The current ABAP program "SAPLHTTP_RUNTIME" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program
    "CL_HTTP_SERVER================CP " in include
    "CL_HTTP_SERVER================CM00F " in
    line 15:
    "Field "C_IS_SHOW_SERVER_HEADER" is unknown. It is neither in one of th"
    "e specified tables nor defined by a "DATA" statement. ."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    The current ABAP program "SAPLHTTP_RUNTIME" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
        Please eliminate the error by performing a syntax check
        (or an extended program check) on the program "CL_HTTP_SERVER================CP
        You can also perform the syntax check from the ABAP Editor.
        If the problem persists, proceed as follows:
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        The following syntax error was found in the program
         CL_HTTP_SERVER================CP :
        "Field "C_IS_SHOW_SERVER_HEADER" is unknown. It is neither in one of th"
        "e specified tables nor defined by a "DATA" statement. ."
    Regards
    Uday

    Hi,
    SPDD should be performed before ACT_UPG phase when system prompts you for SPDD. But now you cannot do SPDD phase. All the objects that came during SPDD phase has been resetted to new objects which SAP has delivered with EHP4.
    SPAU you can perform after upgrade and that too with in 14 days when upgrade finished without object key.
    I should suggest you to read upgrade guide on http://service.sap.com/erp-ehp.
    Thanks
    Sunny

  • Problem in automatic PO creation after EHP4 upgrade

    Hi experts,
      We upgraded our system from ECC6.0 to ehp4. When I am trying to use ME59n to create a PO automatically from a PR, I get a dump "Please maintain services or limits". Item category used is either 'B' or 'D'. The same was working fine earlier in ECC6. Could someone help me as to what could be the issue?
    Regards,
    Hema

    Lakshman has explained
    you need to have the source list setup (make sure info record exist) or contract is exist and it is assgned to the source list
    but as per your email the source is determined in the PR that means source are setup properly
    now check the variant of your back ground program of AutoPO
    if the variant is not matching with your PR's than it will not creates the PO
    so create few PR's and test it with ME59N with the background job variant and see how it is going
    some time in the variant let say you have setup the release date but if it is not matching with PR release date than it will not create the PO
    so in short you need to test same varinat online than setup for back ground.

  • After EHP4 upgradation what changes happen in CIN fields

    Dear all
    i am facing problem as we had EHP4 upgrdation after that i am getting a problem in CIN part system is asking ti maintain Chapter id excide details for new as well as old PO for SERVICE procuerment....where its not an exisable...........
    what would be the possible reason for same?
    for service material s/m should ask for excise details

    Dear all
    i am facing problem as we had EHP4 upgrdation after that i am getting a problem in CIN part system is asking ti maintain Chapter id excide details for new as well as old PO for SERVICE procuerment....where its not an exisable...........
    what would be the possible reason for same?
    for service material s/m should ask for excise details

  • Control Code from Material not picked in Sales Order after EHP4

    Hi Gurus,
    We have updated Enhancement Package 4 for one of our client.
    It is observed that the system is not picking the values maintained in Control Code of Material master. We have some pricing condition types maintained using the combination of Control Code and other fields, which are not being determined automatically.
    The data is maintained in J1ID for this material and plant combination and it is also filled in material master.
    Please help.
    Thanks in Advance.
    Regards
    Vamsi.

    Hi Vamsi,
    We are also facing the same issue after EHP4 upgrade. Please let me know how you have fixed that issue.
    Thanks
    Rehan Manzoor

  • EHP4 upgrade from ECC 6.0

    Hi experts,
    We are planning to upgrade to EHP4 from ECC6.0
    We have the following systems installed on non-unicode,
    SAP ECC 6.0
    SAP NETWEAVER 7.0
    SAP SRM 3.0
    Currently, we have customized ESS java webdynpro on our ESS portal, with the EHP4 upgrade and EHP1 on SAP Netweaver 7.0, would there be any implications to the customized ESS iviews ?
    Our ECC 6.0 is on a non-unicode system, is it advisable to take this opportunity to convert to a unicode for scalability aspect ?
    what would be the implications if we remains as non-unicode after EHP4 upgrade ?
    All advices are appreciated !!
    Thanks in advance

    Hi,
    You can find all the relevant information at the below link,
    https://service.sap.com/erp-ehp
    Regards,
    Vishnu

  • Slow table creation after upgrade from 10.2.0.3 to 11.2.0.1 using DBUA

    I've recently completed a database upgrade from 10.2.0.3 to 11.2.0.1 using the DBUA.
    I've since encountered a slowdown when running a script which drops and recreates a series of ~250 tables. The script normally runs in around 19 seconds. After the upgrade, the script requires ~2 minutes to run.
    By chance has anyone encountered something similar?
    The problem may be related to the behavior of an "after CREATE on schema" trigger which grants select privileges to a role through the use of a dbms_job call; between 10g and the database that was upgraded from 10G to 11g. Currently researching this angle.
    I will be using the following table creation DDL for this abbreviated test case:
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA;When calling the above DDL, an "after CREATE on schema" trigger is fired which schedules a job to immediately run to grant select privilege to a role for the table which was just created:
    create or replace
    trigger select_grant
    after CREATE on schema
    declare
        l_str varchar2(255);
        l_job number;
    begin
        if ( ora_dict_obj_type = 'TABLE' ) then
            l_str := 'execute immediate "grant select on ' ||
                                         ora_dict_obj_name ||
                                        ' to select_role";';
            dbms_job.submit( l_job, replace(l_str,'"','''') );
        end if;
    end;
    {code}
    Below I've included data on two separate test runs.  The first is on the upgraded database and includes optimizer parameters and an abbreviated TKPROF.  I've also, included the offending sys generate SQL which is not issued when the same test is run on a 10g environment that has been set up with a similar test case.  The 10g test run's TKPROF is also included below.
    The version of the database is 11.2.0.1.
    These are the parameters relevant to the optimizer for the test run on the upgraded 11g SID:
    {code}
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.2.0.1
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          03-11-2010 16:33
    SYSSTATS_INFO        DSTOP                           03-11-2010 17:03
    SYSSTATS_INFO        FLAGS                         0
    SYSSTATS_MAIN        CPUSPEEDNW           713.978495
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM               1565.746
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED                   2310
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.
    {code}
    Output from TKPROF on the 11g SID:
    {code}
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          4           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.00          0          0          4           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 324
    {code}
    ... large section omitted ...
    Here is the performance hit portion of the TKPROF on the 11g SID:
    {code}
    SQL ID: fsbqktj5vw6n9
    Plan Hash: 1443566277
    select next_run_date, obj#, run_job, sch_job
    from
    (select decode(bitand(a.flags, 16384), 0, a.next_run_date,
      a.last_enabled_time) next_run_date,       a.obj# obj#,
      decode(bitand(a.flags, 16384), 0, 0, 1) run_job, a.sch_job  sch_job  from
      (select p.obj# obj#, p.flags flags, p.next_run_date next_run_date,
      p.job_status job_status, p.class_oid class_oid,      p.last_enabled_time
      last_enabled_time, p.instance_id instance_id,      1 sch_job   from
      sys.scheduler$_job p   where bitand(p.job_status, 3) = 1    and
      ((bitand(p.flags, 134217728 + 268435456) = 0) or
      (bitand(p.job_status, 1024) <> 0))    and bitand(p.flags, 4096) = 0    and
      p.instance_id is NULL    and (p.class_oid is null      or (p.class_oid is
      not null      and p.class_oid in (select b.obj# from sys.scheduler$_class b
                               where b.affinity is null)))   UNION ALL   select
      q.obj#, q.flags, q.next_run_date, q.job_status, q.class_oid,
      q.last_enabled_time, q.instance_id, 1   from sys.scheduler$_lightweight_job
      q   where bitand(q.job_status, 3) = 1    and ((bitand(q.flags, 134217728 +
      268435456) = 0) or         (bitand(q.job_status, 1024) <> 0))    and
      bitand(q.flags, 4096) = 0    and q.instance_id is NULL    and (q.class_oid
      is null      or (q.class_oid is not null      and q.class_oid in (select
      c.obj# from sys.scheduler$_class c                          where
      c.affinity is null)))   UNION ALL   select j.job, 0,
      from_tz(cast(j.next_date as timestamp),      to_char(systimestamp,'TZH:TZM')
      ), 1, NULL,      from_tz(cast(j.next_date as timestamp),
      to_char(systimestamp,'TZH:TZM')),     NULL, 0   from sys.job$ j   where
      (j.field1 is null or j.field1 = 0)    and j.this_date is null) a   order by
      1)   where rownum = 1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.47       0.47          0       9384          0           1
    total        3      0.48       0.48          0       9384          0           1
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          1  COUNT STOPKEY (cr=9384 pr=0 pw=0 time=0 us)
          1   VIEW  (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=6615380 card=194570)
          1    SORT ORDER BY STOPKEY (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=11479630 card=194570)
    194790     VIEW  (cr=9384 pr=0 pw=0 time=537269 us cost=2563 size=11479630 card=194570)
    194790      UNION-ALL  (cr=9384 pr=0 pw=0 time=439235 us)
        231       FILTER  (cr=68 pr=0 pw=0 time=920 us)
        231        TABLE ACCESS FULL SCHEDULER$_JOB (cr=66 pr=0 pw=0 time=690 us cost=19 size=13157 card=223)
          1        TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=2 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
          1         INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
          0       FILTER  (cr=3 pr=0 pw=0 time=0 us)
          0        TABLE ACCESS FULL SCHEDULER$_LIGHTWEIGHT_JOB (cr=3 pr=0 pw=0 time=0 us cost=2 size=95 card=1)
          0        TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=0 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
          0         INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
    194559       TABLE ACCESS FULL JOB$ (cr=9313 pr=0 pw=0 time=167294 us cost=2542 size=2529254 card=194558)
    {code}
    and the totals at the end of the TKPROF on the 11g SID:
    {code}
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          4           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        3      0.00       0.00          0          0          4           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       70      0.00       0.00          0          0          0           0
    Execute     85      0.01       0.01          0         62        208          37
    Fetch       49      0.48       0.49          0       9490          0          35
    total      204      0.51       0.51          0       9552        208          72
    Misses in library cache during parse: 5
    Misses in library cache during execute: 3
       35  user  SQL statements in session.
       53  internal SQL statements in session.
       88  SQL statements in session.
    Trace file: 11gSID_ora_17721.trc
    Trace file compatibility: 11.1.0.7
    Sort options: default
           1  session in tracefile.
          35  user  SQL statements in trace file.
          53  internal SQL statements in trace file.
          88  SQL statements in trace file.
          51  unique SQL statements in trace file.
        1590  lines in trace file.
          18  elapsed seconds in trace file.
    {code}
    The version of the database is 10.2.0.3.0.
    These are the parameters relevant to the optimizer for the test run on the 10g SID:
    {code}
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.3
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          09-24-2007 11:09
    SYSSTATS_INFO        DSTOP                           09-24-2007 11:09
    SYSSTATS_INFO        FLAGS                         1
    SYSSTATS_MAIN        CPUSPEEDNW           2110.16949
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.
    {code}
    Now for the TKPROF of a mirrored test environment running on a 10G SID:
    {code}
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.01          0          2         16           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.01       0.01          0          2         16           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 113
    {code}
    ... large section omitted ...
    Totals for the TKPROF on the 10g SID:
    {code}
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.02          0          0          0           0
    Execute      1      0.00       0.00          0          2         16           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.02          0          2         16           0
    Misses in library cache during parse: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       65      0.01       0.01          0          1         32           0
    Execute     84      0.04       0.09         20         90        272          35
    Fetch       88      0.00       0.10         30        281          0          64
    total      237      0.07       0.21         50        372        304          99
    Misses in library cache during parse: 38
    Misses in library cache during execute: 32
       10  user  SQL statements in session.
       76  internal SQL statements in session.
       86  SQL statements in session.
    Trace file: 10gSID_ora_32003.trc
    Trace file compatibility: 10.01.00
    Sort options: default
           1  session in tracefile.
          10  user  SQL statements in trace file.
          76  internal SQL statements in trace file.
          86  SQL statements in trace file.
          43  unique SQL statements in trace file.
         949  lines in trace file.
           0  elapsed seconds in trace file.
    {code}
    Edited by: user8598842 on Mar 11, 2010 5:08 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

    So while this certainly isn't the most elegant of solutions, and most assuredly isn't in the realm of supported by Oracle...
    I've used the DBMS_IJOB.DROP_USER_JOBS('username'); package to remove the 194558 orphaned job entries from the job$ table. Don't ask, I've no clue how they all got there; but I've prepared some evil looks to unleash upon certain developers tomorrow morning.
    Not being able to reorganize the JOB$ table to free the now wasted ~67MB of space I've opted to create a new index on the JOB$ table to sidestep the full table scan.
    CREATE INDEX SYS.JOB_F1_THIS_NEXT ON SYS.JOB$ (FIELD1, THIS_DATE, NEXT_DATE) TABLESPACE SYSTEM;The next option would be to try to find a way to grant the select privilege to the role without using the aforementioned "after CREATE on schema" trigger and dbms_job call. This method was adopted to cover situations in which a developer manually added a table directly to the database rather than using the provided scripts to recreate their test environment.
    I assume that the following quote from the 11gR2 documentation is mistaken, and there is no such beast as "create or replace table" in 11g:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9003.htm#i2061306
    "Dropping a table invalidates dependent objects and removes object privileges on the table. If you want to re-create the table, then you must regrant object privileges on the table, re-create the indexes, integrity constraints, and triggers for the table, and respecify its storage parameters. Truncating and replacing have none of these effects. Therefore, removing rows with the TRUNCATE statement or replacing the table with a *CREATE OR REPLACE TABLE* statement can be more efficient than dropping and re-creating a table."

  • After R12 Upgrade: No records in many of the tables.

    Hi all,
    After R12 upgrade, we found there are no records in many tables. For example AR_BATCHES_V.
    What could be the probable causes?
    Also, note that there are still some concurrent requests running.
    DQM Parallel Sync Index Child Program2 (DQM Parallel Sync Index Child Program)
    Synchronize Workflow LOCAL tables (Report Set)
    Process Benefits Data Conversion
    S. Sundar

    Hi,
    I'm a bit late to the party in this thread, but:
    Are most of the unpopulated tables related to Financials? With the introduction of E-Business Tax (ZX) and Sub-Ledger Accounting in R12, some data seems to have been moved to other tables and schemas. For example, we had some reports that needed to be rewritten for R12 because some Receivables tables and views were empty after the upgrade. I don't get into the functional side of things very often, so I don't know if AR is similarly affected.
    Sorry I don't have much detail to offer, but maybe this will give you a starting point for further research.
    Regards,
    John P.

  • SU25 after after EHP4 to EHP6 upgrade

    Hi,
    We have recently upgraded our development ECC system to ECC 6.0 EHP 6 from EHP4. We found there are lot of roles affected by
    the upgrade in step 2c of SU25.All the proposed changes are due to step 2a which updates the objects/transactions which were never modified by the customer.
    While we are still analysing the roles in DEV, the production upgrade date is fast approaching.
    Is it advisable to upgrade the Production now and perform the SU25 in DEV later and promote the roles to Production after proper testing in QA?
    or is it something we have to do immediately after the upgrade before releasing it to the end users?
    Thank you in advance,
    Silver

    Hi Silver Surfer
    Is it advisable to upgrade the Production now and perform the SU25 in DEV later and promote the roles to Production after proper testing in QA?
    Do you mean - is it okay for EHP6 to be applied to Production and fix the security later? If so....
    Your risk is if new authorisations checks have been introduced to existing transactions that are in design then users may start to receive authorisations errors. If you are willing to risk a flood of annoyed users complaining of lack of access it is technically possible.
    Though, if you are moving from EHP4 to EHP6 was security testing along with functionality testing? If so, you may have covered a large portion of the risk.
    As far as SU25 goes, it is to assist with fixing up SU24 values based on SAP proposals. Once you need to make changes to SU24 you need to adjust the roles (As per you Step 2c). I've been at places where they made the decision to execute Steps 2a and 2b and then go into PFCG for each impacted role and deactivate the new proposals (i.e. SU24 updated but PFCG remains unchanged from authorisation perspective). This approach enabled them to "technically" complete the security steps and move a transport through to test environment. However, they were relying on security testing of the roles to identify authorisations issues. If issue was identified, they would then fix the role.
    Whatever your approach with SU25 is.... security roles need to be tested as part of an upgrade.
    Regards
    Colleen

Maybe you are looking for