What is the Value of SY-UCOMM when we copy the SC?

SRM Experts,
What is the Value of SY-UCOMM(Function code) when we copy, create, delete and change the SC in SRM 5.0?
Thanks!
MP

Hi,
Just put a break point in the BADI and create a SC.At runtime,you can see the value of the field "SY-UCOMM".Also as Dean suggested ,you can look in the std program for the OK-codes  for the various buttons on the screens.
BR,
Disha.
<b>Pls reward points for useful answers.</b>

Similar Messages

  • What is the value of sy-ucomm when tab is pressed

    Hi Experts,
    what is the value of sy-ucomm when tab is pressed or is there any way to detect or capture the pressing of  tab as we do for the enter. if so kindly help
    please advance thanks

    Hi Samraj,
    Consider this sample code, here based on user commands the code calls the Tab's.
    Define
    Data : pressed_tab LIKE sy-ucomm VALUE c_ticket-tab1,
    IN PBO
    MODULE ticket_active_tab_set.
    CALL SUBSCREEN ticket_sca
    INCLUDING g_ticket-prog g_ticket-subscreen.
    MODULE ticket_active_tab_set OUTPUT.
    ticket-activetab = pressed_tab.
    CASE pressed_tab.
    WHEN c_ticket-tab1.
    g_ticket-subscreen = '0204'.
    WHEN c_ticket-tab2.
    g_ticket-subscreen = '0205'.
    WHEN c_ticket-tab3.
    g_ticket-subscreen = '0206'.
    WHEN OTHERS.
    DO NOTHING
    ENDCASE.
    ENDMODULE. " TICKET_ACTIVE_TAB_SET OUTPUT
    Thanks,
    Reward If helpful.

  • What is the default value of boolean type transient attribute in VO?

    Hi All,.
    jdev version-11.1.2.1.0
    i have created one vo based on eo where i add one boolean type transient attribute Marked(uihint checkbox).
    now i have apply view criteria on this vo.
    like---
         ViewObject vo=getView(iterator);
         vo.setQueryMode(ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);
         ViewCriteria vc=vo.createViewCriteria();
         ViewCriteriaRow vcr=vc.createViewCriteriaRow();
         vcr.setAttribute("Marked", "true");//Setting attribute on view criteria.
           vcr.setConjunction(ViewCriteriaRow.VCROW_CONJ_AND);
           vc.setCriteriaMode(ViewCriteria.CRITERIA_MODE_CACHE);
         vo.applyViewCriteria(vc);//Apply view criteria on vo.
         vo.executeQuery();
         vc.add(vcr);
       vo.executeQuery();this code running fine and that is selected only those row which i have cheked.
    but now i want to apply view criteria that select select those rows that are not checked.
    like-
    vcr.setAttribute("Marked", "false");but it is not return any row.
    if select checked any row and then uncheked that row so marked attribute for this row set false. but rows that are unchecked by default not return.
    so my question is that what is default value of Marked attribute when user not take any action i will try
    vcr.setAttribute("Marked","null");
    but not working.

    i have tried this but this is not working.
    follwing code working for Null case not for False
    vcr.setAttribute("Marked","is null"); this code display all rows who has null but when i checked any row and then unchecked so that row get value "false" also not display.

  • Validate value to be number when entering value

    hi i what to validate value to be number when entering for example if am entering social security number i must make sure its number,i try convernumber but when i navigate away from field it put commas 22,222,222 instead of 22222222.am in jdeveloper 11.1.1.6.0
    Edited by: adf009 on 2013/02/14 11:45 AM
    Edited by: adf009 on 2013/02/14 12:08 PM

    set the groupingUsed property to false.
    <af:inputText label="Label 2" id="it2">
            <f:convertNumber groupingUsed="false"/>
          </af:inputText>

  • When I am trying to create an organization in HRMS, and clicking on Type field, it is showing me "Frm-41830: List of values contains no entries". Please suggest me what is the solution

    When I am trying to create an organization in HRMS, and clicking on Type field, it is showing me "Frm-41830: List of values contains no entries". Please suggest me what is the solution

    Hi,
    Type is one part of Org creation....
    Optionally, select an organization type in the Type field.
    Organization types do not classify your organization, you use them for reporting purposes only. The type may identify the function an organization performs, such as Administration or Service, or the level of each organization in your enterprise, such as Division, Department or Cost Center. You create the organization types you require by entering values for the Lookup Type ORG_TYPE.
    Regards:
    Shahzad M. Saleem (mark this answer as helpful if it helps u)

  • I have a FP-1600 and a FP-AO-200 module, 0-20 ma. When I use Field Point Explorer 3.0.1, I can not command any of the channel output current. The current remains in the lowest value 0.0035 A. What is the problem ?

    I have a FP-1600 and a FP-AO-200 module, 0-20 ma. When I use Field Point Explorer 3.0.1, I can not command any of the channel output current. The current remains in the lowest value 0.0035 A. What is the problem ? The communications with the module are OK, because it shows when the current are open or closed.

    Jorg,
    I noticed that you claimed to be using the module in 0-20mA mode, yet the reading you are seeing is 3.5mA. This is the minimum value (with overranging) when the module is set to 4-20mA mode. My guess is that your module is defaulting back to 4-20mA mode, but your IAK file still thinks the module is in 0-20mA mode. You can verify this by using the find devices button in FieldPoint Explorer and then trying to write to the channel.
    To fix this problem, you should use the snapshot feature to change the default power-up mode for that channel.
    Regards,
    Michael Shasteen
    Applications Engineering
    National Instruments
    www.ni.com/ask
    1-866-ASK-MY-NI

  • What are the different values available for type attribute

    Hi,
        I am working with IDOC to Stored Procedure. For each field we need to give the values for 'isInput' and 'type' attributes. I need to pass values for 'datetime' and 'numeric' fields. What are the list of values availabIe for 'type' attribute. I know only about 'CHAR' attribute.
         Can anybody please tell me what all the values availabe for attribute 'type'. I am facing this problem while giving the value for type attribute.
    Thanks in Advance,
    Murthy.

    Does this help
    tring
        Data that contains a combination of letters, numbers, and special characters. String data types are listed below:
    CHARACTER: Fixed-length character strings. The common short name for this data type is CHAR.
    VARCHAR: Varying-length character strings.
    CLOB: Varying-length character large object strings, typically used when a character string might exceed the limits of the VARCHAR data type.
    GRAPHIC: Fixed-length graphic strings that contain double-byte characters.
    VARGRAPHIC: Varying-length graphic strings that contain double-byte characters.
    DBCLOB: Varying-length strings of double-byte characters in a large object.
    |BINARY: A sequence of bytes that is not associated with a |code page.
    |VARBINARY: Varying-length binary strings.
    BLOB: Varying-length binary strings in a large object.
    |XML: Varying-length string that is an internal representation |of XML.
    Numeric
        Data that contains digits. Numeric data types are listed below:
    SMALLINT: for small integers.
    |INTEGER: for large integers.
    |BIGINT: for bigger values.
    DECIMAL(p,s) or NUMERIC(p,s), where p is precision and s is scale: for packed decimal numbers with precision p and scale s. Precision is the total number of digits, and scale is the number of digits to the right of the decimal point.
    |DECFLOAT: for decimal floating-point numbers.
    REAL: for single-precision floating-point numbers.
    DOUBLE: for double-precision floating-point numbers.
    Datetime
        Data values that represent dates, times, or timestamps. Datetime data types are listed below:
    DATE: Dates with a three-part value that represents a year, month, and day.
    TIME: Times with a three-part value that represents a time of day in hours, minutes, and seconds.
    TIMESTAMP: Timestamps with a seven-part value that represents a date and time by year, month, day, hour, minute, second, and microsecond.
    Regards
    Ravi

  • What is the initial value for a numeric field ??

    Can someone tell me what the INITIAL VALUE FOR A NUMERIC FIELD is ?? Thank you
    Rod.

    Using the following...
       class MyClass
         int myvar1;  // Default initial value
         int myvar2 = 3;  // Default initial value and default value
         MyOtherClass myclass1; // Default initial value
         void doit()
           int mylocal1;  // No value
           MyOtherClass myclass2; // No value
    All number member variables, like myvar1 start off with andefault initial value which is zero. For booleans this is false. Object reference variables, like myclass1, have a null value.
    All local numeric variables are considered undefined. So mylocal1 and myclass2 are undefined. Before you can use them you must explicitly provide a value.
    Finally note that myvar2 will have two values during class instantiation. Initially it will have a value of zero. Sometime later it will have the value of 3. (When that happens is very definitely outside the scope of what this forum covers. If you want to know then ask in the advanced forum.)

  • What is the diff between OK_CODE and SY-UCOMM

    Dear All,
    I am trying to develop on module pool program using push buttons to pass the data to input/out filed. When I do the debugging the sy-ucomm is showing the data but not OK_CODE in case statement.
    Case OK_CODE.
    When 'one'.
    num = '1'.
    call function 'ZCA_INPUT_OUT'.
    Import
    numz = num
    export
    number = inputi. " input/output field in screen painter
    end case.
    Can you pls give me a solutions what is the main mistake I did here.
    I could not able to pass the data through push button to input/out field.
    Regards,
    Chandra.

    Hi all,
    still I have same problem.
    below is my program code.
    REPORT  ZCA_CALCULATOR_DEMO.
    DATA INPUTI TYPE string.
    Data num type string.
    DATA: OK_CODE TYPE SY-UCOMM,
          save_ok like ok_code.
    call screen '100'.
    INCLUDE ZCA_CALCULATOR_DEMO_STATUS_O03.
    ***INCLUDE ZCA_CALCULATOR_DEMO_STATUS_O03 .
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'GUI100'.
      SET TITLEBAR 'ZCHAR'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    INCLUDE ZCA_CALCULATOR_DEMO_USER_COI01.
    ***INCLUDE ZCA_CALCULATOR_DEMO_USER_COI01 .
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    save_ok = ok_code.
    clear ok_code.
    CASE save_ok.
        WHEN 'one'.
          num = '1'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
        WHEN 'two'.
          num = '2'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
        WHEN 'three'.
          num = '3'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
    WHEN 'FOUR'.
          num = '4'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
    WHEN 'FIVE'.
          num = '5'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
    WHEN 'SIX'.
          num = '6'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
    WHEN 'SEVEN'.
          num = '7'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
    WHEN 'EIGHT'.
          num = '8'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
    WHEN 'NINE'.
          num = '9'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
    WHEN 'ZERO'.
          num = '0'.
          CALL FUNCTION 'ZCA_CAL_INPUT'
            EXPORTING
              NUM    = num
            IMPORTING
              NUMBER = inputi.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    function zca_cal_input.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(NUM) TYPE  STRING
    *"  EXPORTING
    *"     REFERENCE(NUMBER) TYPE  STRING
    data: nextnum type string,
          currnum type string.
    loop at screen.
    if screen-name = 'inputi'.
    nextnum = num.
    concatenate currnum nextnum into currnum.
    number = currnum.
    endif.
    endloop.
    endfunction.
    this is my entire program code. 
    now I have mention OK_code type ok in screen painter attribute also.
    but still haveing sample problem .......
    can you pls some one will explain what need to be done in this case.
    Regards,
    Chandra V

  • Is there a way to add to the existing values in a container when a LabVIEW prototype (cluster) changes?

    Is there a way to add to the existing values in a container when a LabVIEW prototype (cluster) changes?
    I have a cluster with 90 values..  ninety!  yes that many.
    Change one bloody value and the prototype changes in the TestStand step...  Reload the prototype and guess what happens??!!??
    All the bloody values get reset to defaults!  AAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGGGHHHHHHHHHHHH!
    If it was in one place, I could survive the ordeal.  But I have to change bloody prototypes in many places!!!!
    more AAAAAAAAAAARRRRRRRRRRRGGGGGGGGGGGHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!
    I can't even copy the bloody values!!!!!!!  AAAAAAAAAAAARRRRRRRRRRRRRRGGGGGGGGGGGHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!
    Are there any tricks that I am not aware of, or have forgotten over the years, or...  ...   something??!!??!???!!
    If there are none, I will have to post an improvement to TestStand..  I should mention I am using an older version (4.1).

    Hmmmmmmmmmmmmmmmm,
    I am not not very famous with LV and its cluster types.
    So no idea if this works (it works for DataTypes updates very well and a LV cluster is Data Type so.... maybe)
    Make a copy of the step that has to be modified to an new sequencefile. 
    Make modifications the in the copy.
    Now you should have the same DataType Name but other contents in the container. Save it.
    Normally there should be a message box that tells you that version has been incremented. - Accept it.
    Set in StationOptions-File "Allow Automatic ...." to Never.
    Open original sequencefile. Now the there must be a type conflict. Accept/Apply to all  "Use Current Loaded.."
    You have updated the type.....
    Hope this worked,
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • ThreadOpt values - is it possible to set them and what are the ranges?

    Hi there,
    I have a problem on my TestStand 4.2 platform, with test step result, formed and received from called external sequences results. In my Main sequence, in Post-Expression I defined condition, according to which the "Step.Result.Status" is passed or failed, and it works. But the problem is that in Status Expression field there is following statement: "(Step.Result.Status == "Done" && (Step.TS.SData.ThreadOpt == 0 || Step.TS.SData.ThreadOpt == 3)) ? "Passed" : Step.Result.Status". After deep search in the user manual, I found that (Note from "Expression Tab - Step Properties Dialog Box"): "Certain types of steps, such as Numeric Limit Tests, Multiple Numeric Limit Tests, String Value Tests, Pass/Fail Tests, and Statement steps, reserve one or more of these expressions to perform operations specific to the type of step or a substep performs the operation. In these cases, you cannot use the expressions the step type reserves, which appear dimmed on the tab." 
    Now, my problem is that at this specific step I call to an external sequence, which returns results and it is correct, but if these results, compared to expected are not the same, my step in the main sequence fails. Which is OK. But when the final report is generated I see there "Number of Tests Failed: 0", which is not OK. Since I can't change the "Step.Result.Status == Done", which comes from the external sequence, I thought that may be there is a place to change the "Step.TS.SData.ThreadOpt" and this way to cause to main sequence to correctly report "Failed Tests <> 0"??? 
    Does anyone has an idea whether it is possible to set this the ThreadOpt value and what is the accepted range?
    Your feedbacks and inputs are highly appreciated.
    Stephan

    GSinMN wrote:
    Hello Doug,
      I didn't think I was modifying any hidden properties.  It's just configuring a sequence call step when you add it to the sequence.  The "Execution Options" are clearly shown in a dropdown menu on the Module tab.  I was just pointing out that this seems to be what sets the ThreadOpt variable.  
    GSinMN
    Maybe I misunderstood. When you said "My normal process is to set it to 1, but based on this info, it needs to be either set to None or Use Remote Computer if you want anything other than "Done" to be returned." I thought you meant that you were setting the property directly rather than setting your sequence call steps to "New Thread" with the combobox.
    -Doug

  • What is the Firefox start page looking for when it tells me I'm not using the most current version and need to update Firefox? The check for updates button says my version is up to date, but the start page disagrees. Is there a setting I need to adjust?

    Okay: My start page is the one Google provides: http://www.google.ca/firefox?client=firefox-a&rls=org.mozilla:en-US:official and frequently it has a note underneath the search box that "You're not on the latest version of Firefox. Upgrade today to get the best of the Web!" But when I check for updates on the About Firefox window, it says my Firefox is up to date. So what is the start page looking for? Is there some setting I need to adjust? Or is this a Google marketing ploy to get me to switch to Chrome?

    I tentatively think I have the solution; this is for when the session id value 'thing', in about:config, referred to in other answers is already on the default/rest state.
    I am assuming, I don't what to imply certainty in-case there is a value wrong in our browsers, that the problem stems from the fact that our homepage is no longer the default for Firefox.
    So, go to 'Options'>'General' and delete the homepage. This will reset it to the new address, which is 'about:home'.
    I hope this helps some people.

  • What is the best way to implement default values stored in a DB table?

    [JHeadstart 10.1.3 build 78]
    [JDeveloper 10.1.3 SU4]
    We are struggling on how to best implement default values that are stored in a DB table. What we have is a database table with (CODE_TYPE, TABLE_NAME, COLUMN_NAME, DEFAULT_VALUE) as columns. This way the application administrator can administer default values himself/herself. Now we need to find the best way to set these table supplied default values in new rows. Globally we are aware of two ways:
    - override create() method on VO
    - probably create a View Object on top of the database table with default values (we are capable of transposing the table and return exactly one row with a column for each default value) and use JHeadstarts item property 'Default Value'.
    We prefer the latter, since this is more declarative, however we struggle with the EL expression needed to indicate the default value.
    If we have a VO named "DefaultValues" with a SELECT on a view on top of our database table (transposed) returning exactly one row, let us say:
    SELECT orglanguage, orgtype, orgstatus [...]
    FROM v_default_values
    --> returning exactly one row
    and we want an EL expression on an item that needs the value from orglanguage. What will the EL expression be? Something like:
    #{data.DefaultValuesPageDef.currentrow.orglanguage.inputValue}? We tried several things but they do not work. A static default value works, but every EL expression so far does not. We know that using "data" can be dangerous, but thought JHeadstart takes care of preparing the other Page Definitions, so it might be possible when you use JHeadstart.
    Or is overriding the create() method the preferred way? Or do we have to look at a Managed Bean for our default values that we refer to from EL (let us say MyAppDefaultValuesBean) and in that case: how do you associate a Managed Bean with a VO?
    Any help would be appreciated. Apart from these default values, things are going rather well in this first J2EE/JHS project for us!
    Toine

    Steven,
    Thanks for the reply. Unfortunately whatever we try, we cannot get it to work. We started looking at the second option (since we do need default values also in table lay-out new rows). We created a DefaultValues ViewObject, added it to the Application Module, added an EL expressiona to the Default Display Value property (replacing your ending ")" with a "}" offcourse ;-)), ran the JAG so that a page definition was generated for DefaultValues and we managed to get it prepared when loading for example the Organisation's jspx page. However no default value appears in a new row (not in Form, not in Table layout).
    I then created a quick application on top of the HR schema, added a DefaultValues ViewObject using one calculated attribute (set Salary fixed to 1000), added the EL expression to the Salary Default Display Value property in the Employees Group, made sure the DefaultValuesPageDef is prepared by adding it to the parameter section and I see it getting prepared. I also see a managed Bean is created in the Employees-bean.xml.
    In the Embedded OC4J log we see:
    16:01:01 DEBUG (JhsPageLifecycle) -executing onCreate
    16:01:01 DEBUG (JhsPageLifecycle) -CreateEmployeesDefaultValues bean found, applying default values to new row
    2006-08-02 16:01:01.825 WARNING [ADFc] Warning: No Method onCreateEmployees and no actionBinding CreateEmployees found.
    Is it this warning we should be worried about? Since no default value is created.
    The managed bean (Employees-beans.xml) looks like:
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <managed-bean>
    <managed-bean-name>CreateEmployeesDefaultValues</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.bean.DefaultValuesBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>iteratorBinding</property-name>
    <value>#{bindings.EmployeesIterator}</value>
    </managed-property>
    <managed-property>
    <property-name>defaultValues</property-name>
    <map-entries>
    <map-entry>
    <key>Salary</key>
    <value>#{data.DefaultValuesPageDef.DefaultValuesIterator.currentRow.Salary}</value>
    </map-entry>
    </map-entries>
    </managed-property>
    <managed-property>
    <property-name>actionResult</property-name>
    <value>CreateEmployees</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>searchEmployees</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.bean.JhsSearchBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>bindings</property-name>
    <value>#{data.EmployeesPageDef}</value>
    </managed-property>
    <managed-property>
    <property-name>searchBinding</property-name>
    <value>#{data.EmployeesPageDef.advancedSearchEmployees}</value>
    </managed-property>
    <managed-property>
    <property-name>searchAttribute</property-name>
    <value>EmployeeId</value>
    </managed-property>
    <managed-property>
    <property-name>dataCollection</property-name>
    <value>EmployeesView1</value>
    </managed-property>
    <managed-property>
    <property-name>autoquery</property-name>
    <value>true</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>EmployeesCollectionModel</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.bean.JhsCollectionModel</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>jhsPageLifecycle</property-name>
    <value>#{jhsPageLifecycle}</value>
    </managed-property>
    <managed-property>
    <property-name>bindings</property-name>
    <value>#{bindings}</value>
    </managed-property>
    <managed-property>
    <property-name>rangeBinding</property-name>
    <value>#{bindings.EmployeesTable}</value>
    </managed-property>
    <managed-property>
    <property-name>defaultValues</property-name>
    <value>#{CreateEmployeesDefaultValues.defaultValues}</value>
    </managed-property>
    </managed-bean>
    </faces-config>
    This is the DefaultValues.xml:
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <ViewObject
    Name="DefaultValues"
    BindingStyle="OracleName"
    CustomQuery="true"
    ComponentClass="hr.model.DefaultValuesImpl"
    UseGlueCode="false" >
    <DesignTime>
    <Attr Name="_version" Value="10.1.3.36.73" />
    <Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess" />
    </DesignTime>
    <ViewAttribute
    Name="Salary"
    IsUpdateable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="SALARY"
    Expression="1000"
    SQLType="VARCHAR" >
    </ViewAttribute>
    </ViewObject>
    The PageDef for Defaultvalues is like:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.36.73" id="DefaultValuesPageDef"
    Package="hr.view.pagedefs" EnableTokenValidation="false">
    <parameters/>
    <executables>
    <iterator id="DefaultValuesIterator"
    Binds="AppModuleDataControl.DefaultValues1"
    DataControl="AppModuleDataControl" RangeSize="10"/>
    </executables>
    <bindings>
    <attributeValues id="DefaultValuesSalary"
    IterBinding="DefaultValuesIterator">
    <AttrNames>
    <Item Value="Salary"/>
    </AttrNames>
    </attributeValues>
    <table id="DefaultValuesTable" IterBinding="DefaultValuesIterator">
    <AttrNames>
    <Item Value="Salary"/>
    </AttrNames>
    </table>
    <action id="FirstDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="12"/>
    <action id="PreviousDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="11"/>
    <action id="NextDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="10"/>
    <action id="LastDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="13"/>
    <methodAction RequiresUpdateModel="true" Action="999"
    id="advancedSearchDefaultValues"
    IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl"
    InstanceName="AppModuleDataControl.dataProvider"
    MethodName="advancedSearch"
    ReturnName="AppModuleDataControl.methodResults.AppModuleDataControl_dataProvider_advancedSearch_result"
    IsViewObjectMethod="false">
    <NamedData NDName="viewObjectUsage"
    NDValue="#{searchDefaultValues.dataCollection}"
    NDType="java.lang.String"/>
    <NamedData NDName="arguments" NDValue="#{searchDefaultValues.arguments}"
    NDType="java.util.ArrayList"/>
    <NamedData NDName="allConditionsMet"
    NDValue="#{searchDefaultValues.allConditionsMet}"
    NDType="java.lang.Boolean"/>
    </methodAction>
    <action id="setCurrentRowWithKeyDefaultValues"
    IterBinding="DefaultValuesIterator"
    InstanceName="AppModuleDataControl.DefaultValues1"
    DataControl="AppModuleDataControl" RequiresUpdateModel="false"
    Action="96">
    <NamedData NDName="rowKeyStr" NDValue="#{row.rowKeyStr}"
    NDType="java.lang.String"/>
    </action>
    <action id="CreateDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="40"/>
    <action id="DeleteDefaultValues" IterBinding="DefaultValuesIterator"
    DataControl="AppModuleDataControl" RequiresUpdateModel="false"
    Action="30"/>
    <action id="Commit" RequiresUpdateModel="true" Action="100"
    DataControl="AppModuleDataControl"/>
    <action id="Rollback" RequiresUpdateModel="false" Action="101"
    DataControl="AppModuleDataControl"/>
    </bindings>
    </pageDefinition>
    We do not understand what is wrong and why the default values do not get created in the new rows (and it is taking us far too much time). Any chance the EL expression is still wrong? It is a shame that any syntax errors in EL expressions are not visible in some logfile. It looks like when EL expressions are wrong, they are ignored instead of raising an error...
    Toine

  • What is the alternative for DisplayMemberPath="Value" for Windows Store applications?

    I think there is a bug with Windows Store Applications when it comes to using DisplayMemberPath="Value".
    Here is my code
    <ComboBox Height="40" VerticalAlignment="Stretch" SelectedValuePath="Key" DisplayMemberPath="Value" x:Name="comboBox1" FontSize="25"/>
    var source = new Dictionary<string, double>();
    source.Add("Item1", 0.4);
    source.Add("Item2", 0.3);
    source.Add("Item3", 0.1);
    source.Add("Item4", 0.1);
    var formateDSource = new Dictionary<string, string>();
    foreach (var item in source)
    formateDSource.Add(string.Format("[{0}, {1}]", item.Key, item.Value), item.Key);
    comboBox1.ItemsSource = source;
    If you use this code in WPF in works perfectly. However if you use this code in a Windows Store Application then the Combo Box is empty and an error is thrown. So is there an alternative way to do this in Windows Store Applications and have I unearthed a
    bug? Because I have researched the Web for days and found no solution to this.*please do not comment unless you have tried my code as a Windows Store App not a WPF in Visual Studios. Can Someone post an example based on my code that works in Windows Store
    Apps please because this is terrible.
    Thanks

    It looks like you got an answer on SO:
    http://stackoverflow.com/questions/29817124/what-is-the-alternative-for-displaymemberpath-value-for-windows-store-applicat
    This does look like a bug.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • What does the Merge Data Stream processor do when there are multiple input streams to it from the same reader?

    Hi,
    I have a process with a reader of master data that outputs 5 records that feeds simultaneously into 3 different lookup and return processors.
    Each lookup and return processor brings some data back from a detail table. There can be multiple details so I follow each lookup processor with a split records from array processor. Hence I end up with 3 'streams' of data. Stream 1 has 8 records, stream 2 has 5 records and stream 3 has 6 records.
    I join all these streams to a Merge Data Streams processor.
    I end up with 9 records so although the help for the Merge Data Streams processor says 'Merge Data Streams does not perform any transformation, matching, or merging of records' there is clearly some merging going on.
    What is the behaviour of the merge data streams processor in this scenario?
    I have added attributes and flags into each of the streams. How many records should I see and what values should the added attributes/flags have (some records show attributes/flags from all 3 streams whereas others show just those attributes/flags from one stream).
    I have developed a test case simply to understand what the processor is doing but it's not obvious and furthermore it's probably unwise to develop EDQ processes where the processor behaviour is not documented and guaranteed to remain consistent. What I am trying to achieve is to bring all of a person's (the master data) various details (assignments, employers, etc.) together so we can check the data (some rules require data from multiple details).
    Thanks, Nik

    Cheers Mike - and for the explanation of the terms.
    I think I understand now how it's supposed to work.
    What I'm finding however is that when I set a flag to Y at the beginning of a path (that includes a lookup and return and then split records from array processor) that flag is showing no (i.e. an empty) value in SOME of the records shown in the subsequent MDS processor (it's fine the very last split processor before we get to the MDS but then again there are fewer records in that split processor than the MDS).
    In my case there are obviously more records in the MDS processor than there were in the original reader (because the lookup and returns are configured to have unlimited maximum matches). As mentioned, the different paths return different numbers of  records before being combined in the MDS. Say a reader has 5 records and path 1 returns 8 records in total including a path-specific flag (flag1, set to Y) but path 2 (that again adds its own path-specific flag (flag2, set to Y) returns just 5 records (since nothing was added from the lookups) are you saying that flag2 would show as 'Y' for all 8 records shown in the MDS?
    Hopefully you would be able to see what I mean if you try to create a process like the one I've described (or I can upload a package).
    Re. the purpose of the separate paths approach it is simply to allow the visualisation ('showing the working' as Neil puts it) of the different checks being carried out by the process.
    This is considered one of the benefits of the tool over writing SQL queries (with outer joins, query criteria, etc.).
    Also, as mentioned I was following an example that Neil put together for us to ensure that we are doing things in a 'proper' and supported way.
    If we put all the lookups, etc. for all the checks into one datastream then it no longer becomes so understandable and the value of joining processors in a process over simply writing SQL becomes questionable; arguably the EDQ process in fact becomes less easy to understand than simply writing SQL.
    Also, to go down this route I will need to revise the (what was previously substantially working until I revised it) processes that I have already developed.
    Thanks, Nik

Maybe you are looking for