BPM-Synch to Synch Interface Communication

Hello All  -
My scenario is Outbound Synchronous Interface (IfOut_Synch,from JMS Adapter))->BPM->Inbound Synchronous Ingterface(PO CHNAGE BAPI).
In BPM, I want to have Receive->Transformation(Message Mapping to BAPI)->Send steps to achieve this scenario.
I created :
Interface -
1. IfOut_Synch(Synchronous Interface to get the data from JMS Adapter)
2. AbstractRequest_Asynch(Message type=PORequest from JMS)
3. AbstractResponse_Asynch(Message type=POResponse to JMS)
4. AbstractRequest_Synch (Message Type=Exactly same as IfOutSynch)
5. AbstractBAPI_Synch(Message Type=BAPI request &  BAPI Response)
Interface Mapping -
AbstractRequest_Synch <=> BAPI_PO_CHANGE
In BPM:
Containers- 
MsgOut(type AbstractRequest_Asynch)
MsgIn (type  AbstractResponse_Asynch)
Receive step-
Message=MsgOut, Mode=opens S/A Bridge, Synchronous Interface=AbstractRequest_Synch
Transformation Step-
Inertface Mapping=As defined above, Source message=MsgOut,Target Message=MsgIn
Send Step-
Mode=Close S/A bridge, Message=MsgIn, Opened by=Receive step.
I am getting Errors in Transformation Step, EXPRESSION MUST RETURN THE INTERFACE TYPE <Source message> AND EXPRESSION MUST RETURN THE INTERFACE TYPE <Target message> .
Pls advice, Anybody ??
I suspect this is because the Container is the Asynchronous Type but assigned to Synchronous Interface. While, Contained does not accept the Synchronous Type of Abstract Interface.
Thanx in Adavce....

I'm not sure Block in (par)foreach mode is the best option for multiple synchronous calls.
Anyway, you can always add a exception branch within your block and catch the exception from the send step. If you just want the next steps to continue, you can just do nothing in the exception branch (or maybe log an error message).
Regards,
Henrique.

Similar Messages

  • Triggering a BPM(NW) using sync interface and get the sync response

    Hi Folks,
    I have a scenario where in I have to trigger a BPM (NW) using a sync interface from a SOAP client by making request to get the response from SAP webservice . If the response from SAP is successful then its a happy path but if it fails or times out then there is an failure mapping to ECC using an IDOC. My question is to achieve the sync process how many synchronous interfaces do I need to use? Please let me know if my design works with 4 sync interface. One outbound sync interface at the source (i.e the request ing system), the other inbound sync interface to the BPM to trigger the BPM, another outbound sync interface within BPM for the request to SAP. the fourth inbound sync interface at the ECC for the response from ECC. Or please let me know if there is a better design option than this.
    Regards
    Kalyan.

    Hi,
    Control Step
    Use
    You use a control step () to do the following:
    ·        Terminate the current process
    ·        Trigger an exception
    ·        Trigger an alert for Alert Management (see also: Triggering an Alert)
    Activities
    Terminate the Current Process
    Choose Terminate Process.
    At runtime, the system terminates the current process instance, including all active steps, and sets the status for the process to logically deleted.
    Trigger an Exception
    Choose Trigger Exception and specify the triggering exception (see also: Exception Handling). The relevant exception handler must be defined in the same block or a superordinate block.
    The system triggers the specified exception at runtime.
    For more information about using exceptions, see Example: Collecting and Bundling Messages - One Interface.
    Proxy..
    How to create proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    How to Activate Proxy.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    ABAP Server Proxies (Inbound Proxy)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    OutBound Proxy (Client Proxy)
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to R/3 via ABAP Proxy with good example
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    Debug your inbound ABAP Proxy implementation
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks,
    Satya Kumar

  • Measure data through XI per interface/communication channel

    Is there a way to measure the data through XI per interface/communication channel. SXMS_XI_AUDIT_DISPLAY gives you a list of the total throughput in XI, but I would like this to be specified per interface or communication channel.
    Is this possible?
    Regards,
    Dirk-Jan

    Hi Dirk,
    Is there a way to measure the data through XI per interface/communication channel. SXMS_XI_AUDIT_DISPLAY gives you a list of the total throughput in XI, but I would like this to be specified per interface or communication channel.
    Go to RWB -> Performance Monitoring -> Here you can specify the interface name and time interval and it will give you all the details like Message Size, Processing Time, Start-End of processing interval etc.
    Regards,
    Neetesh

  • BPM with Synch Interface

    Hello
    I have scenario Sysnh HTTP -> BPM.
    I have control step in BPM that cancel process in case of error. When the process is canceled sysch sender does't get error immediately. Sender wait until timeout.
    Is it possible to configure that IE must return error immediately?

    Hi,
    As this is a sync step, it's BE and it is expecting a reply from the destination which can be positive and negetive. So the step will wait for the response.
    Also, where is your error happening and how is it controlling the send step. If you manage to raise the error before send then I guess you can avoid the timeout.
    Regards
    Vijaya

  • Do I need to do a BPM / Synch-Asynch bridge ?

    SDNers,
    I have a scenario where a synchronous SOAP HTTP message will come in with data. Following steps are needed.
    1) Call a stored procedure to authenticate on a DB2 database. Possible JDBC adapter.
    1a) If authentication fails need to respond with error code in the SOAP-MSG and end.
    2) Call another stored procedure to post the data to temporary table and get back a unique ID.
    3) Return the response and unique ID to the SOAP-MSG.
    Can you please let me know -
    a) If I will need to create a BPM for this scenario. If not how ?
    b) If BPM is needed - will I need a Synch-Asynch bridge although I have all synchronous communication throughout the process. All the stored procedures to DB2 database are intended to be synchronous JDBC receivers.
    Thanks a lot in advance,
    Charu

    Thanks Sandro, Sudheer, Shweta and Venkat for your inputs.
    It certainly looks like there is no way other than BPM even though I have synchronous scenarios - espacially because of the authentication step.
    In case some of you are wondering why is not the authentication step and the subsequent step merged -The authentication are maintained in a separate system and hence a separate call is needed.
    Venkat - I will check out on the Synch/Asynch bridge.
    All - you have more inputs then please share your views.

  • Is it possible to map Abstract asynch to Inbound Synch Interface?

    Hi,
      Is it possible to do Interface mapping for  Abstract Asynch with Synch Inbound Interace? Appreciate for your response.
    Thanks,
    Rao.Mallikarjuna

    Hello
          1. Why this is required (In what scenario u want this)
          2. Mapping will take place between MessageType not between MessageInterfaces
          3. In case you are using BPM and you want to send message to BPM no need of mapping between abstract and synchronous
    Rajesh

  • BPM Synch Exception

    Hi,
      I have requirement where I need to send  messages to multiple receivers and capture reponse back synchronously in BPM. Suppouse when I send a message to a receiver which is down I am getting Request Time Out Exception in BPM. Send Synch is inside Block. Can it process rest of the messages or not. Is there any way where can I catch Exception cases and process rest of the messages sucessfully. Appreciate for your response.
    Thanks,
    Rao.Mallikarjuna

    I'm not sure Block in (par)foreach mode is the best option for multiple synchronous calls.
    Anyway, you can always add a exception branch within your block and catch the exception from the send step. If you just want the next steps to continue, you can just do nothing in the exception branch (or maybe log an error message).
    Regards,
    Henrique.

  • Exchange Synch no communication

    hi
    we have Exchange Synch Server which works very good with different devices most are Samsung with Android.
    Now i have a User with a Sony Xperia Z2 (Modell D6503, Build 23.0.1.A.0.167, Android 4.4.4) that doesnt even
    communicate with our Synch-Server trough the Microsoft Active-Sync. i dont see anything from this device in the Log of the Synch-Server. I tried with internal WLAN but also over normal Mobile-Network, where the Server is accessible.
    Tried several accounts after reboot and disabling all Security Features...
    i dont know how or where to search for a solution. any hints ? are there known bug-fixes in this version ?
    Thanks

    I get "For MyCompany it demands that you update security settings". I removed tha account and put it back and it worked again but only some days. Now the same message again. Looks like a bug? for Android 4.4.4

  • BPM - Synch Asynch Process

    My Scenario is File to File and also SOAP thru BPM for File Split. I have to do BPM for file split because of the timing dependency of delivery of files.
    Here are the steps in Integration process:
    1. Receive File from Sender A
    2. Transform this file into multiple files ( In this transformation step Iam capturing Source File Name into separate message )
    3. Send all files to the Receiver
    4. Send Synchronously SOAP call to the Receiver and receive response message
    5. String 'FileName' captured in Step2
    and response message from Step4 to another message
    6. Send the message from step 5 to the Sender A ( Original Sender )
    My Question is Do I have to save the filename in Step2 as a message? Can I do it using Simple type in integration process, if yes, how can I do that.
    Someone please explain?. Thanks

    Hi,
    Save the file name as a message. Anyway you need to send the file name in message right ? And if you want to use it, then use Mapping for the same
    For container Operation, refer this-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/59/e1283f2bbad036e10000000a114084/content.htm
    Regards,
    Moorthy

  • BPM Workspace Customization & User Interface: Best Practice Question

    Hi All,
    This is our first BPM Project in house and we are on Oracle BPM 11g.
    The business process involves request for approval for a permit from a public user and internal users need to approve/reject the same. Pretty simple and straightforward so far.
    But we are now having lots of questions wrt to user interface.
    1. Work Space Changes.
    If we develop this application completely in Oracle BPM, the outside user (general public) will also see the 'workspace' with its current interface. It would be impossible to handle user training on this interface for a simple Joe Bloe, who may not be computer savvy) So the requirement documents demand that the look and feel of the outside users should be totally different than what the workspace provides. They want this to be customized in such a way that iit would strip all of the default lay out (left navigation bar, and get rid of the upper section completely. with its list of tabs) and also to modify the task list that appears below).
    We have figured out how to achieve this (by modifying the workspace .jar files and recompiling the same), but is this a good approach? What happens if we are developing a brand new application on the BPM in our shop? This change will affect that application as well, as the workspace is shared and common to all the apps? I want some of you experts to let us know, your thoughts on this. If this is not a recommended practice, what would be best way to achieve what we want using Oracle BPM? (Where we want a simple intuitive user interface, without the default add ons that comes with the work space)...
    2. What would be the best method to create a user registration page (where a user creates his own login and password and maintains his account) for an application using the BPM ? Right now we are thinking this should be in either a ADF page/ JSP page or (worst case a PL SQL cartridge) that can be launched on the browser, which will be open and does not require any kind of authentication to access. Is this a good practice or recommended one? Or are we missing out on something within BPM application itself, that we are not aware of and that would let us do this?
    3. Also, if we go with an external ADF application for the 'public' user interface developement, then how can we (or can we) leverage the BPM's internal storage for the submitted data from the payload? I understand that it stores this information currently on the server 'soa infra' tables some where? Thru an external ADF app, can we write into these tables (Is this recommended or just sounds plain ridiculous)???
    Knowing answers to these questions will help us decide, if this is the right tool for the job at hand.
    Appreciate your time and xpertise.
    Thanks
    SR

    Hi All,
    This is our first BPM Project in house and we are on Oracle BPM 11g.
    The business process involves request for approval for a permit from a public user and internal users need to approve/reject the same. Pretty simple and straightforward so far.
    But we are now having lots of questions wrt to user interface.
    1. Work Space Changes.
    If we develop this application completely in Oracle BPM, the outside user (general public) will also see the 'workspace' with its current interface. It would be impossible to handle user training on this interface for a simple Joe Bloe, who may not be computer savvy) So the requirement documents demand that the look and feel of the outside users should be totally different than what the workspace provides. They want this to be customized in such a way that iit would strip all of the default lay out (left navigation bar, and get rid of the upper section completely. with its list of tabs) and also to modify the task list that appears below).
    We have figured out how to achieve this (by modifying the workspace .jar files and recompiling the same), but is this a good approach? What happens if we are developing a brand new application on the BPM in our shop? This change will affect that application as well, as the workspace is shared and common to all the apps? I want some of you experts to let us know, your thoughts on this. If this is not a recommended practice, what would be best way to achieve what we want using Oracle BPM? (Where we want a simple intuitive user interface, without the default add ons that comes with the work space)...
    2. What would be the best method to create a user registration page (where a user creates his own login and password and maintains his account) for an application using the BPM ? Right now we are thinking this should be in either a ADF page/ JSP page or (worst case a PL SQL cartridge) that can be launched on the browser, which will be open and does not require any kind of authentication to access. Is this a good practice or recommended one? Or are we missing out on something within BPM application itself, that we are not aware of and that would let us do this?
    3. Also, if we go with an external ADF application for the 'public' user interface developement, then how can we (or can we) leverage the BPM's internal storage for the submitted data from the payload? I understand that it stores this information currently on the server 'soa infra' tables some where? Thru an external ADF app, can we write into these tables (Is this recommended or just sounds plain ridiculous)???
    Knowing answers to these questions will help us decide, if this is the right tool for the job at hand.
    Appreciate your time and xpertise.
    Thanks
    SR

  • BPM problem with sync interface.

    Hi
    I got one Abstract/Async and one sync interface in my BPM and I'm getting MESSAGE_NOT_USED error between them, my scenario is RFC to JDBC to RFC(response with different FM) so BPM receives data from RFC sender through Abstract/Async interface but after that interface, I'm getting the that error (MESSAGE_NOT_USED), the weird thing is I got another scenario almost same and its working, I did a new project with exactly the same interfaces, Mappings, interface det., Receiver det., senders and receivers but I'm still getting the same error, even I tried "RFC scenario using BPM--Starter Kit" Blog but same thing, btw everthing is 0 in SXI_CACHE, I'm going to go mad or something, please help..
    Thanks

    CALL FUNCTION 'Z_TSSI_INTERFACE_DUMMY'
         IN BACKGROUND TASK
          as separate unit
         DESTINATION 'TSSI_OUTBOUND1'
      EXPORTING
        jobno              = jno
        PERSNO             = pers
        BEGDA              = '20051231'
        ENDDA              = '20051231'
        ABSTYPE            = 'xx'
        ABSHOURS           = '7'
        ABSDAYS            = '1'
        FULLORHALF         = 'false'
        uname              = sy-uname
        date               = '20060201'
        time               = '110000'
      TABLES
        RETURN             = ret
        Commit Work.
    The thing is this abap is working in another scenario, but when I copy the exacly the same scenario, it doesnt work, its weird, btw I noticed that evertime I run any scenario, short dump occurs, its about RFC authorization for XIRWBUSER user but I got the OSS note for that, I applied it but it didnt solve the problem, btw this short dump happens when I run my workign scenario as well.. this is driving me crazy..

  • Does BPM - for a synchronous interface have a performance bottleneck

    Hi All,
    Just have a small query.
    We have a scenario in which we need to receive PO details from a legacy system, create a sales order in ecc and send back a response table to the legacy system.
    Our understanding is that this can be acheived using synchronous ABAP Proxies and also involves BPM and Abstract mappings.
    I beleive that this should not pose any problems. My concern here is that we are confused as to whether BPM would have bottlenecks with performance. Do we have any SAP document or article which mentions that for synchronous interfaces BPM is the only way to go and this would not have a significant impact on the performance.
    Another approach to the problem would be to create an asynchronous inbound proxy, write ABAP code within it and call a seperate outbound asynchronous proxy within the inbound proxy method. This approach looks and sounds very clumsy.
    Kindly let me know your thoughts or any links which would be useful.
    Thanks & Regards,
    Mz

    Hi Aashish,
    Thanks for your quick reply. it was helpful, but i am not using RFC's. Correct me if i am wrong, but i have explained the scenarios in detail below.
    Scenario 1. Synchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) The abap proxy code executes a function module and sends the response as an internal table back to PI.
    5) PI receives the response and places it in a text/csv file and places it back to another folder.
    I assume that the above would be possible only using BPM. What i understand is that in order for an interface to receive and send data, abstract mappings are to be used, and for this BPM is required. We do not have any conversions etc. its just a simple matter of receiving an internal table from ECC and creating a file to place in the folder.
    I also understand that BPM could have bottlenecks due to queue and cache issues, messages might be pending, or lost etc.
    Scenario 2. Asynchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) ABAP Proxy code executes the same function module and calls a seperate outbound interface and passes the values to it. This would be used in sending the response back.
    5)  PI receives the response from the second interface and places it in a text/csv file and places it back to another folder.
    I would like to know which would be the better approach. Documentation/references to support your claims would be much appreciated.
    Cheers,
    Mz

  • How can I define more than one termination character for RS-232 interface communication?

    Hi,
    I have to communicate through the PC's RS-232 interface with a microprocessor board. I am using the "Advanced Serial Write and Read.vi" out of the LabVIEW examples and it works on principle.
    My problem is the termination character: It looks like I just can set one termination character, EITHER 0xA (so LF / newline) OR 0xD (CR / carriage return), but I have the need to react on various termination characters like "<CR> <LF> <CR> <LF> OK <CR> <LF>" or "<CR> <LF> <LF>"; which I would like to set in a control (this VI will be used in a TestStand sequence).
    Is there a way to do that, so that I can set wichever termination character(s) I need? The property node in "VISA configure serial port" just accepts an unsigned integer, nothing else. Sure I can get it running with the timeout - but this is not very nice and extends testing time unnecessarily.
    Thanks & Regards!
    Regards,
    gedi
    Solved!
    Go to Solution.

    That would be for the write. The poster is asking about the read. For the read you will need to write your own read routine. You will basically need to use a loop and inside the loop use the VISA Bytes at Serial Port to see if there's any bytes available. Read that many bytes, and append them to a string that you build up in a shift register. After concatenation check to see if you've got the termination characters. If so, the read is done. Fairly simple. Be sure to turn off the termination character enable in the VISA Configure.

  • BPM: Transformation Error with Interfaces/ MT's in different namespaces

    Hi all,
    Developing an integration process on XI 3.0 SP20 I'm facing following problem:
    I've created a transformation mapping interfaces/ message types from different software components/ namespaces.
    Softwarecomp. 1 is used for the mappings and integration processes
    Softwarecomp. 2 and 3 are used for the interfaces/ message types for incoming and outgoing messages.
    Softwarecomp. 2 and 3 are assigned to Softwarecomp. 1.
    The error message is that the container types do not fit the types of source- and target messages.
    When I copy all objects in Softwarecomp. 1 everything works fine but I don't want to mix it all up.
    I've tried playing with XML-Namespaces in the message types (same XML-NS, like "test" for both MT's, also removing the XML-NS's) but it still doesn't work.
    How can I realise a transformation with objects from different SC's and NS's?
    Thanks in advance!
    Karsten

    I've created another integration process with simple example messages and it really seems to be impossible to do a transformation with message types from different software components.
    I've seen a transformation where they have done it though.
    What did I overlook??

  • RFC to BPM - Error in receiver interface

    Hi everybody,
    I have created the scenario below.
    i imported the ZStart_Job rfc from R/3
    i created the MI_Start_Abs (abstract and async) - message type is same from ZStart_Job
    i created the BPM_Job where the send interface is MI_Start_Abs.
    i configured the sender and receiver agrameent, receiver and interface determination and others.
    i actived everything.
    When i execute the "call function ZStart_Job", the execution dosent return error in Message Monitoring, but appears one green flag with hit "Scheduled".
    In XML body show the error below
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface</Trace>
      <Trace level="1" type="T">select interface namespace</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
    Can anybody help me?

    Guys,
    I used the Configuration Wizard for create configuration again.
    But occurs the same error below
    <Trace level="1" type="T">--start receiver interface action determination</Trace>
    <Trace level="1" type="T">Loop 0000000001</Trace>
    <Trace level="1" type="T">select interface</Trace>
    <Trace level="1" type="T">select interface namespace</Trace>
    <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
    <Trace level="1" type="T">Hence set action to DEL</Trace>
    PLEASE, can anybody helpe me?

Maybe you are looking for

  • Firefox

    I have just installed Firefox at the advice of a friend (who doesn't own a Mac), but also have Safari. It seems that my computer is running very slow now. Could it be the addition of Firefox? Do I need both?

  • Adding a button in selection screen of report ?

    Hi, My requirement is to add a Push Button to the selection screen of a report program. The button has to be position near the 'Variant' button which is already present. How to do this. Regards.

  • How do i uninstall itunes from an external hard drive?

    I have itunes and all associated programmes stored on an external hard drive. I have recently bought a new lap top and when trying to open itunes on the external hard drive, i get the 'error 2' message. Help!!!

  • Installation LS failed. Corrupted Disk??

    I tried to install Snow Leopard last week (upgrading), but with still 46 minutes to go.I got message to clean the disk and try again. Which I did several times. Same error. I tried via start holding "c" and starting up from installation disk, but aft

  • Is it possible to create swf online?

    is it possible to create swf online? such as using jsfl? anyone knows?