BPM Multiline Msg Check

We have a scenario where we are sending the multiple messages to the BPM, each message can either have the same or different data (distinguished by key : Product Number). Our requirement is to override the previous message (collected in BPM multiline) with the new message if it is found in Multiline (Criteria is key : product Number). Please let me know the expert comments on how to do this.
Thanks,
Samir

Hi,
    I did this kind of scenario. You can use Product Number as Correlation id, so based on Product Number you can append all IDocs or files which have the same Product Number, for that use one loop in that use receiver step and a container operation. The container operation will append all data based on correlation id(Product Number).
Regards
Dipankar

Similar Messages

  • PO/ S.Location and GR msg check box in 'delivery/invoice' tab of header dat

    Hi all,
    Under which case the below 2 fields are required to b filled while creating a PO apart from making them mandatory fieds in document type settings.
    1. GR msg check box in 'delivery/invoice' tab of header data
    2. Storage Location data in item details
    in me59n, system unable process p.req to PO becoz it is mandatory to fill these two fields.

    Hi,
    1. GR message check box issues message to the buyer after every the goods receipt against the PO.
    Message type has to be configured for this functionality.
    2. If you are managing stock of material at storage location level , then you will need to maintain this at PO item level.
    Regards,
    Maheshwari

  • BPM MultiLine Container

    Hi,
       In condition editor in BPM how can I test whether my multiline element contains any elements. Any help on this.
    Thanks,
    Rao.Mallikarjuna

    Hi,
    please have a look at this thread:
    Re: Workflow: check multiline container element for emptiness
    Regards
    Patrick

  • BPm collect Message Check

    Hi,
    when i perform a check to standard BPM patterns BpmPatternCollectMessage. I get the following info am i wrong some where do any changes needed to be done.
    Container element stopmessage in step receive terminating message is initialized but not used
    Container element collectmessage in step *receive * message is initialized but not used...
    kindly help

    I did the above scenario as told.
    It is a bpm message dependent scenario. It keeps collecting messages till a particular message is received.
    I more or less used the message dependent pattern given in SAP BASIS.
    The data types are as follows.
    Dt_In
         Name
         OverallID
    Dt_In
         Name
        OverallID
    1 to 1 mapping
    I used the OverallId for correlation. The receive step inside the infinte loop collects the messages with OverallID '1' while the receive step below collects messages with OverallId '2'.
    In the container elements i defined 2 separate message interfaces. One for OverallID '1' and the other for OverallID '2.  The 2 message interfaces have the same Message type. Only values will be different.
    For the parallel fork step i have given end condition OverallID = 2.
    When i execute the scenario the messages are all comingin a queue. The status is wait for event.
    What could be the problem?
    Thanks
    Edited by: pratichi chauhan on Sep 24, 2008 2:46 PM

  • ** BPM Error - Msg has error status on oubound side

    Hi Friends,
    I am doing BPM scenario. (Receive Step --> Transformation Step --> In Block (For each) Synchronous Send Step ). That's all BPM design.
    We have created Server prox (inbound Proxy) in ABAP, it receives PO details and return Sales order no. Coding has been written inside Proxy. If we test Proxy in ABAP, it is working fine.
    The required PO data we pass from JDBC. Receive step receives the whole message (It may contain 1 or more PO). In Transformation step, we split message using multiline checkbox( One message per 1 PO).
    Message is processed successfully upto this step. In the Synchronous send step, it throws an error.
    In SXMB_MONI, 3 messages are generated. In the first message itself, in the outbound status column 'Red Flag' is coming, (but processed successfully).  The error is 'Message has error Status on outbound side'. Inside the message 'PE'  adapter is in grey color.
    So, what could be the problem ..?
    Kindly reply, friends.
    Kind Regards,
    Jegatheeswaran P.

    Hi Jegatheeswaran,
    Take the Message after transformation and try to test your synchronous service with this message,
    if u r using any web service you can use Altova (XML SPY) to test your service with the data after
    transformation.
    If it does not show any problem then try to see you have build your BPM Properly (Press F7 to test For any syntactical error).
    You can also go to SXI_CACHE to see if your Workflow does have status 0 .
    To get Exact error Message . Click on PE ->goto->ThechnicalSetting->select synchronous call->click on content tab->and go on navigating you will find detailed exception.
    Reward Points IF Helpful
    Thanks
    Sunil Singh

  • BPM Collect Msg error

    I have exactly duplicated the scenario of CollectMsgPattern. When I try to execute, it starts the prcess by start msg but when it comes to block it throws the exception. I went to XMB_MONI_BPE to see the error and it says "Object FlowItem method execute cannot be executed". And before this there is msg in yellow "Unable to deliver event received" of object "StopMsg". Not sure how did stop msg came in picture if it is not sent. Any one faced this kind of problem? Any hint would be great help!
    Thanks,
    Samir

    As a simple scenario, I tried to just Receive and Send, That worked fine.Which means communication is fine, I tried to enahnce this with following
    Start> Block1>loop1:                   >Trans>Send
                           Loop1:Receive -- Collect
    CorrlelationProperites:
    CorrleatioList:corrleation
    Name:name
    InvlovedMessage:MI_DATA_ABS
    properties:name(Intefrace./p1:MSG_DATA/VendorName)
    Block1 Properties:
    StepName:Block1
    LocalCorelation : None
    Exception :None
    Container:
    msgConsolidated:AbstractInterface:MI_DATA_CONSOLIDATED_ABS
    msgData:AbstractInterface:MI_DATA_ABS
    msgDataCollect:AbstractInterface:MI_DATA_ABS:Multiline-yes
    Loop:
    StepName:Loop1
    Condition:(msgData./p1:MSG_DATA/VendorName = end)
    Receiver:
    StepName:Receiver1
    Message:msgData
    StartProcess:Yes
    userCorrelation:correaltion
    ActicvateCorrelations:correlation
    name:'start'
    ContainerOperation Properties:
    StepName:Container Operation1
    Target:msgDataCollect
    Operation:Append
    Expression:msgData
    Transformation Properties:
    StepName:Transformation1
    InterfaceMapping:IM_DATA_MERGE
    Exception:None
    SourceMessage:msgDataCollect
    TargetMessage:msgConsolidated
    Send Properties:
    StepName:Send1
    Mode:Asynchronous
    Message:msgConsolidated
    Acknowledgment:None
    Receiver From : Send Context
    Send Context:None
    Exception:None
    Activate Correaltion:None
    But when I send the message,it's not even starting the workflow, it comes in queue and in XMB_MONI the OutboundStatus is Red, It says Outbound is PE. So I am assuming it is trying to go into Process but not able to. This is just an extension of scenario where everything was working with one receive and one send.
    As I was writing this, just clicked the condition which I am giving in the loop might be wrong. I think it should be != instead of =.
    Thanks,
    Samir

  • Error msg check cartridge

    I own an OfficeJet 7410.  How do I clear the error "Remove and check color cartridge", when the print cartridge is OK?

    Hi, There...... Did you happen to get an answer to your question about the message you were getting about a problem with the "left cartridge"?  I've had the same problem with the "right cartridge" and downloaded another driver.  I really think I screwed up somehow as I can't get incoming faxes to print.  It seems that the black cartridge (on the right) or something about the chamber where it goes that's the problem.
    I have an HP Officejet 4215 all-in-one as well and am using Mac OS X 10.4.11.
    I'll keep looking although I really don't know where to go now.  
    Thanks - Jeanie

  • Check list for BPM

    Plesae share docs, links which would give the information about troubleshhoting for BPM or the check points..

    Hi,
    Check these links,
    Walkthrough with BPM
    Problem with BPM Configuration
    Business Process Monitoring - Error on Monitoring type
    Re: No object type found for this message
    BPE_ADAPTER error on async BPM

  • How can I fix a check paper error on the HP psc 1210 all in one printer?

    Product name/number:  HP PSC 1210 all-in-one
    OS:  Windows 7
    Error Msg:  Check Paper light flashes
    I have verified there are no paper jams, paper is loaded, print cartridges move freely and rollers are clean.  Is there a a paper out switch that can fail?

    Hi there,
    This article should cover the issue you are experiencing. Give the steps outlined a shot and let us know if it helps.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • File - BPM (RFC) - Mail Scenario

    My scenario is File to Mail scenario thru BPM. in BPM I need to make RFC Call. I set ASMA in File sender adapter and File Nmae is not accessible in BPM Mapping. we are PI7.0 SP12. Im sure this is possible but for some reason not working. Any clue ?

    Hi,
    >>So Q1: Im not getting Filename into BPM though I checked ASMA in the Sender File Adapter
    You cannot take the filename (using Dynamic Configuration) in Message Mapping inside BPM transformation step. So I will propose to take it before entering into BPM.
    >>Q2: I need to send attachment name as Dynamic which I should get from the Input Message. we are on PI7.0 SP12.
    Check the blogs in sdn, you will get more idea on this. If I get any I will reply back
    Regards
    Suraj

  • BPM for error handling and acknowledgements

    Hi,
    Can any one tell me how to handle BPM for error handling and acknowledgements in one scenario.
    Please send me the link if you have other wise give me the solution on the same.
    Thanks,
    Nagesh

    Hi !
    Just check out these links This might help you.
    Usually Application Level Acknowledgement is considered during Sync communication. If you are using RFC, you can make use of Sync communication. So you can handle it without bpm, provided your both sender and receiver are sync interfaces.
    To know about Ack-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    you can not dirrectly access the content of the ACK, however the BPM shows different behaviours based on the ACK status. E.g. if the ACK contains a success message the BPM will continue in its normal process, if the ACK contains a permanent error, it will either stop or go through an exception branch (provided such a branch has been defined). Have a look at the documentation: http://help.sap.com/saphelp_nw04/helpdata/en/43/65ce41ae343e2be10000000a1553f6/content.htm It doesnt"t state the above mentioned behaviour in detail but says that you need to define an exception branch.
    The trickiest part is always to find out, when you will get a transient vs. as permanent error ack. If you are using ACKs with Proxies refer also to this link http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm and this http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/content.htm
    <b>The following link has entire configuration of Receiver XI Adapter (including acknowledgements)</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/0a1640a991c742e10000000a1550b0/content.htm
           <b>   eror handling in BPM.  
    </b>
    1. CCMS monitoring
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/42fb24ff-0a01-0010-d48d-ed27a70205a8
    2. BPM Monitoring
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
    3. Monitoring XML Messages http://help.sap.com/saphelp_nw04/helpdata/en/41/b715045ffc11d5b3ea0050da403d6a/frameset.htm
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    monitoring BPm https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
    Reconciliation of Messages in BPM - /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
    Also see the below BPM related links
    check list for BPM https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Many other examples can be found under the following link at help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    And some weblogs
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    Thanks !!!
    Regards
    Abhishek Agrahari
    Questions are welcome here!!
    <b>Also mark helpful answers by rewarding points</b>

  • How to get detail info of application acknowledgement in BPM send step

    Hello
    in BPM we will send an async message to SAP backend system, we need to know if the message is successfully process or not, if not, we need to get the detail info which is returned in the acknowledgement message.
    As you know in PI monitor, you can open the acknowledgement message and you can see the error texts that are sent by the SAP backend system to PI in the acknowledgement message. However seems like there is no standard way in PI BPM to get the error texts inside the acknowledgement. In the send step you can only specify that application ACK is required, if negative ACK comes in, an exception is raised and you can handle the exception in the exception branch. However there is nowhere to capture the acknowledgement message to get the detail error texts.
    Anyone has good idea to get the error texts from the application acknowledgment message inside BPM/
    Thanks

    we need to know if the message is successfully process or not, if not, we need to get the detail info which is returned in
    the acknowledgement message
    One way to have the above requirement done is make the process synchronous (if RFC/ Proxy). The response message should contain the state of processing of the message inside SAP....now in the BPM make a check on the response message to see if it is a success or failure....you can apply logic like is success terminate the BPM without any alert.....if failure raise an alert/ send a mail.
    Regards,
    Abhishek.

  • RFC call From BPM

    Hi,
    I have a  scenario where I need to access a Function Module from BPM for certain business validations. My FM is in XI and I need to invoke that FM from BPM. How can we do that ? I am trying an RFC call but it gives me an error "No identifier defined for the system".
    Pl advise, where am I wrong OR if there is a better way to do that.
    Thanks,
    Sid

    This doesn't look like an issue for BPM.  Please check whether the connection is working fine by testing a call to the RFC in a simple scenario(file to RFC or whatever).
    In BPM all you need to do is a synchronous send step with abstract message type defined for both request and response structures of the FM . And in ID a receiver determination+channel and all for this step.
    Best of luck...

  • Problems with sending IDocs into R/3 using BPM

    Hi Vishnu,
    as I have read the forum, you have experience with sending IDocs into R/3 from XI using the BPM.
    Did you have problem, that this sending takes very long time?
    My BPM splits the xml, sends IDoc into R/3 immediately, but the processing of the 2nd IDoc takes 6-10 minutes!
    Do you have any idea, what could be wrong?
    Thanx 4 answer, Peter

    Vishnu, I was discussing this problem in another thread, but no helpful answer was sent, and I have read, that you have experience, so - just for explanation
    Well,
    yes, this situation is really strange.. New facts are:
    when I send into XI XML, which is splitted in the BPM only into 1 IDoc, it is processed immediately. When I send there XML for 2 IDocs, the first is processed immediately, the 2nd starts immediately, but end of process is after 6-10 minutes, it depends... Then I tried to send there XML for 10 IDocs - and now attention please! 5 of them have been processed almost immediately, 5 of them after 8 minutes...  The last test was with 16 items - 6 processed immediately, 10 after 10 minutes...  And all these 10 minutes was my 4 processor XI box unavailable, with over 60% load... But finally the IDocs arrive!!
    Any explanation???
    This is really unbelievable situation!
    Port name is SAPDEV, rfc destination DEVCLNT100
    Actually, when I was creating the scenarion using the wizard and trying to add my communication channel(IDoc type) to receiver agreement, I got error - communication channel is not configured correctly, use another one. But somewhere I read, that I should create the receiver agreement manually. So I did.
    To my BPM:
    -receive MSG
    -switch (but I'm testing only one branch now) - and the MSG message is always passed here, it's ok
    -then I have transformation to MultiMSG (message with multiple DATA for multiple IDOCS)
    -then comes the split mapping Multi2SingleMSG
    -then ForEach Block with sending the Single MSG
    this is the end of the BPM, and outside the BPM comes the mapping Single2IdocMSG and sending the IDoc into R/3
    before I had the Single2Idoc mapping in the BPM, but thought, that this could be the bottleneck, so moved the mapping after the BPM... It didn't help...
    So, what do you say?
    Peter

  • How to initiate the call JDBC_Sender adapter from BPM?

    Hello,
    I have a periodicall proccess in BPM. After receiving some message in BPM  I check some fileds of the message.If condition is true I need to initiate SQL request to external DB, to receive the message and send it after transformating to SAP.
    How to initiate the call JDBC_Sender adapter from BPM? As I understand I need to use JDBC Sender adapter and once.
    How to construct the correct BPM?
    Thank You

    the message comes into BPM. You check for some conditions and if true use a send step (Sync) that would query into DB table and as a reponse retrieve the related data. After the send sync step have the transformation step and another send step to SAP.
    U would not configure sender jdbc but u wud need to config for recv jdbc. this wuld service the request and in response return the set of data from the table
    Message was edited by:
            Prabhu  S

Maybe you are looking for

  • BEx VBA functions for Excel

    I have a requirement to create a WorkBook from a query that uses a hierarchy. It needs to have a couple of columns that use Excel formulas because there are user input cells that affect the formula. However when I expand or collapse the hierarchy the

  • Use parameter in page field

    Hi - I am adding a parameter to my URL and want to use that parameter value to display in a field in my page. My obfuscated URL is: http://<domain>/pls/apex/f?p=136:1:162234442:::::PARID:34567 I have a field on the page. I tried all different ways to

  • How to quickly and accurately find out the memory leak points?

    Hi, all.I have added a option -XX:+HeapDumpOnOutOfMemoryError in the bootstarp script of my application. The application has been run for one day and the OOM error was thrown again. So I downloaded the hprof file and used MAT to parse it. But after s

  • About installing windows 8 OEI

    Hi, Can I install Win Pro 8.1 x64 Eng Intl 1pk DSP OEI DVD on old PC that was used with another version of windows or only on a new PC?

  • I accidentally left my iphone on charge all night..

    Hey guys! This is my first time asking a question im apple support!! I hope u give me the answers i need So uuuhmmm i accidentally left my iPhone 5S on charge all night long.... How will that affect my phone.. Is it destroyed!? Do i need to take it t