cancel
Showing results for 
Search instead for 
Did you mean: 

multimapping issue at NW BPM

venkatanarayana_vagu
Active Participant
0 Kudos

Hi All,

While I am working on simple collect and split pattern under NW BPM (PI 7.31 SP14), I am getting issue at multimapping, when I test with source xml which is take from the test tab, it is failing with the below error at channel monitoring as below

Error: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface

source xml is show as below:

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

But by referring the other forums based on the above error, I removed the above xml from the source xml message and tested it and it was working fine as expected but when I check the result xmls it is not having the actual data, it contains only the xml tags.

Here I attached my multimapping screen shot:

Here is my BPM looks like:

Could you check what is actually went wrong?

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member186851
Active Contributor
0 Kudos

Venkat,

Check whether you have done the input/output mapping in the BPM steps.

You missed the mappings somewhere@ NWBPM steps

Former Member
0 Kudos

is your operation and message mapping in the same namespace

venkatanarayana_vagu
Active Participant
0 Kudos

Hi Raghuram,

I did the required mappings for the inbound and outbound mapping at NW BPM. Below is the pic for the same.

inbound:

outbound:

@ Arvind yes at OM namespace is same:

former_member186851
Active Contributor
0 Kudos

Venkat please check the output step and all the steps for mapping.

faced the same issue with blank data because of missing mapping.

venkatanarayana_vagu
Active Participant
0 Kudos

Hi Raghuraman,

Thanks for the input. Yes it is worked. For the data source I select for out put, I wrongly selected the data types later then I changed the data type and did the required configuration now I am getting the below error at split mapping activity as below:

Description:Mapping failed

java.lang.IllegalStateException: Occurrence violated, container constrained to single mandatory node

com.sap.mapping.lib.execution.api.exception.TExecutionException: Cannot process assignment

at BlockTransformer, SetIntegrator, VoidExpander( BroadPart:assignment )

at http://xxx.xxx/collect:MT_Emp_age( BroadPart:assignment )

at ( NarrowMapping )

former_member186851
Active Contributor
0 Kudos

Hello venkat,

What is the occurence of your artifact?you copied it from data type?

venkatanarayana_vagu
Active Participant
0 Kudos

The occurrence for the mapping out put and the data source are the same, as both having the same data type. But the data type having two messages, I am selecting only one message. Another messages I am not using at all.

former_member186851
Active Contributor
0 Kudos

Venkat Try one last thing,

Instead of importing the split mapping from ESR,use the mapping activity in the NWBPM to split the message.

venkatanarayana_vagu
Active Participant
0 Kudos

Hi All,

Please help me on this, still I am getting the target result with empty tags. When I download the operation mapping into my NW BPM. it is also creating the namespace as,

http://sap.com/xi/XI/SplitAndMerge. But it is not required and noway related to my interface.

Please refer the below screen shot for objects created under NWDS.

Please help me on this multimapping issue at NW BPM

venkatanarayana_vagu
Active Participant
0 Kudos

@ Harish,

I was tested the source xml message with out Message and Message1 tags only,

@ Avinash,

Please find the screen shot of my message mapping and mapping signature as well

@Giridhar,

I tried with the interface pattern change also sam I got the result with empty xml tags.

Below is the source test xml

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

      <ns1:MT_Emp xmlns:ns1="http://xxxxx/collect">

         <Record>

            <Name>venkat</Name>

            <Age>33</Age>

            <DOB>12-02-1989</DOB>

         </Record>

         <Record>

            <Name>krish</Name>

            <Age>29</Age>

            <DOB>19-09-1990</DOB>

         </Record>

         <Record>

            <Name>victor</Name>

            <Age>25</Age>

            <DOB>18-02-1992</DOB>

         </Record>

      </ns1:MT_Emp>

Former Member
0 Kudos

Hi,

You should use conditions based on which message will get splitted into message1 and message2.

Since there is no condition specified hence this error is coming.

Regards,

Souvik

venkatanarayana_vagu
Active Participant
0 Kudos

Hi Souvik,

Sorrry for the late response, there is no condition to split the message into two messages. I am sending the parts of source data to both the target message. Hence no need of condition.

BTW I need only one message at each target side. Hence I kept the Operation mapping signature as 1:1 only. It is successfully showing the result at test tab. But failing after end to end test.

Former Member
0 Kudos

Could you share the screen shot of graphical mapping MM_empcollect?

giridhar_vegi
Participant
0 Kudos

Hi venkat,

Could you please change the interface pattern as stateless xi3.0 compatible for outbound interface and let me know if it is working or not

Thanks

Giridhar

Harish
Active Contributor
0 Kudos

Hi Venkat,

You can not test with Message, Message1 tag in the XML (which is present in multimapping test tab)

Please remove those tag and try to test.

regards,

Harish