cancel
Showing results for 
Search instead for 
Did you mean: 

Flat File vs JMS from legacy to SAP

former_member187447
Participant
0 Kudos

hi

Using SAP PI 7.31 and looking for better options to integrate legacy to SAP. Just wondering which is a better option to go, to create a csv  flat files  and map it to idoc or pub/sub model where the legacy will be the publisher and PI will be the subscriber and then map the message to IDOC eventually. Please give some suggestions.

Accepted Solutions (1)

Accepted Solutions (1)

smavachee
Active Contributor
0 Kudos

Its entirely depend on your Legacy ? system.!

If your Legacy system is like IBM MQ Series, you can opt for JMS Adapter. or else you can go ahead with File Adapter as it supports csv, xml, and text files..

Mapping wont be issue, whether you are using JMS Adapter or File Adapter.

Hope it helps.!

Regards,

Sunil

Answers (5)

Answers (5)

former_member187447
Participant
0 Kudos

so if the message size is huge or if the volume of the messages is large does it matter which messaging i use, provided there is option for both available with legacy ?

nabendu_sen
Active Contributor
0 Kudos

Better to go for JMS if message size is more than 5 MB.

Regards,

Nabendu.

former_member187447
Participant
0 Kudos

looks like JMS is a better option if the legacy system supports, thanks guys.

nabendu_sen
Active Contributor
0 Kudos

Hi Kalyan,

As mentioned by Baskar, this is the call of Legacy team. They have to create the infrastructure to support any type of communication. So talk to them and then decide. Also consider Size of the message, message count in a specific time interval, error handling etc.

Regards,

Nabendu.

former_member187447
Participant
0 Kudos

Nabendu, So does it matter if the size of the message and also the volume of the messages?

nabendu_sen
Active Contributor
0 Kudos

Yes Kalyan,

If they have not decided yet the communication protocol, it is always better if you ask them to consider these parameters before going to make final. JMS has 2 powerful advantages:

* JMS specification supports messaging models: Point-to-Point and Publish/Subscribe.

* JMS provides a reliable and loosely coupled architecture for messaging.

Regards,

Nabendu.

ambrish_mishra
Active Contributor
0 Kudos

Hi Kalyan,

Depends on what legacy system supports. PI has both JMS and file adapters available. Mapping to an IDoc is customary.

Ambrish

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Please talk to legacy system and see what they are going to support.  Then you can decide about choosing adapter.  If you prefere file adapter and content conversion you have to do configuration for the csv file in the adapter that is extra step, whereas if you use JMS you create the sender structure as normal. That is the only difference. Both the adapters does the same.