on 11-28-2006 8:21 AM
Hi all,
I trying to merge some strings to a one long string in BPM
how I do it?
thanks,
shelly
Message was edited by:
shelly billu
I trying to wait for a specific message payload which mark it as the last message and I merge than..the loop stop working when the specific message come but it not merge all the massages to massage with a long string.
I can see in the SXMB_MONI that all the massages are taken but not to a one message.
shelly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In this interface I get 2-20 massage every time
I don't know how many every time, it variable.
shelly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If u want combine XML messages, use container operation (append) in BPM.
Regards,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I want to combine some massages in BPM to a one massage.
example:
<u><b>i have:</b></u>
1.<?xml version="1.0" encoding="UTF-8"?>
<ns0:STR_MT xmlns:ns0="com:Poalim_Test">
<StringIn>shelly</StringIn>
</ns0:STR_MT>
2.<?xml version="1.0" encoding="UTF-8"?>
<ns0:STR_MT xmlns:ns0="com:Poalim_Test">
<StringIn>billu</StringIn>
</ns0:STR_MT>
<u><b>and i want to get</b></u>
<?xml version="1.0" encoding="UTF-8"?>
<ns0:STR_MT xmlns:ns0="com:Poalim_Test">
<StringIn>shellybillu</StringIn>
</ns0:STR_MT>
Hi,
you have to use a Message mapping in an Transformation Step.
than you can do that.
Collect the Messages in a Multi Row Container. And the Transformatin form the Multirow to a singlerow.
http://help.sap.com/saphelp_nw04s/helpdata/en/42/f3ca2529491bc7e10000000a11466f/content.htm
Regards,
Robin
Hi,
The combining of messages will be possible using an Advanced User Defined Function.
In your advanced user defined function select CACHEand then give "Stringln" as the Input parameter.
Code,
String concatString="";
for(int i=0;i Stringln.length;i++){
concatString=concatString+Stringln<i>;
}
return concatString
ofcourse, thsi would be in the mapping aftter you have collect your N messages and need to combin them into a single message.
Regards,
Bhavesh
Hi,
what do you mean?
you can use message mapping to concatenate strings for example
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.