cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in merging two files using BPM

Former Member
0 Kudos
33

Hello Frens,

I am doing a scenario for merging of two files N:1 using BPMu2026

I have to merge two files into one file. The two input files are as below :

File1 : Id, Name, Age, Place

File2 : ID, Street, Adrress

And output File is : ID, Name, Age,place, street, Address

For this scenario I have defined three datatypes , message types and the message interfaces as below :

For File1: Mi_file1_ob, Mi_file1_abs

For File2: Mi_file2_ob, Mi_file2_abs

For output : mi_output_ib, mi_ouput_abs

In interface mapping I have selected two source interface and one targetu2026

For Integration process I have selected two receives as two branches of fork and transformation to collect them and a send..

In IR part I have defined three communication channels sender1, sender2 and a receiver . I have imported the integration from IP and rest is sameu2026

I am facing a problem for getting the outputu2026

When I checked in sxmb_moni everything is fine and sxi_cache and the return code is also 0 but I am not getting the outputu2026

Can anyone help me in finding out the problem..

Thanks in advance...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Have you used Correlation?

Correlation is used when you have multiple recieve steps in the BPM to differentiate each file.

You can put correlation on field ID that is common in both Source structures

have a look at these discussions

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

Former Member
0 Kudos

Hi Mugdha,

I have put correlation on ID field only...Even though i dont need the fied " ID " for my scenario, I have created ID field in both the files for defining correlation...

Former Member
0 Kudos

have you checked your receiver communication channel from RWB?

also have a look at your BPM workflow.

are you getting output message in SXMB_MONI .. to receive file?

Former Member
0 Kudos

Hi mugdha,

Yes I have chekd receiver communication chennel..its correctely configured and it has started...

and in sxmb_moni I didnt get the output mesage

Former Member
0 Kudos

Hi,

According to your explanation everything is working fine.

Used correlation in IP and no error in IP.

Both files are picking in the folder specify in sender file adapter and in both files u specified same ID number.

U can see message in sxmb_moni.

And also receiver communication channel is up and running and u can see audit log in receiver communication channel.

Then please check whether u has valid permissions for receiver folder u specify in receiver file adapter.

If not please contact your network administrator.

Regards,

Pradeep A.

Former Member
0 Kudos

and in sxmb_moni I didnt get the output mesage

If you are not getting output message in MONI then check with BPM workflow. Is it completed till Send step?

In your message entry in MONI, click on PE, you will go to BPM workflow graphical editor

GabrielSagaya
Active Contributor
0 Kudos

Please refer this document-

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb4...

If you want to monitor details of the BPM with technical details or workflow log or messages inside the BPM then either

you can use SXMB_MONI_BPE or you can go from SXMB_MONI->PE->Technical Details

Former Member
0 Kudos

Hi Gabriel,

I did the same but I didnt find any messages there...

Number of entries 0..

aashish_sinha
Active Contributor
0 Kudos

Hi,

Have a look into these blogs and links

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

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

you can design the ccBPM. To know more about Correlation -with e.g

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

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

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi

http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/content.htm

i hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

hi

from t.code SXMB_MONI_BPE

select the appropriate PE acc to u r IP and choose show container

then check with

messages_in

and message_out

from there u can find solution

regards

chandrakanth.k

former_member859847
Active Contributor
0 Kudos

Hi,

Please monitor from sxmb_moni_BPE t.code

try to check the workflow with graphical one.

regards

mahesh.