cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI Split Mapping Avoid error

Former Member
0 Kudos

Hello experts,

I have a message split mapping and my problem is that if no target messages are created i get the error Split mapping created no messages.

In my scenario there is possibility that no messages are created . so is there a way to avoid error message without using BPM or a dummy message ?


Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Unfortunately as far as I know, PI will complaint if your Mapping does not generate any message with the error described.

What I do in such cases if we know there could be no messages generated is use a Enhanced Receiver Determination ( or the normal Receiver Determination if XPATH based conditions can be used ) to identify if the source will generate the message or not. If no receiver is set, then in the Receiver Determination we set the condition to ignore message and terminate as successful if no receivers found..

Regards,

Bhavesh

Answers (3)

Answers (3)

former_member194786
Active Contributor
0 Kudos

Hi Ioannis,

You will need to make the receiver interface signature to make it optional in the multi-mapping and then use logic to create it only when required.

Regards,

Sanjeev.

former_member191435
Contributor
0 Kudos

For root nodes use if and else condition

Put your split condition for if and for else use constant as blank.....

Thanks,

Sreenivasa Veldanda

former_member186851
Active Contributor
0 Kudos

Hello Loannis,

Map the root node with the below condition and check

Source--------->Map with Default------------>Target.

                               []

This will create a empty target node even if the source doesn;t have one.