Rule based metadata value population

Hi,
We have a requirement where the assets metadata associated with the asset should be displayed based on rule.
For example if there are 3 dropdowns. On choosing the value in dropdown 1, the values in the dropdown 2 should be displayed and similarly on choosing the value in second dropdown the value in the third dropdown should appear.
Thanks in advance.
Regards,
Sachin

Hello Sachin,
You can populate your subsequent drop down either by writing listeners (if your business rule is not so complex - events like beforeloadcontent etc... from http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.form.Selection) else use the servlet to generate the drop down list dynamically.
Please user my earlier post in forum, i hope it will help you to resolve your issue.
http://forums.adobe.com/message/4830914#4830914
http://forums.adobe.com/message/4816627#4816627
if above doesn't help then let me know.
Thanks,
Pawan

Similar Messages

  • Check in Similar not populating custom metadata value set by global rule

    I have created a global rule to set the default value for custom metadata field creation date as current system date.This rule is working fine for normal check in but when i am using check in similar functionality of ucm the creation date value is getting populated from original content metadata value instead of default value set by rule.Is there any way to populate creation date as default value set by rule even in the check in similar function.
    Thanks in advance!!!
    Edited by: 906120 on Jan 5, 2012 4:42 AM

    Check-in similar does not evaluate scripts in the "use defaultvalue" field, as it has to copy metadata values. However, you can add script to the "Is derived field" as well. Just don't use dprDefaultValue but dprDerivedValue=
    This script will be evaluated before check-in operation and any value contained in the metadata field will be overwritten with value defined by script.
    Regards,
    Boris

  • Populating values in dropdown based on values selected in second dropdown.

    Hi,
    I  have two listboxes on the screen. Based on value chosen in first dropdown, I want to populate the values to be selected in second dropdown. How can i achieve this? I would be glad if anyone can help me out with this requirement.
    Thanks,
    Ameet

    <font color=blue>Hi,
    <li> Place 2 input fields on screen.
    <li>Set Listbox property as it is shown in the below link.
         <a href="http://2.bp.blogspot.com/_O5f8iAlgdNQ/SmPSPnRa0tI/AAAAAAAAFCQ/wW_URP-ld6o/s1600-h/drop_down-770536.JPG" target="_new">link to dropdown setting</a>
    <li>Set function code to first dropdown box to trigger event when you select value from first dropdown box. So that second one is changed.
    <li>Declare variable like below in TOP include of the module pool program.
    <pre>DATA: g_drop_1 TYPE char10,
          g_drop_2 TYPE char10,
          ucomm    TYPE sy-ucomm.
    TYPE-POOLS vrm.
    DATA: name  TYPE vrm_id,
          list  TYPE vrm_values,
          value LIKE LINE OF list.</pre>
    <li> Use screen flow logic of the screen like below
    <pre>"PROCESS BEFORE OUTPUT.
    PROCESS BEFORE OUTPUT.
    field g_drop_1 MODULE drop_down_1.
    field g_drop_2 MODULE drop_down_2.
    "PROCESS AFTER INPUT.
    PROCESS AFTER INPUT.
    field g_drop_1.
    field g_drop_2.</pre>
    <li>Corresponding code for two drop down boxes.
    <pre>&----
    *&      Module  DROP_DOWN_1  OUTPUT
    MODULE drop_down_1 OUTPUT.
      CLEAR: list[],g_drop_2.
      name = 'G_DROP_1'.
      value-key  = '1'.
      value-text = 'value_1'.
      APPEND value TO list.
      CLEAR  value.
      value-key  = '2'.
      value-text = 'value_2'.
      APPEND value TO list.
      CLEAR  value.
      value-key  = '3'.
      value-text = 'value_3'.
      APPEND value TO list.
      CLEAR  value.
      value-key  = '4'.
      value-text = 'value_4'.
      APPEND value TO list.
      CLEAR  value.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = name
          values = list.
    ENDMODULE.                 " DROP_DOWN_1  OUTPUT
    *&      Module  DROP_DOWN_2  OUTPUT
    MODULE drop_down_2 OUTPUT.
      CLEAR list[].
      name = 'G_DROP_2'.
      CASE g_drop_1.
        WHEN 1 OR 2.
          value-key  = '1'.
          value-text = 'text1'.
          APPEND value TO list.
          CLEAR  value.
          value-key  = '2'.
          value-text = 'text2'.
          APPEND value TO list.
          CLEAR  value.
        WHEN 3 OR 4.
          value-key  = '3'.
          value-text = 'text3'.
          APPEND value TO list.
          CLEAR  value.
          value-key  = '4'.
          value-text = 'text4'.
          APPEND value TO list.
          CLEAR  value.
      ENDCASE.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = name
          values = list.
    ENDMODULE.                 " DROP_DOWN_2  OUTPUT</pre>
    Thanks
    Venkat.O</font>

  • BADI for MDGF rule based workflow

    Hi Experts,
    I am really struggling to get a badi that can route on field assigned in my single and agent decision tables. I have used the standard BADI that was provided in RDS documentation for BP and Materials and just tried to change the entity name and field names without success.
    Can anyone please provide me with an example where someone has used this to route on field in finance.
    I am trying to route on Segment for Profit center
    Your help will be highly appreciated
    Thanks and best regards
    Riaan

    Hi Abdullah,
    I am using an existing attribute in the data model OG in the entity PCTR. The field name is PCTRSEG and element is fb_segment. In my rule based workflow in the Single decision table I have added fb_segment and I have populated the values against step 00. I have also updated my agent decision table with the fb_segment value.
    I am attaching the BADI that I am struggeling with.
    The service name for the change request is in the BADI filter. Thus when the requestor submit the Badi will be called and it will route to the person assigned in my agent decision table against the relevant segment..
    My problem is the following:
    The issue is that I don't know where I should maintain PCTRSEG and where I should maintain fb_segment in the BADI. Thus, where do I use the attribute name from the data model and where do I use the data element from the model.
    When the requestor submit the request it does not go to the next approver and I get the error" Agent could not be determined"
    I found ,when I change any of the values for the segment in the single and agent decision tables to not equal, example <> 1001 that the workflow works but all change requests will go to the same person.
    Thus my assumption is that something might be wrong with the BADI
    Your help will be highly appreciated
    Thanks
    Riaan
    Please find Badi below
    method IF_USMD_SSW_RULE_CNTX_PREPARE~PREPARE_RULE_CONTEXT.
        DATA:
          lo_crequest      TYPE
    REF TO if_usmd_crequest_api,
          lt_entities      TYPEusmd_t_crequest_entity,
          ls_entity        TYPE usmd_s_crequest_entity,
          lr_table         TYPE REF TO data,
          lt_sel           TYPE usmd_ts_sel,
          ls_sel           TYPE usmd_s_sel,
          lv_brf_expr_id   TYPEif_fdt_types=>id,
          ls_context       TYPEusmd_s_fdt_context_value,
          lv_exit          TYPE c.
      FIELD-SYMBOLS: <lt_fin_int>
    TYPE ANY TABLE,
                     <ld_fin_int>  TYPE
    any,
                     <pctrseg>      TYPEfb_segment,
                     <value>      TYPE
    any.
    * Prepare export parameters
      CLEAR et_message.
      CLEAR et_rule_context_value.
    * Get the CR API for the current
    CR
      CALL METHOD cl_usmd_crequest_api=>get_instance
        EXPORTING
          iv_crequest          = iv_cr_number
        IMPORTING
          re_inst_crequest_api = lo_crequest.
    * Create data instance of the
    entity PCTR for read access
      CALL METHOD lo_crequest->create_data_reference
        EXPORTING
          iv_entity    ='PCTR'
          i_struct     =if_usmd_model=>gc_struct_key_attr
        IMPORTING
          er_table     =lr_table
          et_message   =et_message.
      CHECK et_message IS
    INITIAL.
      ASSIGN lr_table->*
    TO <lt_fin_int>.
    * Get the instance keys for entity
    type PCTR
      CALL METHOD lo_crequest->read_objectlist
        EXPORTING
          iv_entity_type = 'PCTR'
        IMPORTING
          et_entity      = lt_entities
          et_message     =et_message.
      CHECK et_message IS INITIAL.
    * Read the PCTR entity of the one
    and only PCTR of the CR
      READ TABLE lt_entities INTOls_entity INDEX 1.
      CHECK sy-subrc = 0.
      ls_sel-fieldname ='PCTRSEG'.
      ls_sel-sign = 'I'.
      ls_sel-option = 'EQ'.
      ls_sel-low    = ls_entity-usmd_value.
      APPEND ls_sel TO lt_sel.
      CALL METHOD lo_crequest->read_value
        EXPORTING
          i_fieldname      = 'PCTRSEG'
          it_sel           = lt_sel
          if_edition_logic = abap_false
        IMPORTING
          et_data          = <lt_fin_int>
          et_message       = et_message.
    * Get the one and only FB_SEGMENT
    of the one PCTR in the CR
      LOOP AT <lt_fin_int> ASSIGNING <ld_fin_int>.
        ASSIGN COMPONENT 'PCTRSEG'OF STRUCTURE <ld_fin_int>
    TO <pctrseg>.
        EXIT.
      ENDLOOP.
      CHECK sy-subrc = 0.
    * fill out the return table
      get_element_id(
        EXPORTING
          iv_cr_type = lo_crequest->ds_crequest-usmd_creq_type
          iv_name    ='PCTR'
        IMPORTING
          ev_brf_expr_id = lv_brf_expr_id ).
      ls_context-id = lv_brf_expr_id.
      CREATE DATA ls_context-value TYPE fb_segment.
      ASSIGN  ls_context-value->* TO <value>.
      <value> = <pctrseg>.
      APPEND ls_context TO et_rule_context_value.
      endmethod.

  • Questions on Rules-Based ATP and Purchase Requisitions for STOs

    Hello experts,
    We are working on rules-based ATP configuration and have several questions about the functionality.  Iu2019m hoping that some of you are using this functionality and can help give us direction.
    In our environment we have multiple distribution centers and multiple manufacturing plants.  We want to confirm sales orders against stock and production orders in any of those plants, depending on the locations that have stock or planned production.  For example, we will place a sales order against plant A.  If there is not enough stock in plant A then rules-based ATP will use location determination to check in plant B, then C.  The scope of check on the ATP check will include stock and released production orders.  We will configure plant A as the u201Cconsolidation locationu201D so if stock is found in plants B or C then stock transport orders will automatically be created to move the stock to plant A before shipping to the customer.
    We have configured rules-based ATP and this functionality is working well in our Development system.  The ATP check is executed and uses the rules-based ATP to find eligible stock in other plants.  The system is also creating purchase requisitions to move the stock to the consolidation plant. 
    Our first concern is that there doesnu2019t appear to be any firm linkage between the sales order and the resulting purchase requisition.  For example, if we create sales order 123 for plant A and the rules-based ATP finds stock in plant B it automatically creates a purchase requisition 987 to move the stock from plant B to plant A.  However, there doesnu2019t appear to be a linkage between sales order 123 and purchase requisition 987.  For instance, if we delete sales order 123 the purchase requisition doesnu2019t get deleted. 
    Our second concern is that the quantity on the purchase requisition can still be confirmed against later sales orders.  For example, say the above scenario resulted in a purchase requisition 987 that consumed all the stock available in plant B.  We then create a second sales order 456 for the same product.  Plant A is out of stock so the rules-based ATP looks in plant B.  We would expect that plant B would also not have any stock because itu2019s all been consumed by the purchase requisition.  Instead, the system creates a second purchase requisition to move quantity from plant B to plant A.  Itu2019s as if the system doesnu2019t realize that the purchase requisition 987 is already planning to move stock out of plant B.
    Does anyone have any thoughts or suggestions on these two scenarios?  Is there a way to configure the system so there is a hard linkage between the sales order and the purchase requisition so that if the sales order is deleted then the purchase requisition is also deleted?  Should ATP realize that purchase orders are consuming inventory and not allow later sales orders to confirm against that same inventory?  Any advice or experience would be greatly appreciated.
    Thanks,
    David Eady
    Application Delivery Team Lead
    Propex, Inc.

    Hi,
    The scheduling is done in SCM, and from there, whenever the RBA is triggered, the calculation is done always with the old route in SCM. Until you get back to R/3 this is when your route is determined. But the ATP check is always with the original route. So the idea would be that you change the values of the route while still in APO, this is possible via the user exit. Should be done in scheduling in APO.  
    Hope this information is helpful.
    Regards,
    Tibor

  • Document rule based classification

    from the example in oracle text developers guide i tried to build a rule based document classification, using the code given below:
    create or replace package classifier as
    procedure this;
    end;
    show errors
    create or replace package body classifier as
    procedure this
    is
    v_document     blob;
    v_item          number;
    v_doc           number;
    begin
    for doc in (select document_id, content from documents)
         loop
              v_document :=doc.content;
              v_item:=0;
              v_doc:=doc.document_id;
              for c in (select category_id, category_name from docs_cats_rule_based_class
                   where matches(query,v_document)>0)
              loop
                   v_item:=v_item +1;
                   insert into doc_cat_rule_based_class values (doc.document_id, category_id);
              end loop;
         end loop;
    end this;
    end;
    show errors
    exec classifier.this
    this gives the following errors:
    package classifier Compiled.
    line 5: SQLPLUS Command Skipped: show errors
    package body Compiled.
    line 32: SQLPLUS Command Skipped: show errors
    Error starting at line 33 in command:
    exec classifier.this
    Error report:
    ORA-04063: package body "STARDOC.CLASSIFIER" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "STARDOC.CLASSIFIER"
    ORA-06512: at line 1
    i think i am missing some grant to package. please help!

    What version of Oracle are you using? Did you create the required tables and index in the earlier steps? What did you run it from? It appears that you did not run it from SQL*Plus. Please see the following demonstration that shows that it works fine on Oracle 10g when run from SQL*Plus with minimal privileges. I did not use any data.
    SCOTT@10gXE> CREATE USER stardoc IDENTIFIED BY stardoc
      2  /
    User created.
    SCOTT@10gXE> GRANT CONNECT, RESOURCE TO stardoc
      2  /
    Grant succeeded.
    SCOTT@10gXE> CONNECT stardoc/stardoc
    Connected.
    STARDOC@10gXE>
    STARDOC@10gXE> create table news_table
      2    (tk    number primary key not null,
      3       title varchar2(1000),
      4       text  clob)
      5  /
    Table created.
    STARDOC@10gXE> create table news_categories
      2    (queryid  number primary key not null,
      3       category varchar2(100),
      4       query      varchar2(2000))
      5  /
    Table created.
    STARDOC@10gXE> create table news_id_cat
      2    (tk         number,
      3       category_id number)
      4  /
    Table created.
    STARDOC@10gXE> create index news_cat_idx on news_categories (query)
      2  indextype is ctxsys.ctxrule
      3  /
    Index created.
    STARDOC@10gXE> create or replace package classifier
      2  as
      3    procedure this;
      4  end classifier;
      5  /
    Package created.
    STARDOC@10gXE> show errors
    No errors.
    STARDOC@10gXE> create or replace package body classifier
      2  as
      3    procedure this
      4    is
      5        v_document    clob;
      6        v_item        number;
      7        v_doc            number;
      8    begin
      9        for doc in (select tk, text from news_table)
    10        loop
    11          v_document := doc.text;
    12          v_item := 0;
    13          v_doc  := doc.tk;
    14          for c in
    15            (select queryid, category from news_categories
    16             where matches (query, v_document) > 0)
    17          loop
    18             v_item := v_item + 1;
    19             insert into news_id_cat values (doc.tk,c.queryid);
    20          end loop;
    21        end loop;
    22    end this;
    23  end classifier;
    24  /
    Package body created.
    STARDOC@10gXE> show errors
    No errors.
    STARDOC@10gXE> exec classifier.this
    PL/SQL procedure successfully completed.
    STARDOC@10gXE>

  • How to generate controls dynamically based on value stored in database using mvc4?

    In my database, i have a field called control_ids corresponding to  text box, dropdownlist, radiobuttonlist etc. My goal is to
    create controls dynamically based on value of control_id-field in table. Anybody please help me how to create the controls dynamically in MVC 4 for this scenario.

    In your view you could do something like that:
    foreach (var field in Model.FormStruture.fields)
    <div class="editor-label">
    <label for="@field.Name">@field.Descricao</label>
    </div>
    <div class="editor-field">
    <input class="text-box single-line" id="@field.Name" name="@field.Name" type="text" value="@field.Valor" data-rules-required="@field.Mandatory.ToString().ToLower()" data-rule-number="@field.Tipo.Equals(SiB.OCR.Documentos.Modelo.TipofieldDocumento.Numerico).ToString().ToLower()" title="@field.Descricao" />
    </div>
    if (!String.IsNullOrEmpty(field.Format))
    @:<script type="text/javascript">$("[email protected]").mask("@field.Format");</script>

  • Cannot find metadata values in workflow queue

    I need some help customizing workflow action menues in WF_INQUEUE_LIST.
    What I´m trying is show actions depending on a customized metadata value.
    I´m able to put certain javascript code in order to modify standard behavior if conditions involve workflow metadata (i.e. wfStepName, wfName) but what i need is doing the same based on custom metadata (i.e. xMyMetadata).
    I have been looking for some information in doc but functions like wfCurrentGet or GetValue don´t work.
    I´ve created a custom component with an html resource overwriting setup_workflow_action_popups.
    Basically is the same code that original. There´s only a little change: in the Approve Link creation section I have put this code (is stupid i know)
    +<$exec rsAppendNewRow("PopupProps")$>+
    +<$exec setValue("PopupProps", "label", lc("wwApprove"))$>+
    *<$if strEquals(dWfStepName, "TheStepName")== true$>*
    *<$exec setValue("PopupProps", "function", "javascript:{alert('Workflow Step is <$dWfStepName$>');document.Approve_<$dID$>.submit();}")$>*
    +<$else$>+
    *<$exec setValue("PopupProps", "function", "javascript:{alert('Step is not desired one but <$dWfStepName$>'); document.Approve_<$dID$>.submit();}")$>*
    +<$endif$>+
    +<$exec setValue("PopupProps", "ifClause", "AllowReview")$>+
    +<$exec setValue("PopupProps", "class", "workflow")$>+
    +<$exec setValue("PopupProps", "id", "workflowApprove")$>+
    This change works. But i need make the action depending on a custom metadata value i.e. xMyCustomMD
    *<$if strEquals(xMyCustomMD, "")== false $>*
    *<$exec setValue("PopupProps", "function", "javascript:{alert('<$xMyCustomMD$>');document.Approve_<$dID$>.submit();}")$>*
    +<$else$>+
    *<$exec setValue("PopupProps", "function", "javascript:{alert('Value not find');document.Approve_<$dID$>.submit();}")$>*
    +<$endif$>+
    I am not capable of retrieve the value of xMyCustomMD
    How can i get access in this page to this metadata?
    Thank you very much
    Edited by: user9510270 on 28-feb-2011 7:52
    Edited by: user9510270 on 28-feb-2011 7:53
    Edited by: user9510270 on 28-feb-2011 7:55
    Edited by: user9510270 on 28-feb-2011 7:56
    Edited by: user9510270 on 28-feb-2011 8:01

    Can you check what metadata you can see?
    I gathered that you have an access to dWfStepName, and dID, but not to other metadata values - sounds like the values you can see are taken from workflow temporary files and if you want to have all the metadata of the item you will have to run a search query to get them. I would suggest to follow to other workflow screens (workflow_review_frames template), because there it is possible to see all metadata and you can get an idea what needs to be done.

  • Improving performace for a Rule Based Optimizer DB

    Hi,
    I am looking for information on improving the current performance of an ancient 35GB Oracle 7.3.4 using RULE based optimizer mode. It is using 160 MB SGA and the physical memory on the system is 512MB RAM.
    As of now, all the major tasks which take time, are run after peak hours so that the 130 user sessions are not affected significantly.
    But recently am told some procedures take too long to execute ( procedure has to do with truncating tables and re-populating data into it ) and I do see 54% of the pie chart for WAITS are for "sequential reads" followed by "scattered reads" of 36%. There are a couple of large tables of around 4GB in this DB.
    Autotrace doesn't help me much in terms of getting an explain plan of slow queries since COST option doesnt show up and am trying to find ways of improving the performance of DB in general.
    Apart from the "redo log space requests" which I run into frequently (which btw is something I am trying to resolve ..thanks to some of you) I dont see much info on exactly how to proceed.
    Is there any info that I can look towards in terms of improving performance on this rule based optimizer DB ? Or is identifying the top sql's in terms of buffer gets the only way to tune ?
    Thank you for any suggestions provided.

    Thanks Hemant.
    This is for a 15 minute internal under moderate load early this morning.
    Statistic                   Total        Per Transact Per Logon    Per Second 
    CR blocks created                    275          .95         5.19          .29
    Current blocks converted fo           10          .03          .19          .01
    DBWR buffers scanned               74600       258.13      1407.55        78.44
    DBWR free buffers found            74251       256.92      1400.96        78.08
    DBWR lru scans                       607          2.1        11.45          .64
    DBWR make free requests              607          2.1        11.45          .64
    DBWR summed scan depth             74600       258.13      1407.55        78.44
    DBWR timeouts                        273          .94         5.15          .29
    OS Integral shared text siz   1362952204   4716097.59  25716079.32   1433177.92
    OS Integral unshared data s    308759380   1068371.56   5825648.68    324668.12
    OS Involuntary context swit       310493      1074.37      5858.36       326.49
    OS Maximum resident set siz       339968      1176.36      6414.49       357.48
    OS Page faults                      3434        11.88        64.79         3.61
    OS Page reclaims                    6272         21.7       118.34          6.6
    OS System time used                19157        66.29       361.45        20.14
    OS User time used                 195036       674.87      3679.92       205.09
    OS Voluntary context switch        21586        74.69       407.28         22.7
    SQL*Net roundtrips to/from         16250        56.23        306.6        17.09
    SQL*Net roundtrips to/from           424         1.47            8          .45
    background timeouts                  646         2.24        12.19          .68
    bytes received via SQL*Net        814224      2817.38     15362.72       856.18
    bytes received via SQL*Net         24470        84.67        461.7        25.73
    bytes sent via SQL*Net to c       832836      2881.79     15713.89       875.75
    bytes sent via SQL*Net to d        42713        147.8       805.91        44.91
    calls to get snapshot scn:         17103        59.18        322.7        17.98
    calls to kcmgas                      381         1.32         7.19           .4
    calls to kcmgcs                      228          .79          4.3          .24
    calls to kcmgrs                    20845        72.13        393.3        21.92
    cleanouts and rollbacks - c           86           .3         1.62          .09
    cleanouts only - consistent           40          .14          .75          .04
    cluster key scan block gets         1051         3.64        19.83         1.11
    cluster key scans                    376          1.3         7.09           .4
    commit cleanout failures: c           18          .06          .34          .02
    commit cleanout number succ         2406         8.33         45.4         2.53
    consistent changes                   588         2.03        11.09          .62
    consistent gets                   929408      3215.94        17536        977.3
    cursor authentications              1746         6.04        32.94         1.84
    data blocks consistent read          588         2.03        11.09          .62
    db block changes                   20613        71.33       388.92        21.68
    db block gets                      40646       140.64       766.91        42.74
    deferred (CURRENT) block cl          668         2.31         12.6           .7
    dirty buffers inspected                3          .01          .06            0
    enqueue conversions                  424         1.47            8          .45
    enqueue releases                    1981         6.85        37.38         2.08
    enqueue requests                    1977         6.84         37.3         2.08
    execute count                      20691         71.6        390.4        21.76
    free buffer inspected               2264         7.83        42.72         2.38
    free buffer requested             490899      1698.61      9262.25       516.19
    immediate (CR) block cleano          126          .44         2.38          .13
    immediate (CURRENT) block c          658         2.28        12.42          .69
    logons cumulative                     53          .18            1          .06
    logons current                         1            0          .02            0
    messages received                    963         3.33        18.17         1.01
    messages sent                        963         3.33        18.17         1.01
    no work - consistent read g       905734      3134.03     17089.32        952.4
    opened cursors cumulative           2701         9.35        50.96         2.84
    opened cursors current               147          .51         2.77          .15
    parse count                         2733         9.46        51.57         2.87
    physical reads                    490258      1696.39      9250.15       515.52
    physical writes                     2265         7.84        42.74         2.38
    recursive calls                    37296       129.05        703.7        39.22
    redo blocks written                 5222        18.07        98.53         5.49
    redo entries                       10575        36.59       199.53        11.12
    redo size                        2498156      8644.14     47135.02      2626.87
    redo small copies                  10575        36.59       199.53        11.12
    redo synch writes                    238          .82         4.49          .25
    redo wastage                      104974       363.23      1980.64       110.38
    redo writes                          422         1.46         7.96          .44
    rollback changes - undo rec            1            0          .02            0
    rollbacks only - consistent          200          .69         3.77          .21
    session logical reads             969453      3354.51     18291.57       1019.4
    session pga memory              35597936    123176.25    671659.17     37432.11
    session pga memory max          35579576    123112.72    671312.75      37412.8
    session uga memory               2729196      9443.58     51494.26      2869.82
    session uga memory max          20580712     71213.54    388315.32     21641.13
    sorts (memory)                      1091         3.78        20.58         1.15
    sorts (rows)                       12249        42.38       231.11        12.88
    table fetch by rowid               57246       198.08      1080.11         60.2
    table fetch continued row            111          .38         2.09          .12
    table scan blocks gotten          763421       2641.6     14404.17       802.76
    table scan rows gotten          13740187      47543.9    259248.81     14448.15
    table scans (long tables)            902         3.12        17.02          .95
    table scans (short tables)          4614        15.97        87.06         4.85
    total number commit cleanou         2489         8.61        46.96         2.62
    transaction rollbacks                  1            0          .02            0
    user calls                         15266        52.82       288.04        16.05
    user commits                         289            1         5.45           .3
    user rollbacks                        23          .08          .43          .02
    write requests                       331         1.15         6.25          .35Wait Events :
    Event Name                       Count         Total Time    Avg Time    
    SQL*Net break/reset to client                7             0             0
    SQL*Net message from client              16383             0             0
    SQL*Net message from dblink                424             0             0
    SQL*Net message to client                16380             0             0
    SQL*Net message to dblink                  424             0             0
    SQL*Net more data from client                1             0             0
    SQL*Net more data to client                 24             0             0
    buffer busy waits                          169             0             0
    control file sequential read                55             0             0
    db file scattered read                   74788             0             0
    db file sequential read                 176241             0             0
    latch free                                6134             0             0
    log file sync                              225             0             0
    rdbms ipc message                           10             0             0
    write complete waits                         4             0             0I did enable the timed_stats for the session but dont know why the times are 0's. Since I cant bounce the instance until weekend, cant enable the parameter in init.ora as well.

  • Rule-based transformations perfomance

    Hello.
    Oracle 9.2.0.8.
    We were tuned a replication on Oracle Streams.
    There are 1 capture process and more than one apply processes.
    We need to hide some columns in apply databases, for example, replace it with *.
    Now we use triggers on apply schemas, which replace column value with * before insert. But with update and delete operations there are problems, because apply process generate errors - 'no data found' and put transactions in error queue.
    Optimal variant is to use rule-based transformations on the capture process on a table, where are columns, which need to hide.
    We wrote pl/sql transformation function and create rule with action_context associated with this function, but see, that processor loading of capture process increase doubly.
    Please tell me, who work with transformations. Are really transformation hardly load capture machine or it is mistake? And how I can do aforesaid task with other methods?

    Hello Kinney,
    From what I've seen in your code, your code appears to be incorrectly written.
    1. The transformaiton function should not execute the LCR, it just have to do the necessary modifications for the LCR. The apply process would execute the LCR and commits the transaction when all the LCRs executed.
    2. You should not perform COMMIT in the transformation function. You need to eliminate the COMMIT from the code. The transformation function should not execute and COMMIT the LCR. The apply process would execute and COMMIT the transaction when it receives a commit lcr.
    Please eliminate the following from the function and re-create the function:
    lcr.EXECUTE(true);
    commit;
    Please test and see if the function is working as expected.
    Thanks,
    Rijesh

  • Rule-based distribution for opportunities

    Hello,
           I've configured a rule for opportunity distribution in 'Rule Policies' in SAP CRM Web UI. The rule is shown as 'Active' and 'Released'. However, when I create an opportunity and select the distribution method as 'Rule-Based distribution', then the dropdown the field 'Rule' stays blank and I don't get any options to select a 'Rule'. Please provide your inputs on how the rule I created can be made available for an opportunity.
    Regards,
    Aditya Mishra

    Hi Aditya,
    Have you configured a service profile and assigned your rule policy to it? You can set this up in:
    SPRO --> E-mail Response Management System --> Service Manager --> Define Service Manager Profiles
    1. Create a new service profile
    2. Add in service ID DD_RE
    3. Under property ID add in CONTEXT using value DD_OPPORTUNITY
    4. Under property ID add in POLICY using the rule policy ID you created.
    I hope this helps.
    Regards,
    David.

  • Rule-Based Forwarded Email

    I am reviewing the contents of the Message Tracking logs from an Exchange 2010 server. How can I identify those emails that were forwarded using some form of rule-based forwarding? Does the exchange server record rule-based forwarded emails in the Message
    Tracking logs?
    I would normally perform a test to find the answer, unfortunately I do not have access to an Exchange 2010 server.
    Any assistance is greatly appreciated.

    You didn't say you were running the Exchange server on a Domain Controller (not a configuration that's recommended). Since this is an Exchange forum I took what you said to mean that you had only an image of the Exchange server.
    If you have the AD then you'll find the alternateRecipient property on the accounts that had it populated at the time your image was made, along with the transport rules (which would be easier to deal with using Powershell).
    --- Rich Matheisen MCSE&I, Exchange MVP

  • Rule based Optimiser in 10g

    Can anyone tell me if there is still a rule based optimiser in 10g, i have heard that it has been removed? Is this correct?

    Here's what's in the Database Performance Tuning Guide 10g Release 1:
    Rule-based Optimization (RBO) Obsolescence
    RBO as a functionality is no longer supported. RBO still exists in Oracle 10g Release 1, but is an unsupported feature. No code changes have been made to RBO and no bug fixes are provided. Oracle supports only the query optimizer, and all applications running on Oracle Database 10g Release 1 (10.1) should use that optimizer. Please review the following Oracle Metalink desupport notice (189702.1) for RBO:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_
    database_id=NOT&p_id=189702.1
    You can also access desupport notice 189702.1 and related notices by searching for "desupport of RBO" at:
    http://metalink.oracle.com
    Notice 189702.1 provides details about the desupport of RBO and the migration of applications based on RBO to query optimization.
    Some consequences of the desupport of RBO are:
    CHOOSE and RULE are no longer supported as OPTIMIZER_MODE initialization parameter values and a warning is displayed in the alert log if the value is set to RULE or CHOOSE. The functionalities of those parameter values still exist but will be removed in a future release. See "OPTIMIZER_MODE Initialization Parameter" for information optimizer mode parameters.
    ALL_ROWS is the default value for the OPTIMIZER_MODE initialization parameter.
    The CHOOSE and RULE optimizer hints are no longer supported. The functionalities of those hints still exist but will be removed in a future release.
    Existing applications that previously relied on rule-based optimization (RBO) need to be moved to query optimization.
    HTH

  • Rule-Based Optimizer doesn4t use the index

    Does anybody know why the rule-based optimizer doesn4t use the index of all columns in the where clause?
    I have a select that use the hint RULE to force the optimizer to work in rule mode and also one index to all columns used in the where clause. Analyzing the execution plan (EXPLAIN PLAN) I observed the optimizer accesses all tables, but one, using the index. There4s one table (the first of the execution plan) that is accessed using a Full Table Scan (FTS).
    I've rebuilt the index for this table, but the execution plan doesn4t change.
    Any suggestions?
    Thanks in advance.
    Eliane.

    Hi. Oracle may not use an index if it finds that a full table scan is quicker/more efficient. Try the hint /*+ INDEX (table index) */ and compare the query performance with that of the one without this hint. (As you know, if you force Rule-based approach, the COST column in EXPLAIN PLAN output will not be populated. You may have to use trace/tkprof.)

  • Rule-based or 'expert' system in Oracle

    Hi,
    Has anyone implemented a rule-based system in Oracle? E.g. based upon a decision tree?
    I have a feeling that the algorithm will involve 'tree-walking' within a heirarchy of rules but I'm not quite sure how to structure it. I have a couple of ideas such as storing pointers to the next rule with the columns holding things like the name of the parameter, the condition, the comparison value and the outcome.
    The program has to choose a carrier (such as UPS or Fed-Ex) based upon rules such as the weight (<1kg?>, the intrinsic value (> #100), the addressee postcode and whether the package is hazardous or not. There can be any permutaion of these conditions apart from those that are direct opposites (such as greatr than or lower than 1kg).
    I would be grateful for any advice on this, or a web address that might help (I have googled and found something calld the 'reme algorithm' but cannot find any elaboration of it! grrr.....).
    Thanks for your time,
    Regards,
    Jim.

    thanks for your reply, but need different thing,
    suppose we prepare a report in report builder and when we want to print it, it always print in windows gui fonts like times new roman, arial , tahoma etc..
    I WANT TO PRINT IT IN TEXT-BASED FONTS NOT WINDOWS FONT WHICH GAIN HIGH QUANTITY OF TONER . I want to print like IBM COBOL, FOXPRO, GWBASIC, PASCAL TEXT MODE REPORTS

Maybe you are looking for

  • What's the maximum size of data a coherence cluster can hold?

    What's the maximum size of data a coherence cluster can hold before it starts noticing a degradation in performance? Assume a partitioned topology is used with only one backup for each partition.

  • Release codes  Indicators in Release procedure

    Hi sap gurus In my release procedure Configuration, we have 4 release codes 01  engineer 02  Manager 03  DGM 04  GM the release indicators must be configured such that if any value changes or qnty changes is done by 04 GM code it must be re-released

  • Change E-mail Alternative

    I need Change E-mail Alternative

  • MemoryManager.cpp 437

    Hi All, I'm getting a "Labview crash in Memory Manager.cpp line 437" message. I followed the theads related to this error, but it seems to me I'm not in the situation there described. I'm not using Labview Real Time and I'm working with LV 8.6.1 prof

  • Mute not working in iTunes full screen

    I'm having a problem with the Mute not working while in iTunes full screen. I have iTunes 7.6.1.9. The mute works on my keyboard and remote with every other instance but full screen. Any ideas, very annoying! I have a HP media Center PC, Vista 32bit.