cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multi mapping with mutiple mappingsteps?

Former Member
0 Likes
3,984

Hi PI experts.

Using PI 7.4 Java only and trying to make a mutimapping splitting an incoming message into mutiple messages using the following guide.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/600b455f-01cd-2b10-0cab-a50e47a8f...

My operation mapping is as the picture showes.

When I do the mappings 1...1 then the mappings work.

One message in and out I get one correct message.

I tried to change the second mapping to 0...unbounded.

The mapping adds the Message and Message1 segments.

When i test the Operation Mapping after i activated it the Operation mapping only produces the two message segments and nothing else.

I then tried to change the first mapping to 0...unbounded. When I test the operation mapping now I have to add the Message and Message 1 segments and it works.

I then tried to process a file with my FTP adapter and ofcourse the mapping failed.

Do I have to add the Messaeg and Message1 segment in my content conversion?

How is this done because when I change the document name in the conten conversion the conversion fails.

Is this the correct way to make a split of messages in PI 7.4 Java obly or can I use the interface split functionality in the integration Flow in NWDS?

What shall I try next to make any progress?

Thanks for all the help I can get.

Andreas

View Entire Topic
Former Member
0 Likes

Is it possible that I have the problem because we are running a Java only system?

This would creat Integration Flows that uses Integrated Configurations and not the ordinary Receiver Determinations.

Could this be the problem and what would the solution be then?

//Andreas

Harish
Active Contributor
0 Likes

This problem is not because of java only stack, but it is because your operation mapping. your operation mapping occurance of target interface is 1:1 which is not correct. Please change the occurance of target interface to 0:n as per message map and reactivate operation map and ICO.

Former Member
0 Likes

Made som progress.

A norty little mapping had made it into my mapping.

Somehow I managed to mapp the Message tag in the first mapping and therefor the mapping failed.

But now I face a new problem.

This is the message that my mappings produce at the moment.

According to the blog I'm following the target message mapping should be 1...n

The operation target occurense should be 1...1.

Harish
Active Contributor
0 Likes

Hi,

Are you working in PI7.1 or lower version? The document is only applicable for PI7.1 or lower version.

so in ideal case mapping and operation mapping should have same occurance.

Former Member
0 Likes

Working on 7.4.

How would the split work if I have same occurrence?

//Andreas

Harish
Active Contributor
0 Likes

Hi Andreas,

you define the occurance in message map that you can have 0 or n number of target messages after mapping, then operation mapping should able to genrate 0 or n number target message at run time. for that you need to define 0..n occurence in operation mapping. and you configuration should also reflect this. for that you just need to activate the operation map with 0..n occurance and edit the ICO, select the operation map again and activate.

The interface should work after this changes.

regards,

Harish

Former Member
0 Likes

Hello.

I remember that there is a bug which results into mapping error in case of multimapping - In fact there is a SAP note released for that.

What's the SP of ur PI  version?

Thanks

Amit Srivastava

Former Member
0 Likes

I'm not at the office now.

will check the SP version tomorrow.

//Andrea

Former Member
0 Likes

Everywhere I can see the version it says 7.40 so I would say we have no SP loaded on the system

Is teher even an SP for 7.4 out so far?

//Andreas

Former Member
0 Likes

hello,

Open http://host:port/dir/start/index.jsp

then go to Administration and there u will see ur SP number (just below Software build information)

NW731EXT_09_REL
09

jdk16

Former Member
0 Likes

Here is what I see in administration window.