cancel
Showing results for 
Search instead for 
Did you mean: 

Merging two files using BPM

Former Member
0 Kudos

Hello frens,

I have to do a scenario which will merge to files into one file using BPM....

Means for example :

File 1 contains these fields:

First Name

Last Name

File 2 :

First Name

Last Name

The output File which I required is :

First Name

Last Name

First Name

Last Name

Can anyone send me the step by step procedure fr this scenario?

Thanks in advance

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Swetha,

Define the data type for Filename 1 & Filename 2 & Output file.

Define the message types based upon the datatypes

3)Define the message Interfaces for Filename1

File1_ob_mi

File1_abs_mi

4) Define the Message Interfaces for Filename2 & Output file

File2_ob_mi

File2_abs_mi

Out_ib_mi

Out_abs_mi

5) Create the message Mapping

Msgmerge_mm

6)In the message tab define two message types for sender side & target side define target message type

7) go to design tab, Map the fields & save the mapping

😎 Create the Interface Mapping

Msgmerge_IM

9) Select the Source Interface

File1_abs_mi

10) Select the one more Source Interface

File2_abs_mi

11)Select the target Interface

Out_abs_mi

12) Go to read Interface

13)select message merge mapping

14) create the Integration Process

Msgmerg_Ip

15) Select the Receive1 & Select the Receive 2

16) select the transformation Step

17) select the one send step

Former Member
0 Kudos

HI go through these links,

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm

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

Many other examples can be found under the following link at help.sap.com

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

And some weblogs

https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****

/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm

/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****

/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement

Also have a look at these seminars,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37be...

go through these links,

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm

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

Many other examples can be found under the following link at help.sap.com

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

And some weblogs

https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****

/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm

/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****

/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement

Also have a look at these seminars,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37be...

go through these links,

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm

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

Many other examples can be found under the following link at help.sap.com

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

And some weblogs

https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****

/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm

/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****

/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement

Also have a look at these seminars,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37be...

Note: reward points if solution found helpfull

Regards

Chandrakanth.k

Former Member
0 Kudos

You have to use BPM for this requirement with N:1 mapping.

Follow these steps :

a)Do the Message mapping and interface mapping with 2 source messages and 1 target msg.

BPM flow :

1)Fork with 2 receive steps(you have to make correlation b/w 2 receive steps)

2)Transformation (call the N:1 interface mapping here which you is implemented in (a))

3)Send (asynch....send the o/p to the target)

Do the necessary config....

Let me know if you need any further info.....

Former Member
0 Kudos

hi

check this blog

/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi

regards

krishna

vijay_b4
Active Contributor
0 Kudos

Hi Shwwtha,

You would need a BPM with correlation and multiple receive steps inside a FORK.

BPM.

FORK with "2" branches to receive the 2 files. Each fork will contain a RECEIVE STEP with correlation.

Then you will have 2:1 mapping where you will cominbe the 2 files into single file and send step to send the data to the target file.

http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm

Reward points if this helps

Regards

Vani.