cancel
Showing results for 
Search instead for 
Did you mean: 

Message Spliting Problem

Former Member
0 Kudos

This is the follwoing source & target structures and i am using message split.

Source Structure is as fallows :

IDOC

Segment1 (1..Unbounded)

Field1

Field2

Segment_A (1..Unbounded)

Field3

Field4

Segment_B(0..Unbounded)

Field5

Field6

-


Filed 10

Segment_n(0..Unbunded)

Field11

-


Filed n

Target Structure is as fallows :

Record Set (0..Unbounded)

F1

F2

F3

--

--

Fn

We have to create a file per site.

In source structure Segment1 would present multiple times.Idoc would contain multiple sites data.The site value hold by Field6.If the idoc contains 3diffrent sites values then we have to generate 3 files.If the idoc contains same site data in diffrent occurences we have to collect the data from same site specific occurences and generate a file.

Suppose an idoc contain Segment1 for 3 times, The site values are AAA,BBB,CCC.Then we have to create 3 Files.

If the site values are like AAA,BBB,AAA then we have to create 2 files only.We have to combine the data for Site AAA and write a one file for Site AAA & one file for Site BBB.

Could any one give the suggestion on this regarding:)

All helpful answers should rewarded with points.

Cheers

Tiger Woods

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Maybe try something like that:

IDOC->XI=>XI=>File

It is loopback in XI.

first step:

IDOC->XI=>XI

make a split from idoc to xi adapter (it points to XI)

second step

configure receiver determination base on some condition (e.g. plant numbe)

You can also use BPM but in this case you have to take ionto account performance problems.

P.S.

Please check if it's possible to make a split using XI protocol.

Regards,

Wojciech

Message was edited by:

Wojciech Gasiorowski

Former Member
0 Kudos

If it is the case that the sites are known then you canhave multiple out put messages which are 0 to 1 so if the site exists then it maps that message and if not then nothing is mapped. So you creat X message types, X message interfaces and in the mapping program you simply all the message types and map based on rules....

Then in the Receiver Detemination under the Interface section you can specify more that one interface. So the same Business System can receive multiple messages

Let me know if this helps or you need more clarification.

Former Member
0 Kudos

Can you tell me if you know the values for Field6... As in are they recognised or are they completely random.

Former Member
0 Kudos

Hi Sridhar,

Thanx for your inputs,But in the sceanrio the reciever system is one,we have to create file per site as per the data content in IDOC.Any inputs

Cheers

Tiger Woods

sridharreddy_kondam
Active Contributor
0 Kudos

Hi ,

My suggestion is use condition editor in receiver determination and the u can send to approriate receivers based on condition ...

and also check this links

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

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

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Regards,

sridhar