BPM webservice scenario

Hi All,
Could you please provide some sample BPM webservice scenario for the Approval process?
Actually, don't want to get top to bottom info. for this request, prefer to have just layout info.
Regards
Sara

Hi Sara!
There was a document written by SAP describing exactly this process - XI (BPM) + approve in R/3. Try to find it on SDN...  If you're not succesful and want REALLY to have it    I have it on my pers NB somewhere, so in this case provide pls yr email adress.
regards,
P.

Similar Messages

  • Can I include 2 diff strctures in d same wsdl file in a webservice scenario

    Hii all,
    We are using webservice to webservice scenario in which sender shld b able to send all the new rquest to the target and receive any updations or modifications from the receiver.
    Few fields are different for request and modification structures. so i created 2 diff structures for source and target.
    can any one suggest me who can i use single wsdl file for both the msgs( Creation and modifications) mean how to implement multi maping ( 1 to many) using wsdl
    Regards
    Anu

    A simple way to include the 2 structures in one WSDL would be to create a combined structure similar to the one below:
    <RequestPackage> (1 occurrence)
       <Request> (0 to n occurrence)
          <Create> (0 to 1 occurrence)
             ... Create Fields u2026
          </Create>
          <Modify> (0 to 1 occurrence)
             u2026 Modify Fields u2026
          </Modify>
       </Request>
    </RequestPackage>
    This is more complex than using 2 wsdls but it would allow you to easily send multiple create and modify records in the same message.
    - Craig

  • Error in SXMB_MONI for HTML to Webservice Scenario

    Hi Experts,
    I am facing following error Error in SXMB_MONI for HTML to Webservice Scenario
    "Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
    Only one field is used i.e. email address and mapped properly in IR but still the error is persisting, Please suggest some way out.
    Regards,
    Nitin

    Hi,
    Mapping internall follows the SAX parser. Please check if you are trying to process the data of large size.
    generally while parsing the large data this exception get raised. Even though there is just one field, what is the data size you are trying to pass.
    Thanks
    Swarup

  • Rfc to webservices  scenario

    hi,
        i am taking 2 FM's in rfc side and i am taking external definition in receiverside i.e in soap side
    rfc to webservices scenario
    could any one help me immediately.
    urs
    suman

    HI
    Refer this
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Steps
    Import the RFC meta data to PI
    Import the WSDL to PI
    Create MI for RFC -outbound Sync (if response is involved else Async)
    Create MI for WSDL service you want type Inbound Sync (If response involved)
    Create MM(external definition and RFC), IM for these
    Create Sender RFC adapters with SA
    Create Receiver SOAP and do necessary pipline steps
    Thats it
    Thanks
    Gaurav

  • BPM Collect Scenario errors at transform stage

    The BPM Collect scenario is using a Fork within a Block.
    Branch 1 - Loop Receive Append Container Endloop
    Branch 2 - Receive step of triggerIdoc
    End of Block
    Transform step - multiline container of XML documents to one XML document
    Send step
    BPM Errors at Transform step with JCo mapping not available.
    Whilst BPM in Error (Workflow in Error) more messages being received but never processed as the RECEIVE event is "lost" for these messages.
    We are looking at redesigning the BPM to reduce the likelihood of this transform error.
    In the meantime was looking at ways to Alert the administrator straight away to the error. As we have a workaround to get the process going and to pick up the stranded messages. So have started setting up the ALERT categories as described in How to Guide, for Adapter and Interface. Will this work?
    Also in the Transform step there is a box (system exception) but I can't enter anything in. Is there a way to do this if the Alert category doesn't report an error in the BPM. OR do I have to add the Transform step into a Block of its own?
    Advice gratefully received if we come up with a working solution will post it out here. Have spent a large amount of time reading posts and blogs on here but have not got a clear picture yet of what is best to do.
    thanks,

    > Whilst BPM in Error (Workflow in Error) more messages
    > being received but never processed as the RECEIVE
    > event is "lost" for these messages.
    This should give you an issue called Parked Messages. The best way to deal with this is to actually define a Local Correlation. In the Block Step properties, you will have an option, Use Correlation --> Give the name of the Correlation . This will make sure that when there is an error, the Correlation become inactiva and a new BPM instance is created.
    > In the meantime was looking at ways to Alert the
    > administrator straight away to the error. As we have
    > a workaround to get the process going and to pick up
    > the stranded messages. So have started setting up the
    > ALERT categories as described in How to Guide, for
    > Adapter and Interface. Will this work?
    Not sure if this will work. The issue is that the messages are passed to the IE already and will be in wait step waiting for an active BPM 's receive step How will another interface pick up this message?
    > Also in the Transform step there is a box (system
    > exception) but I can't enter anything in. Is there a
    > way to do this if the Alert category doesn't report
    > an error in the BPM. OR do I have to add the
    > Transform step into a Block of its own?
    This is what is called exception handler. Defined a Exception handler for the Block. Right Click block, insert Exception Branch, give name of the Hanler and then you can select this in the Transformation Step's System Error. This is like Try - Catch of Java.
    Regards
    Bhavesh

  • How to use objects from other SWCs in my BPM Integration Scenario

    Dear all,
    I am experiencing some difficulties with the following. I have created a BPM Integration Scenario in a SWC. It contains a tranformation step in which a message from that SWC is split and mapped to two IDOCs. These IDOCs are imported in anothern SWC which I use for common objects. I have created Abstract Message Interfaces based on these IDOCs in this "COMMON" SWC, but the probIem is that I cannot use them in my scenario in the other SWC. Even though I have a usage dependency (Installation Time) created to the "COMMON" SWC.
    Any suggestions would be much appreciated!!
    Thanks in advance.
    Will happily provide points for good answers.
    Auke

    Thus, I would have to copy/import all objects to the same SWC?
    Or create a separate SWC for BPM Integration scenarios?
    I have tried to create the Abstract Message Interface in the SWC and reference it to the IDOC structure in the "COMMON" SWC. This results in a reference to an invalid object during activation. Even though the defined usage dependency.
    What's the standard solution?
    Cheers,
    Auke
    Message was edited by:
            A. Schotanus

  • Want to create IDoc to Webservice Scenario

    Hi All,
    I wan to do Idoc to Web Service Scenario, I have already done Idoc to File Scenario and I have mapped the file of both end in ESR and I am done with Configuration in Integration Directory.
    Now If I want to convert it to IDoc to Web Service Scenario, what all steps need to be done. and also want to know that How we can access and Send the files from Web Service to PI 7.1. As such web service is not available need to create the same also.
    Can anyone provide How to guide on this scenario.
    Regards,
    Nitin Patil
    Edited by: Nitin Patil on Dec 19, 2008 2:44 PM

    Hey,
         as you have familiar with idoc to file, the idoc to webservice scenario is not different.
         You need to do the ALE settings on the R\3 side. import the Idoc in XI.
         Now for mapping purpose you need the source and the target structure.
         In case of webservice you need to import the WSLD (unlike the file in which you wold have created the data type and message type)
    In order to import the WSLD, you need to do following things.
    Ou require NWDS and the following settings needs to be done
    Deployement of Web Services:-
    Step 1)
         Goto Windows->Open Perspective->J2EE development.
    Step 2)
         Goto File->new->Ejb module(give project name).
    Step 3)
         Right Click on the <project name> eg. work_ejb select new->Ejb.
    Step 4)
         Give an appropriate EJB name and default package (eg. com.xxx.yyy).
         Also select stateless Ejb.
         Click next then next and then next.
    Step 5)
         Add method with an appropriate name.
         Mention the return type and also assign the required parameters.
         Logic is written in the EJB module bean.
    Step 6)
         Right click on the <project name> and build.
         Creates .jar
    Step 7)
         Goto File->new->Enterprise Application project(to create EAR)
    Step 8)
         Give project name, assign EJB and build.
         Creates EAR.
    Step 9)
         Right Click on the EJB.
         Goto new->Web services.
         Specify name of the web service.
         Specify EAR in the WEB service.
    Step 10)
         Build EAR.
         Build Ejb.
    Step 11)
         Goto Windows->Prefrences->SAP j2EE engine.
         Give the message server host name.
    Step 12)
         Right Click on EAR and deploy.
    Step 13)
         Goto-> http://<host name>:<port no.>/index.
    Step 14)
         Choose the web service name,test it and download it(default WSDL).
    Step 15)
         Import port(WSDL) in External definition of SAP PI.
    After you import the wsld, you need to follow the same procedure as idoc to file.
    regards,
    Milan

  • RFC - XI - WEBSERVICES scenario - Where to create RFC Destination

    Hi  Experts
    For my RFC - XI - WEBSERVICES scenario, I have to create one TCP/IP RFC destination on R/3 system with the following details
    RFC Destination Name    : XXXX
    Connection Type            : T (TCP/IP)
    Activation Type              : u201CRegistered Server Programu201D
    Program ID                      : YYYY
    Gateway Host                : R/3 Details ..??
    Gateway Service           : R/3 Details ..??
    My Function Module (Remote-Enabled) - u201CZZZZu201D is defined in R/3 System.
    This Function Module should be communicated with the target system i.e. NW XI system 
    As per the Note from SAP Help: To be able to communicate using RFC, you need to define the target systems as RFC destinations in the sending system(R/3)
    Target system u2013 XI Server
    Sending system u2013 R/3 System
    Are my details provided are good enough as per my explanation? Please guide me in this regard.
    QUESTION : Where exactly do I need to create the RFC Destination(SM59)? on R/3 side or on XI side?

    Refer the following link-
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID1636235450DB01012070359836134304End?blog=/pub/wlg/1438
    what are the inputs should be given to Gateway Host and Gateway Service while creating RFC Destination??
    Open transaction SMGW on the R/3 system and choose
    Goto -> Parameters -> Display. Beneath Attributes there will be the
    entries 'gateway hostname' and 'gateway service'.#

  • XI Contents : Error Handling : Syncronous Proxy - WebService Scenario

    Hi,
    I am working on Syncronous : Proxy <-> XI <-> WebService Scenario.
    I am using Standard XI Contents from XI and SAP side.
    Meaning : All the design objects like Message Interface / Message Types / Data Types etc are NOT created by me, but I am using from Standard XI Contents EA-HR 600. I did all the Configuration of the Scenario by using these Design objects.
    In short , I can not change any of the Design object as it belongs to SAP.
    Now, the scenario works fine. But I need to cater for Error handling.
    Any suggestion.
    I can not create fault messages as it is SAP's objects.
    Thanks.
    Dk

    Thanks for suggestions.
    Now my comment on these suggestions:
    Option1 by Bhavesh. Copy Contents to my namespsce :  I can do that, but here I need to tell you something. I have used Contents (Design Objects) and I didnt have to even create or activate any proxy ( I was amzed to see that ). Now, coping all the contents to my namespace will give me flexibility to add Fault Message (which is currently not avilable in standard content). but..but..I will have to create and generate / activate the proxy. ( Am I right?). Then where should I use this proxy? How my application will talk to this proxy? (I am not sure if I made my point clear). Currently I dont have to worry about communication between this HR application with standard Proxy ( which belongs to standard contents).
    Option2 by Jai. Webservice changes : Webservice is not developed by me. I am consuming it. but I can ask this vendor who is WebService owner to change his webservice to suit my needs. But it wont solve the problem as I do not have Fault message at XI side.
    I can consider Option1 by Bhavesh, if the proxy problem is solved.
    Thanks,
    DK

  • HTTP-RFC(BPM)-FILE Scenario

    I have a problem on using the 'http-RFC(BPM)-File scenario'. When i enter values using the  Client http adapter, it displays message telling that "BPE_ADDAPTER.SYNCHONOUS_MESSAGE"
    The error msg is displayed below:
    Result:  
    <SAP:Error>
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code>BPE_ADAPTER.SYNCHONOUS_MESSAGE</SAP:Code>
    <SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages</SAP:Stack>
    </SAP:Error>
    Also in SAP XI monitor, the sender services along with the corresponding sender interfaces.
    Expecting this prob will be off soon.
    thanks
    vinod v

    Hi Vinod,
    your process is asynchronous (no sync async bridge). But you send "Quality of Service = Best Effort" (Url paramater qos=BE). You should send "Exactly Once" (EO).
    Regards,
    Udo

  • Polling in webservice scenario

    Hi Experts,
    I know Sender File Adapter and JDBC Adapter supports polling. Is it possible to use polling in webservice scenario?
    Is it possible to expose a File Adapter and JDBC Adpaters scenarios as a webserice?
    Regards
    Sara

    Sara,
    Can you go through the urls:
    sender JDBC by schedule function
    JDBC
    If it doesnot work for you, then try to see the SXMB_MONI or the JDBC
    Try using:
    "Disconnect from Database After Processing Each Message" indicator
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Polling at intervals
    Thanks,
    Satya Kumar.
    Edited by: SATYA KUMAR AKKARABOYANA on Apr 25, 2008 2:25 PM

  • Exception while executing BPM WebService

    Hi Experts,
    I issue is with bpm webservice execution. I am using CE 7.2. I am calling CE application through Portal using Application integrator Iview.
    When I execute the webservice I get the below exception. Through WSNavigator I am able to successfully trigger the webservice.
    com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL 'http://host_name:port_num/bpm/companycom/devc/changebpm/ChangeGenericTwoStep?wsdl' with operation 'GenericTwoStepOperation' in interface 'ChangeGenericTwoStep'
    When I got to NWA->Problem Management->Default trace files, I can see the below error description.
    com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL 'http://host_name:port_num/bpm/companycom/devc/changebpm/ChangeGenericTwoStep?wsdl' with operation 'GenericTwoStepOperation' in interface 'ChangeGenericTwoStep'
    Caused by: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Client protocol has thrown an exception. Protocol name is [SecurityProtocol]. See nested exception for details.
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.invokeHandlerRequest(SOAPTransportBinding.java:1123)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1282)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:960)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:915)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
    at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
    ... 69 more
    Caused by: com.sap.engine.interfaces.webservices.runtime.ProtocolExceptionExt: No logged in user found.
    at com.sap.engine.services.wssec.srt.protocols.ConsumerSecurityProtocol.handleRequest(ConsumerSecurityProtocol.java:176)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.invokeHandlerRequest(SOAPTransportBinding.java:1093)
    ... 74 more
    Caused by: java.lang.IllegalStateException: No logged in user found.
    at com.sap.security.core.server.jaas.SAPLogonTicketHelper.createAssertionTicket(SAPLogonTicketHelper.java:484)
    at com.sap.security.core.server.jaas.AssertionTicketFactoryImpl.createAssertionTicket(AssertionTicketFactoryImpl.java:67)
    at com.sap.engine.services.wssec.srt.protocols.GetAssertionTicketPrivAction.run(GetAssertionTicketPrivAction.java:36)
    at com.sap.engine.services.wssec.srt.protocols.GetAssertionTicketPrivAction.run(GetAssertionTicketPrivAction.java:20)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.services.wssec.srt.protocols.AssertionTicketRetriever.getAssertionTicket(AssertionTicketRetriever.java:34)
    at com.sap.engine.services.wssec.srt.protocols.ConsumerSecurityProtocol.handleTransportSecurity(ConsumerSecurityProtocol.java:1119)
    at com.sap.engine.services.wssec.srt.protocols.ConsumerSecurityProtocol.handleRequest(ConsumerSecurityProtocol.java:144)
    We have used Provider system. The configurations of provider system seems fine as the same provider system is working for other different bpm webservice.
    Can anyone guess what the issue could be.
    Thanks,
    Shilpa

    Hi,
    The SAP_DEFAULT_PROFILE was not assigned to the BPM Project. Once I assigned this, I was able to successfully execute the BPM Webservice.
    Thanks,
    Shilpa
    Edited by: ShilpaKG on Nov 3, 2011 3:13 PM

  • How to maintain EOIO for JMS to multiple webservices scenario

    Hi,
    I have a requirement that
    how to maintain EOIO for JMS to multiple webservices scenario.
    JMS queue has multiple messages, each message has to be sent to either of 2 receivers.
    How to maintain EOIO in case, when there are 2 receivers.
    Regards
    Sekhar

    Hi,
    since messages are split between 2 webservices receivers, each would have its own SOAP adapter.
    So if order of messages in the JMS queues is M1, M2, M3 and M4 . There is a field based on which split happens.
    Say, if M1 and M3 have to go Webservice1 (will have its own mapping)
    and M2 and M4 have to go Webservice2. (will have its own mapping)
    we'll have two receivers in the receiver determination and hence two Interface determinations.
    The result should be
    M1 delivered to Webservice1
    M2 delivered to Webservice2
    M3 delivered to Webservice1
    M4 delivered to Webservice2
    How will we maintain EOIO in this case?
    Regards,
    Balaji.M

  • Testing webservice scenario

    Hi Experts,
    How to test the webservice scenario with more than 10 users at a time?
    Thanks & Regards
    Sara

    Hi Sara,
    As u metioned to calculate the CPU utilization for the scenario which are invoked at the same time for more users.We can create multiple users with different user id's
    and coming to the point of calculating the CPU usage pls consult ur SAP XI BASIS team they would be helping u out and allow n users to access the service parallel
    sara pls chk this link
    Good One *********************
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/07ddd490-0201-0010-698b-e240c0f58bbd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e00ac676-7b92-2910-6b81-dad421126406
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/7dc33a0f374932e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a6c4d505211d189550000e829fbbd/frameset.htm
    /people/sap.user72/blog/2006/03/22/how-to-stop-xi-server-utilizing-99-cpu-cycles
    if found worth pls do the req
    ok
    Regards
    Sampath

  • Webservice scenario. pls suggest

    Hi All,
    Please let me know what it means when we say call Webeservice from Java or SAP using Service bus.
    It will come under which given below scenario  or this wil be some other scenario
    When PI 7.1 is consumer of Webservice
    Scenario -  we import wsdl as external defination and use Soap Receiver adapter
    When PI 7.1 is provider of Webservice
    Scenario -  For Outbound Interface Sender Aggrement we take Endpoint WSDL and login to Service Registry and publish that
    Endpoint WSDL and send that Endpoint WSDL to 3rd party and use Soap Sender adapter
    Thanks

    >
    Rick R wrote:
    > Please let me know what it means when we say call Webeservice from Java or SAP using Service bus.
    > It will come under which given below scenario  or this wil be some other scenario
    in this case, when ever a system is calling a webservice and that system is not PI, then ideally it will be PI who is hosting that webservice

Maybe you are looking for

  • F110- cancelled payment proposal is blocking payment

    Hello all! We have a problem with payment proposal, which was first created, but later the payment run has been cancelled by the system itself (we had some difficulties in sap performance).  Now this proposal is disabling payment to the vendor, for w

  • My iPod is disabled help?!?

    I have an ipod 4g and I havent used it in a while and I charged it and I don't remember the password and it says "Ipod is disabled connect to iTunes" I don't want to lose all of my pictures so I plugged it into my laptop to download the pictures and

  • Switching Video Standard?

    Hi all, I'm using iMovie with my Canon Rebel T1i Camera for videos. The T1i records movies at 720p resolution with 30 fps. I've so far created many projects and all look good. However, I just discovered that I had PAL - 25 FPS chosen as "Video Standa

  • Creating attestation tasks using code

    Is there anyone out there with experience of creating new attestation process tasks (APT table) and reassigning specific attestation task details (ATD table) to the new attestation process tasks? My situation: I have a resource object that is assigne

  • Weblogic Server backup

    Have been facing issues with starting of WLS and Managed servers etc. The install went fine and set up worked for few weeks and due to server issues like not shutdown gracefully, issues started with WLS servers not starting up properly etc. So want t