How to handle classification multi value characterstic

Hi,
I searched SDN for multi value characteristic addition in to classificatin data source and found that we need to implement notes: 535370, 350296 sin sequence. But I'm wondering if there is any update on creating the class data source with multple value chars ? Please advice if we have any logic to add the multi value chars without changing the CT04 setting or implementing the notes....Thanks inadvance
Sam

We had to extarct multiple values from classification for equipment and Function Location. Created a generic Funcion module based extractor and used below approach to fetch multiple values :
1. Enhance the extract structure with the Maximum number of required fields.
2.Fetch Attribute Name, Attribute number and units (used for key figures) from CABN
3. Fetch Object number for the given equipment from INOB by passing Equipment number and class type
4. Fetch the attribute values from AUSP using object number (3), attribute number (2), object/class indicator and class type.
5. Loop over the result set obtained (4) and using the attribute number, move the values to field corresponding to that of the extract structure.)
Thanks,
Monika

Similar Messages

  • Does Retry events handle the multi-value field correctly.

    Hi ,
    Just curious if the retry event task handle the multi-value event correctly. Let say we have five values a1, a2, a3, a4, a5 in a child table and while provisioning a2 and a4 get failed. Now when the retry task will run how will it be sure that it will pick up a2 and a4 value in the retry task. My understanding is we need to handle it in the code but just want to make sure if there is any configuration that will make it easy to achieve and we don't need to iterate the values in java code.
    Thanks.

    Hi Kevin,
    Thanks for the reply. Does that mean that in case of retry the code will only execute for a2 and a4 (in the example in mentioned in my initial post) as i couldn't see maintain the key in the task retry schedule task or sch table. Am i missing anything.
    In our case sometimes retry will send the value a1 (as example) while the failure is for a2. Do i need to put some additional config?

  • How to pass this multi-value parameter via GoURL?

    Currency is equal to / is in 'USD', 'GBR', 'RUR'. How to pass such multi-value parameter via GoURL?
    P0=1&P1=eq&P2=Measures.Currency&P3=?

    Found. P0=1&P1=eq&P2=Measures.Currency&P3=3+USD+GBR+RUR

  • How to query involving Multi-Value Attributes objects

    Hello.
         I have one question regarding coherence. We are looking for best and the fastest way to query multi-value attribute of objects. In Coherence User guide there is example, that shows, how can this be made with java.lang.String object:
         Set searchTerms = new HashSet();
         searchTerms.add("java");
         searchTerms.add("clustering");
         searchTerms.add("books");
         // The cache contains instances of a class "Document" which has a method
         // "getWords" which returns a Collection<String> containing the set of
         // words that appear in the document.
         Filter filter = new ContainsAllFilter("getWords", searchTerms);
         Set entrySet = cache.entrySet(filter);
         // iterate through the search results
         But I would like to know, how can this be made with some other object type. For example I could have object MyCoherenceObject with attribute HashSet<Identifier> idHashSet that would represent Person object that has composite key comprised of name and lastname. Identifier object would contain two attributes of type String: name & value.
         So basically I could have two identifiers in list:
         public MyCoherenceObject {
         public HashSet idHashSet = new HashSet();
         public MyCoherenceObject() {
         Identifier id1 = new Identifier("name", "John");
         Identifier id2 = new Identifier("surname", Smith");
         idHashSet.add(id1);
         idHashSet.add(id2);
         public HashSet getIdentifiers() {
         return idHashSet;
         This object would later be inserted in coherence cache. When query over coherence cache would be performed I would like all objects where multi-value parameter with name="name" equal "John" and parameter with name="lastname" equal "Smith". My code would look something like this:
         Set searchTerms = new HashSet();
         searchTerms.add("John");
         searchTerms.add("Smith");
         // The cache contains instances of a class "Document" which has a method
         // "getWords" which returns a Collection<String> containing the set of
         // words that appear in the document.
         Filter filter = new ContainsAllFilter("getIdentifiers", searchTerms);
         Set entrySet = cache.entrySet(filter);
         // iterate through the search results
         How can this be done. Basically I don't know how to search in multi-value attribute if one value represents arbitrary object and how to tell coherence which getter fuction must be used for comparison. In my case getValue() must be used and not getName().
         Second problem:
         Coherence must not return Person object with name="Smith" and lastname="John". Here upper filter would be satisified, but problem is that I am looking for person with lastname "Smith" and name "John".
         Domain description:
         I will have different objects of same type in coherence cache with different multi-value attribute list length. For example some objects will have only one identifier object in list (e.g. Phone "phoneNumber") some two (e.g. Person "name", "lastname") and other objects will have maybe three identifier objects (e.g. City "country", "area", "state").
         If there is faster way to do this in Coherence (I saw examples with getters that contain attributes for example), please give me some directions.
         Thank you very much for your help.

    When filtering based on the getIdentifiers, you should add Identifier instances into the searchTerms collection, and it will satisfy all your expectations. If you add simple Strings into that searchTerms collection, then none of your queries will return anything, because the String will never equal() the Identifier instances.
         You can also add an index on the getIdentifiers() method. However, the Identifier class should properly implement the equals() and hashCode() methods, and in order to be able to use an ordered index (you don't need that for the current requirements you listed), it should also implement Comparable.
         BR,
         Robert

  • How Can I Split Multi-Valued Attributes in Syndicator Map?

    Is the option to split multi-values only available for fields and not on attributes that are also multi-valued?

    How Can I Split Multi-Valued Attributes in Syndicator Map?
    Currently this feature are not in MDM you can split this value by using any middleware software for e.g. PI
    Is the option to split multi-values only available for fields and not on attributes that are also multi-valued?
    Correct, Multi-values option only available for field not for attributes
    Thanks,
    Jignesh Patel

  • How to sort via multi value parameter in ssrs

    I have a parameter with multi values. when the user selects ,he get of options like acount name, first name, last name.
    so if user selects firstname , the data has to sort by firstname.
    if he selects acount name , the data has to sort by account name.
    please help me how to sort the data using parameter with multivalue? in ssrs 2008.
    Thank you?

    Hi Venku,
    Based on your description, it seems that you create a parameter with available values and you want to sort the report data based on the parameter value. If the available values are the field names in the report, you can try to open the Tablix properties
    dialog box and specify the sort expression on "Sorting" tab as follows:
    =Fields(Parameter!parametername.value).value
    If the parameter allow multiple values and you want to sort the report data by more than one field, for example, sort the report data by "accountname" and then by "firstname", please add two sort expressions as follows:
    =Fields(Parameter!parametername.value(0)).value
    =Fields(Parameter!parametername.value(1)).value
    If you have any question, please let me know.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to handle comma separated values in OLE DB Source query for a parameter variable from XML file in SSIS

    Hi,
    I am using OLE DB Source to fetch the records with Data Access Mode as SQL COMMAND which is using the below query with a parameter,
    SELECT CON.Title,CON.FirstName,EMP.MaritalStatus,EMP.Gender,EMP.Title AS Designation, EMP.HireDate, EMP.BirthDate,CON.EmailAddress, CON.Phone
    from HumanResources.Employee EMP INNER JOIN Person.Contact CON ON EMP.ContactID=CON.ContactID WHERE EMP.Title in (?) 
    In this query for the parameter I am passing the value from a variable and which is configured (XML Configuration). While passing value
    Buyer it works correctly. But while passing values Accountant,Buyer
    it is not working as expected.
    How to handle while passing such multiple values Or is it possible to pass such values or not in SSIS 2012 ?
    Kindly help me to find a solution.
    NOTE: I placed the whole query in a variable as a expression as below it is working fine.
    "select CON.Title,CON.FirstName,EMP.MaritalStatus,EMP.Gender,EMP.Title AS Designation,EMP.HireDate,EMP.BirthDate,CON.EmailAddress,CON.Phone from HumanResources.Employee EMP
    INNER JOIN Person.Contact CON ON EMP.ContactID=CON.ContactID WHERE EMP.Title in ('" + REPLACE(@[User::temp],",","','")  +"')"
    Any other solution is there ? without placing the query in a variable. May be a variable can have some limitations for no. of characters stored not sure just a thought.
    Sridhar

    Putting the whole thing into a variable is certainly a valid solution.  The other involves putting the comma delimited list into a table valued variable.
    http://gallery.technet.microsoft.com/scriptcenter/T-SQL-Script-to-Split-a-308206f3
    For an odd ball approach: 
    http://www.sqlmovers.com/shredding_multiline_column_using_xml/ .
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • Sun IdM: How to set a multi-value field on document.mainform via javascript

    The following will set variables.variable1 to variables.variable2 when the "Script Link" component is clicked. I would like to modify
    this so that el2 references a multi-valued element (e.g. a list generated by a Select Field)
    <Field>
    <Display class='Javascript'>
    <String>
    function myScript() {
    el=getElement(document.mainform,"variables.variable1");
    el2=getElement(document.mainform,"variables.variable2");
    el.value=el2.value;
    </String>
    </Display>
    </Field>
    <Field name='Script Link'>
    <Display class='Link'>
    <Property name='URL'>
    <String>javascript:myScript();submitCommand(document.mainform,%20'Recalculate');</String>
    </Property>
    </Display>
    </Field>
    My issue is, if variables.variable2 is a list / multivalued, i get errors trying to traverse through the "array".
    How can i read and set a list element via the javascript function above? I've tried things like get(), put() , as well
    as path expressions like variables.variable2[0] .
    any help would be appreciated....
    is there an API somewhere i can reference?

    The MultiSelect field-type is a little different than the rest of the fields. If you use the applet version, then selecting/deselecting values cannot be captured by referencing the field directly in javascript.
    The way to identify the selections is to use the javascript methods includes/MultiSelect.js file (IDM form submission uses the same method):
    fixMultiSelectAppletBeforeSubmit( )
    fixMultiSelectNonAppletBeforeSubmit( )
    .. and then referencing the "<multiselect-field>_selected" form element.
    So in your case, the code should look something like this:
    function myScript() {
        fixMultiSelectAppletBeforeSubmit(document.mainform,"variables.variable1");
        var el1 = getElement(document.mainform,"variables.variable1_selected");
        // assign the value to variable2..
        el2 = getElement(document.mainform,"variables.variable2");
        el2.value = el1.value;
    }Just make sure ":variables.variable2" is not a multi-select field, else the value set here will be reset during form submission.
    Adi
    [www.xpressutils.com|http://www.xpressutils.com]

  • How to Handle Blank Field Value based Condition in SmartForms

    Dear Sir,
    In SMARTFORM , we need to define a Condition that incase Field Value is not equal to  BLANK value (blank means that field is empty) then a specific text gets printed .
    Our problem is that  We do not know as how to define  Empty Field Value  based condition .
    Had it been Non Empty Field value based condition then solution was simple and could be done in following way :
    Field Value                        R                     Comparision Value
    WA_KZDKZ                      =                      'X'
    In our case , we need to give Blank (Empty Value) instead of 'X' .
    Kindly help us pl .
    Rgds
    B Mittal

    Hi,
    To handle blank field values in SMARTFORMS,
    Go to the conditions tab in your SMARTFORM and give condition there
    Field                Comparision operator          value
    <Field name>      <> Here symbol is diff     space.
    eg:
    wa_mara-matnr    =/                                   space.
    Regards,
    Santosh Kumar M.

  • Newbie: How to handle a multi-step dialogue with no session?

    I can't see how to handle the following trivial problem:
    1. The user clicks on a button to retrieve values from the database
    2. The values returned are displayed in a table on the same page
    3. The user clicks a button next to the desired element
    4. Some action is performed
    I can achieve steps 1, 2, 3 but fail on step 4: the action is not called.
    One prerequisite is that I don't want to store anything in the session or application scope.
    In the example that follows, when you click on "Show Element" the action is not performed.
    This is myExample.jsp:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    <HTML>
    <HEAD>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <TITLE>Test</TITLE>
    </HEAD>
    <f:view>
         <BODY>
         <h:form>
              <h:commandButton action="#{myExample.doSearch}" value="Search Database" />
              <p/>
              <h:dataTable value="#{myExample.elements}" var="elem" binding="#{myExample.dataTable}">
                   <h:column>
                        <h:outputText value="#{elem}"/>
                   </h:column>
                   <h:column>
                        <h:commandButton type="submit" value="Show Element"     action="#{myExample.doShowElement}"/>
                   </h:column>
              </h:dataTable>
         </h:form>
         </BODY>
    </f:view>
    </HTML>This is myExample.java:
    package example;
    import javax.faces.component.html.HtmlDataTable;
    public class MyExample {
         private HtmlDataTable dataTable;
         private String[] elements;
         public MyExample() {
         private String[] readFromDatabase() {
              return new String[] {"one", "two", "three"};
         public String[] getElements() {
              return elements;
         public void setElements(String[] elements) {
              this.elements = elements;
         public HtmlDataTable getDataTable() {
              return dataTable;
         public void setDataTable(HtmlDataTable dataTable) {
              this.dataTable = dataTable;
         public String doSearch() {
              elements = readFromDatabase();
              return "";
         public String doShowElement() {
              String selected = (String) dataTable.getRowData();
              System.out.println("Selected element: " + selected);
              return "";
    }This is in faces-config.xml
         <managed-bean>
              <managed-bean-name>myExample</managed-bean-name>
              <managed-bean-class>example.MyExample</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
         </managed-bean>

    Thank you for your answer.
    I didn't realise I could use inputHidden for anything more complex than a single string...
    I have added a h:inputHidden for the elements array but it still doesn't work.
    How should it be used?
         <h:form>
              <h:inputHidden value="#{myExample.elements}"/>
              <h:commandButton action="#{myExample.doSearch}" value="Search Database" />
    ...While debugging I noticed that at the last button-press the getElements method is called twice before setElements, returning null.

  • How to create a multi value property

    Hello,
    I've defined a new property to use with the FAQ form, and set it to a multi value enabled (Multi-Valued checkbox on, Property Renderer set to multivalued).
    I've added a new Combo Box object to the form using Form Builder, and assign the property to it.
    However, I'm able to choose only one value while creating a new FAQ.
    What should I do in order to make it a multi value selection box (without programming) ?
    Thanks
    Eli

    Hi,
    You have to use the PortalApp.xml file
    In that file you have to create the properties and can have n options, it will not require programming.
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config/>
      <components>
        <component name="Welcome">
          <component-config>
            <property name="ClassName" value="com.sap.tutorial.Welcome.Welcome"/>
          </component-config>
          <component-profile>
            <property name="colorName" value="Blue">
              <property name="personalization" value="dialog"/>
              <property name="type" value="select[Red,Orange,Green,Blue,Yellow,Purple,Violet]"/>
              <property name="plainDescription" value="Favorite Color"/>
            </property>
            <property name="location" value="Pune">
              <property name="personalization" value="dialog"/>
              <property name="plainDescription" value="Country of Residence"/>
            </property>
            <property name="petsName" value="Tommy">
              <property name="personalization" value="dialog"/>
              <property name="plainDescription" value="Pets Name"/>
            </property>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    Regards,
    Dhruv Shah

  • How to handle blank time value in excel download in ALV. Please help

    Hi Experts,
       I have a ABAP webdynpro report which contains a ALV grid output. The ALV table has a time field (create_time of type tims).
       The problem is when the create_time value is initial (00:00:00 by default) it displays 00:00:00 in the ALV.
       When I export the contents to excel then there it shows the same value as 12:00:00 AM.
       How can I avoid this programmatically? Actually when time is initial then I want to display as blank instead of 00:00:00.
       For this if I change the data type of this field to CHAR08 then it displays the value as 0 (if initial) and 140523 (if time has some value or its not initial) instead if 14:05:23.
       I don't know if there is any better way to handle this.
    Please help.
    Thanks & Regards
    Gopal

    My suggestion is that you make the context attribute a type string. Then when you populate the data into the internal table that is bound to the context you perform a write statement on the date field. Here is some psydo-code.
    if <ls_data>-time is initial.
      clear <ls_output>-time.
    else.
      write <ls_data>-time to <ls_output>-time.
    endif.
    This way when the time is inital you can display nothing instead of the 00:00:00.  This should also keep Excel from knowing that this column is a time field. To Excel it will just be a string and it should display whatever text you placed into the field.
    Of course this means that filtering and sorting on this field won't work right.  Those operations will be befored without knowledge this is actually a time field.

  • How to handle a multi-department scenario?

    Hello,
         I've used WLI 8.1sp2 in the scenario of one administrator handling all
    processes of a company. However, I have a need to use a single
    installation to support multiple departments. Each department has its
    own set of users/roles, and has its own managers.
    I'd love to be able to let each department manager use the WLI console
    to configure their department's specific needs. However, there's no way
    to restrict them from viewing other processes and users in WLI.
    I'm thinking we need to provide a custom application to support this,
    where we can filter the processes and users by the department name (such
    as prepending the department name to the process name or user names).
    Then we'd have a custom application that uses the WLI APIs to filter out
    the information for that particular department.
    Can anyone comment on this scenario and how it could be achieved with
    WLI? Or, does anyone know a product that can handle such a scenario
    natively (I haven't seen one).
    Thanks

    Thank you for your answer.
    I didn't realise I could use inputHidden for anything more complex than a single string...
    I have added a h:inputHidden for the elements array but it still doesn't work.
    How should it be used?
         <h:form>
              <h:inputHidden value="#{myExample.elements}"/>
              <h:commandButton action="#{myExample.doSearch}" value="Search Database" />
    ...While debugging I noticed that at the last button-press the getElements method is called twice before setElements, returning null.

  • How to  handle fix asset value increase for HongKong company?

    Hi,
    We have repaired a fix asset,the repair expense is more than 20k HongKong Dollar.How can we handle the expense with the fix asset?
    Can anybody have any good suggestion?
    Thanks,
    Don

    Hi,
    Due to we don't use asset sub number,we would like to have another solution. Have anybody used the transaction "ABZON" with the old asset number to handle such case?  Could anybody share your experience?
    Thanks for all of you.
    Best Regards,
    Don

  • Handling multi-value parameters in VS 2005 / Crystal 2008

    In my program I am trying to handle a multi-value parameter using the following code, passing it an array of type string with the values that the user selected, but using the following code returns a 'Missing parameter values' error.
        For Each crParameterFieldDefinition In crParameterFieldDefinitions
            If Not crParameterFieldDefinition.IsLinked And crParameterFieldDefinition.ReportName = "" Then
                crParameterValues = crParameterFieldDefinition.CurrentValues
                crParameterDiscreteValue = New ParameterDiscreteValue
                If crParameterFieldDefinition.EnableAllowMultipleValue Then
                    Dim j As Integer
                    Dim x() As String = Session("FieldDef")
                    For j = 0 To x.GetUpperBound(0) - 1
                        crParameterDiscreteValue.Value = x(j)
                        crParameterFieldDefinition.CurrentValues.Add(crParameterDiscreteValue)
                    Next
                End If
                Session.Remove("FieldDef")
                i = i + 1
            End If
        Next
    I have also tried loading the values into a ParameterValues object and then using ParameterFieldDefinition.ApplyCurrentValues on it, which has been working fine for all of my single value inputs, but using that throws an error about a type mismatch. Any help at all would be appreciated.

    There are a few samples to look at here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Vbnet_win_paramengine.zip, vbnet_win_multirangeparam.zip and vbnet_win_rangeparameters.zip may be good
    Also, [this|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23?quicklink=index&overridelayout=true] article has great info.
    This is all assuming you are on SP3 for CR2008:
    https://smpdl.sap-ag.de/~sapidp/012002523100009989492010E/cr2008_sp3_fullbuild.zip
    SP 3 msi     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip
    SP 3 msm     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123582010E/cr2008sp3_mm.zip
    Ludek

Maybe you are looking for

  • Oracle backup & restore problem

    Hi Team, I am new to the RMAN, I want to test Backup & restore operation I have database called Test , I am creating new table in the database called Test_table through SQL *coPlus create mmand. Now After this I am taking backup the of all cotrolfile

  • Read statement giving sy-subrc = 4

    read table i_cdpos with key  OBJECTCLAS = i_cdhdr-OBJECTCLAS                              OBJECTID   = i_cdhdr-OBJECTID                              CHANGENR   = i_cdhdr-CHANGENR.                             FNAME      = 'WAERS'. if sy-subrc = 0 . if

  • Outbond interfaces

    Hi Experts, Please send me sample outbound interface codes in ABAP HR

  • Centralized distribution of material master

    hi all, where can i get some documents on " centralized distribution of material master concept ". please let me know. regards, Pavan.

  • HELP! MBP Screen Going Crazy!

    Hi Everyone, Been having screen problems with my MBP 2.66 Core i7 the past couple months. The computer's barely a year old and I've kept it in pristine condition. Problem is, I'll be surfing or doing Photoshop editing and all of a sudden, whichever w