How to Update BPEL Payload Values?

Hi,
Currently we are working on BPEL Process implemented using Jdeveloper,we want to update BPEL payload values for existing instance created on server.How can we update existing BPEL process Payload values?
Snehal
Edited by: 947450 on Sep 3, 2012 9:36 PM

Hi Umesh,
There are some fields like PageNumber,SerialNumber etc which are not reflected in EBS systems , these are there only for IPM Level and if we want to update that fields without disturbing EBS systems can we do that?Also these cannot be consider as metadata so that we cannot update it by using UCM.So in IPM level can we do such updation of this values?
Thanks Snehal

Similar Messages

  • How to update the payload of a BPEL process instance

    Hi I have another question.
    How do I update the payload of a BPEL process instance without the activity being a Human Task. I know there are ton's of example showing how to update the payload of a user task using BPEL API's. But in my case I need to update the payload of a BPEL process instance which has no human task.

    Thanks
    For confirming that the payload in the BPEL process instance is read-only. Now I can see what alternatives I come up with besides the DB save option.
    Guys if you can take the time to answer/comment on another question I have posted in this forum that will be great
    here is the link
    Multi step Human Task
    Regards,
    Jayesh Nazre
    MCSD, MCSE, SCJP, PMP

  • How to update the table value in the valuechange event?

    I have an input field in the datatable with the valueChangeListener
    <rich:dataTable id="cart" value="#{cart.cartList}" var="item">
    <h:inputText value="#{item.cost}" id="qty" valueChangeListener="#{items.updateCost}" onchange="submit()">
    <h:outputText value="#{item.errorMsg}"> </h:outputText>
    in the backing bean
         Item item = (Item) model.getRowData();
    // do some update, if the cost too larger, change to max_cost
         item.setCost(max_cost);
         item.setErrorMsg("Error Msg");
    After calling the valuechange method, the screen output doesn't update the cost.
    How to update the table value in the valuechange event?

    As you're misusing the valueChangeListener to set another input field, you need to skip the update model values phase. Otherwise the value set in the valueChangeListener will be overridden by the submitted value. You can do this by calling the FacesContext#renderResponse() inside the valueChangeListener method. This will shift the current phase immediately to the render response phase, hereby skipping the update model values and invoke application phases.

  • How to update/change the value of elements in an xml file?

    Hi Everyone,
    Could any one of u tell me how to update the value of elements in an XML file, using java? The reason is i want to use an XML file as a data source (i.e. more or less like a database), without using any RDBMS, for simple applications such as to read a record and update the record. By the way, my XML file will have only one record, such as the current weather information, with fields such as temperature, humdity etc. for 1 city only.
    Thanks in advance.

    Here is a solution how to check a particular value or element name in an xml and update the changes e to an xml.
    Sample.xml
    <URLConstructor>
    <application name="cp_outage">
    <resource>hello</resource>
    <value>val</value>
    </application>
    <application name="cp_outage">
    <resource>hello</resource>
    <value>val</value>
    </application>
    </URLConstructor>
    XMLWriter.java
    package com;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.JDOMException;
    import org.jdom.input.DOMBuilder;
    import org.jdom.output.XMLOutputter;
    // used for printing
    import org.apache.xml.serialize.XMLSerializer;
    import org.jdom.output.XMLOutputter;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.List;
    class XMLWriter{
    public void update(File fileName)
    try {
              DOMBuilder domBuilder=new DOMBuilder();
              Document doc=domBuilder.build(fileName);
              Element element=doc.getRootElement();
              getChildren(element);
              writeToXML(doc,fileName);
              getChildren(element);
    } catch (Exception e) {
    e.printStackTrace();
         * @param doc
         private void writeToXML(Document document,File filePath)
                   XMLOutputter xmloutputter = new XMLOutputter();
                        try
                             FileOutputStream fileOutputStream = new FileOutputStream(filePath);
                             xmloutputter.output(document, fileOutputStream);
                             fileOutputStream.close();
                        catch (FileNotFoundException e)
                             e.printStackTrace();
                        catch (IOException e)
                             e.printStackTrace();
         public void getChildren(Element element)
                        if(!element.hasChildren())
                             return;
                        List childrenList = element.getChildren();
                        Iterator itr=childrenList.iterator();
                        while(itr.hasNext())
                             Element childElement=(Element) itr.next();
                             if(childElement.hasChildren())
                                       getChildren(childElement);
    //                                   System.out.println("Name "+childElement.getName());
    //                                   System.out.println("Value "+childElement.getText());
                                       if(childElement.getText().equals("hello") || (childElement.getName().equals("resource")))
                                            updateInfo(childElement,"New_Resource","AddedText");
         * @param childElement
         * @param string
         * @param string2
         private void updateInfo(Element element, String elementName, String value)
              element.setName(elementName);
              element.setText(value);          
    static public void main(String[] args)
    XMLWriter xmlWriter=new XMLWriter();
    xmlWriter.update(new File("c:/sample.xml"));
    After execution the file will be changed to
    <URLConstructor>
    <application name="cp_outage">
    <New_Resource>AddedText</New_Resource>
    <value>val</value>
    </application>
    <application name="cp_outage">
    <New_Resource>AddedText</New_Resource>
    <value>val</value>
    </application>
    </URLConstructor>
    Regards,
    Maheswar

  • How to Update the APC values in another Depreciation Area

    Hi
    We have an issue that:
    Due to our configuration mistakes the past values have not posted to our depreciation area 15 (Tax depreciation) and our Group Assets are not updated with these values. Now we have rectified the configuration but we want to update the already posted values in depreciation area 15 (Group Assets).
    How we can update the same.
    Thanks in advance to all.

    You can use transaction ABSO and use a copy from the transaction type 158 Gross interco.transf.acquis. prior-yr acq.
    You have to create a new transaction type copy from 158 and Limit Transaction Types to Depreciation Area 15
    TC SPRO: Financial Accounting / Asset Accounting / Transactions / Acquisitions /  Define Transaction Types for Acquisitions

  • Very Urgent.......How to update the database values through OAF pages ??

    Hi All,
    I am developeing some self service application thru Oracle Application Framework(OAF). There I am fetching 5 attributes from the database and displaying those attributes in my main page Table Region. Now my requirement is i want to edit that exising values & again i want to store it in the databse while clicking the update button. so first i have created one VO for fetching the values from the database & i make one Table Region in my main page along with 5 MessageTextInput field.. & i mapped that VO's attributes to my textbox.Now i can able to fetch & display the values inside the text box while rendering the page.
    But I dont know how to update the values in the database. Caz in my VO I have only select query. So anyone plz send me the code for update. And also plz let me know where to insert that code..whether (CO or AM or EO)..it is very urgent.
    Thanks
    srini

    David,
    Note that the default JavaBean datacontrol does not allow create/remove and transaction operations. These apis are not implemented for the JavaBean datacontrol.
    You may re-initialize the rowsetiterator, by calling ((oracle.adf.model.generic.DCRowSetIteratorImpl)iteratorBinding.getRowSetIterator()).clearCurrentData().
    This will force the RSI to refresh it's data via the named-accessor again.

  • How to update excise invoice values after migo.

    Hi Guru's,
    I have checked the forum. but did not get exact solution.
    Here im having the problem with  bapi  BAPI_GOODSMVT_CREATE . This bapi don't have the structure to update excise invoice values.
    I have one bapi  'BAPI_EXCINV_CREATE_FROMDATA'  to update the excise duty, but in that also i didn't find the structure
    'J_1IEXITEM'  to update the ECS value ( field is 'total_ecs').
    Please help me on this,Thanks in Advance...
    Regards
    Naren

    Hi Krishna
    Do not do excise invoice capture during 103. At that time select the option "No excise entry". Then capture excise invoice during 105.
    The system messge " No selectable items for this document" is prompted since the preceeding document is already assigned with invoice.
    Try this and give feedback.
    regards
    sairam akundi

  • How to update a string value located on the main VI

    Hello
    I would like, from a subVI, to update a string value located in the main VI (using References). I was trying to find examples on NI web page but it´s impossible to download them (for more than one month : Error, File Not Found), do everyone has got the same problem?
    Thanks for your answer
    Nicolas

    Hi,
    this is from LV help file:
    Complete the following steps to create a subVI that includes a control reference directly from a Property Node.
    1.On the block diagram, right-click the front panel object terminal for which you want a control reference and select Create»Property Node from the shortcut menu to create a Property Node implicitly linked to the object. You can have multiple Property Nodes for multiple front panel objects.
    2.Use the Positioning tool to select the new Property Node and select Edit»Create SubVI from menu. LabVIEW automatically creates a control reference to the control on the block diagram of the main VI, creates a subVI that contains a control refnum wired to a Property Node, and wires the control reference on the main VI to the
    control refnum input terminal of the new subVI.
    Note: Select several Property Nodes at once to create a subVI with multiple control refnums and Property Nodes.
    3.Double-click the subVI to open it. Modify the Property Node and other elements of the subVI as you do in any other VI.
    4. If you want to change values of control then select "Value" property in Property node.
    I've attached the examples.
    Good luck.
    Oleg Chutko.
    Attachments:
    Ref.zip ‏11 KB

  • How to update a column value by comparing old value by using DML Handler...

    Hi Can anyone post the DML Handler code for updating a column value by comparing the old value.
    Thanks,
    Ray

    Hi,
    Here is an example of a DML handler.
    BEGIN
    DBMS_APPLY_ADM.SET_DML_HANDLER(
    object_name => 'scott.emp',
    object_type => 'TABLE',
    operation_name => 'UPDATE',
    error_handler => false,
    user_procedure => 'strmadmin.update_column',
    apply_database_link => NULL,
    apply_name => 'MY_APPLY');
    END;
    This DML handler which will send any LCR matching the specified conditions to the strmadmin.update_column for customised processing.
    You can write the strmadmin.update_column procedure so that it extracts the old values from the LCR. You can then use the old values from the LCR to identify the row in the table. Once you identify the row, you can update it as you want.
    I haven't really tried to do any customised processing using DML handlers, but this should work.
    Hope this is of help.
    Sujoy

  • How to update other field values when one field value is updating

    I am creating one ADF page.
    In one form suppose there are two fields ->
    Bank A/C [a combo box or "select one choice"]
    Balance [one Input Field]
    Now, when I am selecting one value in "select one choice" it will automatically make a query in database and fetch and show the balance in the "Balance" input field.
    How can I do that?
    Please note that I have done my development by creating entity object>view object.
    I have not used any EJB.

    Hi,
    is it ADF Business Components that your use then or POJOs? In either way, you set the select component's autosubmit property to true.
    If using ADF BC you can then create a method entry in the set<attributeName> VORowImpl file of the ViewObject that - whenever a new value is set - looksup the dependent value and sets it - call its set<attribute> method within this method.
    Define an ID property on the selectOneChoice component and set the same value to the PartialTrigger property of the textfield that you want to update
    Frank

  • How to Update some column values in some rows in an advanced table

    Hi Gurus,
    Can any body help on this issue.
    I am having a results table which is showing all the queried parties data queried in a seeded page in OCO module.
    Lets assume the table contains 10 rows with the below columns
    Party Name, Registry ID, Address Country, Match Percentage, Certification Level, Certification Reason, Internal Indicator, Status .
    Certification Level, Certification Reason and Internal Indicator are the dropdowns.
    The user want to update some of these fields values for some rows randomly.
    After doing this if he click on Save button, Only thosed changed rows need to get update using a Custom Procedure.
    But here all the rows irrespective of the change getting updated.
    So  how to capture the modified rows.
    Appreciate any inputs..
    Thanks
    Palepu
    Edited by: Palepu on 9 Aug, 2012 4:25 PM

    Not sure if you got the answer. You need to capture the row which got changed using the below and get the column value using the getAttribute method. This works for single selection row, if it is multi selection then you will have to loop through all selected rows and find the VO attribute value.
    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Row currentRow = am.findRowByRef(rowReference);
    String param1= (String)currentRow.getAttribute("VOAttribute");
    Let me know if there are any issues.
    Thanks
    Shree

  • Embedded Java Code - How to retrieve multivalue payload value

    I'm working in my SOA-Composite which is used with OIM and our approval process. Here is an example of the payload data:
    >
    <ns2:RequesterDetails>
    <ns2:FirstName>System</ns2:FirstName>
    <ns2:MiddleName/>
    <ns2:LastName>Administrator</ns2:LastName>
    <ns2:Login>XELSYSADM</ns2:Login>
    <ns2:DisplayName>System Administrator</ns2:DisplayName>
    <ns2:ManagerLogin/>
    <ns2:OrganizationName>Xellerate Users</ns2:OrganizationName>
    <ns2:Email>[email protected]</ns2:Email>
    <ns2:StartDate/>
    <ns2:EndDate/>
    <ns2:Status>Active</ns2:Status>
    <ns2:XellerateType>End-User Administrator</ns2:XellerateType>
    <ns2:UserType>Full-Time</ns2:UserType>
    <ns2:Role>SYSTEM ADMINISTRATORS</ns2:Role>
    <ns2:Role>Test Role 1</ns2:Role>
    <ns2:Role>Test Role 2</ns2:Role>
    </ns2:RequesterDetails>
    >
    I am able to retrieve single values with code like this:
    >
    //Retrieve Requester Login
    Object requesterXMLElem = getVariableData("inputVariable", "payload","/ns3:process/ns4:RequesterDetails/ns4:Login");
    String requesterLogin = ((oracle.xml.parser.v2.XMLElement)requesterXMLElem).getText();
    >
    How do i retrieve the multivalue Role values and not just a single entry?
    Thanks,
    Kevin

    I see what i missed with the doube slash, i thought you had a typo and assumed i used it. If i use the following:
    //Retrieve Requester Roles
    Object requesterRolesXMLElem = getVariableData("inputVariable", "payload","/ns3:process/ns4:RequesterDetails//ns4:Role");
    System.out.println("Requester Roles Type[" + requesterRolesXMLElem.getClass() + "]");
    int requesterRolesCount = ((oracle.xml.parser.v2.XMLElement)requesterRolesXMLElem).getAttributes().getLength();
    System.out.println("Requester Roles Length[" + requesterRolesCount + "]");
    String requesterRole = ((oracle.xml.parser.v2.XMLElement)requesterRolesXMLElem).getText();
    System.out.println("Requester Roles[" + requesterRole + "]");
    I get the following output:
    Requester Roles Type[class oracle.xml.parser.v2.XMLElement]
    Requester Roles Length[0]
    Requester Roles[SYSTEM ADMINISTRATORS]
    I am not seeing how to loop through each if the type is class oracle.xml.parser.v2.XMLElement
    Thanks,
    Kevin

  • How to update the null values to some number on the NUMBER type of column

    Hello All,
    I have one NUMBER type of column in DB table. It has some (null) values. I want to update with value 1. I tried to run the Update statement , It gives 0 rows updated.
    SELECT objectid,attr20 FROM table;
    object id attr20
    ====== ====
    fff70b67-8d54-4ad7-bc57-7b40a0d8b219     (null)
    cac5264a-b363-487b-bfe6-6b84d60064e9     (null)
    2fc2a626-51d8-401c-9495-18aacd4c35c8     (null)
    1b60bfa4-ff68-4488-adf6-2a83528c0e20     (null)
    1c662829-24c1-4b3c-9289-0128e170c043     5
    74f11331-545b-435f-bf4b-f57c7a6b4500     2
    c941c1ac-a18e-47ec-843c-dbe2a5b51001     0
    d7eba203-93c0-48ea-a109-9b06015ef387     0
    eba72fa3-21d8-4489-bb93-917ebbd67de2     0
    I ran following query but no success.
    UPDATE eb_tcsservfnadoc SET attr20 = 1 WHERE attr20 = NULL
    0 rows updated
    UPDATE eb_tcsservfnadoc SET attr20 = 1 WHERE attr20 = null
    0 rows updated
    UPDATE eb_tcsservfnadoc SET attr20 = 1 WHERE attr20 = ''
    0 rows updated
    UPDATE eb_tcsservfnadoc SET attr20 = 1 WHERE attr20 =' '
    Error starting at line 1 in command:
    UPDATE eb_tcsservfnadoc SET attr20 = 1 WHERE attr20 =' '
    Error report:
    SQL Error: ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:
    can some one help me out to update such values ????

    Hi,
    "=" will not work for NULL values. Please remeber two NULL values are NOT same. Try IS operator.
    UPDATE eb_tcsservfnadoc SET attr20 = 1 WHERE attr20 IS NULLRegards,
    Avinash

  • How to update Quantity and Value in Licences for Deemed Export

    Dear All,
    Could you please let me know where I have to update the Quantity and Value of Licence in case of Deemed export.
    I am not aware much about Deemed export. I hope CT3 is the licence, against which we have to maintain the Value or Quantity.
    While creating ARE3 documet, Quantity or Value will be reduced from the Licence.
    Kindly update me regarding this.
    Regards,
    Mullairaja

    Hi,
    First of all you need to mainataiin Number ranges for T.code:SNRO
    1.Licence :J_1ILIC
    2.Are3 :J_1IARE3 
    3.Create License In T.code : J1ILIC01
    4.Create ARE 3  T.code: J!IA301.
    4. Enter the license details in the item tab of ARE Create document.
    on Posting  the ARE 3 document Quantity and Value will reduces from the Licence. you can check again in
    Regards
    Shekar

  • How to update the identity_column value in sql server 2008

    Hi Team,
    I have identity column based table. In the table i use insert the name as per the requirement and for ID i use to set the identity now i need to update the particular row id.
    when i use to trying i'm getting the below error.
    Msg 8102, Level 16, State 1, Line 4
    Cannot update identity column 'CategoryID'.
    Kindly help me out regarding this.
    Thanks & Regards,
    Ramesh R

    You cannot update an IDENTITY column. You need to move the data into another table make  the changes over there  and insert the back the data into original table.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for

  • Jdom and namspace problem.

    Hi, everyone I have some problem with jdom documet. When i put namespace on root element all child elemets gets empty namspace. Code Namespace ns = Namespace.getNamespace(XMLNS);           Element e = new Element("root",ns);           e.addContent(ne

  • What sort of floppy drive should I get?

    Following advice on another group, I purchased an Imation USB floppy drive. I never could get it to work on my G4, even after upgrading with additional ports and memory. The G4 barely recognizes a Memory card reader, but after several tries that at l

  • Link error with STL

    Hi there, I am trying to build a C++ on Solaris, met the following error: CC xerces-c2_3_0/lib/SunOS/libxerces-c.so.23 -o output/SunOS/bin2xml output/SunOS/bin2xml.o output/SunOS/libxmlcompiler.a Undefined first referenced symbol in file void std::__

  • Can I restore a free app after updating to OS 6

    I updated my Iphone to OS 6.  I lost all my 'free' apps.  After searching around I did find several of the apps at the APP Store -> Update -> Purshased and was able to re-install .  I still cannot find and restore  Photo Sort which means I lost all t

  • BackgroundColor of JScrollBar

    Hello everybody, I tried to change the color of an JScrollBar, but id didn't work. I used scroll.setBackground(Color.red); Anyone an idea?