Set Attribute using xmldom

I have read in an xml document and provided the user with an interface to update information. I need to use this updated information to set attributes in an DOM Tree using the xmldom pl/sql package. How do I do this

DBMS_XMLDOM.setAttribute does escape actually :
SQL> declare
  2   doc dbms_xmldom.DOMDocument;
  3   e   dbms_xmldom.DOMElement;
  4   buf varchar2(4000);
  5  begin
  6   doc := dbms_xmldom.newDOMDocument('<dummy id1="" id2=""/>');
  7   e := dbms_xmldom.getDocumentElement(doc);
  8   dbms_xmldom.setAttribute(e, 'id1', 'R&D');
  9   dbms_xmldom.setAttribute(e, 'id2', 'X''Y');
10   dbms_xmldom.writeToBuffer(doc, buf);
11   dbms_xmldom.freeElement(e);
12   dbms_xmldom.freeDocument(doc);
13 
14   dbms_output.put_line(buf);
15  end;
16  /
<dummy id1="R&amp;D" id2="X&apos;Y"/>
PL/SQL procedure successfully completed
(tested on 11.2.0.2)
What issue are you exactly having?
Post something that we can reproduce on our end.

Similar Messages

  • How to add set attribute method in webdynpro abap using code wizard.

    Hi developer,
    I am new to webdynpro abap , i have developed a small component from sap technical abap but i am not able to add the set attribute method using read context node /attribute in wizard code ,pleae guide me in solution.
    thanks,
    ravi.

    Hi,
    could you copy / past your code ?
    if you need help on webdynpro and your beginner, try to watch the video on internet of WebBProfessor. It's really good videos !
    regards
    Fred

  • Problems in setting user attributes using amclientsdk

    Hi,
    I am trying to set user attributes using amclientsdk. I am using the below mentioned piece of code for the same:
    AMIdentity idn = new AMIdentity(auth1.getSSOToken());
    Set s = new HashSet();
    s.add("cn=adviser,dc=axa,dc=au");
    Map roleMap = new HashMap();
    String userRoleKey = "nsRole";
    roleMap.put(userRoleKey,s);
    amIdObj.setAttributes(roleMap);
    amIdObj.store();
    The AMIdentity type is USER. The environment is Linux and I have amclientsdk.jar in my classpath. When I run the above piece of code then I get the following exception:
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.checkConnPool(LDAPv3Repo.java:4516)
    at com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo.addListener(LDAPv3Repo.java:1051)
    at com.sun.identity.idm.server.IdServicesImpl.getAllConfiguredPlugins(IdServicesImpl.java:2490)
    at com.sun.identity.idm.server.IdServicesImpl.getFullyQualifiedNames(IdServicesImpl.java:209)
    at com.sun.identity.idm.server.IdCachedServicesImpl.getFullyQualifiedNames(IdCachedServicesImpl.java:588)
    at com.sun.identity.idm.AMIdentity.getFullyQualifiedNames(AMIdentity.java:1162)
    at com.sun.identity.idm.AMIdentity.equals(AMIdentity.java:1091)
    at com.sun.identity.delegation.DelegationEvaluator.isAllowed(DelegationEvaluator.java:140)
    at com.sun.identity.idm.server.IdServicesImpl.checkPermission(IdServicesImpl.java:2906)
    at com.sun.identity.idm.server.IdServicesImpl.setAttributes(IdServicesImpl.java:1402)
    at com.sun.identity.idm.server.IdCachedServicesImpl.setAttributes(IdCachedServicesImpl.java:467)
    at com.sun.identity.idm.AMIdentity.store(AMIdentity.java:457)
    at ProcessAuth.main(ProcessAuth.java:131)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name amLDAPv3Repo, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:576)
    at com.iplanet.am.util.Locale.getInstallResourceBundle(Locale.java:255)
    at com.sun.identity.idm.plugins.ldapv3.LDAPv3Bundle.<clinit>(LDAPv3Bundle.java:56)
    ... 13 more
    Any help on this would be greatly appreciated !

    Thanks for a response Aaron !
    Probelm is I am not even able to set nsroledn attribute using amIdentity's store() method. I am able to set other attributes using store() but not these role related attributes.

  • Set attribute value using plugins

    Hi Experts,
    I am facing error when setting the value of attribute in the event "OnInvestigationStartedEvent". Any suggestion to fix the issue
    code:
                Session ses = onInvestigationStartedEvent.getSessionContext().getInterviewSession().getRuleSession();
                Attribute start = ses.getGlobalEntityInstance().getEntity().getAttribute("test_start_time");
                Date start_date = new Date();
                start.setValue(ses.getGlobalEntityInstance(), start_date);
    Error:
    25750 [http-apr-8080-exec-9] INFO com.oracle.determinations.engine.Session  - User setting attribute test_start_time, entity global, instance name global, session 1 to value 7/21/13 2:17 PM
    25752 [http-apr-8080-exec-9] ERROR com.oracle.determinations.web.platform.templatingengine.ErrorRenderer  - A unauthorised change to the Rule Session has been detected.
    com.oracle.determinations.interview.engine.exceptions.CorruptSessionException: A unauthorised change to the Rule Session has been detected.
      at com.oracle.determinations.interview.engine.data.local.RuleSessionManager.checkSessionIntegrity(RuleSessionManager.java:760)
      at com.oracle.determinations.interview.engine.data.local.RuleSessionManager.getRuleSession(RuleSessionManager.java:144)
      at com.oracle.determinations.interview.engine.local.LocalInterviewSession.getRuleSession(LocalInterviewSession.java:203)
      at com.oracle.determinations.interview.engine.data.model.InterviewEntityInstanceIdentifier.findEntityInstance(InterviewEntityInstanceIdentifier.java:73)
      at com.oracle.determinations.interview.engine.local.AttributeGoal.getNextScreen(AttributeGoal.java:112)
      at com.oracle.determinations.interview.engine.local.LocalInterviewSession.getNextScreen(LocalInterviewSession.java:222)
      at com.oracle.determinations.web.platform.controller.actions.InvestigateAction.getResource(InvestigateAction.java:65)
      at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet(WebDeterminationsServlet.java:112)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at com.oracle.determinations.web.platform.util.CharsetFilter.doFilter(CharsetFilter.java:46)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Thanks,
    Vinay

    Vinay,
    When working in an Interview Engine event handler, you need to use Interview Engine objects to set values. Have a look at the example "Use the OnInterviewSessionCreatedEvent to pre-seed data into a newly created session" in the "Oracle Policy Automation Developer's Guide"
    Your code should look something like:
    // get the globalInstance from a new InterviewUserData;
    InterviewUserData data = new InterviewUserData();
    InterviewEntityInstance globalInstance = data.getGlobalInstance();
    // set the test_start_time
    Date start_date = new Date();
    globalInstance.setValue("test_start_time", start_date );
    // submit the data to the Interview session.
    TransactionResult result = session.submit(data);
    Hope this helps.
    Cheers
    Frank

  • Oracle scheduler : Setting job attributes using Enterprise Manager

    Hi,
    I have created below job and set the attribute "'raise_events" using the dbms_scheduler.set_attribute procedure.
    begin
    dbms_scheduler.create_job
    ( 'ebj_A', job_action =>
    '/tmp/job_A.ksh',
    job_type => 'Executable',
    enabled => false ,
    auto_drop =>false) ;
    dbms_scheduler.set_attribute
    ( 'ebj_A' , 'raise_events' , dbms_scheduler.job_run_completed);
    end;
    Now I am creating the same job using the Enterprise Manager (GUI).
    I donot see any where to set the attribute (Raise_events) using GUI.
    Please can you tell me can we set that attribute using the Enterprise manager or not.
    If yes please let me know how.
    Thanks in advance.
    Sreenath.

    Hi ,
    I am modified my question.
    We could set the value for "raise_events" attribute using Dbms_Scheduler.Set_Attribute.
    Can we also set the value for the "raise_events" attribute using the EM.(GUI).
    Please let me know.
    Thanks in advance.
    Sreenath.

  • Need to Set Node Attribute using XPath

    Hi,
    I have an XMLType coloum, I Need to Set/Update/Remove Root Node Attribute using XPath query.
    Regards,
    Rajesh

    Here you go:
           Node nameNode =
                    (Node) XPathFactory.newInstance().newXPath().evaluate(
                            "/root/name", doc, XPathConstants.NODE);
            nameNode.setTextContent("bob");

  • How to Set and Use a global variable within a session?

    Dear All,
    I'm new to jsp, and would like to ask how to set and use a global variable within a session?
    Thanks in advance.
    Regards,
    Cecil

    With session.setAttribute("name",object) you can store a Attribute in the session object.
    with session.getAttribute("name") you can get it.
    That's it.
    Regards,
    Geri

  • Need to add row and set attribute value on pageload

    Guys,
    On my page based on the pageflowscope variable value, i need to add a row for master and one row for detail viewobject and set attribute values. (Some of the attribute are LOV and Checkboxes as well)
    I am using following code to create records.....records are being added but i am not able to set the attributes
    OperationBinding ob;
    ob = ADFUtil.findOperationBinding("Create");
    ob.execute();
    ob = ADFUtil.findOperationBinding("CreateInsert3");
    ob.execute();
    I am using following code to set the attributes value
    DCIteratorBinding dc1 = ADFUtil.getBindingIterator("firstiterator");
    DCIteratorBinding dc = ADFUtil.getBindingIterator("seconditerator");
    row1=dc1.getCurrentRow();
    row=dc.getCurrentRow();
    row.setAttribute("activest","A");
    row1.setAttribute("type","dc14");
    Anything i am doing wrong here or any suggestion to try is greatly appreciated....

    Vinod,
    Yes commit button is there and yes its also has entry in pagedef...
    When I open the same page on edit mode and i can edit regular record and save them
    Problem is that when i open the page on new mode and try to add rows on page load..... and setting values as described above.... save button somehow doesn't work...
    seems like after i add the rows on the fly, i need to refresh the binding?
    any help is greatly appreciated....
    thank you guys

  • Load XLM into pl sql using xmldom

    Hi ,
    I have problems when I use xmldom to retrieve infotmation from xml to storethe information into a table. For the first xml , I can do it , for the second one I have problems ( I can't retrieve the values I need ) and I don't know why. Please don't reply me by providing links , I just would like to have an idea of what is going wrong with the second xml. Thanks in advance.
    It works fine with this one :
    <?xml version="1.0" encoding="windows-1252" ?>
    - <GraydonBeDialogue>
    <TransactionCode>RTB</TransactionCode>
    - <Table ClassTable="Country">
    - <TableEntry>
    <TableLanguage>N</TableLanguage>
    <TableCode>AD</TableCode>
    <TableValue>Andorra</TableValue>
    </TableEntry>
    - <TableEntry>
    <TableLanguage>N</TableLanguage>
    <TableCode>AE</TableCode>
    <TableValue>Verenigde Arabische Emiraten</TableValue>
    </TableEntry>
    - <TableEntry>
    <TableLanguage>N</TableLanguage>
    <TableCode>AF</TableCode>
    <TableValue>Afghanistan</TableValue>
    </TableEntry>
    - <TableEntry>
    <TableLanguage>N</TableLanguage>
    <TableCode>AG</TableCode>
    <TableValue>Antigua en Barbuda</TableValue>
    </TableEntry>
    But it does not work with this one :
    <?xml version="1.0" encoding="windows-1252" ?>
    - <GraydonBeDialogue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com Z:\PROGRAMMATIE\AS400\projecten\XML\GraydonBe\InfoReview\Review.xsd" xmlns="http://www.w3schools.com">
    <Transaction>PDT</Transaction>
    - <GraydonBeInformation>
    - <Default>
    <DateFormat>YYYYMMDD</DateFormat>
    <TimeFormat>HHMMSS</TimeFormat>
    <Currency>EUR</Currency>
    <CountryCode>BE</CountryCode>
    <DecimalSign>.</DecimalSign>
    </Default>
    - <Header>
    <Name>GRAYDON BELGIUM NV /SA</Name>
    <ContentGenerationDate>20050722</ContentGenerationDate>
    <ContentGenerationTime>101110</ContentGenerationTime>
    <Product>REV</Product>
    <ClientNumber>156</ClientNumber>
    </Header>
    - <Body>
    - <Msg48>
    - <MsgHeader>
    <MsgDate>20050712</MsgDate>
    <MsgCode Table="RevDsoMsg">48</MsgCode>
    - <Business>
    <BusinessNumber>0480316383</BusinessNumber>
    <Name>STANLEYBET BELGIQUE SA</Name>
    - <Address>
    <Street>PEGASUSLAAN 5</Street>
    <PostCode>1831</PostCode>
    <City>MACHELEN</City>
    </Address>
    </Business>
    </MsgHeader>
    <SinceDate Format="YYYYMM">200506</SinceDate>
    </Msg48>
    - <Msg123>
    - <MsgHeader>
    <MsgDate>20050711</MsgDate>
    <MsgCode Table="RevDsoMsg">123</MsgCode>
    - <Business>
    <BusinessNumber>0403157932</BusinessNumber>
    <Name>CELANESE NV</Name>
    - <Address>
    <Street>INDUSTRIEWEG 80</Street>
    <PostCode>3620</PostCode>
    <City>LANAKEN</City>
    </Address>
    </Business>
    </MsgHeader>
    - <PreviousCreditAssessement>
    <CreditAssessementAmount>10691000</CreditAssessementAmount>
    </PreviousCreditAssessement>
    - <NewCreditAssessement>
    <CreditAssessementAmount>9706000</CreditAssessementAmount>
    </NewCreditAssessement>
    </Msg123>
    Could you explain me what could be wrong ?
    I am using the same logic for both xml :
    declare
    bnb xmldom.domnodelist;
    l_node xmldom.domnode;
    l_doc xmldom.domdocument;
    begin
    parse_document (l_file_name, doc_in);
    bnb := selected_nodes (doc_in, '/GraydonBeDialogue/Table[@ClassTable="Review"]/TableEntry');
    FOR entry_index IN 0 .. xmldom.getlength (bnb) - 1
    LOOP
    l_node := xmldom.item (bnb, entry_index);
    TableLanguage := trim(xslprocessor.valueof (l_node, 'TableLanguage'));
    TableCode := trim(xslprocessor.valueof (l_node, 'TableCode'));
    TableValue := trim(xslprocessor.valueof (l_node, 'TableValue'));
    -- Treat the data
    .....

    Couple of friendly tips.
    When pasting XML, don't copy it directly from the browser's normal view as that usually inserts a "-" on some lines, which makes it invalid XML when you copy/paste. Either open the XML in something besides a browser or do a View Page Source (or similar) to copy the true XML.
    Use the tag to wrap XML and code to retain formatting as shown in the FAQ (under your sign-in name in the upper right).
    In your first sample XML, the root node is defined as
    <GraydonBeDialogue>
    and in the second it is defined as (ignoring attributes that don't matter to us now)
    <GraydonBeDialogue xmlns="http://www.w3schools.com">
    This means the second XML resides in a default namespace and so to access any/all nodes that reside in this namespace, you must provide that namespace to the extract method.
    For many Oracle based functions that take an Xpath as a parm, Oracle has the next parm defined as the namespace.  This allows you to pass in the namespace associated to the XML nodes.  With default namespaces, it does add a twist as you have to make up a namespace prefix for the Xpath/namespace declaration so that the engine knows the nodes reside in a namespace (be it default) instead of not residing in a namespace.  Here's a little something I wrote up on this
    http://anononxml.blogspot.com/2010/06/xml-parsing-with-default-namespaces-via.html
    I prefer now to use XMLType when parsing XML in PL/SQL as a bit more flexible/easier to code.
    Without seeing what you hid in
    selected_nodes
    it is hard to say exactly where your problem is but hopefully that gives you a start.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • It seems you cannot clone objects with attributes using lazy loading in JPA

    I have an entity with an attribute using lazy loading:
    @Entity
    public class B {
    @ManyToOne(fetch=FetchType.LAZY)
    private A a;
    @Entity
    public class A {
    Assume the following code:
    A a1 = new A();
    A a2 = new A();
    B b1 = EntityManager.find(B.class, ...);
    b1.setA(a1);
    B b2 = b1.clone();
    b2.setA(a2);
    Now with lazy loading enabled I get b1.getA() == a2 instead of b1.getA() == a1. Moreover, the debugger displays the same value holder in b1 and b2 for the attribute a. It appears as if cloning does not make a (deep) copy of the value holder managing the attribute a.
    How can I create a copy b2 of b1, such that the value holder managing a in b1 is a different object as the value holder managing a in b2?
    Thanks, Thomas.

    I have filed a bug to have this addressed in Oracle TopLink 11gR1. I would recommend you file a bug against TopLink Essentials in GlassFish or if you have a support contract report the issue to metalink to have the issue resolved.
    If this is urgent I did try fixing the issue with a small helper method using some reflection. This method is simplified through its throwing of Exception. If you wish to use something like this I would recommend proper error handling.
         * Helper method for cloning an entity and fixing the woven value-holders to
         * complete a proper shallow cloning.
        public static Employee clone(Employee entity) throws Exception {
           Employee clone = entity.clone();
           // Now fix the cloned ValueHolder references
           Field[] fields = entity.getClass().getDeclaredFields();
           for (int index = 0; index < fields.length; index++) {
               Field field = fields[index];
               if (field.getName().startsWith("_toplink_")) {
                   field.setAccessible(true);
                   ValueHolderInterface vhi = (ValueHolderInterface)field.get(entity);
                   Object value = vhi.isInstantiated() ? vhi.getValue() : null;
                   field.set(clone, new ValueHolder(value));
           return clone;
        }Doug

  • Set attribute to be mandatory in set type

    Hi! Can I confirm whether it is possible to set certain attribute fields to be mandatory in a set type? The transaction code to create set attribute and assign to the set type is COMM_ATTRSET.
    Thanks!
    SF

    Hi SF,
    In the standard system, you cannot configure an attribute to be mandatory in a set .
    However, you can try using transaction SFAC in order to set an attribute as mandatory; I am not sure if this procedure will work for you, but is it good to take a look. Into this transaction, you cam define which fields are displayed/hidden/mandatory.
    Keep on mind that every time a set is create in transaction COMM_ATTRSET, a corresponding module pool SAPLZOM_<set type name> is created with Screen group 0100.
    I hope it helps.
    Kind Regards,
    Gabriel Santana

  • Setting JMSMessageID using dynamic configuration

    hi all,
    I have a scenario where i need to set JMSMessageId with some value from the payload.
    I tried setting JMSMessageId  using the setproperty but the message id was not set in the jms message.
    If any one has tried the same let me know wat is the settings that needs to be done in the receiver JMS channel.
    Thanks in advance!!
    regards,
    Rajesh

    > I have a scenario where i need to set JMSMessageId with some value from the payload.
    > I tried setting JMSMessageId  using the setproperty but the message id was not set in the jms message.
    setStringProperty will work only for hard coded values as per my experience. So messageId will not work here..
    > If any one has tried the same let me know wat is the settings that needs to be done in the receiver JMS channel.
    I have never tried, you can try it under Adapter Specific Message Attributes by ticking the "Specify Additional JMS Message Properties".
    Here in the table under "Name" enter "DCJMSMessageProperty0" and "Java Type" as "String".
    Now in your mapping you have to write an UDF. The UDF should not have any input arguments, I mean while creating the udf just delete the default argument 'a'.
    UDF Code:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS","DCJMSMessageID");
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS","DCJMSMessageProperty0");
    String MyMessageID = conf.get(key1);
    conf.put(key2, MyMessageID);
    return "";
    Just map this UDF to any root/parent node to fulfil the mapping.
    Note: I have assumed that your sender channel is JMS. In your Sender channel also you have to tick "Adapter Specific Message Attributes" and under that select "JMS Message ID".
    Save and activate the changes.. Try it and let me know..
    Regards,
    Sarvesh

  • How to set encoding  with xmldom ?

    Hello !
    I have to build an xml file from a query.
    I need to have : <?xml version="1.0" encoding="ISO8859-1"?> on the first line.
    I know how to set the version --> xmldom.setVersion(doc,'1.0'); ... but I don't know how to set the encoding.
    Is there a way to set it ?
    Thanks

    No. It is not possible. Here is an extract of a document I found on metalink :
    (XML Parser for PL/SQL FAQs)
    Q: Is it possible to dynamically set the encoding in the XML document?
    A: No, you must include the proper encoding declaration in your document, as
    per the specification. You cannot use setCharset(DOMDocument) to set the
    encoding for the input of your document. SetCharset(DOMDocument) is used
    with oracle.xml.parser.v2.XMLDocument to set the correct encoding for
    printing of the document.

  • FRM-41014: Cannot set attribute of null canvas item PO_REQ_HDR.ATTRIBUTE8

    I am Doing Form Personalization on Dff in Requisition Headers form. My Requirement is
    requirement is like this
    Segment1 : Requsition Type
    Segment2: Project ID
    Segment3: CAF ID
    ATTRIBUTE7 will have two values
    1. Capex
    2. Opex
    if user selects Capex.. then ATTRIBUTE8 and ATTRIBUTE9 are manadatory
    otherwise optional
    i did personalization
    In Condition Tab:-
    I took Trigger Event as When-Validate-Record
    Trigger Object as PO_REQ_HDR
    Condition :PO_REQ_HDR.ATTRIBUTE7='Capex'
    When i validate it gives The Condition evaluates to false
    In Action Tab:-
    Type Property
    Language All
    Object Type Item
    Target Object Po_REQ_HDR.Attribute8
    Property Name :Required
    Value:True
    then i Pressed Apply Now then It fires Error:: FRM-41014: Cannot set attribute of null canvas item PO_REQ_HDR.ATTRIBUTE8
    Can Any one please sujjest what is the Cause of this Error.
    I am Using 12.0.4 application version.

    Please see these threads.
    Re: Personalization Problem
    How can I make a DFF segment diappear?
    Thanks,
    Hussein

  • Deleting inherited attribute using FM 'BBP_UPDATE_ATTRIBUTES'

    Hi Forum,
    I am trying to delete one value for attribute CAT using FM BBP_UPDATE_ATTRIBUTE , this attribute value is Inherited but I am unable to delete it.
    I tried this:
    1. Set the inherited flag to space using the same FM (in PPOSA_BBP I can see that inherited checkbox is not checked now)
    2. Try deleting the attribute using same FM (now the inherited flag is SET in PPOSA_BBP instead of deleting the attribute value)
    Is it not possible to delete inherited attribute or set inherited to space in PPOSA_BBP using BBP_UPDATE_ATTRIBUTES FM ?
    Another query is in this FM only USER_ID_P and ORGUNIT_ID_P are import parameters, how can we update attributes of a POSITION using the FM?
    Thanks,
    Anubhav

    Hello Anubhav,
    Inheritance between objects cannot be managed by any function module.
    Even if it can be done with a function module i don't know, it will be overwritten by your current customizing ( OOATTRCUST transaction) for attribute CAT.
    Regarding attributes update for positions, did you try with import parameter IS_OBJECT (OTYPE = 'S' and OBJID = position ID) ?
    Regards.
    Laurent.

Maybe you are looking for

  • Index Vs table partition

    I have table whose growth is 1 million per month and may increase in future. I currently place an index on column which is frequently uses in where clause. there is another column which contains months so it may possible that I make 12 partitions of

  • EFI update killed MBA

    Hello, i just installed the latest update for Lion on my MBA. I followed all instructions (power cord attached), but after it shut down, there was a loud error beep and since than i am unable to start it up again. I could really need some advice here

  • Error while report running in background

    Hello to all, I am running a report in backgroud using SM37.This report already programmed to call a report in background.It takes stocks for given period,I am taking the values using  "import memory-id" statement.It gives an error log in SM37 as: Ch

  • How to add jfxrt jar locally?

    Hi, I'm using JavaFX 2.0 and Eclipse. I wrote a Java program which uses JavaFX but to use JavaFX I've added an external jar (jfxrt.jar) to the classpath, from the C:\Program Files\Oracle\JavaFX 2.0 Runtime\lib folder. But the app I wrote is for colle

  • Qosmio F10 display and sound drivers not installing

    Hi, my hard drive went and on replacement we used the toshiba recovery disk. We have installed the Intel Chip Software and then NVIDIA driver. It says its installed but makes no difference after restarting computer. The sound driver starts to install