Is it possible to compose XML in BPM from responses of multiple BAPI calls?

Hi guys!
I want to send into BPM an XML document, which will be parsed and it will call some BAPIs more times. And I need to get response. Is it possible, to compose an XML document from these BAPI return codes to be sent back as response? Concretely I will use SOAP->XI->SAP and response SAP->XI->SOAP...  I will use it as asynchronous call..
Thanx, Peter
Message was edited by: Peter Jarsunek

Hi Peter,
It depends:
- what kind of bapi is it? (does it have some sort of number?) like delivery number or something else?
if not you'll have to add something
so you can correlate your bapi with bapi response
if you want to know which response corresponds to which bapi call
but you can do it with a bapi wrapper
>>>>Is it possible, to compose an XML document from these BAPI return codes to be sent back as response?
you you can collect message in a BPM - standard pattern
(but remember about the "correlation")
Regards,
michal

Similar Messages

  • Designing the scenario of multiple BAPI call in a loop in BPM

    All,
    I need some help in designing this scenario. I do not have the luxury to write a custom BAPI. Here is my scenario. A typical async>sync>async with little modification
    1. Async call to BPM with input payload
    2. BPM calla BAPI_SALESORDER_GETLIST with customer number and sales organization from input payload and returns a list sales order items (Sync)
    3. I need to call the BAPI_SALESORDER_GETSTATUS for each sales order number that I got from the first call (Sync?). Not sure how this has to be designed
    4. Transfer the  data through HTTP adapter (Async)
    I am able to perform step 1, 2 and 4 (of course only line item data). I need some pointer help on how to incorporate it in step 3 of BPM.

    3. I need to call the BAPI_SALESORDER_GETSTATUS for each sales order number that I got from the first call (Sync?). Not sure how this has to be designed
    for this the BPM should have a block after the Sync send.......in the block have your send step....the mode of the block will be ForEach....
    Check this blog for more info: /people/milan.thaker/blog/2008/08/05/modes-in-block-step-of-bpm
    Check this similar example from help: http://help.sap.com/saphelp_nw70/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    Edited by: abhishek salvi on Jul 1, 2009 10:57 AM

  • Is it possible to use xml publisher with xml document as data source ?

    I have an application that have to publish document from xml document that are not part a oracle 10g database but will be stored into Oracle Berkeley XML database insteed. Is it possible to use server and/or desktop to publish these documents ?
    I test the desktop edition using the source xml document but it render no data when the template is executed (vizualization)
    I installed the server edition and i'm not able to declare xml document as a data source
    So i have a doubt that xml publisher is able to publish something from a xml datasource
    Thanks

    Yes, it is possible.
    The problem should come from your template. Refer to "edit a RTF template" in the docs.
    A fact is that XML Publisher server edition is not very adapted to an XML file datasource. In order to use it, you should use an HTTP datasource, with the URL of your XML document (that you should place on a web server...). The problem is that this URL is fixed and point always on the same reference...so XML Publisher server edition is not very good for that use.
    I choose to use the XML Publisher Java API which is better for this task.

  • Is it possible to import xml into Adobe Muse to populate content similar to InDesign?

    Is it possible to import xml into Adobe Muse to populate content similar to InDesign?

    The only way I see this would be possible is through using JS that you can insert using the Object -> Insert HTML option, you may grab the XML to HTML code from here - http://www.w3schools.com/xml/xml_to_html.asp
    In order to test this out, simply download the sample XML file from the following location - http://www.w3schools.com/xml/cd_catalog.xml and save it somewhere locally. Now add this file to your Muse project using File -> Add Files for Upload option, it would then appear within the Assets panel.
    Add the code to your page and update the path referencing the file cd_catalog.xml to assets/cd_catalog.xml. Now on previewing the page in browser, you should see the populated HTML from the XML.
    Thanks,
    Vinayak

  • Displaying xml publisher report from adf page.

    I am using jdev 10.1.3.3
    I have an requirment of displaying an xml publisher report on click of command button.
    any suggestion.how this can be achived.
    according to my understanding.
    if we create a folder in our web server which oc4j in our case.and we transfer the xml report through FTP in that folder.can we able to pick the report from that folder.
    can we display or call that report.please let me know??
    Is that possible.????????????
    any help would be helpfull

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • How to consume XML Gateway WS from a remote Oracle DB (10g)?

    Hi,
    I'm currently looking into consuming EBS web services, particularly the XML Gateway service from a remote database. For ease of use, I'm also using an Oracle 10g database.
    It seems there are several ways to skin a cat though. Hope you can help.
    1) Is it possible to use UTL_HTTP for this? If yes, can you please explain in detail as I have been trying to do this the past few days without success. Note, I was able to consume other web service examples, though. What url & SOAP action should I use?
    2) I built a proxy client stub using JDeveloper and deployed it to the DB. However my plsql procedure doesn't execute the java class. Any thoughts?
    Thanks,
    Charina

    Hi Charina,
    Regarding option 1), the url for the service endpoint and the value for the SOAPaction HTTP heaader are advertized in the WSDL for your service.
    The value of the utl is provided by the 'location' attribute for the soap:address element within a port.
    The value for the SOAPaction header is provided by the 'soapAction' attribute for the soap:operation element within a wsdl:binding/wsdl:operation element.
    You can have multiple ports and bindings advertized in a single WSDL. If this is the case for you, you need to make sure that the operation you are tryin to invoke is from the SOAP binding; the one with the transport attribute set to "http://schemas.xmlsoap.org/soap/http".
    Here is a WSDL snippet for illustration purposes:
      <binding name="CalculatePricePort" type="tns:CalculatePricePort">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
                      style="document"></soap:binding>
        <operation name="CalculatePrice">
          <soap:operation soapAction="document/http://siebel.com/OrderManagement/Quote/PSP:CalculatePrice"></soap:operation>
          <input>
            <soap:body use="literal"></soap:body>
          </input>
          <output>
            <soap:body use="literal"></soap:body>
          </output>
        </operation>
      </binding>
      <service name="CalculatePriceWS">
        <port binding="tns:CalculatePricePort" name="CalculatePricePort">
          <soap:address location="http://130.35.90.150/eai_enu/start.swe?SWEExtSource=SecureWebService&amp;SWEExtCmd=Execute&amp;UserName=XXXX&amp;Password=XXXX"></soap:address>
        </port>
      </service>Note that I took an example where both attributes are not using common format.
    To try to get this working faster, you may want to try to use an existing JAVA (or .Net) client and compare the working payload with what is generated by the UTL_HTTP package. It's usually faster to work of a working sample that to double guess why it's not working.
    Hope it helps,
    -Eric

  • How to loop through single XML File and send multiple RFC calls?

    I am looking for the best approach to use for making multiple RFC calls (can be sequential) using a single XML file of data.  I have been attempting to get a BPM loop working, but to no avail.  My RFC only accepts a single set of delivery input and I have been told to try to work with it as is.
    input xml sample:
    <?xml version="1.0" encoding="UTF-8"?>
    <ProofOfDelivery>
       <POD>
          <delivery_number>1</delivery_number>
          <carrier_name>UPS</carrier_name>
       </POD>
       <POD>
          <delivery_number>2</delivery_number>
          <carrier_name>UPS</carrier_name>
       </POD>
    </ProofOfDelivery>
    I need to make a synchronous RFC call for each set of POD data.
    Thanks in advance!

    Thanks for the inputs.
    I tried with a BPM and multi-mapping transformation before a ForEach block.  I am getting this error:
    Work item 000000028028: Object FLOWITEM method EXECUTE cannot be executed
    Error during result processing of work item 000000028029
    com/sap/xi/tf/_ProofOfDeliveryMultiMapping_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntim
    Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
    Probably because I am not making/using the container objects properly.  Here is a screenshot of my BPM.  Can anyone spot my issue or point me to an example on this sort of container use?
    [http://kdwendel.brinkster.net/images/bpm.jpg|http://kdwendel.brinkster.net/images/bpm.jpg]
    Thanks

  • Starting BPM from Adobe PDF?

    Hi everyone,
    we want to implement a BPM scenario, which will be started by a WS call from an Adobe PDF file. Following is our development procedure:
    1. Create a wsdl file, which has only input parameter. (asynchronous call).
    2. Create a bpm with a start event, whose trigger is the wsdl file from step 1.
    3. Deploy the bpm and configure all the service groups. Test the bpm and find out it can be started with a webservice call.
    4. Create an xdp file using the wsdl file from ce as data connection. (this wsdl file is not from step 1, but the one with endpoint configuration from ce)
    5. create pdf file from xdp and call the bpm, but failed.
    Our questions are:
    1. is it possible to start a bpm from a pdf form using ws?
    2. if 1 is true, how can we do that?
    thanks a lot for your time and reply in advance.
    best regards
    Xiang

    Hi Xiang,
    One more information, currently "Starting BPM From Online Adobe is supported".  You have to invoke the WSDL as you do for any other online application like webdynpro.
    But invoking from Adobe makes sense only if it is done via offiline form (sent through mail). For this functionality you have to wait till release of 7.3.
    Hope this is helpful to you.
    Regards,
    Nirmal Sivakumar G

  • Is it possible to copy or export metadata from Folio Producer?

    Hi,
    Is it possible to copy or export metadata from one issue in Folio Producer and import/apply it to a different issue in Folio Producer? Or create a master metadata template that every issue build could use? It would save a lot of time and typing not having to re-enter the same information every month when releasing the next issue for departments, bylines, etc.
    Thanks!

    Bob,
    Do you know when exporting metadata from Folio Producer will be available, and will it export directly to another rendition, or would it export to a sidecar.xml file?
    The workflow my team prefers is to build our 1024x768 folio first, add metadata via Properties in the Folio Builder as we add articles, share the folio with editors and advertising sales, make edits and updates, then when all content is approved, create the 2048x1536 rendition folio using multiple importing of articles.
    Having the ability to export from an existing folio in Folio Producer would save tons of tedious copying/pasting to get a sidecar.xml.
    Hopefully when this becomes available you'll have a big announcement. (Please?)
    Thanks in advance.
    Mark

  • How to take XML data source from URL?

    Hi,
    I creating application which need to download some data from any web page. This page is creating via XSL (as stylesheet) .This XSL
    process some XML "data source" and generate HTML page. I wanna ask if exist some way how to take this XML "data source"? If i used
    URL and take InputStream I everytime obtain full generated HTML, JavaScript page - compiled by web browser. But if i look to "page
    source" of this page in web browser i see just that XML data source which i need to take (only at start of this xml is way to xsl
    style sheet).
    But this problem i have only at my required page.If i tried to take another page with similar structure code, it was succesful.
    Here is link : LINK
    Why i dont have permision take clear xml from this page?What is so special?
    Exist some way how to take this XML without generated html code?
    Thank you.

    I apologize for my english. I try explain my problem again:
    At this url [http://eu.wowarmory.com/item-info.xml?i=33677] is web page. If you look at "page source", web page is create via XML and XSLT. I need load this data source. I used DOMParser for that:
    URL url = new URL("http://eu.wowarmory.com/item-info.xml?i=33677");
    DOMParser parser = new DOMParser();
    parser.parse(url);
    XMLDocument doc = parser.getDocument();I get exception : Exception in thread "main" oracle.xml.parser.v2.XMLParserException: Expected '?>' instead of 'EOF'
    If i used it at another page (for example [http://www.w3schools.com/XML/simplexsl.xml|http://www.w3schools.com/XML/simplexsl.xml] ), compile was successful and i can work with this XMLDocument and etc.
    I try load it by InputStreamReader too:
    URL url = new URL("http://eu.wowarmory.com/item-info.xml?i=33677");
    try {
        BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream());
        String line;
        while ((line = br.readLine() != null) {
            System.out.println(line);
    } catch (IOException e) {
        e.printStackTrace
    }i get only compiled HTML code by web browser. At second page i load successfuly XML data - not compiled by browser.
    Is possible to take original xml page source from this page? And what diferent is between this pages?
    Thank you and i hope, you can translate this post without headache :-) If it will be necessary, i can more specify some details.

  • Running custom BI (XML) publisher report from BPEL

    We would like to run a custom BI publisher (XML publisher) report from BPEL process and the resultant PDF report output needs to be FTPed to specific location. BPEL can pass on the XML content required for the report.
    Is this possible or any workaround for this ?

    Any light on this ?

  • Why is it not possible to install apple remote desktop (from appstore bought earlier) on my new imac 21?

    why is it not possible to install apple remote desktop (from appstore bought earlier) on my new imac 21?

    hello Dahveed, thanks for your reply, i solved it with the help of the migration assistant from another mac - now it works (but before as more info: for my new imac it was not possible to install apple remote desktop from appstore (the install-button not available, the same as installed already...) - and i don't know why...? - is it possible that the reason is the number of owned macs?)

  • Is it possible to pickup a specific file from a folder?

    Hi
    I am wondering whether it is possible to pick a specific file from a folder. I have a shape where I have got a filename and I need to look for it in a folder.
    Is that possible?
    And how can I achieve this? The next step is to pick the file up and transfer it to another location. So basically in pseudo code I need to ask my defined folder with a filename as parameter. Get the file and move it to another folder.
    Suggestions are most appreciated. Thanks

    Assuming you are using orchestration, you could
    create an assembly, install it in the GAC, add a reference to it in your BTS
    project, and call it from an Expression shape to resolve the receive
    location. You would only really need one static method in a class. Be sure
    to add a reference to Microsoft.BizTalk.ExplorerOM.dll.
    Example:
    using Microsoft.BizTalk.ExplorerOM;
    namespace Phil
    public class OrchestrationHelpers
    public static string ResolveReceiveLocationName(string
    inboundTransportLocation, string receivePortName)
    BtsCatalogExplorer bts = new BtsCatalogExplorer();
    bts.ConnectionString =
    "SERVER=localhost;DATABASE=BizTalkMgmtDb;Trusted_Connection=True;Network
    Library=DBMSSOCN;"
    foreach (ReceiveLocation location in
    bts.ReceivePorts[receivePortName].ReceiveLocations)
    if (location.Address == inboundTransportLocation) return location.Name;
    return null;
    In your Expression shape within your orchestration, assuming a message
    called "MyMessage" and a string variable "receiveLocationName":
    receiveLocationName =
    Phil.OrchestrationHelpers.ResolveReceiveLocationName(MyMessage(BTS.InboundTransportLocation),
    MyMessage(BTS.ReceivePortName));
    If this post answers your question, please mark it as such. If this post is helpful, click 'Vote as helpful'.

  • Calling a XML Publisher report  from FND_SUBMIT_REQUEST

    Hi,
    I need to submit a XMLP report from FND_SUBMIT_REQUEST.
    The report will have say, 4 templates for 4 seperate languages.
    Now, when i call the report from submit request, i need to give the name of a template that will get attached.
    Does anybody have any idea which parameter in the submit request parameter list takes the name of a template?
    Please let me know if anybody has any info on this.
    Can mail me at [email protected]
    Regards,
    Satrajit

    Hi,
    You can use FND_REQUEST.SUBMIT_REQUEST for submitting the report. The syntax is as follows:
    function FND_REQUEST.SUBMIT_REQUEST
    (application IN varchar2 default NULL,
    program IN varchar2 default NULL,
    description IN varchar2 default NULL,
    start_time IN varchar2 default NULL,
    sub_request IN boolean default FALSE
    argument1,
    argument2, ..., argument99,
    argument100) return number;
    Here is the code that I used for submitting XML Report Publisher from within my Oracle Report's AfterReport trigger. The parameters are explained.
    a:=FND_REQUEST.SUBMIT_REQUEST('XDO', 'XDOREPPB','Varun XML Report Printing', NULL, FALSE, :P_CONC_REQUEST_ID , 'MYONT','MY_PREPACK_XML','en-US' ,'N', 'RTF', :p_output_format,NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL );
    srw.message(123,'Value of New Request : ' || a ||' Output Format :'||:p_output_format);
    Hope it helps.
    Thanks
    Varun

  • Calling a xml publisher report from Ebs - question

    Hi,
    I know how to call a xml report from ebs using concurrent manager. But i want to open it from a form in application.
    My situation is this:
    There is a form in the payables modelue, where i search for all the invoices.
    There is also a button action in this form wich take the id of the row in wich it is my position and open a rtf raport with this id.
    What i need to do is to call my xml report in this button . To pass my raport the id of the row in wich i am and open my report with paramateres.
    Can this be done? Has anyone tried this before?
    Thanks in advance,
    Best regards

    Hi,
    You can use FND_REQUEST.SUBMIT_REQUEST for submitting the report. The syntax is as follows:
    function FND_REQUEST.SUBMIT_REQUEST
    (application IN varchar2 default NULL,
    program IN varchar2 default NULL,
    description IN varchar2 default NULL,
    start_time IN varchar2 default NULL,
    sub_request IN boolean default FALSE
    argument1,
    argument2, ..., argument99,
    argument100) return number;
    Here is the code that I used for submitting XML Report Publisher from within my Oracle Report's AfterReport trigger. The parameters are explained.
    a:=FND_REQUEST.SUBMIT_REQUEST('XDO', 'XDOREPPB','Varun XML Report Printing', NULL, FALSE, :P_CONC_REQUEST_ID , 'MYONT','MY_PREPACK_XML','en-US' ,'N', 'RTF', :p_output_format,NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL );
    srw.message(123,'Value of New Request : ' || a ||' Output Format :'||:p_output_format);
    Hope it helps.
    Thanks
    Varun

Maybe you are looking for

  • Closed ports on an open firewall w/ port forwarding enabled.

    I'm running a closed network for my game development club and I need to be able to have each computer be able to communicate with each other for when the group tests out their new multiplayer games. I decided to set up Arch as the operating system si

  • Acrobat pro 9.1

    I teach for UOP Online and trying to copy and paste text and forumlas (objects) from PDF to Word. I was told by an Acrobat rep and a UOP tech this could be done. I bought the software and have tried the tool and can not get the forumulas in Word. Hel

  • Sata controller 3 and 4 when RAID-0

    Hi Everybody is sayning you should use SATA 3 and 4 when RAIDing. Why is that? I am using 1 and 2 whitout prolems!

  • OWB Performance

    Can someone give me pointers on how can the mappings execution performance can be improved? Settings on O/S level, Database , mappings etc. Thanks.

  • How to check a value for paramter query

    I am passing a paramter value from my text box to my sql statement and I would like to check if the value is entered into a text box. If you have any idea please share it with me, i have been struggling with this for many days.Code below is how i try