Creating InfoObjects attribute

Hi,
Can any one tell how to create InfoObjects attribute
Regards,
Vivek

Hi Vivek
An infoobject can have another infoobject as an attribute included in its attribute tab.
You can create there itself an attribute by just clicking create infoobject
An attribute can be again Keyfigure or characteristc.
An attribute provide some additional information about the infoobject
Basic eg: 0EMPLOYEE and its attirbute
you got many type of attributes Display , Navigational, Transitive, also again categorised as time dependent adn time independent
below forum throws some light on master data and its attributes
https://forums.sdn.sap.com/click.jspa?searchID=22098299&messageID=6542490

Similar Messages

  • Creating InfoObjects Dynamically

    Hi,  Anyone have any ABAP I could use to create infoObjects dynamically?  I have a list of InfoObjects and related attributes and I'd Like to have them created using an ABAP... 
    ThankS!
    There must be some enterprising soul who could help out?
    I thought some enterprising soul would jump on this one.  There has to be a way using a class or BAPI?  anyone?

    Hi
    The upload from XML is a valid method if you can make an XML file with the required values.
    An alternative is to create a BDC with the LSMW instrument or use the BAPI BAPI_IOBJ_CREATE that manage all the different parameters you need (compounding, attribute,...)
    Regards,
    Vishwa

  • Error while creating infoobject

    Hi All,
    I was creating a infoobject using RSA1.
    On the attributes tab selected 0MATL_TYPE and 0MATL_Group.
    received error msg "Attributes should start with ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    i did accept my other entry "0PROFIT_CNTR"
    Please help.

    Hi,
    They are standard objects.. you can not create objects starting '0'
    Create them with Z**** Example ZMATL_TYP Zmatl_grp
    Refer Help .. Creating InfoObjects: Characteristics/Keyfigures
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a63f9e07211d2acb80000e829fbfe/frameset.htm
    Thanks
    Edited by: Srinivas on Jun 17, 2010 5:51 PM

  • Creating Infoobjects for the existing Infoprovider

    Hello,
          Can someone give me the steps to follow while creating infoobjects. Example - while working on a query realized that addition of 2 more infoobjects would make a lot of sense. So how do i go about creating infoobjects for the already existing infoprovider. I mean do i need to make the initial changes in the ODS or Infocube? Its just a doubt so please any amount of explanation would be of great help.
    Thank You,
    Anjali

    Hi Anjali,
    I agree with Sreenath.
    Few Suggestions:
    If these two fields are the part of Transaction Data then you need to add them in Transfer Structure and Infoprovider.
    If you want to use these objects as only Navigational Attributes then you need not add these fields to the Infoprovider, just make them as navigational attributes in the master data characteristics.
    Hope that helps.
    Regards
    Deepak

  • How to create custom attributes & object classes through ldif files in OID

    Hi,
    I have to create 4 attributes and one object class(custom) in OID. I want to creae these attributes and object class through LDIF file.
    I tried creating an attribute through this command
    ldapadd -p 389 -h localhost -D cn=orcladmin -w password -f D:/newattr.ldif
    this ldif file contains inf. for creating a new attributes:
    dn: cn=subschemasubentry
    changetype: add
    add: attributetypes
    attributetypes: ( 1.2.3.4.5.6.10 NAME "xsUserType_new" DESC "User Type Definition" EQUALITY caseIgnoreMatch
    SYNTAX "1.3.6.1.4.1.1466.115.121.1.15" )
    I am getting error: Object class violation
    Failed to find add in mandatory or optional attribute list.
    Please help to find where I am going wrong...
    Thanks.

    Hi Ajay,
    Thank you for the help. Now i am able to create both attributes and object classes in OID through Ldif files.
    I was getting constraint violation error because (I think) I was not giving proper naming convection for attributes and object classes. For OID, there are certain Ldap naming conventions. They are as follows:
    # X below is the enterprise number assigned by IANA
    1.3.6.1.4.1.X.1 - assign to SNMP objects
    1.3.6.1.4.1.X.2 - assign to LDAP objects
    1.3.6.1.4.1.X.2.1 - assign to LDAP syntaxes
    1.3.6.1.4.1.X.2.2 - assign to LDAP matchingrules
    1.3.6.1.4.1.X.2.3 - assign to LDAP attributes
    1.3.6.1.4.1.X.2.4 - assign to LDAP objectclasses
    1.3.6.1.4.1.X.2.5 - assign to LDAP supported features
    1.3.6.1.4.1.X.2.9 - assign to LDAP protocol mechanisms
    1.3.6.1.4.1.X.2.10 - assign to LDAP controls
    1.3.6.1.4.1.X.2.11 - assign to LDAP extended operations
    By using these conventions for attributes and object class, I did got any error and they were created in OID.
    Thanks a zillion.
    Kalpana.

  • Double-click to create method/attribute in EHP2 Netweaver 7.0 does not work

    Hi,
    this makes me wonder:
    I'm used to create new attributes or methods by simply double-clicking the new name and the system will ask me to create. Now I am new in EHP2 and for methods it just says 'wrong cursor position or object not in navigation', for attributes system just does not show any reaction.
    Please help me as it is really annoying always to create things from object tree or class header.
    What is it I do not see?
    Thanks so much.
    Clemens

    Hi,
    sorry I thought it was clear: I try in the new ABAP front end editor - accessed through SE80, SE24, SE38 and anay transaction that allows you to edit code (except  lousy things like the enhancement spot implementation code window).
    An it is still the same: In a report, I can write perform xyz and double-click will asjk me to create a form. Just in oo context, attributes and methods should be the same - as it was since ECC600 or even before on 46C. Except our current system I don't know anyone working on EHP2 for Netweaver 7.
    EHP2 just another undeclared untested Beta-Version?
    I can't believe.
    Regards,
    Clemens

  • All the steps involved in creating user attributes

    where is it documented on how to create user attributes that are stored in the ldap?
    I created a jspprovider channel, and I can get data out of the user attributes in the samplecontent.jsp by:
    JSPProvider p = (JSPProvider)pageContext.getAttribute("JSPProvider");
    SSOTokenManager mgr = SSOTokenManager.getInstance();
    SSOToken token = mgr.createSSOToken(request);
    AMStoreConnection dpc = new AMStoreConnection(token);
    String name = token.getPrincipal().getName();
    AMUser user = dpc.getUser(name);
    Map attMap = user.getAttributes();
    Collection valueCollection = attMap.values();
    Iterator valueIterator = valueCollection.iterator();
    int iSize = attMap.size();
    Set attKeySet = attMap.keySet();
    Iterator keyIterator = attKeySet.iterator();
    and then iterate through to display them all.
    I then tried to store a value using the sampledoedit.jsp file:
    JSPProvider p = (JSPProvider)pageContext.getAttribute("JSPProvider");
    SSOTokenManager mgr = SSOTokenManager.getInstance();
    SSOToken token = mgr.createSSOToken(request);
    AMStoreConnection dpc = new AMStoreConnection(token);
    String name = token.getPrincipal().getName();
    AMUser user = dpc.getUser(name);
    String aname = request.getParameter("attributeName");
    Object aval = request.getParameter("attributeValue");
    HashMap attMap = new HashMap();
    attMap.put(aname,aval);
    user.setAttributes(attMap);
    user.store(true);
    response.sendRedirect((String)pageContext.getAttribute("url"));
    For whatever reason, I get an error, and in the debug I just get couldn't set attributes.
    Then, when I try to retreive the list of attributes, the new name/value pair is created, but the value is blank.....
    Any ideas? Or a link on a step by step process on how to create user attributes?

    BTW, here is the error I get in the debug log:
    01/06/2005 12:43:47:232 PM AST: Thread[service-j2ee,5,main]
    ERROR: DesktopServlet.handleException()
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=doedit.jsp, com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp, com.iplanet.am.sdk.AMException: Unable to set attribute(s) com.sun.portal.desktop.taglib.DesktopTaglibException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp,
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:880)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:644)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp, com.iplanet.am.sdk.AMException: Unable to set attribute(s) com.sun.portal.desktop.taglib.DesktopTaglibException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp,
    at com.sun.portal.desktop.taglib.provider.ProcessEditTag.doStartTag(ProcessEditTag.java:28)
    at jsps.etc._opt._SUNWps._desktop._AnyWarePortal_en_CA._JSPEditContainer._html._doedit_jsp._jspService(_doedit_jsp.java:193)
    at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:644)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=sampledoedit.jsp, com.iplanet.am.sdk.AMException: Unable to set attribute(s)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:880)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.taglib.provider.ProcessEditTag.doStartTag(ProcessEditTag.java:26)
    at jsps.etc._opt._SUNWps._desktop._AnyWarePortal_en_CA._JSPEditContainer._html._doedit_jsp._jspService(_doedit_jsp.java:193)
    at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:644)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    com.iplanet.am.sdk.AMException: Unable to set attribute(s)
    at com.iplanet.am.sdk.AMDirectoryManager.processInternalException(AMDirectoryManager.java:247)
    at com.iplanet.am.sdk.AMDirectoryManager.setAttributes(AMDirectoryManager.java:2151)
    at com.iplanet.am.sdk.AMCacheManager.setAttributes(AMCacheManager.java:867)
    at com.iplanet.am.sdk.AMObjectImpl.store(AMObjectImpl.java:1573)
    at jsps.etc._opt._SUNWps._desktop._AnyWarePortal_en_CA._WebFolders._html._sampledoedit_jsp._jspService(_sampledoedit_jsp.java:118)
    at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.taglib.provider.ProcessEditTag.doStartTag(ProcessEditTag.java:26)
    at jsps.etc._opt._SUNWps._desktop._AnyWarePortal_en_CA._JSPEditContainer._html._doedit_jsp._jspService(_doedit_jsp.java:193)
    at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:863)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:777)
    at com.sun.portal.providers.jsp.JSPProvider.processEdit(JSPProvider.java:673)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:644)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:320)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)

  • How to create an attribute dimension in Essbase Studio?

    I cannot figure out how to create an attribute dimension using Essbase Studio. The online help states that I need to "Find the Attribute settings grouping in the center" of the member properties dialog box. I suspect that I'm having a problem figuring this out because I don't have the attribute dimension properly defined in the relational data source or in the mini-schema. I've tried creating a table with no key relationship to the other tables and with no logical joins defined, but that doesn't seem to help. Any ideas?

    so in the 11.1.1 version you would click on the member name in the hierarchy you added to the Essbase model and in the center pane of the general tab should be the attributes settings section.
    If I had a dimension called stores wth two groupings unser it region and store_type, I would click on store_type and add the attribute info

  • How to create numeric attribute using ABAP API

    Hi experts
    I'm trying to create a numeric attribute for a taxonomy table. In the how-to-examples there are only ways to create text attributes.
    Those who have tried, please let me know the steps.
    I have given below the code snippet which i tried to create numeric attribute. Please let me knw the missing link.
    ls_num_attr_val-rating = 500.
        APPEND ls_num_attr_val TO ls_ext_attr_info-characteristics.
      ls_ext_attr_info-attr_info-attr_id-id = lv_attribute_id.
           APPEND ls_ext_attr_info TO lt_ext_attr_info.
        GET REFERENCE OF lt_ext_attr_info INTO lv_data.
        ls_namevalue-value = lv_data.
        ls_namevalue-code = 'ACCT'.
        APPEND ls_namevalue TO ls_parameter-name_value_pairs.
        lv_string = 'Customer 12'.
        GET REFERENCE OF lv_string INTO lv_data.
        ls_namevalue-value = lv_data.
        ls_namevalue-code = 'CUST_NAME'.
        APPEND ls_namevalue TO ls_parameter-name_value_pairs.
        CALL METHOD lr_api->mo_core_service->create
          EXPORTING
            iv_object_type_code = 'ACCT_TYPE'
            is_parameter        = ls_parameter
            iv_parent_id        = 0
          IMPORTING
            ev_new_internal_id  = lv_key.
    Thanks
    SwarnaDeepika
    Edited by: SwarnaDeepika on Dec 19, 2009 4:38 PM

    Hello Ashok,
    [here|https://help.sap.com/javadocs/MDM/current/com/sap/mdm/examples/CreateField.html] is the Java API of the needed command.
    There is also an example of how to create a field. You can use the class by replacing the strings for the server, repository, table, etc. to your needs.
    If you want to create more than one field, simply use a loop, like the for-loop, while-loop, etc.
    Hope this helps.
    Best regards
    Dominik

  • How to create a attribute for a table

    I am created a table with four columns.
    How to create a attribute for each column.........

    Hi Cranjith Kumar,
    First Create a node for ur table.In that give your table name in the dictionary structure then select option add attributes from the structure that will display the fields there u can select the fields then automatically attributes for ur table will be created in the context.
    Reward points if useful.
    Edited by: srilalitha yerramsetti on Jun 18, 2008 3:23 PM

  • How to create a Attribute "Type standard table OF" to a OSS NOTE

    Dear experts,
    I need to add new attributes in a standard class as per one OSS note. I took access key to add new attributes. I have a question.
    class name: CL_J_1BEFD
    Attribute: MT_GROUP_C350
    Level: Instance
    Visibility: Private
    Type STANDARD TABLE OF mty_result
    How do i add the instance attribute because i do not want to give the typing and associated type, instead i have to declare data: MT_GROUP_C350 type standard table of mty_result in class builder private section code.
    if you look at the pushbutton between Associated type and Description, for all instance attributes there's a green color lining below the arrow. I want my attribute also to be exactly same.
    Though i have access key, in private section the display<->Change button is disabled.
    Please suggest me how do i add code in private section of a standard class. i have required access key to change the class.
    Thanks,
    Alysson

    Hi Friend...
    Thanks, but the question is...
    When I went to transaction se24 or se80, I chose the class CL_J_1BEFD and second I swap to "CHANGE MODE".. after that the pushbutton is blocked... I can create the Attribute  mt_group_c800 in the Class (using TYPE or LIKE option), but i can't change the code in the private session even using the assistant to modify it.
    When I acess the Button "Detail View" the option "Direct Type Entry" is just unavaliable too, no matter what i do!
    I coudn't find a way to create the Attibute like the note Describes (SAPNOTE NUMBER 1575772 - in the attachment of the note)
    The changes are contained in the attachment
    Follows the instructions retrieved from the file:
    Add the following Attributes on the Class CL_J_1BEFD Private section
    data:
    mt_group_c800 TYPE STANDARD TABLE OF mty_result .
    data:
    mt_group_c850 TYPE STANDARD TABLE OF mty_result .
    data:
    mt_group_c860 TYPE STANDARD TABLE OF mty_result .
    data:
    mt_group_c890 TYPE STANDARD TABLE OF mty_result .
    How can i make a way to creat this attributes using  "TYPE STANDARD TABLE OF " Option?

  • SAP CRM MObility Activity Survey to create Marketing Attributes for a BP

    ATtrHi Gurus ,
    I have to create an Activity from IPAD ( CRM Mobility ) which will create a survey response,and the survey responses have to be captured and then create Marketing Attributes for the BP related to the Activity. I am not able to use the Callback Function given to IPAD Application.
    So my Approach so far has been :
    implement a badi that gets trigerred at Survey Response submission.
    in that call function module crm_svy_activity_pai.(Made a Z-copy of this to enforce COMMIT WORK )
    I am not able to pass the parameter lr_values for FM: CRM_SVY_ACTIVITY_PAI
    These are the 2 links that has been useful so far . Kindly add to this if possible.
    Regds
    Oindrila

    Hi Jacques,
    Once you click on Marketing in Web UI you will find "Marketing Attribute" in the Work Area.Click on that.
    You need to give ID No. and Attribute Set name.
    You need to mark Persons and Organisation checked also.
    Below that you will find 2 blocks " Attributes" and "Value"
    Under Attribute gve your Attributes Names you want to define ( e.g. Age,Salary or any client defined..) then select the Format ( Numeric or Chracter etc...)
    Once you have filled in all the Attributes you click on one attribute and below you need to fill the Values ( e.g 20-30 yrs etc...) . If you want to make that value a default one you can select default check box against each value.
    That way for each attributes you can define values. Hope this would help you.
    Regards...
    Edited by: akscrm akscrm on Sep 3, 2008 2:19 PM

  • How to create an attribute

    Hi,
    I can create xml elements in designer, e.g. John Brinkman's example
      // Add a question datagroup with the right question type
      // then add a question subform to bind against it.
                                                      var vNewQ = xfa.datasets.createNode("dataGroup", "Question");
                                                      vNewType = xfa.datasets.createNode("dataValue", "QuestionType");
                                                      vNewType.value = vQDef.QuestionType.value;
                                                      vNewQ.nodes.append(vNewType);
                                                      vSection.dataNode.nodes.append(vNewQ);
    However, I would like to create an attribute (I'm working with an existing predefined schema) but I can't seem to find a simple way, e.g.
    I would like something like
    <Question QuestionType=""/>
    How can I do this? I tried loading the XML in like
                                                      var vNewType          =
                                                                                                          <Question QuestionType="">
                                                                                                          </Question>;
                                                      xfa.data.mForm.loadXML(vNewType.toString(), false, false);
    but unless I give it a child node, it bombs out. It will work with
      var vNewType =
        <Question QuestionType="">
           <dummyRow/>
        </Question>;
    Any help would be worth 5 gold medals.

    Hi,
    You need to set the contains property of the dataValue to 'metaData" to turn it into an attribute, but you can only do this once the dataValue has a parent, so your code should look like;
    var vNewQ = xfa.datasets.createNode("dataGroup", "Question");
    vNewType = xfa.datasets.createNode("dataValue", "QuestionType");
    vNewType.value = vQDef.QuestionType.value;
    vNewQ.nodes.append(vNewType);
    vNewType.contains = "metaData";
    vSection.dataNode.nodes.append(vNewQ);
    Regards
    Bruce

  • How to create an Attribute set

    Hi Everyone,
    i am learning OAF....right now going through PPR.I was referring the sample tutorials where i came across attribute sets in the PPR Example, which i believe were created as per requirement.So not able to proceed further till i get some clue abt how to create an attribute set as per my requirement.Tried to refer dev guide but not able to grab the concept
    Can anyone tell me where exactly do i need attribute sets(i am only aware that it is used to provide the look n feel to the browser) and how to go abt creating one.
    Thanks
    Amrita

    Thanks for replying
    i'd like u to see the PartialPageExample in sampleLibrary project..There is a function being called in the CO from SampleBrowserAM which is
    public void handleSupplierSelectionEvent()
    OADBTransaction txn = getOADBTransaction();
    String detailTableText = null;
    // Find the selected radio button so we can mark the current row.
    OAViewObject vo = (OAViewObject)findViewObject("SuppliersVO1");
    // Get the first filtered row.
    Row masterRow = vo.getFirstFilteredRow ("SelectFlag", "Y");
    if (masterRow != null)
    vo.setCurrentRow(masterRow);
    String supplierName = (String)masterRow.getAttribute("Name");
    MessageToken[] tokens = { new MessageToken("SUPPLIER_NAME", supplierName)};
    detailTableText =
    txn.getMessage("AK", "FWK_TBX_SITES_FOR_SUPPLIER", tokens); }
    else
    // If there are no selected rows, display a default generic message.
    detailTableText =
    txn.getMessage("AK", "FWK_TBX_SUPPLIER_SITES", null);
    // Now set the text message on the DETAIL_TABLE_TEXT attribute in
    // the application properties VO.
    SampleBrowserPVOImpl appPropsVo = getSampleBrowserPVO1();
    Row appPropsRow = appPropsVo.getCurrentRow();
    if (appPropsRow != null)
    appPropsRow.setAttribute("DetailTableText", detailTableText);
    } // end handleSupplierSelectionEvent()
    i am not able to understand the text in bold in the code above.how do i refer to it, where is it stored, what is it doing , and it is maybe specific to the supplier table coz i cannot use it for my custom table...can u pls explain

  • CSI: update_item_instance issues while creating extended attributes

    Hello,
    For our customer's data conversion, installed base instances have already been created, there is only need to create extended attributes.
    Issues I have encountered are:
    - Whenever an error is encountered in the API call, all following records are rejected with the same error (even the same instance ID/primary key/attribute ID) as the first error record.
    - Extended attributes are randomly entered in the wrong fields (as if one field had gone missing and the others had been updated)
    - Date formats have been changed from DD/MM/YYYY to DD-MON-YYYY when consulting from Installed Base (but this happened only once)
    Other information: There are 14 extended attributes to be added for each item instance, I removed some of the attributes to make the code more readable.
    I followed the metalink note that shows the implementation method for this API and only added the recursive elements that we needed for the 14 attributes + functions to retrieve item_id and such.
    The "message()" function replaces is defined as FND_FILE.PUT_LINE(which =>fnd_file.log,buff => p_msg);
    PROCEDURE main (errbuf OUT VARCHAR2
                        ,retcode OUT NUMBER
    IS
         vl_status                BOOLEAN;
         vl_item_id                NUMBER;
         vl_instance_id           NUMBER;
         v_count               NUMBER;
         v_err_rec CSI_DATASTRUCTURES_PUB.TRANSACTION_ERROR_REC;
         v_trx_id number ;
         v_ret varchar2(240);
         v_msg_count number;
         v_msg_data varchar2(2000);
         v_date date;
         t_msg_dummy NUMBER;
         t_output VARCHAR2(2000);
         vl_attribute_id NUMBER;
         v_inst_rec csi_datastructures_pub.instance_rec;
         v_ext_attr csi_datastructures_pub.extend_attrib_values_tbl;
         v_party_tbl csi_datastructures_pub.party_tbl;
         v_account_tbl csi_datastructures_pub.party_account_tbl;
         v_pr_tbl csi_datastructures_pub.pricing_attribs_tbl;
         v_org_as s_tbl csi_datastructures_pub.organization_units_tbl;
         v_asset_as s_tbl csi_datastructures_pub.instance_asset_tbl;
         v_trx csi_datastructures_pub.transaction_rec;
         v_inst_id_lst csi_datastructures_pub.id_tbl;
    BEGIN
         APPS.FND_GLOBAL.Apps_Initialize(FND_PROFILE.value('user_id')
    ,FND_PROFILE.value('resp_id')
    ,FND_PROFILE.value('resp_appl_id'));
         IF cur_iea_attributes%ISOPEN
         THEN
              CLOSE cur_iea_attributes;
         END IF;
         IF get_trx_id
         THEN
              message('Transaction ID '||to_char(gv_trx_id));
              FOR v_cur_iea_attributes IN cur_iea_attributes
              LOOP
                   v_count:=0; -- Initialisation du compteur du ligne. Attention, le nb de lignes dans interface = 14 x nb lignes dans stg
                   IF check_unique_serial(v_cur_iea_attributes.numero_serie)
                   -- Recuperation de l'item ID
                   THEN
                        get_item_id(p_serial_number => v_cur_iea_attributes.numero_serie
                                       ,p_item_id => vl_item_id
                                       ,p_status => vl_status
                        message('Resultat get_item_id: '||to_char(vl_item_id));
                        get_instance_id(p_item_id => vl_item_id
                                            ,p_serial_number => v_cur_iea_attributes.numero_serie
                                            ,p_instance_id => vl_instance_id
                                            ,p_status => vl_status
                        IF vl_status
                        THEN
                             v_trx.TRANSACTION_DATE:=trunc(SYSDATE);
                             v_trx.SOURCE_TRANSACTION_DATE:=trunc(SYSDATE);
                             v_trx.TRANSACTION_TYPE_ID:=gv_trx_id;
                             message('Entrance v_count'||to_char(v_count));
                             v_inst_rec.instance_id:=vl_instance_id;
                             v_inst_rec.object_version_number := 1;
                             IF v_cur_iea_attributes.IAE_GUARANTEE_END_DATE IS NOT NULL
                             THEN
                                  v_count:=v_count+1;
                                  v_ext_attr(v_count).instance_id := vl_instance_id;
                                  message('v_ext_attr(v_count).instance_id: '||to_char(v_ext_attr(v_count).instance_id));
                                  message('vl_instance_id: '||to_char(vl_instance_id));
                                  get_attribute_id(p_attribute_code =>'GUARANTEE_END_DATE'
                                                      ,p_attribute_id => vl_attribute_id);
                                  message('vl_attribute_id: '||to_char(vl_attribute_id));
                                  v_ext_attr(v_count).attribute_id := vl_attribute_id;
                                  v_ext_attr(v_count).attribute_value := v_cur_iea_attributes.IAE_GUARANTEE_END_DATE ;
                                  message('v_cur_iea_attributes.IAE_GUARANTEE_END_DATE: '||v_cur_iea_attributes.IAE_GUARANTEE_END_DATE);
                                  message('');
                             END IF;
                             IF v_cur_iea_attributes.IAE_LAST_CTRL_DATE IS NOT NULL
                             THEN
                                  v_count:=v_count+1;
                                  message('v_count'||to_char(v_count));
                                  -- Les 6 champs obligatoires a remplir pour un update
                                  v_ext_attr(v_count).instance_id :=vl_instance_id;
                                  get_attribute_id(p_attribute_code =>'LAST_CTRL_DATE'
                                                      ,p_attribute_id => vl_attribute_id);
                                  v_ext_attr(v_count).attribute_id := vl_attribute_id;
                                  v_ext_attr(v_count).attribute_value := v_cur_iea_attributes.IAE_LAST_CTRL_DATE ;                    
                             END IF;
                             CSI_ITEM_INSTANCE_PUB.update_item_instance
                                       p_api_version => 1
                                       ,p_commit => fnd_api.g_false
                                       ,p_init_msg_list => fnd_api.g_true
                                       ,p_validation_level => fnd_api.g_valid_level_full
                                       ,p_instance_rec => v_inst_rec
                                       ,p_ext_attrib_values_tbl => v_ext_attr
                                       ,p_party_tbl => v_party_tbl
                                       ,p_account_tbl => v_account_tbl
                                       ,p_pricing_attrib_tbl => v_pr_tbl
                                       ,p_org_assignments_tbl => v_org_ass_tbl
                                       ,p_asset_assignment_tbl => v_asset_ass_tbl
                                       ,p_txn_rec => v_trx
                                       ,x_instance_id_lst => v_inst_id_lst
                                       ,x_return_status => v_ret
                                       ,x_msg_count => v_msg_count
                                       ,x_msg_data => v_msg_data
                                  -- Output the results
                                  if v_msg_count > 0
                                  then
                                       for j in 1 .. v_msg_count
                                       loop
                                            fnd_msg_pub.get ( j , FND_API.G_FALSE , v_msg_data , t_msg_dummy );
                                            t_output := ( 'Msg' || To_Char ( j ) || ': ' || v_msg_data );
                                            message( SubStr ( t_output , 1 , 255 ) );
                                       end loop;
                                  end if;
                        ELSE
                             message('Update not performed for '||v_cur_iea_attributes.numero_serie||' and '||vl_item_id);
                        END IF;
                   ELSE
                        message('Erreur sur '||v_cur_iea_attributes.numero_serie);
                   END IF;
                   commit;
                   message('Commit done for update loop');
              END LOOP;
         ELSE
              message('No Transaction ID - EOP');
         END IF;
    EXCEPTION
         WHEN OTHERS
         THEN
              ROLLBACK;
              message('Error in main program, rolling back');
    END main;
    Thanks!

    Todd
    The issue seems to because this:
    x_instance_rec.inventory_item_id := ib_rec3.inventory_item_id;
    You are selecting the item id from your staging table. But the serial number in the csi_item_instances is associated with the instance is a different item id than ib_rec3.inventory_item_id. Hence this error. You cannot change the item in the IB once the instance is created.
    You have two choices: comment this out or change the inventory_item_id in staging table to match with the csi_item_instances.
    Also a lot depends on what is your serial number uniqueness. If you are using the same serial number for two different items (uniqueness with item_Id) you need to be careful which one you are picking (based on serial number).
    Thanks
    Nagamohan

Maybe you are looking for

  • BPM 7.2, analytics, multilingual support

    Good day! We are creating reports by using new BI content and we have a questions about multilingual support. As we can see the task definition name of a BPM task is the physical name of the task (I mean it is the name of the file task_name.task). Of

  • Create DVD from finished FCE Project ?

    Once I finish a project in FCE, can I exported as QT movie and use Toast 7 instead of iDVD to create the actual dvd??? any help will be appreciated. Thanks. G5 1.8 Gz single, 512MB ram   Mac OS X (10.4.8)   La Cie d2 ext FW drive 160GB

  • DBUS Error

    Hello Everyone,        I today did a clean install of Arch but im getting a error while boot up.Its with the "dbus" daemon.The error im getting is as follows:- [root@Rajiv-Nair rajiv]# /etc/rc.d/dbus restart :: Stopping D-BUS system messagebus       

  • How do I keep the keypad open when making a call? I may need to enter an extension and the screen is black.

    After I make a call sometimes I need to enter an extension. When I receive certain calls I need to be able to hit a keypad number. The phone screen goes dark in both situations. How do I keep it lit?

  • Starting out with intermedia

    Hello, I've been asked to try and use intermedia to search and rank content from a oracle database. The interface is web based and I'm just searching text in documents. What's the best thing (document, book) that I can read to get a good start with i