cancel
Showing results for 
Search instead for 
Did you mean: 

Having Correlation Problem

Former Member
0 Kudos

Hello,

I am looking at blog

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

I have one problem , I am not able to achieve N:1 as given in Logical Flow:

point 5-- Transforms n PO6 Idoc into a single file structure

I send one source file which have File_Type value = TST

I send second source file which have File_Type value = TST

I send third source file which have File_Type value = PRD

I get two result files (One file for TST and One file for PRD).

But the problem is my TST file is not bundling. The result file for TST is showing values only for the first source file and not fot the second source file.

Pls suggest.

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Henry;

Check in your message mapping and interface mapping

The source message type should be 1---- unbound in message mapping

and similarly the message interface for the source message type in interface mapping should be 1----unbound

Mudit

Award points if it helps

prabhu_s2
Active Contributor
0 Kudos

did u check on muitliline container?

Former Member
0 Kudos

Hello,

Yes I ahve done in BPM.

Also my source file and target fiel structure is same

<?xml version="1.0" encoding="UTF-8"?>

<ns0:File_MT1 xmlns:ns0="http://whr/training/group16">

<File_Type>TST</File_Type>

<Name>Rac</Name>

</ns0:File_MT1>

And in message mapping I have used occurence for source and taget structure as 1:1

Regards

prabhu_s2
Active Contributor
0 Kudos

the transformation step for multiline container shud have the target interface as 0..unb in MM and in IM. check on this aswell. also if u are recv only the very first record in ur recv side then u can try to process it inside a block step to send per message to the recv

Former Member
0 Kudos

Hi henry;

In message mapping the source file should have occurance as unbound .

As you have specified it as 1..1 therfore it is only transforming the 1st occurance of the file.

Mudit

Former Member
0 Kudos

Hello,

So both source and target has to be 0.....Unbounded in message and Interface mapping.

Regards

prabhu_s2
Active Contributor
0 Kudos

nope only the target

Former Member
0 Kudos

Hi;

Only the source should be 0---unbound as it is N..1 mapping.

Mudit

Award points if it helps

Former Member
0 Kudos

Hello Prabhu

Can I have your email is so that I can send you my snapshot

Former Member
0 Kudos

Hello Mudit,

Can i have yoyr email is so that I can show my snapshots

prabhu_s2
Active Contributor
0 Kudos

pls find it in my business card

Former Member
0 Kudos

Hi Henry;

Its mehramudits@gmail.com

Mudit

Former Member
0 Kudos

thanks Prabhu and Mudit.

I will send you my screenshot

Regards

Former Member
0 Kudos

Hi Henry;

Points to be checked

1-- See that all the files are getting picked up before the scenario getting executed.

(You can increase the exception time branch in the BPM)

2-- Just for check try replacing the value in the properties window with degree value.

Mudit

Award points if it helps

Former Member
0 Kudos

Hi;

Did you try this out.

Please update if it worked or else we can take the discussion forward.

Mudit

Award point to motivate us to help you further

Former Member
0 Kudos

Hello Mudit,

Since I am using 1 minute time exception , I am able to put 3 files at that time.

Anay my correalation is on Degree

Now as I make my source Interface and Targer Intreface same

File_MT1

Degree

Name

Target Interface

Final_MT

Degree

Name

Now in message mapping and Interface mapping

Source Interface File_MT1 occurance 0....Unbounded

Target Interface Final _MT occurance 1

But still I am not able to bundle message

Regards

Former Member
0 Kudos

did you go and check in sxmb_moni that all the 3 files are getting picked or not??

Mudit

Former Member
0 Kudos

I am sending two files.

?xml version="1.0" encoding="UTF-8"?>

<ns0:File_MT1 xmlns:ns0="http://whr/training/group16">

<Degree>TST</Degree>

<Name>Rac</Name>

</ns0:File_MT1>

?xml version="1.0" encoding="UTF-8"?>

<ns0:File_MT1 xmlns:ns0="http://whr/training/group16">

<Degree>TST</Degree>

<Name>ddd</Name>

</ns0:File_MT1>

I can see both in SXMB_Moni

Former Member
0 Kudos

Hi;

There seems to be no issue .

try changing the corelation --- properties ---value to TST

Mudit

Former Member
0 Kudos

You mean to say that Instead of Interface Variable I should use Constant as TST in both Grapical Editor and Correlation Editor.

And also pls tell me one more thing

If my sourec Interface is like this

File_MT1

Degree

Name

Then My Target Interface can be same like Source Intreface for testing purpose

Regards

Former Member
0 Kudos

Yes dear you are correct try that out .

i have a question here

In your source data type can Degree and Name be multiple ??

because if degree is multiple than it will be a prob as it could contail multiple values .

Target structure should be like

Final_MT

File1 0---unbound

Degree 1..1

Name 1..1

Mudit

Former Member
0 Kudos

Can I send u snapshot of my sxmb_moni.

Then I think so you can get my problem.

Thanks for your time

Regards

Former Member
0 Kudos

Hi henry;

yeah you can send me on my gmail accnt

Award some points too which will motivate me to help further

Mudit

Former Member
0 Kudos

Hello,

I have send you the document and also I ma glad to award you the points.

Appreciate your time

Regards

Former Member
0 Kudos

It seems that both the files are getting picked up seperately by the business process and the correlation is not working .

Did you try to put TST in corelation and changing the deadline branch timeout to 2 mins.

Mudit

Former Member
0 Kudos

yes I think so Correlation is not working.

But i have given steps as given in document for correlation.

Do you have any document for correlation or to collect messages

Regard