Oracle parameter change

Hi Friends,
We have to change the parameter db_cache_size in our oracle 10g database.
What is the unit (kb, mb or gb) of value to be assigned. We have to increase it upto 16gb currently it is 8 gb.
What are the precaution should be taken to change this parameter, application down , user lock etc.
Please help me ?
Regards
Ganesh Datt Tiwari

>
tiwari.ganeshdatt wrote:
> Hi Friends,
> We have to change the parameter db_cache_size in our oracle 10g database.
>
> What is the unit (kb, mb or gb) of value to be assigned. We have to increase it upto 16gb currently it is 8 gb.
Hi
Look at the documentation:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams043.htm
there you can see that you can specify it in several units
> DB_CACHE_SIZE = integer [K | M | G]
>
tiwari.ganeshdatt wrote:
>
> What are the precaution should be taken to change this parameter, application down , user lock etc.
It depends (as usual)
I prefer to change the parameter in the spfile and then  stop SAP and restart oracle.
Keep in mind other parameters that you may have set (like SGA_TARGET and SGA_MAX_SIZE) as you may have to modify them aswell

Similar Messages

  • Physical Memory Upgrade [SAP, Oracle parameter changes]

    Hello Guru,
    Good day!
    I'm not sure if I'm in the correct forum, please bare with me if I'm not.
    We are actually planning to increase our Production [Physical Memory] server from its current size 15360GB including [oracle, SAP & OS] to 44GB memory.  Do you have any idea how can we calculate to the most needed SAP / DB parameter should be increase after we allocate the 44GB in preparation for Go-Live.  Below are details of my systems [oracle version, kernel, R/3 System, OS version, SAP parameter and DB parameter.
    Reason for memory upgrade: will create two client in one system with a different number of users and different plant e.g. America / Canada
    ======================================================================
    SAP R/3 Version: SAP 4.6C
    Oracle Version: 10.2.0.4.0
    OS Level: AIX 5.3
    orapaa> oslevel -g
    Fileset                                 Actual Level        Maintenance Level
    bos.rte                                 5.3.8.0             5.3.0.0
    Physical Memory
    Real,MB   15360
    ======================================================================
    kernel release               46D
    kernel make variant       46D_EXT
    compiled on                  AIX 1 5 0056AA8A4C00
    compiled for                  64 BIT
    compile time                  Aug 17 2007 10:57:49
    update level                  0
    patch number                  2337
    source id                     0.2337
    ======================================================================
    orapaa> prtconf
    System Model: IBM,9117-MMA
    Machine Serial Number: 06DDD01
    Processor Type: PowerPC_POWER6
    Processor Implementation Mode: POWER 6
    Processor Version: PV_6_Compat
    Number Of Processors: 4
    Processor Clock Speed: 4208 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit
    LPAR Info: 9 SWT_AMR_SADCB335_SAP_HA_PRI
    Memory Size: 15360 MB
    Good Memory Size: 15360 MB
    Platform Firmware level: Not Available
    Firmware Version: IBM,EM340_095
    Console Login: enable
    Auto Restart: true
    Full Core: false
    ======================================================================
    Our current used SAP parameter
    Profile parameters for SAP buffers     Parameters Name               Value     Unit
    Program buffer               
                        abap/buffersize               850000     Kb
    CUA buffer               
                        rsdb/cua/buffersize               10000     
    Screen buffer               
                        zcsa/presentation_buffer_area     20000000 Byte
    Generic key table buffer               
                        zcsa/table_buffer_area          100000000 Byte
    Single record table buffer               
                        rtbb/buffer_length               60000     
    Export/import buffer               
                        rsdb/obj/buffersize               40000      kB
    Table definition buffer               
                        rsdb/ntab/entrycount          30000     
    Field description buffer               
                        rsdb/ntab/ftabsize               60000     kB
    Initial record buffer               
                        rsdb/ntab/irbdsize               8000     kB
    Short nametab (NTAB)               
                        rsdb/ntab/sntabsize          3000     kB
    Calendar buffer               
                        zcsa/calendar_area          500000     Byte
    Roll, extended and heap memory     EM/TOTAL_SIZE_MB          6144     MB
                        ztta/roll_area               6500000     Byte
                        ztta/roll_first               1     Byte
                        ztta/short_area               1400000     Byte
                        rdisp/ROLL_SHM               16384     8 kB
                        rdisp/PG_SHM               16384     8 kB
                        rdisp/PG_LOCAL               150     8 kB
                        em/initial_size_MB               4092     MB
                        em/blocksize_KB               4096     kB
                        em/address_space_MB          4092     MB
                        ztta/roll_extension               2000000000     Byte
                        abap/heap_area_dia          2000000000     Byte
                        abap/heap_area_nondia          2000000000     Byte
                        abap/heap_area_total          2000000000     Byte
                        abap/heaplimit               40000000     Byte
                        abap/use_paging               0     
    ======================================================================
    Oracle Parameter
    Oracle Parameter Name     Value     Unit
    SGA_MAX_SIZE          6192     MB
    PGA_AGGREGATE_TARGET     400     MB
    DB_CACHE_SIZE           0     
    SHARED_POOL_SIZE     960     MB
    LARGE_POOL_SIZE          16     MB
    JAVA_POOL_SIZE           32     MB
    LOG_BUFFER          14246912     
    db_block_buffers          655360     
    Thanks and regards,
    Mike

    I feel the best way to get the parameters which needs to be adjusted is to go for EarlyWatch Check after increasing the Physical Memory of your SAP system, as we cannot say how and which parameters needs to be checked and changed.. as there is some dependiblity also between the parameters...
    All the best !

  • Oracle Parameter Recommedation

    Dear Oracle Experts,
    I have upgraded Oracle 10204 to 10205 and now i want to alter the oracle parameter while system Specs is:
    Processors: x3690 X5, Xeon 8C E7-2820 105W 2.00GHz with 2 Processor
    RAM: 32 GB
    current initSID.ora
    prd.__db_cache_size=738197504
    *._OPTIM_PEEK_USER_BINDS=FALSE
    *.compatible='10.2.0'
    *.control_file_record_keep_time=30
    *.db_block_size=8192
    *.db_cache_size=4294967296
    *.db_files=254
    *.db_name='PRD'
    *.dml_locks=4000
    *.event='10191 trace name context forever, level 1'
    *.FILESYSTEMIO_OPTIONS='setall'
    *.job_queue_processes=1
    *.log_buffer=1048576
    *.log_checkpoint_interval=0
    *.log_checkpoints_to_alert=true
    *.open_cursors=800
    *.optimizer_features_enable='10.2.0.1'
    *.parallel_max_servers=160
    *.pga_aggregate_target=629145600
    *.processes=280
    *.sessions=560
    *.sga_max_size=5368709120
    *.shared_pool_reserved_size=72461844
    *.shared_pool_size=724618444
    *.sort_area_retained_size=0
    *.sort_area_size=2097152
    *.statistics_level='typical'
    *.undo_management='AUTO'
    *.undo_retention=43200
    *.undo_tablespace='PSAPUNDO'
    *.user_dump_dest='G:\oracle\PRD\saptrace\usertrace'
    *.workarea_size_policy='AUTO'
    there are may parameters are not configure with respect to SAP Note 830576 - Parameter recommendations for Oracle 10g.
    while my system is OLTP(SAP ECC 6.0) and please give me your expert suggestion with respect to 10.2.0.5 about following parameters.
    STAR_TRANSFORMATION_ENABLED
    _FIX_CONTROL
    EVENT
    _INDEX_JOIN_ENABLED
    DB_FILE_MULTIBLOCK_READ_COUNT
    OPEN_CURSORS
    OPTIMIZER_INDEX_COST_ADJ
    PARALLEL_THREADS_PER_CPU
    PGA_AGGREGATE_TARGET
    SHARED_POOL_SIZE
    _FIRST_SPARE_PARAMETER
    Regards,

    hi Deepkorri,
    please confirm me...
    the result of that script is:
    INFORMATION  1 ***     Parametercheck for Oracle 10.2. based on Note/Version: 830576/221
    INFORMATION  2 ***     Parametercheck last changed: 2011-12-22
    INFORMATION  3 ***     Parametercheck Execution: 2012-02-06 14:49:10
    INFORMATION  4 ***     DB Startup: 2012-02-04 18:00:16
    INFORMATION  5 ***     DB SID: PRD
    INFORMATION  6 ***     DB Environment: OLTP, not RAC
    INFORMATION  7 ***     DB Platform: Microsoft Windows x86 64-bit
    INFORMATION  8 ***     DB Patchset: 10.2.0.5.0
    INFORMATION  9 ***     Last detectable DB Mergefix: from SAP Bundle Patch (released 2011-06-10)
    INFORMATION 10 ***     Reliability checks: events passed, fixcontrols passed
    INFORMATION 11 ***     WARNING: Extended support for 10.2.0.5 only available with a special extended support contract (note 1431752)
    there are main four columns(Name, Recommendation, IS_VALUE, SHOULD_BE_VALUE) in  Result of the SELECT statement
    now I have to change the parameter value according Recommendation.
    Recommendation Columns consists value with
    OK mean I have no need to change it
    Automatic Check OK mean ?
    IS_VALUE mean current value?
    SHOULD_BE_VALUE mean must this value?
    _fix_control (5099019)     add with value "5099019:ON"     5099019:ON
    _fix_control (5705630)     add with value "5705630:ON"     5705630:ON
    _fix_control (5765456)     add with value "5765456:3"     5765456:3
    _fix_control (6055658)     add with value "6055658:OFF"     6055658:OFF
    _fix_control (6399597)     add with value "6399597:ON"     6399597:ON
    _fix_control (6430500)     add with value "6430500:ON"     6430500:ON
    _fix_control (6440977)     add with value "6440977:ON"     6440977:ON
    _fix_control (6626018)     add with value "6626018:ON"     6626018:ON
    _fix_control (6670551)     add with value "6670551:ON"     6670551:ON
    _fix_control (6972291)     add with value "6972291:ON"     6972291:ON
    _fix_control (7692248)     add with value "7692248:ON"     7692248:ON
    _fix_control (7891471)     add with value "7891471:ON"     7891471:ON
    _fix_control (9196440)     add with value "9196440:ON"     9196440:ON
    _fix_control (9495669)     add with value "9495669:ON"     9495669:ON
    _fix_control (4728348)     check if default value " " is suitable (set to 4728348:OFF if Winbundle<=5)     set to 4728348:OFF if Winbundle<=5
    _fix_control (6120483)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    _fix_control (6221403)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    _fix_control (6329318)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    _fix_control (6660162)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    _fix_control (7325597)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    event
    event (38087)     add with value "38087 trace name context forever, level 1"     38087 trace name context forever, level 1
    event (10183)     add with value "10183 trace name context forever, level 1"     10183 trace name context forever, level 1
    event (10027)     add with value "10027 trace name context forever, level 1"     10027 trace name context forever, level 1
    event (10028)     add with value "10028 trace name context forever, level 1"     10028 trace name context forever, level 1
    event (10629)     add with value "10629 trace name context forever, level 32"     10629 trace name context forever, level 32
    event (14532)     add with value "14532 trace name context forever, level 1"     14532 trace name context forever, level 1
    event (10142)     add with value "10142 trace name context forever, level 1"     10142 trace name context forever, level 1
    event (38068)     add with value "38068 trace name context forever, level 100"     38068 trace name context forever, level 100
    event (38085)     add with value "38085 trace name context forever, level 1"     38085 trace name context forever, level 1
    event (44951)     add with value "44951 trace name context forever, level 1024"     44951 trace name context forever, level 1024
    event (10411)     check if default value " " is suitable (set with level 1 if Winbundle>=3)     set with level 1 if Winbundle>=3
    event (10191)     ok (is set correctly =)     10191 trace name context forever, level 1
    event (10049)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    event (10091)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    event (10162)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    event (10753)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    event (10891)     ok (is not set; mentioned with other prerequisites/not mentioned in note)     
    how and where(initSID.ora) i can set the value of above event and _fix parameters?
    Regards,

  • Oracle Parameter file

    Hi,
    my Oracle DB is 10.2.0.5 version
    O.s. Linux Red Hat
    I need to modify some parameter into parameter file:
    Some parameters are below:
    audit_sys_operations
    audit_trail
    compatible
    db_cache_size
    event
    java_pool_size
    job_queue_processes
    large_pool_size
    pga_aggregate_target
    processes
    session_cached_cursors
    sessions
    sga_max_size
    sga_target
    into path $ORACLE_HOME/dbs I've these files:
    init.ora
    initdw.ora
    spfileorcl.ora
    pfileORCL.ora
    orapworcl
    spfileORCL.ora
    Which step I have to perform to change these parameters?
    Thanks in advance!

    first of all check whether you are using pfile or spfile.
    SHOW PARAMETER SPFILE;
    If you get the output in the VALUE column then you can directly issue the below command to change the parameters:
    ALTER SYSTEM SET <PARAMETER_NAME>=<VALUE>;
    You need to use the SCOPE clause depending on the nature of the parameters.
    If you dont get the output in the VALUE column, then its better to create the spfile by using the command:
    CREATE SPFILE FROM PFILE;
    Then you can use the above method.
    And if you want to use the pfile only, then you have to change the parameters manually in that file.
    Some parameter changes need the bouncing of the database, while some dont need.

  • Resource_manager_plan and Reserved pool size  parameter changing every time

    Hello All,
    In my production database (Oracle 11g  RAC )Resource_manager_plan and Reserved pool size  parameter changing every time .
    Below is my question .
    This parameter changed automatically  or it require manual intervention .
    In what case this parameter changed if it automatically changed.
    I had checked dba_hist_parameter a, dba_Hist_snapshot b table for parameter changed history parameter changed .
    This parameter linked with process and sql performances?.
    Please help me . Thanks .
    Regards
    Ranjeet

    When scheduler window opens, its resource plan becomes active. For example, MONDAY_WINDOW begins on monday at 22:00. At this time current plan is changed to DEFAULT_MAINTENANCE_PLAN. At 00:00 (Tuesday) plan that was active before monday 22:00, becomes active. DEFAULT_MAINTENANCE_PLAN is used for Autotask clients :
    select client_name,WINDOW_GROUP from DBA_AUTOTASK_CLIENT ;
    CLIENT_NAME                     WINDOW_GROUP
    auto optimizer stats collection ORA$AT_WGRP_OS
    auto space advisor              ORA$AT_WGRP_SA
    sql tuning advisor              ORA$AT_WGRP_SQ
    select * from DBA_SCHEDULER_WINGROUP_MEMBERS where WINDOW_GROUP_NAME in (select WINDOW_GROUP from DBA_AUTOTASK_CLIENT);
    WINDOW_GROUP_NAME WINDOW_NAME
    ORA$AT_WGRP_OS    MONDAY_WINDOW
    ORA$AT_WGRP_OS    TUESDAY_WINDOW
    ORA$AT_WGRP_OS    WEDNESDAY_WINDOW
    ORA$AT_WGRP_OS    THURSDAY_WINDOW
    ORA$AT_WGRP_OS    FRIDAY_WINDOW
    ORA$AT_WGRP_OS    SATURDAY_WINDOW
    ORA$AT_WGRP_OS    SUNDAY_WINDOW
    ORA$AT_WGRP_SA    MONDAY_WINDOW
    ORA$AT_WGRP_SA    TUESDAY_WINDOW
    ORA$AT_WGRP_SA    WEDNESDAY_WINDOW
    ORA$AT_WGRP_SA    THURSDAY_WINDOW
    ORA$AT_WGRP_SA    FRIDAY_WINDOW
    ORA$AT_WGRP_SA    SATURDAY_WINDOW
    ORA$AT_WGRP_SA    SUNDAY_WINDOW
    ORA$AT_WGRP_SQ    MONDAY_WINDOW
    ORA$AT_WGRP_SQ    TUESDAY_WINDOW
    ORA$AT_WGRP_SQ    WEDNESDAY_WINDOW
    ORA$AT_WGRP_SQ    THURSDAY_WINDOW
    ORA$AT_WGRP_SQ    FRIDAY_WINDOW
    ORA$AT_WGRP_SQ    SATURDAY_WINDOW
    ORA$AT_WGRP_SQ    SUNDAY_WINDOW

  • RAC 11g Rel2 - clusterware wont come up after ASM parameter changes Help!

    I was tring to make the below parameter change in ASM, but got the below error message
    SQL> alter system set db_cache_size=200M scope=spfile sid='*';
    alter system set db_cache_size=200M scope=spfile sid='*'
    ERROR at line 1:
    ORA-32017: failure in updating SPFILE
    ORA-00384: Insufficient memory to grow cache
    Per note 737458.1
    You need to unset SGA_TARGET, restart your database and modify DB_CACHE_SIZE, and then reset SGA_TARGET as before.
    So I issued the following in ASM.
    ASM> alter system set memory_max_target=0 scope=spfile sid='*';
    System altered.
    ASM> alter system set memory_target=0 scope=spfile sid='*';
    System altered.
    hutdown the clusterware and asm using crsctl stop cluster -all
    Attempted to start the clusterware using crsctl start cluster -all , received the below error messages
    CRS-2672: Attempting to start 'ora.cssd' on 'server100'
    CRS-2672: Attempting to start 'ora.diskmon' on server100'
    CRS-2676: Start of 'ora.diskmon' on 'server100' succeeded
    CRS-2676: Start of 'ora.cssd' on server100' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on server100'
    CRS-2676: Start of 'ora.ctssd' on server100'
    succeeded
    CRS-2672: Attempting to start 'ora.asm' on server100'
    ORA-00843: Parameter not taking MEMORY_MAX_TARGET into account
    CRS-2674: Start of 'ora.asm' on 'server100' failed
    CRS-2679: Attempting to clean 'ora.asm' on server100'
    CRS-2681: Clean of 'ora.asm' on 'server100' succeeded
    CRS-2673: Attempting to stop 'ora.ctssd' on server100'
    CRS-2677: Stop of 'ora.ctssd' on 'server100' succeeded
    CRS-2673: Attempting to stop 'ora.diskmon' on server100'
    CRS-2677: Stop of 'ora.diskmon' on 'server100' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on server100'
    CRS-2677: Stop of 'ora.cssd' on server100' succeeded
    CRS-4000: Command Start failed, or completed with errors.
    The OCR and voting disk is stored in an ASM disk group. ASM did not like the parameter changes and threw the above errors. I have a backups available.
    Can anyone tell me how to revert these parameters ?
    I am unable to issue any comamnds becuse the cluster is down
    SQL> create pfile ='/home/p.ora' from spfile;
    create pfile ='/home/p.ora' from spfile
    ERROR at line 1:
    ORA-29701: unable to connect to Cluster Synchronization Service
    ORA-29701: unable to connect to Cluster Synchronization Service
    SQL>
    Thanks
    DNJ
    Edited by: user11177991 on Aug 5, 2011 9:45 AM

    user11177991 wrote:
    Can anyone tell me how to revert these parameters ?
    I am unable to issue any comamnds becuse the cluster is down
    SQL> create pfile ='/home/p.ora' from spfile;
    create pfile ='/home/p.ora' from spfile
    ERROR at line 1:
    ORA-29701: unable to connect to Cluster Synchronization Service
    ORA-29701: unable to connect to Cluster Synchronization Service
    Thanks
    DNJ
    Hi DNJ,
    What you need to do is create temporary pfile with parameters like below
    *.asm_diskgroups='DATA','FRA'
    *.asm_diskstring='ORCL:*'
    *.asm_power_limit=1
    *.diagnostic_dest='/u01/app/oracle'
    *.instance_type='asm'
    *.large_pool_size=12M
    *.remote_login_passwordfile='EXCLUSIVE' modify the above diskgroups to reflect your diskgroup configuration
    then start the asm using that temporary pfile
    SQL > startup pfile='/tmp/asmpfile.ora'once the asm instance started you can recreate the spfile
    create spfile='+DATA' from pfile='/tmp/asmpfile.ora'shutdown the asm and start it back again
    Hope this helps
    Cheers

  • Not able to see ikm oracle incremental update and ikm oracle slowly changing dimensions under PHYSCIAL tab in odi 12c

    not able to see ikm oracle incremental update and ikm oracle slowly changing dimensions under PHYSCIAL tab in odi 12c
    But i'm able to see other IKM's please help me, how can i see them

    Nope, It has not been altered.
    COMPONENT NAME: LKM Oracle to Oracle (datapump)
    COMPONENT VERSION: 11.1.2.3
    AUTHOR: Oracle
    COMPATIBILITY: ODI 11.1.2 and above
    Description:
    - Loading Knowledge Module
    - Loads data from an Oracle Server to an Oracle Server using external tables in the datapump format.
    - This module is recommended when developing interfaces between two Oracle servers when DBLINK is not an option.
    - An External table definition is created on the source and target servers.
    - When using this module on a journalized source table, the Journaling table is first updated to flag the records consumed and then cleaned from these records at the end of the interface.

  • How to transport Parameter changes in a crystal report

    Hi All,
    Very Good morning!!!
    I have designed a crystal report with static parameters. Earlier i used to have a dropdown kind of input selection for my parameters.
    Now i got a new requirement for a direct input in the field....tht means no dropdown ...single date field is to be entered directly.
    Accordingly i have removed the dropdown and changed to a single direct date field. I saved these changes to a request and transported to quality. Not sure whether the parameter changes are collected into a request.
    Whereas i couldn't found any changes of my parameters in quality. They are as same dropdown manner in the quality whereas i need them to be a direct field date entry which did not affected the quality server after transporting the changes.
    Could some one please let me know how to reflect these changes in quality server regarding parameter changes in a crystal report for BW.
    Thanks in Advance.
    Jitendra

    Please re-post if this is still an issue or purchase a case and have a dedicated support
    engineer work with your directly

  • ADF Task Flow Binding - Refresh ifNeeded being invoked even WITHOUT any Parameter change

    Using JDeveloper 11.1.1.6.0
    Issue: Task Flow Binding property "refresh = ifNeeded" seems to be triggered even without the mutation of the input parameter.
    As per definition, "ifNeeded: refresh the ADF Region if the value of a task flow binding parameter changes." (Reference: 17.5 Refreshing an ADF Region)
    Now for the setup which reproduces the issue.
    I'll focus at the fragment bounded task flow level and will skip the jspx side.
    taskflow: main-flow.xml
    contains a single fragment mainFgmt.jsff
    has a managed bean defined SampleBean.java as pageFlow scope.
    taskflow: sub-flow.xml
    contains a single fragment subFgmt.jsff
    has an inputParameter SampleBean.java (because it is an input parameter, by default it will be at pageFlow scope)
    !important - has a nested taskflow (task flow call as defined in the component pallete) called inner-flow (see below)
    the nested taskflow is the default activity
    the nested taskflow has an outcome pointing to subFgmt where outcome = "return"
    taskflow: inner-flow.xml
    contains a single fragment called stop.jsff
    has a return activity without outcome = "return"
    stop.jsff has a navigation pointing to the outcome.
    Finally mainFgmt.jsff has a task flow binding (pageDef)
    with id = "sub-flow.xml"
    refresh = "ifNeeded"
    parameter SampleBean being submitted as sub-flow's input parameter. (id=sampleBean, value=#{pageFlowScope.mainSampleBean})
    Assume that code compiles.
    In this scenario where the only tricky condition is the inner nesting (defined by !important), when the inner nesting decides to invoke its outcome to visit sub-flow's fragment, mainFgmt is restarting its taskflow which makes sub-flow start over again.
    Another way of saying it is, if sub-flow starts a nested activity and that nested activity exits out to utilize sub-flow's view. The high level definition which is mainFgmt's refresh ifNeeded is restarting sub-flow.
    In the above example if you notice, the bean (SampleBean) is not really being utilized except that it is completing the purpose of refresh=ifNeeded. This scenario is only to simplify the setup - in practical use this bean will be mutated to be utilized as a refresh mechanism.
    Now interestingly, if I change the pattern a bit then the issue will not happen:
    Don't use the nested taskflow (inner-flow) as the default activity, let a fragment of sub-flow hold the initial view.
    Navigate to the nested flow.
    Exit nested flow.
    Everything works.
    Now in this scenario, it seems like the sub-flow needs to have a view established first for it to be properly be used.
    So my questions are as follows:
    Can I consider the behavior of the refresh=ifNeeded as a bug in this usecase?
    Would it be better to utilize a different way of refreshing (maybe combination of refresh condition) to get around the issue?
    Is the use of the task flow as defined logical or does it cross any boundary or best practice that might be causing this behavior?

    Hi,
    actually you lost me in your description due to complexity. I lived under assumption that sub-flow already is a region on a view in main flow, but then you sad that
    "!important - has a nested taskflow (task flow call as defined in the component pallete) called inner-flow (see below)"
    which then confused me as to I have no idea if inner flow now is the second level nesting or first level nesting (should be second level nesting). If sub-flow is a region then having "has an inputParameter SampleBean.java (because it is an input parameter, by default it will be at pageFlow scope)"  is an unnecessary broad scope because the region wont live longer than view scope.
    Anyway, it seems that a region refresh is triggered by the lifecycle involved, which can be by design or a bug. I suggest you file a Service Request with support and provide a test case as purely from the description, its hard to parse and understand what is going on.
    Frank

  • Execute subroutine only when selection parameter changes

    Hi ABAP workers,
    I have a block of selection parameters, and I created the event AT SELECTION SCREEN ON BLOCK bl1 with a subroutine. I want that subroutine to be executed only when a parameter in the selection block is changed by the user. But the behaviour right now is that it executes every time I press Enter, even if no parameter changes.
    Is there any way to chieve this (like in the module pool case, with the extension "ON REQUEST")?
    Thank you very much
    Ivson
    Code involved:
    SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
    PARAMETERS: p_bukrs LIKE csks-bukrs MEMORY ID buk OBLIGATORY,
                             p_ryear LIKE glpct-ryear OBLIGATORY.
    SELECT-OPTIONS: s_poper  FOR glpct-rpmax,
                                  s_racct  FOR glpct-racct,
                                  s_kunnr  FOR glpca-kunnr,
                                  s_lifnr  FOR glpca-lifnr,
                    s_sprctr FOR glpct-sprctr.
    SELECTION-SCREEN END OF BLOCK bl1.
    AT SELECTION-SCREEN ON BLOCK bl1.
      PERFORM preselect.

    Hi,
    You could try this.
    Use the FM "DYNP_VALUES_READ" to get the contents of that screen parameter and then check for the parameter value inside the subroutine using a IF statement.
    PNAME is a paramter name here.
    a  dynpfields-fieldname  = 'PNAME'.
      append dynpfields.
      repid = sy-repid.
      call function 'DYNP_VALUES_READ'
           exporting
                dyname     = repid
                dynumb     = sy-dynnr
           tables
                dynpfields = dynpfields
           exceptions
                others.
      read table dynpfields index 1.
      pname = dynpfields-fieldvalue.
    Process the subroutine if needed based on the check condition.
    Hope this helps you.
    Regards,
    Subbu

  • Headstart Business Rule IN parameter changes value

    I've created a Business Rule (CEV rule � triggered by create) with following code:
    IN parameters: p_datum_van, p_cat and p_prest
    cursor c_cap is select datum_tot
    from cew_cat_prest
    where . . .
    and p_datum_van between datum_van and datum_tot
    and datum_tot is not null;
    l_datum_tot cew_cat_prest.datum_tot%type;
    begin
    dbms_output.put_line('BR5 p_datum_van '||p_datum_van);
    open c_cap;
    fetch c_cap into l_datum_tot;
    if c_cap%found then
    dbms_output.put_line('BR5 eerste controle p_datum_van '||p_datum_van);
    update cew_cat_prest
    set datum_tot = p_datum_van - 1
    where cat = p_cat
    and prest = p_prest
    and datum_tot = l_datum_tot;
    dbms_output.put_line('BR5 tweede controle p_datum_van '||p_datum_van);
    update cew_cat_prest
    set datum_tot = l_datum_tot
    where cat = p_cat
    and prest = p_prest
    and datum_van = p_datum_van;
    dbms_output.put_line('BR5 derde controle p_datum_van '||p_datum_van);
    The updates are not executed correctly since p_datum_van changes !!!
    Eerste controle: p_datum is correct
    Tweede controle: p_datum has changed its value
    What we do:
    Record 1: van (from) 01/01/2003 tot (to) 31/01/2003
    Record 2: van 01/02/2003 tot <null>
    Add new record: van 15/01/2003
    What we want:
    Record 1: van 01/01/2003 tot 14/01/2003
    Record 3: van 15/01/2003 tot 31/01/2003
    Record 2: van 01/02/2003 tot <null>
    Eerste controle: parameter p_datum_van = 15/01/2003
    Tweede controle: parameter p_datum_van = 01/01/2003
    Remark: if we use the TAPI procedure ups instead of updates, we have the same problem
    How is it possible that an IN parameter changes its value during execution of a procedure ???

    Tim,
    Headstart should be able to check out any tables you need.
    We think we have the user settings
    done correctly, but there may be something that we
    have missed. How can we get Headstart to
    automatically check-out the table(s) for which we
    want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
    - Under 'Process the following objects', choose 'Checked out by anyone'
    - Also check the check box '... also Checked In objects'
    - Choose whether you want to automatically check out with or without lock
    If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
    Hope this helps,
    Sandra Muller

  • Is it possible to pass a null Input Oracle parameter to a stored procedure

    I have a stored procedure that take 3 inputs and gives 1 output.I'm using Oracle parameter to add all 3 input parameters as follows :
    OracleParameter inobj = cmd.Parameters.Add("wid", OracleDbType.Int32,50);
    inobj.Direction = ParameterDirection.Input;
    inobj.Value = _employeeID;
    and added the output parameter as follows:
    OracleParameter outobj = _cmd.Parameters.Add("w_first", OracleDbType.Varchar2, 50);
    outobj.Direction = ParameterDirection.Output;
    On the UI end , the user has a choice to provide 1 input or all inputs or any 2 inputs based on his interest. Stored Proc looks as follows:
    SP( inp1 in parameter, inp2 in parameter, inp3 in parameter, output1 out parameter)
    If i just get 1 input or 2 inputs from the user, is it fine to query the data for output using same stored procedure or should i have individual stored procedures for each scenario(combination of different inputs)?
    Will i get any pl/sql error that says invalid number of arguements?

    This means if i have 1 input , i need to have a different method to pass 1 parameter value and other input parameters as null and if there are 2 inputs will need different method to handle. So 5 different methods all together?
    What if the stored procedure is as follows ,will its make things easier so that only one method is used for all scenarios?(optional parameters is set default value as null in the stored proc)
    Create or Replace
    Procedure GetFoo
    (cur_z OUT sys_refcursor,
    pub_date IN varchar2,
    fname IN varchar2 default null,
    lname IN varchar2 default null,
    phone IN varchar2 default null
    IS
    BEGIN
    ---get some data
    END;
    *actually i can test this but, all the database servers are down today. So, i need to have idea if this thing works before i confirm with someone. Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Parameter changes prevent SAP from starting

    Hello all,
    We are running SAP ERP 4.7ext 2.00 with two nodes in a Windows/MSSQL Cluster environment.
    1.     Last night, we made parameter changes to the central instance profile. In particular, we started with  adding the parameter “enque/table_size = 16384”, activated the profile and took the SAP R/3 RP1 Resource offline. We then tried to bring it back online but it went into a failed status. We removed this parameter using a text editor, and then retried to bring the SAP Resource online again, but to no avail – it went into a failed state again.
    2.     We had previously made backups of the profile files created by the reinstallation of the central instance (DEFAULT, START_DVEBMGS00_ZAASAPCCI001,  and RP1_DVEBMGS00_ZAASAPCCI001 – let’s call this File Set A.) and decided to use these files instead.  These files had the default parameters created on installation. We were successful in bringing the SAP resource online.
    3,     We made a parameter change and activated the profile in SAP – it does not matter which parameter you choose, for example, changing the number of dialog work processes from the default 2 to 20 . We took the SAP R/3 RP1 Resource offline but were unable to bring it back online - it went into a failed status.
    4.     We then took File Set A, and using a text editor  (1) made changes to the number of work processes; and (2) appended the extra parameters to them. Using these files we were now successful in bringing the SAP Resource online.
    5.     If we now made any changes to these files – either through SAP or by using the text editor, we are unable to restart SAP. We have to revert to step 4 above.
    6.     A strange anomaly we noticed is that if the profile files have the following commented lines in the beginning of the file  RP1_DVEBMGS00_ZAASAPCCI001. for example:
    #.*       Instance profile RP1_DVEBMGS00_ZAASAPCCI00                           *
    #.*       Version                 = 000007                                     *
    #.*       Generated by user = ABOOM                                            *
    #.*       Generated on = 11.05.2006 , 09:04:07                                 *
         Then we are unable to restart SAP.
    Is this a bug related to running a dual-node SAP cluster?  We were previously able to make parameter changes (either through SAP or through the use of a text editor) and restart SAP successfully.
    It is now become critical to determine the cause of this anomalous behaviour and resolve the problem. Failing this, the client wants to break the cluster and revert to a distributed SAP system installation (with separate DB and central instance hosts).
    Your comments and help wil be greatly appreciated.
    Regards,
    Lebo

    Hi Lebo,
    Can you try to edit your profiles (the correct ones) using sappad tool (/usr/sap/<SID>/<INST-ID>/run/exe/) and save it in the same format that was used to open it.
    Regards,
    Mike

  • Facing problem in loading table using IKM Oracle Slowly Changing Dimension

    Hi,
    I am facing problem in loading dimension table using IKM Oracle Slowly Changing Dimension
    Following is the setup :-
    SRC :- source_table (MSSQL)
    Staging :- staging_table (MSSQL)
    TRGT :- target_table (Oracle)
    -------- source_table
    group_id     int
    group_version_id     int
    name     varchar (255)
    description     varchar (255)
    comments     varchar (2000)
    ref_number     varchar (255)
    is_latest_version     decimal (5)
    is_deleted     decimal (5)
    --------- target_table
    id     number (38,0) - Mapped to <%=odiRef.getObjectName( "L" , "SEQ_NAME" , "D" )%>.nextval
              - Executed on target
              - defined the column as SK in model
    group_id     number (38,0) - defined the column as NK in model     
    group_version_id     number (38,0) - defined the column as NK in model     
    name     varchar (255) - undefined on the model description
    description     varchar (255) - Add row on change
    comments     varchar (2000) - Add row on change
    ref_number     varchar (255) - Add row on change
    is_latest_version     number (1,0) - Add row on change
    is_deleted     number (1,0) - Add row on change
    start_datetime     date     - SYSDATE
                   - Executed on target
                   - Starting Timestamp
    end_datetime     date     - NULL
                   - Executed on target
                   - End Timestamp
    I am using following KM's:-
         LKM SQL to SQL
         IKM Oracle Slowly Changing Dimension
         CKM SQL
    it gives me the following error -
    920:Invalid relational operator

    Hi,
    Yes, this is a run-time error. Currently I am debugging it by checking SNP_SESS_TXT_LOG based on sess_no ID.
    Now, I get the following error.
    I just see the following in the operator:-
    911 : 42000 : java.sql.BatchUpdateException: ORA-00911: invalid character
    911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
    java.sql.BatchUpdateException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:342)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10720)
         at com.sunopsis.sql.SnpsQuery.executeBatch(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    So, I do not get any idea of the exact step that is causing failure.
    Is there any setting in the operator that I am missing on?

  • History of Profile Parameter Changes!!!

    Hi,
    Please help with any way by which i can find the parameter changes in profile.I referred to other post and found TU02 tcode but this does not help.
    Basically we are trying find from particular to till now the list of parameter changes happened.
    satish

    Hi,
    Go to RZ10
    Choose the profile.
    Go to Extended maintenance
    Choose - Display.
    Then Select Go TO - Detailed List
    Again Click  Go to- Detailed List
    You can see the history of the parameter change.
    Regards
    Edited by: bhuban_2010 on Aug 5, 2011 5:35 AM

Maybe you are looking for