on 01-13-2011 5:19 PM
Hi All,
We have a requirement to collect multiple IDOCs based on combination of field1,field2,field3 and field4.
Could you please tel me possible ways to implement this solution:
I have tried the below options:
Multiple fields in one correlation
Correlation name is given and then in Correlation editor,we have given all four fields in correlation container and 1 involved message and properties are given for all fields
Using this solution.IDOCSa re not collected even if all the IDOCs coming with same value for (field1field2field3+field4)
for example even if combination of (field1field2field3+field4) is same still its not collecting and sending each IDOC sepearately outside BPM.
Could you please suggest where the problem is?
Please suggest if there is any other way to implement this in BPM.
Thanks in advance
Best Regards,
Harleen Kaur Chadha
Hi Harleen Kaur Chadha,
Open your Integration Process (ccBPM), go menu bar u201CViewu201D, select u201CCorrelation Editoru201D. Then you can see the Correlation variables you have declared. Go the third tab u201CPropertiesu201D, and then try to edit u201CValueu201D. Expression Editor window pops up, select u201CInterface Variableu201D, then select XPath. Now edit u201CXPath Expressionu201D. Pay attention to Prefix u201Cp1u201D, it should be present in XPath expression. Check SAP help [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm]
Regards,
Raghu_Vamsee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harleen Kaur Chadha,
Please click on link3 (above) and check second screenshot. Similarly, you have to edit "XPath Expression" in correlation.
Regards,
Raghu_Vamsee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harleen Kaur Chadha,
I understand your requirement is to collect all IDOCu2019s, which have the save value for field1 + field2 + field3 +field4. I assume, collection is for certain time i.e., 5 min, 10 min.
You have to use ccBPM, BpmPatternCollectTime from SAP BASIS (http://sap.com/xi/XI/System/Patterns) with some modifications. As far as I know, it can be done by just changing the XPath in correlation expression. Change correlation to, something like this:
concat(/p1:BpmPatternCollectMessageToBeCollected/ID/field1,
/p1:BpmPatternCollectMessageToBeCollected/ID/field2,
/p1:BpmPatternCollectMessageToBeCollected/ID/field3,
/p1:BpmPatternCollectMessageToBeCollected/ID/field4)
SAP help [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm] [Link2|http://help.sap.com/saphelp_nwpi711/helpdata/en/6d/94364296f1b26be10000000a155106/frameset.htm] . XPath blogs [Link3|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3774] [original link is broken] [original link is broken] [original link is broken]; [Link4|/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping ]
Regards,
Raghu_Vamsee
Edited by: Raghu Vamsee on Jan 13, 2011 3:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.