cancel
Showing results for 
Search instead for 
Did you mean: 

removing a correlation?

Former Member
0 Kudos

All,

Newbie here. we have this following requirement - there is a sender system that is sending a multiple IDocs to XI. The XI (ccBPM) needs to collect all these IDocs - group these IDocs by a particular attribute on the IDoc - and write the output to a single file.

(the IDocs will be coming in different order, the XI process needs to kind of sort based on that attribute before writing it into the text output file)

we were thinking of using the collect pattern - so that the IDocs can be collected based on that attribute in separate instances - but are not sure - how to remove the correlation -so that we can write all the ccBPM instances into a single output file?

how can we resolve this? or is there a better way?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

There was no straight forward way - so we decided to have multiple files and concatenate at the very end.

Thanks.

Former Member
0 Kudos

Hi,

just use collectPattern....specify your correlation condition to collect the IDOCs... then in msg mapping in input you will have your different idocs which you will map to a single target output..........this msg mapping you will call in BPM in transformation step......then you will get your desired output file.......so there is no need to remove correlation.......

Thanks,

Rajeev Gupta

Former Member
0 Kudos

If we specify, the same output file - wont it be overwritten? Even if it is not - will it cause any simulataneous access issues between the different instances of the ccBPM (i mean the correlation instances)?

Thanks.

Former Member
0 Kudos

Hi,

See the above link which is similar issue in blog..

Regards

Chilla

Former Member
0 Kudos

Hi,

see in ID, you will have a recever file adapter for your output file...if in the file adapter you will say to create a file with filename adding a timestamp with it....when your scenarios will be executed in ccBPM, every BPM will create a unique output file as the time at which the file will be created will be different in their creation timestamps so they will have different filenames with timestamps in it.......

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Chilla - I saw the above link - but that scenario is different in the sense that we know beforehand how many types of IDoc we are going to get - here in our case - it is a dynamic number based on a particular value inside the IDoc.

Rajeev - If we put the time stamp option - we'd ending up with more than 1 output files. our requirement is for a single output file.

Wish there was a sort or group operation in the container in ccBPM.

Thanks.

henrique_pinto
Active Contributor
0 Kudos

> Wish there was a sort or group operation in the

> container in ccBPM.

>

> Thanks.

You mean... append to multine? 😛

Regards,

Henrique.

Former Member
0 Kudos

Hi,

see the below links

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File

/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File

Idoc - Multiple - interfaces -

Multiple Idocs

Idocs are missing in receiver side

Regards

Chilla

<i>reward points if it ishelpful..</i>