cancel
Showing results for 
Search instead for 
Did you mean: 

Split File to MQ Messages

Former Member
0 Kudos

Hi

My scenario is FILE -> XI -> MQ

I have flat file

I want to split every line of it to seperate MQ message

have any1 did it already? I must convert it to xml?

any relvant weblogs/threads will be usfull

thx,Shai

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Shai,

in IR have a look under SAPBASIS SWC.

There is a good example for the message split.

Regards Mario

Former Member
0 Kudos

SAPBASIS SWC?

can u send link?

I dont want to convert my message to xml

Former Member
0 Kudos

Hi Shai,

this is no link.

Go to your Integration Repository.

There must be a SoftwareComponent SAPBASIS.

In this SWC there is a pattern (within a BPM process) messageSplit

Regards Mario

udo_martens
Active Contributor
0 Kudos

Hi Shai,

no, the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm">file adapter</a> will do the converting task. You just configure a message split like in <a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible">Multi-Mapping without BPM - Yes, it’s possible!</a>.

Regards,

Udo

Former Member
0 Kudos

i need to convert to flat file to xml and then the mq message back to flat

any way to do it without doing those conversions?

udo_martens
Active Contributor
0 Kudos

Hi Shai,

If you use any XI adapter your message will be converted to XML. The file adapter is working only asynchronous, so you cannot have a response.

Regards,

Udo

Former Member
0 Kudos

u can send the whole file as a mq message without converting it to xml

( no mapping )

former_member206604
Active Contributor
0 Kudos

Hi,

You can use Multi Mapping

In the message mapping goto Message Tab change the occurance of the target message to 1..Unbounded. Then do the mapping.

While doing the interface mapping change the occurance of the target interface to 1..unbounded.

In configuration do enhanced Intergace determination. This is produce N message.

During mapping assign the "row" node which is occuring n times to the message type of the target.

Thanks,

Prakash