Calling multiple API for AP invoices

Hi I want to invoke the AP_INVOICES_INTERFACES AND AP_INVOICES_LINES_INTERFACE from bpel. I have coded the transformation for the header part that is ap_invoices_interfaces and have sucessfully invoked it. Now how to invoke the ap_invoices_lines_interface should i have another transformation and another invoke to call the api.

If values for one or more input parameters of the second API come from output parameters of the first API, then you'll need a transformation to map those values. If all of the values for input parameters of the second API come from somewhere else then an assign activity will be sufficient. You will need another invoke to invoke the second API, regardless of whether there is or is not a transform or assign.

Similar Messages

  • Finalize() method being called multiple times for same object?

    I got a dilly of a pickle here.
    Looks like according to the Tomcat output log file that the finalize method of class User is being called MANY more times than is being constructed.
    Here is the User class:
    package com.db.multi;
    import java.io.*;
    import com.db.ui.*;
    import java.util.*;
    * @author DBriscoe
    public class User implements Serializable {
        private String userName = null;
        private int score = 0;
        private SocketImage img = null;
        private boolean gflag = false;
        private Calendar timeStamp = Calendar.getInstance();
        private static int counter = 0;
        /** Creates a new instance of User */
        public User() { counter++;     
        public User(String userName) {
            this.userName = userName;
            counter++;
        public void setGflag(boolean gflag) {
            this.gflag = gflag;
        public boolean getGflag() {
            return gflag;
        public void setScore(int score) {
            this.score = score;
        public int getScore() {
            return score;
        public void setUserName(String userName) {
            this.userName = userName;
        public String getUserName() {
            return userName;
        public void setImage(SocketImage img) {
            this.img = img;
        public SocketImage getImage() {
            return img;
        public void setTimeStamp(Calendar c) {
            this.timeStamp = c;
        public Calendar getTimeStamp() {
            return this.timeStamp;
        public boolean equals(Object obj) {
            try {
                if (obj instanceof User) {
                    User comp = (User)obj;
                    return comp.getUserName().equals(userName);
                } else {
                    return false;
            } catch (NullPointerException npe) {
                return false;
        public void finalize() {
            if (userName != null && !userName.startsWith("OUTOFDATE"))
                System.out.println("User " + userName + " destroyed. " + counter);
        }As you can see...
    Every time a User object is created, a static counter variable is incremented and then when an object is destroyed it appends the current value of that static member to the Tomcat log file (via System.out.println being executed on server side).
    Below is the log file from an example run in my webapp.
    Dustin
    User Queue Empty, Adding User: com.db.multi.User@1a5af9f
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    Joe
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin pulled from Queue, Game created: Joe
    User Already Placed: Dustin with Joe
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    INSIDE METHOD: false
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    User Dustin destroyed. 9
    User Joe destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    INSIDE METHOD: true
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    INSIDE METHOD: true
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    It really does seem to me like finalize is being called multiple times for the same object.
    That number should incremement for every instantiated User, and finalize can only be called once for each User object.
    I thought this was impossible?
    Any help is appreciated!

    Thanks...
    I am already thinking of ideas to limit the number of threads.
    Unfortunately there are two threads of execution in the servlet handler, one handles requests and the other parses the collection of User objects to check for out of date timestamps, and then eliminates them if they are out of date.
    The collection parsing thread is currently a javax.swing.Timer thread (Bad design I know...) so I believe that I can routinely check for timestamps in another way and fix that problem.
    Just found out too that Tomcat was throwing me a ConcurrentModificationException as well, which may help explain the slew of mysterious behavior from my servlet!
    The Timer thread has to go. I got to think of a better way to routinely weed out User objects from the collection.
    Or perhaps, maybe I can attempt to make it thread safe???
    Eg. make my User collection volatile?
    Any opinions on the best approach are well appreciated.

  • Call of API for IBase contains errors

    Dear All,
    We are using solution manager 4 with SP13.When i try to create a Ibase through Initiate Data transfer for ibase,i gives the following error.
    Call of API for IBase contains errors
    Message no. CRM_IB050
    Diagnosis
    No import data was entered for one of the function modules (APIs) for Installed Base Management. Therefore, the function cannot be executed.
    System Response
    The system terminates processing.
    Procedure
    If the APIs are called in customer-specific programs, check the call for the APIs and change the call accordingly.
    Please help to proceed,
    Regards,
    Avinash.

    Good day,
    Had the same error and solved it by doing the following;
    Go to t/code DNO_CUST01 and double click on SFL1 and make sure "number range" is 01 and "action profile" is SLFN0001_STANDARD_DNO.
    Your number range interval in t/code CRMC_NR_RA_SERVICE should be consistant with NR details in t/code DNO_NOTIF (check note: 498984 to set it up)
    Good luck.
    Cheers
    Anthony Cunha

  • Call of API for IBase contains errors Message no. CRM_IB050

    Call of API for IBase contains errors
    Message no. CRM_IB050
    Diagnosis
    No import data was entered for one of the function modules (APIs) for Installed Base Management. Therefore, the function cannot be executed.
    System Response
    The system terminates processing.
    Procedure
    If the APIs are called in customer-specific programs, check the call for the APIs and change the call accordingly.
    Can anyone help me in the above issue.
    Regards,
    Mirza Kaleemulla Baig

    Hi Sai,
    This is too late to reply this post, but to let everyone know about the issue I am posting here.
    Start new UI session and put breakpoint at BUPR_EMPLO_DELETE and check parameter IV_X_SAVE everytime, till you get the error message. The parameter IV_X_SAVE should be same/consistent (either ' ' or 'X') in whole Logical Unit of Work. It should not change in between.
    I faced the same kind of problem and found that standard was passing IV_X_SAVE = ' ' and in our custom code we were passing IV_X_SAVE = 'X'. I changed it to IV_X_SAVE = ' ' and my problem got resolved.
    You can try the same. Please post the alternate solution if you find it.
    Best Regards,
    Rahul Koshti

  • Exception happened when calling deliver API for BI Publisher Bursting

    Hi All,
    I have developed a BI Publisher report on OBIEE standalone instance (Oracle Business Intelligence 11.1.1.5.0).
    I am able to generate the report and burst the output to emails successfully.
    But when I tried to burst the output directly to the printer or to save the output FILEs to local machine, am getting the below error/exception.
    For PRINT type...error is below
    Document delivery failed
    [INSTANCE_ID=bisrv.oracleads.com.1305914111196] [DELIVERY_ID=1182]Error deliver document to printer::Exception happened when calling deliver API::Error deliver document to printer::Exception happened when calling deliver API::oracle.xdo.delivery.DeliveryException: oracle.xdo.delivery.DeliveryException: java.net.UnknownHostException: blr-ibc-7a-prn1 oracle.xdo.service.delivery.DeliveryException: oracle.xdo.delivery.DeliveryException: oracle.xdo.delivery.DeliveryException
    for FILE type.... error is below
    Document delivery failed
    [INSTANCE_ID=bisrv.oracleads.com.1305914111196] [DELIVERY_ID=1192]Error deliver document to file::FILE=[D:\Harish:9930609876-10001969343.pdf::Exception happened when calling deliver API::FILE=[D:\Harish:9930609876-10001969343.pdf::Exception happened when deliver to file:: FILE_NAME= D:\Harish/9930609876-10001969343.pdf] ::oracle.xdo.delivery.DeliveryException: java.io.FileNotFoundException: D:\Harish/9930609876-10001969343.pdf (No such file or directory)oracle.xdo.ser
    Can anyone please help on this?
    Thanks,
    Harish

    Hi Varma,
    thanks for the reply.
    Here are the below sql scripts I used.
    -- Printer
    SELECT BILL_NUMBER      KEY,
    'Layout'           TEMPLATE,     
    'en-US'                     LOCALE,
    'PDF'                          OUTPUT_FORMAT,
    'PRINT'                     DEL_CHANNEL,
    BILL_NUMBER                OUTPUT_NAME,
    'true'                          SAVE_OUTPUT,
    'Direct Printers'           PARAMETER1,
    'LocalPrinter'               PARAMETER2,
    1                               PARAMETER3,
    'd_single_sided'           PARAMETER4,
    'default'                     PARAMETER5
    FROM XXXX_BILL_TAB;
    -- File
    SELECT BILL_NUMBER           KEY,
    'VLayout'           TEMPLATE,
    'RTF'               TEMPLATE_FORMAT,
    'en-US'           LOCALE,
    'PDF'           OUTPUT_FORMAT,
    'FILE'           DEL_CHANNEL,
    'true'           SAVE_OUTPUT,
    'Monthly Bill for ' || MOBILE_NUMBER OUTPUT_NAME,
    'D:\Harish'      PARAMETER1,
    MOBILE_NUMBER||'-'||BILL_NUMBER     PARAMETER2
    FROM XXXX_BILL_TAB;
    Thanks,
    Harish
    Edited by: 899863 on Dec 16, 2011 4:01 AM

  • Valuechange listener called multiple times for checkbox in table.

    Hi All,
    I'm trying to understand how value change listeners work for checkbox components within a table column. I have a checkbox declared as below
    <af:selectBooleanCheckbox id="sbc1"
    valueChangeListener="#{pageFlowScope.classfiyBean.checkBoxValueChangeListener}"
    immediate="true"
    autoSubmit="true" />
    I notice the value change listener is called multiple times. There are 6 rows in the table within which the checkbox is a component. It is called 6 times for a change. How do I prevent this from happening as it's over writing the values of the other rows as well.
    Scenario : The page is based on a human task, so the outcome button cannot be set to Immediate = true since there are other validations on the page.
    JDev: 11.1.1.4
    Thanks
    PP

    Hi
    Please make sure that Is there any logic being implemented in WD MODIFY VIEW of view controller.
    If yes that may be the cause of your problem because WDModifyView() is being called every time u perform an action.
    or
    Try to Invalidate current context node which is bound to table UI element and actually containing data at run time. I think this node is not being refreshed. Try to refresh it in Search Button action.
    or
    Check your loop code snippet, if you implemented it anywhere.
    Mandeep Virk

  • Call Multiple RTF for same data model

    How call two templates for the same data model.
    what is the logic i have to use in the rtf template.
    Thanks in Advance

    Your RTF template will use the data model you defined.
    So no logic than just inserting the xml elements your data model provides.
    You can associate multiple templates to one data model. At runtime you will have the opportunity to select
    the template of your desire to run the data against.
    If you want this process to be automated then you will have to user bursting and for that you need to read this:
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e13881/T527073T555155.htm#T555156
    Cheers
    Jorge
    p.s If this answers your question then please grant the points and close the thread

  • API for AR Invoice Adjustment

    Hi All,
    We have a requirement for adjusting AR Invoices. This is a conversion activity and hence we have millions of records. Can anyone please suggest whether there is an API for making adjustments to AR Invoices.
    Thanks.

    All APIs are listed in Oracle Integration Repository
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • Multiple Residuals for One Invoice

    HI
    Is it possible to either split a residual into multiple residuals, or create more than one residual against one invoice?
    Thanks for your help
    T

    Not sure whether you have already tried this. Use the distribute difference function to split a residual to multiple residual lines.
    Using the difference distribute screen you can enter different line amounts and once posted the original will be cleared and the new line(s) will be created as open item.

  • Calling Multiple forms for a single Output Type in Smartforms

    Hi SAP Gurus..
    I want to call 2 smartforms simultaneously for a Single O/P type.
    But the problem is that My Driver Program in Standard. I cannot edit the Driver form. Whatever I need to do I can do it only in the Smartforms.
    Please help me out in this....

    I guess the better way is to customize your print program. I am not sure whether there are any other alternatives for doing this.
    Rgds,
    SaiRam

  • API to update Trx_date and Acct_date for AR invoices.

    Hi,
    Some AR invoices are created with trx_date as future dates ex: 01-FEB-2011, but they should be having the trx_date as todays date.
    For these invoices, acct_date also created with 01-FEB-2011.
    I have to update these records for trx_date and acct_date fields to todays date.
    Can you provide me an API to update this.
    Thanks in advance.
    Best Regards,
    Mani,

    Oracle hasn't yet provided the UPDATE API for AR Invoices. You cna only update the transaction from application. If the invoices are not accounted yet, then
    1. Incomplete the transaction
    2. change the TRX_DATE and GL DATE
    3. complete the transaction.
    - Kiran

  • ADF Faces Tree - getChildren() called multiple times

    Hi,
    I have a simple tree based on the demo's 'tree.jspx'. Each time I click on a node in this tree, I see that TreeNodeImpl.getChildren() gets called multiple times for each node. This is not an issue in tree.jspx where the tree is static. However in a case where tree is constructed dynamically based on the back end state, it is going to hurt performance. Each getChildren() call then invokes backend methods which could be remote. So multiple getChildren() will invoke backend methods multiple times.
    Is this behavior of calling getChildren() multiple times per node a bug? Is there any way for me to avoid it?

    this is expected behaviour.
    Your tree model should cache data and prevent the multiple calls to the back end.

  • Validation Event getting called multiple times

    I am saving an eform after entering a wrong percentage in it.On opening the same eform it gives the validate message "Percentage not valid" pop up .This popup should come only once but its coming around 25-26 times.I checked and find that the validate event is getting called multiple times for the same field.Can someone tell why this is happening and how to resolve this

    Hi rupali Sri,
    Our forum here is for questions related to the LiveCycle Collaboration Service product.
    You might want to post your question to the Livecycle Forms forum:
    http://forums.adobe.com/community/livecycle/livecycle_es/forms_es
    If that's not the correct forum, start from here:
    http://forums.adobe.com/index.jspa?view=overview
    Hope this helps.
    Good luck,
    Julien
    LCCS Quality Engineering

  • Multiple MouseEvents for single click

    Hello,
    I have created a reusable component based on a JPanel.
    Our company uses my component in several Swing applications, all of which use a JFrame.
    My component has a mouse listener for mousePressed events.
    Recently a new app, also based on a JFrame, has started to use my component. In this new Swing app, my component's mousePressed listener gets called THREE TIMES for each mouse pressed.
    In all other apps, if the user presses the mouse once, I get only ONE call to my mousePressed listener.
    Looking at the stack traces into my mousePressed() method I notice this:
    In the apps where mousePressed() is only called once, the stack looks like this:
         at java.awt.Component.processMouseEvent(Component.java:5131)
         at java.awt.Component.processEvent(Component.java:4931)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3639)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3162)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
    where as when mousePressed() gets called multiple times, the stack trace shows this:
         at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:218)
         at java.awt.Component.processMouseEvent(Component.java:5131)
         at java.awt.Component.processEvent(Component.java:4931)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3639)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3162)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
    Does anybody have any idea of why AWTEventMulticaster would be on the stack for one app and not for another?
    And how can I prevent getting called multiple times for a single mouse click?
    Thank you,
    Ted Hill

    You don't understand. My JPanel implements the MouseListener interface and its mousePressed(MouseEvent ) method gets called THREE TIMES on a single mouse click. Normally it should only be called ONCE.
    It seems that the app that is using the JPanel extension has somehow registered it as interested in mouse events MULTIPLE TIMES.
    I've never seen this before in Swing and was wondering if anyone else has.
    Thanks,
    Ted

  • Firefox making same GET call multiple times

    Firefox is making the same AJAX call multiple times for a single event when it should really do it once. Actually, with each single click the number of calls multiplies. I have tested the application using Chromium and Eclipse's internal browser and I have no problems.
    I removed all add-ons and started Firefox in safe-mode, but the problem persists.
    Please advise,
    Arthur Nobrega

    Hi Arthur, do you have a page available that demonstrates this problem? If so, please post a link. Perhaps your test doesn't actually need to make a network request: for example, perhaps it could add a message to the page indicating that the relevant section of code was triggered.
    Since this site focuses on end user support, you might also consider taking this question to a more developer-oriented forum such as the unofficial [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board], or to StackExchange.

Maybe you are looking for

  • How to batch change in new Photo app

    I switched over to the new Photo app. I imported my photos from my iPhone, and then went to batch change the titles (which I use to search for specific pictures and places). I can't find an option anywhere to change anything more than one photo at a

  • Hcm forms : Update display button not working

    Hi experts the update display button in my form is not working . i have changed the script coding , still its not working Regards Priya

  • Commit processing in Forms 10g, what triggers fire etc.

    In the oracle documentation there used to be a commit processing flowchart that said exactly what triggers fire on commit. Don't seem to be able to find such a thing online. This started by trying to work out if when-validate-item always fired on com

  • Webdynpro in Mobile devices

    Hi experts, Can I get from my webdynpro any number, code or string of the mobile device? I need detect who is connected without use a login screen. thanks in advance, david

  • Ufsrestore on Solaris 7

    When restoring multiple files on Solaris 7 using ufsrestore (ex. ufsrestore xf /dev/rmt/0 ./file-1 ./file-2), can anyone tell me if the ufsrestore command sorts the files by inode (the way they are written to tape by ufsdump) before attempting the re