BPM scenerio

Hello All,
I have scenerio SAP(IDOC) --- > PI -
> Webservice (SOAP)
Here we are using BPM AsyncSync Call because we need to send response back to SAP system.It is working perfectly , but now in Production system we found frequently it is giving error.
Mostly in MONI it dont show any error it always shows error in smq2 inbound q with error message exception in BPE.
When i analyse this error i found that while sending a response from webservice there was some connection problem, but i didnot understood why it  got stuck in Inbound q.
Can anyone let us know why we have got this error or is there anyone we can rectify this.Can it be a cause of interface design issue,This is very frequent problem so we want to rectify this .
Regards,
Vikrant

Using an Exception Handling in such a case is always helpful.
Include the SyncSend step inside a block and include an Exception Branch for this Block.
So now if any error is faced while getting back the response (like connection issue) it will be caught by the exception branch.
In there you can apply the relevant exception logic (send alert email) or even a simple Cancel Process step will also do (depending on your business logic)
This will fix the issue forever and prevent the BPM getting stucked. Ask your TL/ PM to follow this approach and let us know what they think on it.
Even I am implementing the same logic in my project for every sync call with a WS.
Regards,
Abhishek.

Similar Messages

  • Doubts regarding the SDN BPM scenerio!

    Hi Experts,
        I was tryin on the BPM scenerio made my Murthy.
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    I have completeted all the steps.
    The communication channels are up and running well. But I simply cant get to the last step.
    In the last step:
    "To monitor Integration process log, go to transaction SXMB_MONI_BPE ->Process Selection->Select corresponding integration process (in Service Field) ->Execute->Select work item."
    I simply cant get to see ANY FIELDS in Process Selection. It is all blank . And when I am putting no selection criteria, and simply executing it, then also it is giving NO VALUES.
    Experts, can u suggest, what step, am I missing, any settings, any step, that I hav skipped.
    PS.
    I hav checked each step thoroughly.
    I hav avtivated all items.
    Regards,
    Arnab.
    I am also getting an error in SXMB_MONI:
    <SAP:Stack>No receiver agreement found for sender -BS_FILE_BPM to receiver -IP_File_to_File,urn:bpm_am.MI_FILE_to_BPM_ABS</SAP:Stack> .
    Pls comment Experts:
    Regards,
    Arnab
    Edited by: Arnab Mondal on Jan 6, 2009 7:14 AM

    >
    > "To monitor Integration process log, go to transaction SXMB_MONI_BPE ->Process Selection->Select corresponding integration process (in Service Field) ->Execute->Select work item."
    >  I simply cant get to see ANY FIELDS in Process Selection. It is all blank . And when I am putting no selection criteria, and simply executing it, then also it is giving NO VALUES.
    You will see that only if the BPM was executed. Seems your BPM is not executed yet. In SXMB_MONI, for the entry of your process, do you see a column with PE ? if so try clicking and drilling down
    > I am also getting an error in SXMB_MONI:
    > <SAP:Stack>No receiver agreement found for sender -BS_FILE_BPM to receiver -IP_File_to_File,urn:bpm_am.MI_FILE_to_BPM_ABS</SAP:Stack> .
    have you created the receiver agreements?
    there will be two receiver agreements;
    1. from sender system to BPM.
    2. BPM to receiver system.

  • BPM PI 7.1

    Hi All,
    Can you please give me any simple BPM scenerio that can can be implemented easily?
    Thanks in advance

    Hi Shweta,
    > 1.What shall I mention in the Communication Channel in the Source directory?
    Create a file communication channel as you do for other integrations. Create a sample xml file from MM_File_to_File mapping test tab. Use the same file in your source directory.
    > Can I use Receiver agreement for the communication channel and skip creating communication channel?I
    No you cannot do like this. Receiver agreement and communication channels are both are different. Communication is used to pick and create your file. Receiver agreement is the binding between your interfaces and communication cahnnel. Please see sap help on this.
    > If so then I have created 2 receiver determinations 1 with the Outbound Interface and 2 with the Abstract Interface
    You will create 2 receiver deteriminatins. one between your outbound interface and integration process and another between Integration process and inbound interface. You need to have one outbound, one abstract and one inbound message interface.
    >If I mention the source directoy as the path in my system will it give error?
    If you mean from your desktop, then you need do to ftp which connects from your desktop to xi. If you dont have then better put the file in shared directory on xi server or any other server and then read the file.
    > I am confused with the monitoring mentioned in the blog.
    It is a very straight forward document for monitoring bpm shweta. Since you are new you are having trouble. Also please see this document and see it is helpful for you:
    https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/1db5e190-0201-0010-1c90-d9de570c6b18&overridelayout=true
    (see slide 17 for bpm)
    I would suggest you to exactly create the datatypes, message interfaces etc the same as given in the blog. once you complete then you will have an idea and then can differ what ever you want then.
    Regards,
    ---Satish

  • BPM uses

    hi guruz,
    where we use BPM scenerio in XI, in what type of requirement we use BPM.
    Is it avoidable or not .
    please guide me.
    warm regards.

    Hi Pawan chauhan  ,
    Business Process Management (BPM) has become a critical part of enterprise development.business process management
    Business process management (BPM) is a systematic approach to improving an organization's business processes. BPM activities seek to make business processes more effective, more efficient, and more capable of adapting to an ever-changing environment. BPM is a subset of infrastructure management, the administrative area of concern dealing with maintenance and optimization of an organization's equipment and core operations.
    A business process is a set of coordinated tasks and activities, conducted by both people and equipment, that will lead to accomplishing a specific organizational goal. The Business Process Management Initiative (BPMI), a non-profit organization, exists to promote the standardization of common business processes, as a means of furthering e-business and business-to-business (B2B) development. To this end, the organization has developed the Business Process Modeling Language (BPML), an Extensible Markup Language (XML)-based metalanguage for modeling business processes.
    BPM(Business Process Management) is a structured approach that models an enterprise's human and machine tasks and the interactions between them as processes. BPM software uses a dashboard interface that offers a high-level view of the operation that typically crosses departmental boundaries. The dashboard integrates with all the applications that perform processes as well as related databases and can be used to trigger the start of a unit of work.
    Evolving from document management, workflow and enterprise application integration (EAI), a BPM system can monitor and analyze tasks in realtime and set off alerts when specified limits are exceeded or a response is not received within a specified time.
    Management for People/Machine Systems
    For decades, systems that are entirely automated have more or less taken care of themselves. However, operations requiring a mix of people and machine procedures employ BPM as a higher-level management system that keeps track of them both.
    Over time, a BPM system can provide historical data of human-machine interactions that might be extremely difficult to obtain from information systems, especially disparate systems from several departments or systems running on different platforms.
    The BPM Suite (BPMS)
    A BPM system may comprise a variety of independent packages or a comprehensive business process management suite (BPMS), which includes tools for modeling and analysis, application integration, business rules support, business intelligence (BI), activity monitoring and optimization. Advanced BPMSs provide a development tool for creating forms-based applications, which are often the start of many business processes.
    The following r excellent websites on BPM giving the need for BPM :
    An introduction to Business Process Management
    http://www.avelon.nl/downloads/Introduction_BPM.pdf
    business process management
    http://whatis.techtarget.com/definition/0,,sid9_gci1088464_tax304528,00.html
    BUSINESS PROCESS MANAGEMENT WITH SAP NetWeaveru2122
    http://www.sap.com/platform/netweaver/pdf/BWP_NetWeaver_BPM.pdf
    Business Process Management Essentials
    http://www.glintech.com/downloads/BPM%20Essentials%20with%20Open%20Source.pdf
    Business Process Management
    http://www.seeburger.es/fileadmin/es/pdf/SEEBURGER_-_Business_Integration_Server__TA000714BPM_.pdf
    BPM Process Patterns Repeatable Designs for BPM Process Models
    http://edocs.bea.com/albsi/docs55/pdfs/BPM%20Process%20Patterns%20White%20Paper.pdf
    Business Process Management -Modeling to Execution
    http://www30.sap.com/korea/company/events/techday05/img/data_06.pdf
    BUSINESS PROCESS MANAGEMENT (BPM)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ed49db90-0201-0010-c4a5-c520866a19c7
    BPM Process Patterns:Repeatable Design for BPM Process Models
    http://www.bptrends.com/publicationfiles/05%2D06%2DWP%2DBPMProcessPatterns%2DAtwood1%2Epdf
    Patterns: SOA Foundation - Business Process Management Scenario
    http://www.redbooks.ibm.com/redbooks/pdfs/sg247234.pdf
    A BPM Roadmap
    /people/marilyn.pratt/blog/2007/10/12/clubhouse-las-vegas-a-bpm-roadmap
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • How to send status message in SOAP to IDOC scenerio without BPM

    Hi,
    I have a SOAP to IDOC scenerio in which we require to send the status message back to user from XI that " IDOC has been sent successfully to SAP system"
    We do not want to use BPM bacause of performance issues.
    Can you please help me how to achieve this synchronous response without BPM.
    Note: We require the status message from XI that the IDOC has been successfully posted to WESAP system

    Idoc only support async behaviour. U can't get the Idoc response as per ur requirement without BPM.
    Better to go for abap proxy or RFC.
    Or u may get the ack till XI.
    Regards,
    Prateek

  • How to use BPM's in File 2 File Scenerio

    Hi All,
    Please do let me know when do we use BPM's in File2File scenerio and also let me know the example for the same.
    Thanks
    Sudharshan

    Hey,
       BPM generally is not required in a file to file scenario.
       And as far as possible avoid the use of BPM.
    In most of the file to file scenario BPM is not required.
    But in certain scenario(file to file) it is required.
    for example N:1 mapping.
    that is when you have two sender and one reciever.
    in this case it is mandatory to use bpm.
    because during configuration it is not possible to give two senders in your interface determination.
    hence if you use a BPM  interface mapping will be referred in your BPM and there is no need for maaping to be reffered in Interface determination.
    In order to design a BPM for this scenario
    steps.
    1) create a data tyoe and message type for sender and reciver file structure.
    2) do the required mapping.
    3) create abstract asynch interface for the two message types.(as bpm requires abstract type)
    4) create a BPM.
    5) create two container type variables fr the two abstract interface(you cannot refer to the abstract interface directly)
    6) assign a recieve step of type async a in this step select the container variable created corresponding to the sender abstract interface .
    7) assign a transformation step and refer to the interface mapping in it.
    8) assign a send step and  select the container variable created corresponding to the reciever  abstract interface .
    your BPM is configured.
    reward points if useful.
    regards,
           Milan

  • Dynamic configuration not fil in reused OM in NW BPM

    Hi,
    I'm having problem in operation mapping that i re-used in nw bpm.
    In my scenerio in the operation mapping, a UDF writes on "TServerLocation" and in the next step of BPM, i have receiver determination rule which read from "TServerLocation" variable.
    Below step calls OM which in PI.
    (UDF writes on TserverLocation)
    This next step, reads TserverLocation in receiver tab of Integration Conguration.
    Receiver rule
    So the problem is dynamic configuration doesn't write on TserverLocation or integration confiuration object removes in soap header somehow.
    This was a ccBPM integration and all esr objects, mapping,udfs working fine. No problem with that.
    I checked below blog but not get this work.
    Dynamic Configuration not working with Integrated Configuration
    Has anyone faced similar problem ?
    Thank you
    -Tahir

    HI,
    In general Correlation , concept, whatever we configured in Correlation editor , i mean in runtime which xml element should filled with which element of which interface ..as you said you have configured the local correlation to block, in block it is the first receive step, while receiving the first message which is relevent to first recieve step , i mean if it receives the one message which is related to first receive step inteface .. the respective element data will be filled in correlation id and it will assign on giud for processing , so while assign the runtime data to correlation element ( imean filling stage) check you said two elements in correlation does the first message contains these two elements ??
    if so ok , no then check , and try to use the IM before calling the IP to fill the payload.
    Regards
    Chilla
    Oh closed!!
    Message was edited by:
            Chandra Sekhar Chilla
    Message was edited by:
            Chandra Sekhar Chilla

  • Interface mapping in BPM

    hey guys
    i was just wondering why in a BPM scenario we have to do interface mapping between outbound(or inbound) and abstract interface,whereas in a regular scenario(without BPM) we do it between outbound and inbound interfaces?is it just because BPM only understands abstract interface?
    thanx
    ahmad

    Hi,
    It is receiver Data Type , Since  in this scenerio  the sender  is IDOC  and recevier  is Flat file , We have declare the data type . for sender  we are importing the IDOC..for receiver we have declare the data type.
    >>DT_S47,DT_S68 etc and then she is using them in the 'Type' field. --YES in receiver side.
    Regards
    Agasthuri Doss

  • BPM Loop in PI  7.1

    I have an scenerio where I need to traverse through an xml file , and for each node of XML I need to loop with certain operation in BPM .
    e.g  
    xml as per the XSD --> Loop through each node --> with in each loop BPM will call a different webservice to get a confirmation depending on which it will insert some data in db.
    Will it be possible through BPM loop or there is some other work around. Please help
    Edited by: Riju Adhikary on Sep 18, 2009 7:09 AM

    Post this in the XI forum.. THis is for NW BPM not CCBPM

  • Restart of Synchronous messages in BPM

    Hi All:
    I have one scenerio(using BPM). BPM is sending message to JDBC(Asyn lets say system A) and HTTP(Sync lets say system B).
    I am sending message to both system A and B using Fork, but when system B is down I am seeing I got the Error in response and found restart of message is not possible.
    Now if again I send the same message then it will be duplication of records in system A as I am only inserting records in system A.
    How can I achive it in BPM??? so I can avoid the duplication in system A.
    Thanks
    Farooq.

    Hi,
    use async mode to system B
    this way in case of an error it will be restarted
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Splitting of fields using BPM

    hi
      my scenerio is about file to JDBC .  my flat file contains some 20 rows,just i want to split into 4 rows and then transfer into sql server.
      how i want to split the fields using BPM.
    thx in advance.
    Message was edited by:
            tamilarasan kandasamy

    Hi,
    <i>my scenerio is about file to JDBC . my flat file contains some 20 rows,just i want to split into 4 rows and then transfer into sql server</i>.
    is it 4 rows or 4 msgs..?? i hope , if 4 rows then it is merge , or it is split.
    Create the target structure as you required.Use the MM and IM to do accordingly, you can do without BPM.
    Any way see the below links to split.
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Different types of Mapping in XI - /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
    Multiple mappings into one Im - Multiple message mappings in one integration scenario
    Regards
    Chilla..
    <i>Points rewarded if it is useful..</i>

  • BPM SA Bridge Idoc Message ID

    Hi Experts
    I have BPM where i receive some message. Scenerio is sync. So i BPM first i open sync to async bridge. In BPM i send idoc to ERP end after this step i do transformation with source abstract interface releted to idoc message target respode to sync request.
    My purpose is to recieve message id of idoc that has been send in this BPM. in transformation i receive message id of abstract interface with naturaly has diffrent id than idoc.
    Any idea ?
    Regards
    M.

    Bhavesh,
    I have reached a step further in my Mapping.
    I have defined a Mapping between File1_ABS and File2_IN (get Message ID)
    Second Mapping is between File2_ABS and File2_IN
    for Scenario : N:2 Transformation
    N IDoc collected (Receive) -> Transform(2 files) -> Send1(File1_ABS)
                                                                         -> Send2(File2_ABS)
    I am struck at the Scenario. How do i define Receiver Agreement, Interface determination and Receiver determination?
    Kindly Advice.
    Thanks,
    Gowri

  • BPM Transformation Step Failed

    Hi All,
    We have a scenerio-1 developed where we use the BPM. I have tranforted the Scenerio-1 from Development system to the QA system. The scenerio is based on FILE TO FILE using BPM. I have process the file after the transport and found that the scenerio works fine.
    Now, i have deleted one perticular MT/DT/ from scenerio-2  but this is used by the scenerio-1. Now i have reimport all the objects in Scenerio-2/Scenerio-1 and everything looks smiliar.
    Now when i am trying to process one file by Scenerio-1 the message process without performing the transformation steps.
    In BPM i have te following steps..
    1= Receive the messages.
    2= Loop to receive next message
    3= Append the messages in a container.
    4=Transform the message to three other messages.
        a. One with -ve items
        b. One with +ve items.
        c. one with control details.
    5= Send the messages through sends steps.
    Adding to the above condition, i have also cehcked the testing of MM at IR which is sucessful.
    NOW WHEN I AM TRYING TO PROCESS ONE FILE IT FAILED IN THE TRANSFORMATION STEP AND THE MESSAGE GET PROCESSED WITHOUT ANY BRANCHING..
    Can anyone guide me how can i check the exact error in the complete process.
    Thanks,
    Jay

    If your BPM is syntactically correct then you need to check the properties of each step in the flow properly.
    As you mentioned that you have copied  objects ,pls make sure the name spaces are mentioned correctly.
    check your configuration also
    refer toublesooting guide if it helps
    http://wiki.sdn.sap.com/wiki/display/BPMT/BPMTroubleshootingGuide
    Regards,
    Srinivas

  • Can we use BPM inside ESR in SAP PO Java Stack?

    Hi All,  I had worked in dual stack SAP PO 7.3 also where I've used ccBPM. Now, I'm working in SAP PO 7.31 single stack environment. In ESR, under Process Integration Scenerio Objects -> i'm seeing 'Integration Process' and 'Monitoring Process'. Is it true that whatever we could do it in ccBPM(PO 7.30 dual stack) can be also done under the option Integration Process in SAP PO 7.31 single stack? 
    If the answer is true, then why do we need SAP NW developer studio to do BPM?
    Thanks,
    Raj

    Hi Raj,
    Please go through below document. It may help you in understanding the difference between ccBPM & NW BPM.:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90308598-4b8d-2f10-4a9a-b78973859665?QuickLink=index&overridelayout=true&55357833497094
    Regards,
    Akshay

  • Getting Mandatory import element 'TRACE' is not (explicitly)provided in BPM

    SCenerio>file to multiple RFC using BPM
    the above error getting at transformation step.
    getting Mandatory import element 'TRACE' is not (explicitly) provided

    Hi Hymavati,
    Check the below thread:
    Re: "Import" element allowed in XSD?
    Thanks,

Maybe you are looking for

  • Logic pro x keeps wanting the same additional content

    Logic Pro X on OS 10.10.2. My old iMac died. I used Time Machine to restore stuff to the new iMac (Retina). Logic is there and my Logic files are there. When I open some of them, though, Logic says it needs to download additional content. I say yes,

  • L&F mapping JTable

    The look and feel values chosen for the JTable under windows do not feel right to me (albeit that I cannot find many examples of tables under windows). I am trying to provide some workarounds that follow what most people expect to happen but am a lit

  • QT won't read 10 bits uncompressed HD file

    I think i read somewhere that QT on windows does not support 10 bits uncompressed ( only 8 bits ), anyone knows if there a plug-in i can d/l in order for it to work ?? My file is 10 bits uncompressed 1920x1080, it plays fine on a mac. Thanks

  • Send IDOC DESADV4.DELVRY03 after goods movement

    I need to send an IDOC DESADV4.DELVRY03 when a goods movement type 951 is done. The IDOC is standard but I need to fill it manually, obviously, because there is no real delivery with data to fill it. I think the steps are the following but I need a l

  • Import MAX configuration without device or simulated device

    I'm hoping there's a way to do this. In previous versions of MAX, it was possible to import Channel and Task  information without having to import the Device.  This was handy if you didn't have the DAQ boards installed on that PC, but you needed to c