Regd sequencing in BPM

Hi experts,
I have a requiremnt to do serial sequencing, i was trying to do it using quality of service EOIO, but it didnt worked out(SFTP adater has no option for  setting quality of service).Finally it is decided to go for BPM. I am completly new to BPM.
We have 3 IDOC flat files(txt),with different process code say A,B,and C(present in content of the file).These needs to be picked and processed.
We need to proccess in order say ..first check process code is A or B or C,and then process  in sequece A ->B-> C.
could anybody help me out in this scenario
Regards,
Anika

If all your three Idocs are of three different type then i dont see any problem.
The only thing you need to take care is,delivery mode of BPM ahould be set to buffering possible. Please see the following blog to set the BPM delivery mode to Bffering Possible.
/people/milan.thaker/blog/2008/07/04/delivery-modes-in-bpm
Now in your case you will create a BPM having three receive steps with message type A, B and C respectively. You also need to define the correlation as you are having more than two receive steps in you BPM.
For every A messsage a new BPM instance will be triggered. B and C message will be delivered to the running BPM instances based on correlation.
In case if C message comes to XI before the message A and B it will be buffer (as we have have selected the delivery mode buffering possible) and later will be delivered to the correct BPM instance when A and B will available to XI.
Same case if B message comes to XI before message A then it will be buffer and later it will be delivered to the correct BPM instance.

Similar Messages

  • How to merge/append two files in sequence using BPM

    Hi All,
    My senario is to append two files data into a  new file on target system, only if the two files are available on source system. In case one file on the source system, no need to process file. Data in the new file should be in sequence means 1st file data then 2nd file data.
    Please suggest me how can i achieve this functionality using BPM.
    Thanks & Regards
    Sreeni

    For the first part (two files required) design as per Prateek's suggestion
    Data in the new file should be in sequence means 1st file data then 2nd file data.
    create a data structure which will be a combined structure of File1 and File2....target structure should have first reference for File1 and then for FIle2....than having two MTs (File1 and File2) at the source and the target MT at the receiver create your mapping......this will ensure that File1 data occures first and then File2 data.
    Regards,
    Abhishek.

  • Two transformations in sequence in BPM

    Hi ,
    I am trying to add two transformation steps in sequence one after one in my BPM scenario.  In the second transformation step I have to use the first transformation’s output. But it is giving mapping error in BPM at runtime.
      Is there any tricky way to use this kind of scenario?  Do I need to add any assignment step in between these two transformation steps,  to take the output of first transformation as input to the second transformation step?
    Instead of creating two transformations (two maps), I can use directly only one transformation (one map with directly source structure to target structure).
    Thanks.
    Siva Rama.

    Hi Siva,
    Have a look at the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/27/db283fd0ca8443e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/41/e3d13f7fb44c21e10000000a1550b0/content.htm
    Hope this helps.
    Cheers,
    Chandra

  • How to trigger Sequence of processes in BPM

    Hi!  I am trying to implement process sequencing with BPM.Its like i have to trigger a set of processes(say 1,2 &3 ) if certain flag in input msg is set.If the flag is not set then processes (1,2&4 ).
          the procecess should occur in a sequence like ..if 1 is completed then it should send ackgmnt and start the 2nd process.
    If any body has worked on similar scenario , please reply :).
    Srinivas
    Edited by: Srinivas Subramanyam Karnam on Jul 4, 2008 2:16 PM

    I tried using switch control to check the condition (particular element(say JV) in the input msg is 0or 1 ) .But donno how to get ack and based on ack how to start other process.
                 Let me take an example to make things clear.
    say  1st process is creation of batch No.
           2nd  -
    do -
    of sales order.
           3rd -
    do----
    of STO.
           4th -
    do----
    of SOD(SO dispatch).
    If JV element in input msg is 1 ...flow should be like(1->2->4) 
    create BatchNo-> get ack->
    if ack positive(:if ack Negative->end.)->create SO
    ->get ack->if ack positive(:if ack Negative->end.)->create SOD.End.
    If JV =0 say...then similarly 1->2->3 end.
    Not sure if i have to use  while loop .. new to bpm :).Request  to Reply with what controls to be used .
    with due thanks srinivas.:)

  • Deadline Branch and Wait Step in BPM

    hi,
    I have 13 Suppliers for which i need to send the XML from
    a single IDOC PO.
    All the receivers are configured in the interface determination.
    For each of the receivers based on the response received, if i get any error "System Error" or "Application Error"  i need to send an email to the recepient. I will have to repeat this process until success received from the receiver or until 8 hours.
    So even after 8 hours the process fails then i need to send another email. I have to do this for all the Suppliers.
    PS: Cannot use Alerts for the above business logic. I need to check for a process (loop) for 8 hours from the time of the first failure message.
    Can anyone think of the workflow or the steps required in sequence using BPM?
    SP used : SP16.
    Thanks,
    Tirumal

    Hi Tirumal,
    Just have a look into this. This tells about the how to go on that
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/frameset.htm
    Hope this helps,
    Regards,
    Moorthy

  • BPM: Message Stucked in Queue on Error even after Cancel Process

    Hi all,
    We have a scenario where we are using BPM to call RFCs in sequence using BPM. In case of exception, we make use of exception branch and canel the process. But even after doing so, failed messages are stucked in queue and if a new message comes in, it goes in pending status due to previous stucked messages.
    Can anybody please suggest how to overcome this.
    Thanks
    -Kulwant

    You need to make sure that:
    1) You have defined a Exception Handler in your Block
    2) You have included this in the Exception Branch properties.
    3) You have included this under the Exceptions section of your Sync Send Step....
    Even I got into the same situation and then figured out that F7 mentioned Exception will never be raised....why??.....the 3rd point was the reason.....check if same applicable to your case also...
    Regards,
    Abhishek.

  • Process sequence  in File - XI/BPM - File  scenario

    how does QOS works within BPM,  Since some processes may take time to process for whatever reasons ( due to some delays ).
    I'm planning to develop a scenario like this.
    I have 7 files which have same Batch number as part of File name which Iam planning to use as Correlation in BPM.
    File 1 starts BPM.
    Within BPM, all other 6 files will be received and sent out.
    Then File 1 should be sent
    Then I need to make SOAP call to trigger event on the 3rd party application.
    My question is
    If I use EOIO as QOS on the Sender file adapters, how does the process works in the following situations.
    File 1 - Batch 1 arrives - BPM process 1 starts
    File2 - batch 1 arrives - BPM process receivs and sends message
    BPM here still waiting to receive files
    File 1 - batch 2 arrives - BPM Process 2 starts
    All other files . Since all files arrived, all files will be be received and sent out in BPM.
    Now question is
    BPM Process 1 is still waiting for other files to arrive and BPM process 2 is completed ( Are files will be waiting in Queue here ???)
    Does writing of the files on the receiver side will be postponed until queue receives the files from BPM process 1 since I sued QOS as EOIO for all files ?
    Would someone please clarify this please.

    Hi,
    In this blog, I have used Business <b>Service</b> created in the integration directory.. This is an abstract . So I need to specify , the Sender and Receiver Interfaces explicitly in the business service. and it doesnot have any entry in the SLD.
    But if you create the Business System in the SLD and if you import that into the Integration Directory-->Assign this into your configurations scenario, then this step is not required.
    Regd. Importing Integration Process- BPM is kind of Abstract Service.. i.e BPM is acting as a Receiver Service and Sender service both..
    i,e Source to BPM ( here BPM is a Receiver)
        BPM to Target( here BPM is a Sender Service)
    Hope this clarifies..
    Regards,
    Moorthy

  • Sequencing messages in BPM

    Hi All,
    I have a requirment where i have to send messages sequntially to target.From source i would be receiving 5(say s1,s2,s3,s4,s5) messages.These messages have to be sequntialy sent to target 1,2,3,4,5 in order.
    At one instance i would receive only 1 message.Say 1st i received s2 then i shouldnt send it to target,i should wait for s1 to occur.Next instance s1 occured i should send s1 first then s2.This should be my order.
    Irrespetive of what source and target systems are i would like to know how this kind of sequencing could be implimented in BPM.
    I have implimented "BpmPatternSerializeMultipleTrigger" from BASIS but its not sequncing.
    Its erroring in BPM send step.When s2 is occuring,its not waiting for s1 to occur.Even when next instance is s1.
    Thanks

    HI,
    You can use EOIO, but as processing with BPM uses the same queue. You need to control this sequence on sender side.
    IDOC SCHEDULING
    Sequence files to be execute for XIP
    These messages are using the same BPE queue,
    please apply note 1040354 BPE-TS: Unprocessed messages. Pay
    particular attention also to the guidelines regarding buffering.
    thanks
    Swarup
    Edited by: Swarup Sawant on May 29, 2008 10:59 AM

  • Executing BPM's in sequence

    Hi Gurus,
    Is there a way that we can execute different BPMs in sequence? Like as a workflow. Please input your views.
    We have developed different BPMs and need to integrate them together in sequence.
    1) We have to make it as a huge BPM with all the steps in it.
    2) Having the BPMs execute in sequence. If one BPM fails, the next one should be on hold. This is like a batch schedule.
    Thanks
    Kalyan

    Hi Kalyan,
    let us assume that the interaction is going to be synchrounous.
    The first step in the individual BPMs would be a receive step(opening a SA bridge)...and the finally after all the processing, close the bridge with a send step(with a success or failure message)....
    Now in the master BPM, there would be a synchronous send, which sends out a request and waits for the response....the receiver for the request would be the individual BPM which will send back the response to the master....
    now in the master check this individual message whether it is success or failure using a switch step and do the action like wise...
    Thanks.

  • Posting idocs in sequence in SAP from file (without BPM)

    Hi,
    I have a requirement of posting the TWO idocs from the single file. But I need to send the idocs in sequence. Can you anyone explain the process  how we can ecomplish from XI without using BPM.

    Hi,
    you can ONLY do that if your <b>ERP,R3 (IDOC receiver system) system
    is based on WAS 6.40</b>
    the whole scenario is described step by step in my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    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>

  • The message sequence of JMS adapter and BPM

    This is my scenario: AP1 -> MQ -> JMS Adapter -> XI BPM -> SAP
    But if AP1 sends 10 messages to MQ server, how to make sure the received message sequence of SAP is the same as AP1 ?
    Because JMS adapter doesn't have synchronous ability, or I can set best effort to make sure the sequence.

    HI,
    See the below links to solve the BPM performance problems
    BPM Performance tuning
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    BPM performance question
    SAP XI BPM Performance and statistics
    Performance problem on BPM
    BPM pros and cons
    Performance problems using BPM
    Regards
    Chilla..

  • BPM Scenario (4 steps in sequence)

    Hi gurus,
    I am facing following scenario:
    PI receives a WS request, with some info
    With this info, PI accesses a tabla in a DB in order to insert an STATUS field ('In_Progress' status)
    With the same info (received via SOAP) PI accesses to SAP via sRFC and gets its output fields.
    With this output, PI accesses the same tabla, updates the STATUS field ('Finished' status) and fills the table
    So I decided to create a BPM with 4 steps:
    Step1: RECEIVE the SOAP_Request_AI (async)
    Step2: SEND the JDBC_STATUS_AI to LEGACY (async)
    Step3:SEND the SEND_RECEIVE_sRFC_AI to SAP (sync)
    Step4: SEND the JDBC_RESPONSE_AI to LEGACY (async)
    I have created 7 MI's:
    SOAP_REQUEST_OI -> out of the BPM, it receives the message from WS
    SOAP_REQUEST_AI -> inside the BPM, it receives the message from SOAP_REQUEST_OI  (No IM)
    JDBC_STATUS_AI --> inside the BPM, it sends the message (that step1 received) to the DB (IM)
    JDBC_STATUS_II --> not used so far!
    SEND_RECEIVE_sRFC_AI -> inside the BPM, it sends the message (that step1 received) to SAP (IM)
    JDBC_RESPONSE_AI ->inside the BPM, it takes the response of step3
    JDBC_RESPONSE_II -> out of the BPM, it sends the message (that comes from step4) to DB (IM)
    All my mappings are out of the BPM.
    Interface Determinations:
    SOAP_REQUEST_OI to SOAP_REQUEST_AI (No Mapping)
    SOAP_REQUEST_AI to JDBC_STATUS_II (Mapping) --> here i have a doubt
    SEND_RECEIVE_sRFC_AI to ZRFC (Mapping)
    JDBC_RESPONSE_AI to JDBC_RESPONSE_II (No Mapping)
    I followed the instructions of the following blog regarding MI's and mappings but it doesnt work!!!
    RFC Scenario using BPM --Starter Kit
    However if i delete step2, it does work so i think i am missing something regarding the conversion between interfaces in step1&2 and step2&3.....
    Could you please give some indications?
    Thanks a lot in advance and best regards,
    David

    David,
    I think you need to change the objects. Please try the below logic, and let us know if it helps!
    Message Interfaces used
    SOAP_REQUEST_OI
    SOAP_REQUEST_AI
    SOAP_REQUEST_OI
    JDBC_STATUS_AI
    JDBC_STATUS_II
    SEND_RECEIVE_sRFC_AI
    JDBC_RESPONSE_AI
    JDBC_RESPONSE_II
    Sender Agreement:
    O/B Interface : SOAP Request_OI
    Receiver Determination -1
      Sender : SOAP Service
      Outbound Interface :SOAP_REQUEST_OI
      Configured Receiver : BPM
    Interface Determination-1
      Sender : SOAP Service
      Outbound Interface :SOAP_REQUEST_OI
      Inbound Interface :SOAP_REQUEST_AI
      No Interface Mapping
    Receiver Determination -2
      Sender : BPM
      Outbound Interface :SOAP_REQUEST_AI
      Configured Receiver : JDBC Service
    Interface Determination-2
      Sender : BPM
      Outbound Interface :SOAP_REQUEST_AI
      Inbound Interface :JDBC_STATUS_II
      Interface Mapping IM_WS_2_JDBC
    Receiver Determination -3
      Sender : BPM
      Outbound Interface :SEND_REC_RFC_AI
      Configured Receiver : RFCService
    Interface Determination-3
      Sender : BPM
      Outbound Interface :SEND_REC_RFC_AI
      Inbound Interface :ZRFC
      Interface Mapping from IM_WS_2_RFC_2_JDBC
    Receiver Determination -4
      Sender : BPM
      Outbound Interface :JDBC_RESPONSE_AI
      Configured Receiver : Receiver Service
    Interface Determination-4
      Sender : BPM
      Outbound Interface :JDBC_RESPONSE_AI
      Inbound Interface :JDBC_RESPONSE_II
      No Interface Mapping
    BPM Steps
    Step1:
    Receive: SOAP_REQUEST_AI
    Step2:
    Asynch Send:SOAP_REQUEST_AI
    Step3:
    Synch Send:
    Synch Interface:SEND_REC_RFC_AI
    Request:SOAP_REQUEST_AI
    Response:JDBC_RESPONSE_AI
    Step4:
    Asynch Send:JDBC_RESPONSE_AI
    I'm sure the above config will provide solution to the issue.
    Thanks,
    raj.

  • BPM flow sequence order

    Hi Experts,
    Async Scenario : SOAP -> Call Microsoft webservice -> Call BEA 2 webservices -> call ORACLE webservice -> call Microsoft webservice -> call XI webservice -> call Microsoft webservice
    Issue: When I execute the above scenario, the services are called many times as well as that was not in order. I would like to call the service only once as well as it should be in the above order. How to do it with BPM?
    Please help me out.
    Thanks & Regards
    Sara

    Use BPM pattern BpmPatternSerializeOneTrigger
    http://help.sap.com/saphelp_nw04/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/frameset.htm
    Regards,
    Prateek

  • Two files in sequence - BPM co relation error

    Hi Alll,
    I have a simple query..
    There are two files of different structure a.xml and b.xml
    I have to process file a.xml and then b.xml
    In the comm channel I have given *.xml
    I am using a BPM for this...
    I have used a rcv step .. send step .. wait and then a rcv step and a send step...
    The second rcv step askd for a corelation whereas I am not collecting the files I am just simply instantiating the intefaces so a.xml runs first and then b.xml...
    Ne idea on how to do this?
    Regards,
    teja

    Hi Prateek,
    This is actually a file to rfc scenario where file a.xml is sent to rfc and on receiving the response from the rfc we have to run the b.xml file...
    so I tried the bpm... but the second receiver in the bpm is causing the issue... ne idea on this?
    so my bpm look like this
    rcv - > synch send -> send   -> rcv - > synch send- > send
    Edited by: Ravindra Teja on Nov 1, 2011 8:42 AM

  • In BPM - How to populate the recievers

    Hi All,
    I need to create two files from my BPM. Basically I am using a fork (without any condition) and it should create me two files in anycase.
                       Mapping1 -> receiver detremination1 -> send1
       Fork--->  {
                       Mapping2 -> receiver detremination2 -> send2
    But when I try to create the reciever det. the receiver that I created in the Containers get populated. I am not sure..how to attach this to my actual receiver from Configuration. Can anyone help?
    or suggest a solution for my two files scenario. I dont want to use two BPMs as it will take more processing time.

    Hi,
    For this Requirement ie sending the 2 files , it is not required to have Receiver Determination Step in the BPM.
    The Receiver Determination Step- http://help.sap.com/saphelp_nw2004s/helpdata/en/14/d5283fd0ca8443e10000000a114084/content.htm
    <i>suggest a solution for my two files scenario. I dont want to use two BPMs as it will take more processing time.</i>
    >>If you don;t want to send these 2 files at parallel, then you can avoid Fork. And you can use just Send steps in the Sequence.. for this SAP has delivered some of the BPMPatterns in the SAP BASIS Software component.. You can refer this-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/content.htm
    Btw, is this scenario is just a Message Split ? If so, you can do without BPM also,
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards,
    Moorthy

Maybe you are looking for

  • Spry support for IE on Windows 2000

    I am trying to write some online documentation, and I want to use spry. My page works fine in Firefox, but in IE, my table does not populate correctly. Am I doing something wrong, or is this a support Issue. I thought that maybe IE was caching my dat

  • PO Close Indicator at header Level

    Hi,   Is there any way of determining that the PO is closed at the Header Level instead at Line Item Level. We are implementing 4.6C and in 4.6C there is no field which will determine that the PO is closed, in the sense that Goods Receipt is done for

  • URGENT !!! Two physical network interface with two completely different subnets - No bridges - cannot connect both

    This is my urgent problem: I have a physical machine with two physical network interfaces. I have a VMWARE player installed and a virtual machine that must use both cards on two different subnets, one directly public on the router and one intranet in

  • Managing table titles in FrameMaker 12 does not work

    I have a mysterious problem in FrameMaker 12. When creating a table I am not able to move the table title. When changing the setting to below or above or whatever and pressing Apply nothing happens. The feature works allright in FrameMaker 11. I have

  • Aperture Facebook Connection Issues

    So I just installed Aperture 3 and want to connect to Facebook but cannot or do not know how to.  Please help!  I also installed the plug-in but do not seem to be able to even know how or where to access or use that either.  I have been reading and s