cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple messages in to One Single Flat File

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Friends,

I am working on one scenario between JMS to File Adapter,MQSTR messages genarated in MQ,suppose if 10 Messages genarated i have to collect all messages and place it in FTP sever as a single message.based on batch number i have to colect message,please give me approporiate solution how to achieve this,

I decided to use BPM to collect messages,but how to bundle colected MQSTR messages in to single Flat file.please provide useful links if available.

the interface would require the receipt of multiple MQSTR messages and the generation of a single flat file once all messages for a particular batch of messages had been successfully processed. The read messages are in order and one after the other.

Regards,

raj

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

> I decided to use BPM to collect messages,but how to bundle colected MQSTR messages in to single Flat file.please provide useful links if available.

> Regards,

> raj

collect pattern is the correct way to go. A transformation step after the loop where you collect the message will do the N:1 Mapping

http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm

Also ref:

SWCV: SAP Basis ® SAP Basis 6.40, namespace http://sap.com/xi/XI/System/Patterns in IR for the demos already developed

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

thanks