Isuue regarding Fork step in bpm

Hi,
I am doing a scenario, collecting different idoc types into a flat file using BPM.
In the fork step while doing BPM , I am getting an error while adding more than two branches.
The error is "Maximum limited value is 2".
Please help me out.
Thanks.

Hi Sailatha,
A fork step is used for parallel processing of a(single) message in N number of branches. For example, if you design a fork with 4 branches, each branch receives a msg and then the steps in each branch is carried out.
Follow the below procedure:
The fork by default comes with two branches when you first place it into your process. You need to insert another branch before it allows you to increase the max and so on.
In ur case plz try to change the Default Value 2 which is in properties window to the no. of branches u desire.
Regards,
Vinod.

Similar Messages

  • Fork Step in BPM scenario PI 7.1

    Hi All,
    I have a requirement where in i will have to collect 3 different messages coming from the source and then combine these 3 messages to a single message and sent it to Target System .
    To achieve this i came up with a BPM where in fork step was used and inside the fork step i added 3 branches with 3 receive steps to receive 3 different messages from the source .
    Problem i am facing here is , the source system might send all the 3 messages or it might send only 2 messages or 1 message as well depening on the scenario .
    So when we get only 2 messages frm the source system , fork step goes into waiting state since its waiting for the 3rd message also to come in . In this case i want the BPM to go ahead with 2 messages after a certain specified time (say 2 min) .
    I tried adding wait step, deadline branch . Nothing seems to be working .
    Please suggest what needs to be done here .
    Waiting for your inputs
    Regards
    Vinay P.

    Set Necessary Branches  to 1 in the Fork properties. Use the fork inside a block with time out. In timeout branch throw an exception. Define an exception branch for that exception. It should work..!!
    VJ

  • Regarding send step in bpm--"send context"

    i want to use the send step in my bpm with send context.
    The send context is a freely definable string, which you specify in the send step. You query the send context in a condition in the receiver determination in the Integration Directory. You must specify the send context to be able to send messages from the same message interfaces to different receivers in different send steps.
    but i did n't understand regarding the explanation given above.
    could u plz help me out

    Hi
    When you use Receiver determination step in BPM to get a list of receivers for a send step.
    You need to define send context to send messages from the same interface to different receivers in different send steps. As list of receivers is collected using receiver determination.
    Now you can use this to set condition(send context) based receiver in ID Receiver determination.
    Thanks
    Gaurav

  • Fork Step in BPM

    Hi,
    When i am using more than one receive steps(each can start the process) in a fork then if i dont use the correlation it throws me a semantic error that "step does not use any correlation".
    according to me if i declare the necessary branches property in the fork step then the fork step will wait until that many branches completes, means it will proceed only after the branches receive the message.
    here i need not any correlation becuz the messages i am receiving are totally independent of each other.
    still it forces me to declare a dummy correlation.
    for what reason it is necessary?

    Hi
    A fork step is used for parallel processing of a(single) message in N number of branches. For example, if you design a fork with 4 branches, each branch receives a msg and then the steps in each branch is carried out.
    Follow the below procedure:
    The fork by default comes with two branches when you first place it into your process. You need to insert another branch before it allows you to increase the max and so on.
    Just check these links,
    http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/content.htm
    Collecting and Bundling vendor records from different multiple interfaces (file system,Peoplesoft ) and sending to SAP-R/3 system.  part-1
    regards,
    Surya

  • Error with fork step in BPM

    Hey guys
    i m trying to collect three different IDoc's in a BPM and using fork for that,when i try to enter 3 in the Necessary branches property of Fork,its giving me and error sayin that maximum value permitted is 2.
    any idea why i m getting this error?
    thanx
    ahmad

    Hi,
    Are You the correlation
    This might Help you
    Fork and BPM
    Fork is not working - BPM
    Regards
    Agasthuri Doss

  • BPM "Fork" step question

    Concerning  fork step : Here is the documentation :
    You use a fork () when you want to continue a process in branches that are independent of each other, for example, to communicate with two systems that are independent of each other. The branches of the fork join in a union operator.
    You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches. Furthermore, you can define an end condition for the fork (see also: Condition Editor).
    As soon as a branch reaches the union operator at runtime, the system checks the following conditions in the specified order:
    ·        The process has run through the required number of branches
    ·        The specified end condition has returned true
    The step is complete as soon as one of the conditions returns true.
    I want to use it to do 3 different send process in parrallele with 3 different receivers.
    Before Fork step I use a container to initialize varaiable count = 0
    In each branch I do my send step and then a container that does count = count + 1
    And finally I have defined my fork with following end conditions :
    End condition : count = 3
    Necessary branch : 3
    But my BPM allways executes only one branch !!!
    (Only one is in green in the graphical editor of monitoring for BPM)
    Any idea ?
    Do I use the right solution to do the following :
    "You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches"

    Hi Jean-Charles,
    I agree with Michal. Is it really necessary to use a fork for different send steps.
    The reason for your unexpected termination could be the condition. Each fork branch reaching the union operator checks here in this sequence:
    Process has run through required branches (here: 3)
    End condition is true (container = 3, you have the same container element for ALL branches? This should not work. You need one for each, I think.)
    Step is complete as soon as ONE of the conditions return true.
    So use three different container elements as counter and connect them in the end condition with AND.
    Regards
    Dirk
    Message was edited by:
            Dirk Meinhard

  • BPM status is "IN Process" even after all the steps in BPM are completed

    Hi All,
    we have designed a BPM for collection of messages and have a transform step .
    In some cases all the steps in BPM get completed but the status of BPM is still in" In Process"  and in SWWL transaction the status is "Started".
    Even though the status is started we are able to get the desired output.
    Ideally after the steps in BPM get completed the status should be "Completed".
    please suggest why we are  getting this status and how can this be resolved.
    Thanks and Regards,
    Rajesh

    hi ,
    I am using a fork and loop with a condition to end this loop.the condition gets satsfied.
    The messages are coming out of the loop and fork but even then the status is in "InProcess"
    thanks,
    Rajesh

  • ** Exception Throw in Fork Step - How to inform ?

    Hi Friends,
    Customer sends 2 IDoc DEBMAS, ADRMAS. The conditions is when both the IDocs is having the same customer no we need to send to the outside system.  (DEBMAS - E1KNA1M - KUNNR) equals to (ADRMAS - E1ADRMAS - OBJ_ID).
    I have designed BPM for this : Start --> Fork Step --> 2 Receive Step --> Correlation mentioned in 2 receive step --> Next Block --> Fork --> Transformation Step & Send Step (Two sets : 1 is for DEBMAS & 2nd is for ADRMAS)
    I have checked the design. It is semantcially correct. But, I have the following doubts.
    1) If no matching records found in first block (DEBMAS customer no is not equal to ADRMAS) how much time the fork will wait ?
    2) To effect this, 'Exception Branch' is inserted. After Fork which contains 2 receive steps, one control step is inserted to trigger an exception. Question here is, after how much time, this control step will trigger an exception
    3) What is the purpose of 'End Condition' Property in Fork Step ? Is it required.
    Could you kindly help me friends to clarify the above 3 points. If those clarified, my BPM will be complete.
    Thanking you.
    Kind regards,
    Jegathees P.

    >
    Jegatheeswaran Pitchaimuthu wrote:
    > Hi Friends,
    >
    > Customer sends 2 IDoc DEBMAS, ADRMAS. The conditions is when both the IDocs is having the same customer no we need to send to the outside system.  (DEBMAS - E1KNA1M - KUNNR) equals to (ADRMAS - E1ADRMAS - OBJ_ID).
    >
    > I have designed BPM for this : Start --> Fork Step --> 2 Receive Step --> Correlation mentioned in 2 receive step --> Next Block --> Fork --> Transformation Step & Send Step (Two sets : 1 is for DEBMAS & 2nd is for ADRMAS)
    >
    > I have checked the design. It is semantcially correct. But, I have the following doubts.
    >
    > 1) If no matching records found in first block (DEBMAS customer no is not equal to ADRMAS) how much time the fork will wait ?
    > 2) To effect this, 'Exception Branch' is inserted. After Fork which contains 2 receive steps, one control step is inserted to trigger an exception. Question here is, after how much time, this control step will trigger an exception
    > 3) What is the purpose of 'End Condition' Property in Fork Step ? Is it required.
    >
    > Could you kindly help me friends to clarify the above 3 points. If those clarified, my BPM will be complete.
    >
    > Thanking you.
    >
    > Kind regards,
    > Jegathees P.
    your design should be Fork with two receive steps and correlation should be the customer number field for both. This will ensure that only when the customer numbers are equal the BPM will process further.
    Now you need to handle the exception using a block step around the fork step. You can define a time of your choice until how long should the BPM process wait to receive the different idoc with the same customer num. If within the specified time it is not received then you can raise a exception, trigger alerts etc. as u need.

  • End condition in FORK step

    HI Experts,
    I am working on BPM scenarios.Anybody plz explain about how end condition works in FORK step.
    Please provide examples for that end condition in FORK step.
    Regards,
    Bhuvan.

    Hi,
    Refer this links...
    http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/content.htm
    /people/prasadbabu.nemalikanti3/blog/2006/02/24/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-1
    Hope it helps..
    Thanks,
    Kumar.

  • Relevance of Recv. Deter. step in BPM

    Hi All,
    I am a bit confused about the RD step in BPM.
    I tried a scenario where in i split a message into two (say msg A and msg B)and sent it to two different systems (msg A to sys A and msg B to sys B).
    In my BPM in a fork, before the sent steps i specified the RD (corresponding recv A and B ).
    The scenario worked fine.
    I came back and removed the RD steps from BPM.
    Still the scenario works fine :-?
    I guess my concept of the RD step in BPM is not clear. Can someone help me out on this ?
    Regards,
    ShabZ

    Hi,
    >>I am a bit confused about the RD step in BPM.
    take a look at this link
    http://help.sap.com/saphelp_nw04/helpdata/en/14/d5283fd0ca8443e10000000a114084/content.htm
    cheers,
    naveen

  • Fork in the BPM: collecting IDOC

    Hi,
    I have a scenario in which i have to collect the idocs the collection happens either by time(deadline monitioring) or by counter loop,
    for this i have a fork whick send the message to the above 2 brances,
    but my problem is if i send 5 idocs first 3 idocs are send to the branch 1 and rest to the branch 2 so both the condition ar failing ..
    Can any one help on this
    Thankx in advance,
    Sri..

    Hi,
    Are you collecting multple idoc types ( i,.e MATMAS01, MATMAS02 etc) or collecting one idoc type.
    In the second case, i.e collecting one idoc types, FORK is not required.
    I think, this is not coming out from Fork step. Check your correlation correctly.
    Go thru BPM Pattern available in the SAP BSAIS component.
    For multiple Idoc types-
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    For multiple Idoc types~
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
    Regards,
    Moorthy

  • Fork Step problem

    Hi,
    I have a scenario in which my BPM expects two different idocs and uses a Multimapping Transformation step to merge it into one single file structure, that is N:1 mapping( 2Idocs ---> 1 File).I am using a Fork Step in which there are 2 recieve steps in order to recieve the two idocs and then a Transformation step and then a Send step.
    The problem is my BPM is waiting for both the IDOCS in order to complete the Fork and  get to the Transformation step, but in my case i want the transformation to happen if any of the two IDOCS is recieved.Is this possible..or is there anyother way to achieve this....I have Marked the start process for both the recieve steps....Wud appreciate ur thought on this.Thank You.

    > Hi,
    >
    > >>>>but in my case i want the transformation to
    > happen if any of the two IDOCS is recieved.Is this
    > possible
    >
    > so why do you need the fork if you want
    > only one idoc?
    >
    >
    > 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>
    Hi Mike,
    Infact i am trying to derieve three different File structures from the Output of the Multi map(Which i havent mentioned...Sorry for that).
    If  the Transaction is R/3 generates these two idocs at a single shot then i would be generating Total of 3-final file structures which has fields from Both the idocs.
    Otherwise if the Transaction is used to generate only one IDOC (say IDOC1) the i would be generating only one file structure based on it.
    So the IDOC2 is optional It may or may not Occur.
    so my logic is something like this
    IDOC1               IDOC2
    Intermediate File Structure
    Check Condition (If IDOC2 is a reference of IDOC1)
    >IF Yes Generate Three Files
    >If No then generate Only one File based on IDOC1.
    Is this the right way to do it...need ur inputs.

  • Workflow error in fork step, process control, wait event

    I am using fork step in workflow which has 2 parallel branches. In 1st branch i have a user decision step followed by a task for posting PO document in case of approval. In the 2nd branch of fork step I have a wait step to wait for an event followed by the same task for posting document with a process control step after that in the end to cancel the workitem(workitem generated by user decision step in the 1st branch of fork). I created the event by using a custom BOR object.
    After the fork step is triggered, i have both a wait event running and workitem generated. When i raise the wait event from SWUE by entering the event, object key etc it works fine i.e., the workitem in the other branch is set of logically deleted and workflow ends.
    But if the wait event is triggered from the program i.e., using FM SWW_WI_CREATE_VIA_EVENT, both get an error message in workflow log(SWIA). The message is: Error when executing the binding between work item 000000XXXXXX and flow item 000000XXXXXX where workitem number is the workitem id of the posting document task and flow item id is the workflow parent id

    hi,
    message is self explanatory.
    Activate the event trace SWELS, then do the event with SWUE and within your program (als please use SAP_WAPI function modules).
    Now compare the 2 events in SWEL to see what the differences are .
    Kind regards, Rob Dielemans

  • Expression must return the interface type in Transformation Step in BPM

    hi,
    We are getting below while activating the IP,
    Expression must return the interface type SI_Send_AA
    Expression must return the interface type SI_Get_AA
    No semantic errors found
    We have a Transformation Step in BPM,
    In OM, Source is SI_Send_AA and Target is SI_Get_AA
    Also Container variable points to  the same Abstract SI's.
    Few Thread's for Same are error are:
    Error in  BPM
    expression must return the interface type
    Transformation step in ccBPM scenario
    Error while compiling Business Process
    Even after checking these i am getting this Exception.
    Please Help!
    Thanks,
    Mayank

    Also Container variable points to the same Abstract SI's
    Are you sure that you are using Abstract Message Interfaces only and that these are referring to relevant container variables.
    Normally it happens that there is some mis-match between the message types/ interfaces that we use in the mapping and that we use in the BPM.
    If still not solved, then delete the Transformation step --> save --> activate......then again Edit the BPM to include the Transformation Step.
    Regards,
    Abhishek.

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

Maybe you are looking for

  • High seas purchase

    hello sap friends can any one help me regarding high seas purchase my scenario is::: we  purchase chemical, which is being imported by the third party, when the consignment is still on High Seas.usally we receive high seas  documents from vendor and

  • Refurbished X201 integrated camera settings don't work

    My refurbished X201 (3680HN9) has an integrated camera (so says device manager) but nothing happens when I press FN+F6. I have downloaded the integrated camera driver from Lenovo support site but after install FN+F6 still does nothing. I would apprec

  • Brtools statistic error as sid adm in Oracle 11g

    When running brtools statistics as <sid>adm I get this error. When I run it as ora<sid> I do not get  this error. BR0301E SQL error -2133 at location BrOraThrEnable-1, SQL statement:'ENABLE THREADS' I have oracle client setups in /oracle/client/10x_6

  • Which way does iTunes sync with iPhone

    I have a playlist in iTunes that syncs with the same list on my iPhone. The playlist contains MP3s that are mostly talk radio. When playing an MP3 in iTunes, pausing it, then syncing with the iPhone, I can pickup at the pause spot on the iPhone. Howe

  • No external; will I lose all data if I upgrade to SL?

    Greetings. I do not have an external hard drive and just purchased Snow Leopard. I have roughly 50 gb of music I do not want to lose, will upgrading to SL destroy all of my old files from Leopard? I only ask this because way back when I upgraded from