Avoiding BPM ?

Hi folks,
Currently i have developed a scenario
File->XI->Proxy(Sync)->(File and then JDBC) using BPM.
Basically the response of proxy i am writing in a File and then in a table..Just to maintain this serial order(File and then table)i have used BPM..I know i can do the samething without BPM but i need to maintain the sequence also..
I can determine multiple receivers at receiver determination step only(as same message is being sent to both party) but they should be triggered in sequential order.
Any suggestions..
Regards,

Any clue on this...
Regards,

Similar Messages

  • Avoiding BPM in a rfc to file scenario

    Hello,
         I am using a RFC to access data and post a file, i donot need the response, can i avoid the BPM by anyways,
    i donot want to use bpm, can this be done.
    Regards,
    Anirban.

    Hi Anirban,
    These links are 2 RFC lookups done by Michal and Sravya.
    They contain the skeleton code to help you. if you need more info, do let me know, I have called a RFC in my Java Mapping and if needed I can pass that code to you,
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/801376c6-0501-0010-af8c-cb69aa29941c
    Regards,
    Bhavesh

  • How to avoid BPM SYSFAILerror in queue

    Hi Friends,
    I just designed a sync/asynch bridge. sender abap proxy synch...
    whenever there is any failure, the message goes to sysfail status in smq2 and sxmb_moni. I am using dedeline/exception branch also ?
    I just want to make sure if any message fails it should be visible only in SXMB_MONI and should not block any queue with sysfail error.
    Anyway to achieve it ?
    Regards
    Inder

    Hi, in most synchronous scenarios, error messages are sent back to the sender. In case of a BPM which is called synchronously I recommend to separate the handling of the exception for the last send step, the one where Mode = Closes S/A bridge, from the exceptions of other process steps. That means at least 2 exception branches.
    Create one exception branch for the last send step where you cancel the process with a control step if the send step fails.
    Create another separate exception branch for all exceptions raised in the other steps in order to collect/generate error messages. Return these error messages in the response of the last send step. The sender has to process these error messages.
    Like this you only cancel the entire process instance (and hence the synchronous request which triggered the process) when the process isn't able to execute the last send step (the one which closes the S/A bridge), ensuring that error messages of other steps are returned to the sender.
    Then the process instance will finish smoothly, either by returning error messages to the sender, or by being canceled.
    Regards, Martin

  • Error in Multi-mapping without BPM

    Hi frnds,
    I am doing a scenario File-XI-File. I am using the multi-splitting thing in the Message mapping. I have taken care of all the occurance's and "enhanced" thing in the IR and ID resp. I m using SP16. I want to avoid BPM.
    But therez sme error cming up. When I check the MONI, its shwing "No messages created from split mapping" and when I test my interface using the Test Configuration in the ID, its shwing error in the Receiver Determination -- "HTTP connection to ABAP Runtime failed. Error: 403 Forbidden"
    I have checked most of the blogs and forum suggestions. I have checked the ICF activations as well ...
    So, do come back to me with your valuable suggestions, and I will award them points, if they really help me out.
    Thanks and regards.
    Neetesh

    Hi Neetesh,
    <i>
    When I check the MONI, its shwing "No messages created from split mapping"</i>
    For this, Can you check the source XML. Does it contain Tags like <messages> .. If yes, you need to remove them from your source XML.
    If i am right, you have copied the XML from the TEST tab of the message mapping and pasted it in a notepad and saved it without making any changes at all..... Just do as i have mentioned above and i am sure you will no more get that error message in your MONI....
    Also go through this weblog which talks about multi-mapping without BPM,
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards,
    Abhy

  • File to sync bapi_multimapping_without bpm

    Hi All,
    I have done a file ->bapi -> response to file testing interface using the adapter modules.
    My actual scenario is :
    Source file has multiple lines and for each line i have to call a bapi. The response of the BAPI needs to be appended in a file.
    My question is:
    Should i use a BPM to call the bapi as many times as the lines present in the source file?
    I read the sap documentation for multimapping and i suppose we cannot use multimapping for synchronous interfaces?
    Is there any way i can do my scenario without using a BPM?
    Regards,
    Balaji.M

    Bhavesh,
    If you need to avoid BPM, then you have to change the BAPI / RFC to be able to take multiple records in one call.
    How can i do this? Can you please explain?
    I searched for blogs, but all of them i saw, have one rfc call. Is there any blog that does this without a bpm:
    a) Source file comes in with multiple lines
    b) For each line a sync bapi or rfc needs to be called
    c) Reponse needs to be written to a file
    I did my scenario using a BPM and the performance is very bad (the size of the box is small, but would not make a great deal of difference if it were a bigger box). Here is what i do in a BPM
    1) get the source file
    2) call bpm
      2.1) inside bpm, transformation1 - does a multimapping
      2.2) block start(For Each)
      2.3) Sync Send to bapi. Mapping called outside bpm in interface determination
      2.4) Async Send - to write response - done in the response mapping of the Interface Mapping.
    Please let me know if i can do how i can do steps a, b, c (in bold above) without bpm
    Thanks,
    Balaji

  • Message split without BPM?

    Can we do correlation (message merge) without bpm. I mean Is there any adwanced service pack which support this,so that we can avoid bpm?

    Hi,
    Ur subject and ur question is confusing.....
    Message split means splitting the one message into N message that is 1:N
    And message merge is merging the N message to 1 message N:1.
    Wat u want to do...can you pls explain with example.
    Correlation is a functionality provided in BPM.
    Thnx
    Chirag

  • B2B Addon - BPM Scenario Question

    We have SAP  PO 7.4 single stack working on B2B Scenarios. We will be using AS2 Adapter to send and receive ANSI X12 messages like POs inbound, Order acks Outbound, PO changes inbound etc. We installed B2B Add on ESR Content and has some sample scenarios in  B2B Mapping Kit.
    Scenario 1: When order received from Customer (850)  we need to send Functional Acks ( Both Positive and Negative ) based on the status of success / failure of IDOC Posting. How do we achive this scenario without BPM. What is SAP recommended solution ( RDS approach) for this scenario considering its ANSI X12 850 to IDOC Orders scenario. I'm thinking of using exit in IDOC Posting fucntional module to trigger Proxy to PI which wil lbe sent to Customer after Mapping.
    Along with Funtional ack ECC should send ORDRSP IDOC to PI to ANSI X12 855 as well.
    Scenario 2: in another scenario, If send Order 850 to Vendor wil lthey typically send 855 as a response ? Since Its Orders IDOC outbound, how to make this as synchronous to receive 855 and update ECC with ORDRSP IDOC  without BPM?
    I would like to develope these scenarios avoiding BPM if possible. Since we are not implementing RDS solution,  we will be developing mapping inhouse. what is the SAP standard recommended approach if you used RDS ?
    Thank you

    Hello,
    If I am not wrong you are talking about below scenarios
    These scenarios need not wait for each other( independent of each other)
    In case of outbound EDI interfaces, EDI 997 (if partner is capable of sending one) will be helpful in updating the status of the Outbound IDoc.
    In Inbound EDI scenarios, 997 is generated at adapter level as s0on as message reaches PI successfully, 997 is sent back to partners if requested.
    To understand more on acknowledgements please have a look at below blog
    Functional Acknowledgement (Inbound and Outbound FA 997)- for Beginners
    (P.S.-  ACK 855 is an interface on its own (needs mapping from EDI to SAP (Idoc, rfc, file..))
    Regards,
    Pooja

  • STEPS in BPM for synchornous.

    Hi,
    I have to persist one field using BPM for synchonous.
    Assume it as Empid.  I am getting it from JMS and am sending to SOAP which is a synchornous interface.
    While sending to SOAP, i am stripping it out and sending, along with the response received from SOAP, i need to re-assign the empid and send it to JMS.
    As i know this can be achieved thru BPM, what are the steps i need to do, as i have not worked in BPM, it would be good to guide on this scenario.
    Please give me the steps like how many send, receive, container, how to attach the data back while sending to JMS etc.,

    Hi Anandha,
    U may avoid BPM here also
    Check out these
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    https://websmp109.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&
    Regards,
    Prateek

  • BPM - Optional Multiple Send steps

    I have a situation where I'm doing Message Splits in BPM and subsequently Send steps. Due to MessageSplit I may  or may not produce Target messages. But Send Steps following the transformation are errored out saying no Instance found ( No message found ).
    Transformation step may or may not produce all target messages. How to avoid BPM to fall into error in this situation.

    Hi Ram,
        Ok do one thing create a container variable. Dont use this container variable in any steps. now pt a condition at the point whr u want to check whehter the container variable in which u r receiveing the msg is not equal to this newly created container variable. If the condition is satisfed, u hv receive the msg i.e. ur container variable is not empty.
    Regards,
    Akshay
    Message was edited by:
            Akshay Salunke

  • Help in BPM: Routing data to mutiple receivers based on field content

    Hi All
    I have a scenario where my source data is from a file. Typically this file is from a DMS application and based on the contents in this file i need to send the data to 2 receivers which might be R/3 and DB or file. Though BPM may not be of use for this scenariuo i want to make use of BPM:
    Q: My file content looks like:
    1200,fombell,12,1200.50,ea,tetra
    1900,fombell wdc,2,200,ea,magneta
    2020,morris,1,12.50,Pc,frp_films
    2020,morris,10,1200,Pc,xr_tutos
    field separator is  ,
    primarily my first field is a plant and based on the plant i need to send the data to R3 and File or DB. If i make use of switch in BPM i'm not able to read the entire list of the message. it checks only for the last record. how to goahead with this and kidnly let me know in details the steps involved.
    Thks
    Prabhu

    Hi Prabhu,
    Just to suggest i guess its always better to avoid BPMs to improve your performance...
    Your requirement can be easily met using the Extended Reciever determination that we have...
    Here actually based on condition from the message in the payload u can assign your receivers..
    Below is the steps to do the same...
    Under Receiver Determination --> Configured Receivers --> Specify the 2 receivers and beside the same you have an option called condition, there you specify the condition on which it has to go to the first system and then the condition on which it has to go to the second system.
    When you click on the codition it will open another window (Condition Editor window) under which you have a Left Operand which when you click will open up another window(Expression Editor window), there for your need you check on the XPath radio button and then click on the field whose value you wanna check from the structure that it displays, when you click on the field it fills in the XPath Expression, then click ok.
    After that it takes you back to the previous window(Condition Editor window) with the Left Operand having the XPath Expression, so all you will have to do is to fill the Right Operand which is nothing but the value you want that field to contain.(For Example if a field "A" that you have selected which comes in the XPath Expression in ur Left Operand,has a value "1" in your Right Operand)
    There you also have an option to put in an "and" or an "or" condition if required(For Example if you wanna check if "A" and "B" is satisfied or it you wanna check if "A" or "B" is satisfied, this can also be done)
    I also suggest u to go through these blogs..
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    If you have any doubts or clarifications on the same, please do ask and i will tell you how to proceed.
    Regards,
    Abhy

  • BPM pros and cons

    Hi All,
    I would like to pros and cons of BPM.
    Performance point of view,
    and Maintenance point of view.
    Please give me suggestion, <u>when should i use/avoid BPM?</u>
    Thanking you in advance.
    Regards
    Piyush

    Hi Piysuh,
    Just to summarize what I have ubndertood of your scenario.
    You do not want the JDBC adapter to be connected to your Database always and so , you will be using a DUMMY file, and when the file is picked up, you want to perfrom your DB look up and then perfrom an RFC call.
    This can be implemented as follows without a BPM.
    1. File Adapter to Receive File.
    2. A mapping such that the DB lookup is perfromed in the mapping program ( user defined function or java mapping ), there is a <a href="/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler">Blog</a>   available on how to perfrom DB lookup in your mapping on SDN.
    3. map the data picked from your datbase to your RFC request message and use an RFC receiver adapter.
    Think this might help. Do let us know if you need any further help.
    Regards,
    Bhavesh

  • Help in BPM Proyect

    Good morning community SAP Expert
    I write  in this opportunity with the purpose of seeing if you can help me because we are in a project where we need to apply the monitoring of the processes and these are some of the restlessness. 
    1. He is feasible to define a general alert at scene level that includes the results in alarms of specific steps that conform it. 
    2. He is feasible to carry out configurations and tests in quality system? 
    3. A general alert can be defined and with the alert message to obtain the  specific detail , for example to identify the center or the plant in which this appearing the situation that I generate the alert.
    4. He is feasible to define alert with relative or calculated and non absolute values.
    5. How scheduled processes of monitoring to include them in the process list to select when for example we need to monitor   a process of a Z program that runs online?
    6. He is feasible to establish alarms on tables?
    7. He is feasible to establish alarms on Idoc in order to have the internal detail, for example  plants, customer? 
    8. The factory calendar of SAP can be considered within the programming of the alarms? 
    9. Is possible to be applied alert to the rank of numbers? 
    10. Mechanism of notification of alarms, as could be used?
    Thank you for your Help
    Guillermo

    Hi Prabhu,
    Just to suggest i guess its always better to avoid BPMs to improve your performance...
    Your requirement can be easily met using the Extended Reciever determination that we have...
    Here actually based on condition from the message in the payload u can assign your receivers..
    Below is the steps to do the same...
    Under Receiver Determination --> Configured Receivers --> Specify the 2 receivers and beside the same you have an option called condition, there you specify the condition on which it has to go to the first system and then the condition on which it has to go to the second system.
    When you click on the codition it will open another window (Condition Editor window) under which you have a Left Operand which when you click will open up another window(Expression Editor window), there for your need you check on the XPath radio button and then click on the field whose value you wanna check from the structure that it displays, when you click on the field it fills in the XPath Expression, then click ok.
    After that it takes you back to the previous window(Condition Editor window) with the Left Operand having the XPath Expression, so all you will have to do is to fill the Right Operand which is nothing but the value you want that field to contain.(For Example if a field "A" that you have selected which comes in the XPath Expression in ur Left Operand,has a value "1" in your Right Operand)
    There you also have an option to put in an "and" or an "or" condition if required(For Example if you wanna check if "A" and "B" is satisfied or it you wanna check if "A" or "B" is satisfied, this can also be done)
    I also suggest u to go through these blogs..
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    If you have any doubts or clarifications on the same, please do ask and i will tell you how to proceed.
    Regards,
    Abhy

  • BPM synchronous file - soap - file

    Hi Friends,
    I am working on scenario in which I am going pick up XML file from my system using File adapter and send to partner using SOAP adapter and in response I am going to receive an XML file that I have to store in some folder in my system.
    Without doing any configuration in IR , and configuring only ID I was able to get response that I can see in SXMB_MONI but I am not able to save it.
    1) Is there any way I can save that response without configuring any thing in IR?
    2) I got some details from SDN that it can be done by using BPM in IR. If so please let me knw general approach that I should take to achieve above requirement.
    Thanks.....

    may be we can achieve this by using the FILE sync flow as mentioned in this doc:
    https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
    You will have to include the response message in the FILE_OB_SYNC MI appropriately.....and as described you will be using two file channels...one sender and other receiver....so the receiver will paste the file to the desired location.....you can avoid BPM then....
    IF your SP is not compatible then you need to use BPM:
    Receive(FILE) ->Transformation(IfNeeded)>SyncSend(SOAP)>Transformation(IfNeeded)-->SendAsync(FILE)
    Regards,
    Abhishek.

  • Collect Asynchronous XI messages without BPM

    Hi,
    we are sending asynchronous Xi messages from ERP to PI and then sending a file through FTP for each message.
    We would like to group (collect) the messages in XI or ERP and send them all as 1 file at a specific time.
    Is this possible without BPM (I've seen the classic BPM way to do this but try to avoid BPM) What are the options ? Can this just be done by configuration ?
    We are using PI 7.1
    Thank you.

    Hi guys,
    I`m facing a similar issue in a project, where several e.g. 7 large messages, normal msg size 10-15mb, but one normally is about 100mb,  are transfered to PI via ABAP proxy and have to be merged in one single file using the file adapter.
    QoS at the moment is EO.
    Because of the performance issues I want to avoid ccBPM.
    I think the append mode could be a way to solve this issue. But how could you determine that all messages have been processed and added to the file, so that the receiver could fetch the complete file and process it?
    Is it useful to build up an unique filename like "XYZ_DATE.txt" so that all messages of one day are collected in the same file, but there is still the issue to recognize when the last message is added to the file and the file is completed.
    QoS EOIO is needed to achieve that?
    Any suggestions welcomed, thanks in advance.
    Regards,
    Jochen

  • When BPM?

    In which case we can go with BPM,as bpm will effect performance. I mean as merge, split, alert configuration we can do without BPM using advanced SERVICE PACK. So Is there anything  missing which advanced SERVICE PACK doesnt support and for that BPM is must.
    Regards,
    Suresh.

    Suresh,
    First thing N:1 (Merging)  is not possible without BPM. As you said splitting/Alert we can do without BPM too.
    Regarding ServicePacks - BPM, I can think of the following.
    Till SP18(04)  and SPS09(04s)  - Asynch -Synch-Asynch Scenario not possible without BPM. Example File RFC File. From SP19 & SPS10 onwards module parameters came into picture where we can avoid BPM.
    Till SP12 and SPS04(Rampup) - Multimapping 1:N is not possible without BPM. From SP13 and SPS05 We can use Multimapping at Adapter Engine level, without use of BPM.
    I hope it helps!
    raj.

Maybe you are looking for