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

Mapping Exceptions

vrgembali1979
Participant
0 Likes
902

HI Experts,

   In my message mapping , I am getting payload like country and validation . If validation fails, I can't create Mapping at all . Presently, mapping created as error .

This leads misleading count. Can we ignore mapping if validation fails in mapping .

Thanks for your understanding.

Deva

Accepted Solutions (0)

Answers (2)

Answers (2)

praveen_sutra
Active Contributor
0 Likes

Hi Deva,

Could you please give some screenshot of your input message.

Its not very clear with the description you have given..

thanks and regards,

Praveen T

vrgembali1979
Participant
0 Likes

Hi Experts,

As per attachment, if validation fails, I can't create any mapping failure (simply ignore message). Means IDOC can't be created . Now exception error in Monitoring . How can we ignore message.

markangelo_dihiansan
Active Contributor
0 Likes

Hi Deva,

In your screenshot, the Idoc occurrence is 1..unbounded. You need to change this to 0..unbounded to allow suppressed values.

Regards,

Mark

vrgembali1979
Participant
0 Likes

HI Mark,

Still mapping error creating .

vrgembali1979
Participant
0 Likes

Hi Experts,

    Can we ignore mapping in ID ? If article/material code =  MP* , need to ignore message mapping .

Presently error creating in Mapping.

markangelo_dihiansan
Active Contributor
0 Likes

Hi Deva,

I think I got what you mean, you need to use enhanced receiver determination so that the message will never reach interface determination if the validation fails.

Regards,

Mark

Former Member
0 Likes

Hi Deva,

Adding to Mark suggestion you still receive no receiver determination found error in sxi_monitor, if you want to ignore that one also you can ignore the message if no receiver found like below.

Regards,

Praveen.

vrgembali1979
Participant
0 Likes

HI Praveen,

   I understood here. here I have one problem, I am splitting same message into two different Mapping but receiver same. If I put indicator there , it will stop both message mapping . One mapping should go as usual and other having condition.

If I put condition for all materials to check validation, how to write logic ?

Material  Not equal MP* then ignore messages . I tried but still not working .

Can I choose "multiple" in condition editor ?

Former Member
0 Likes

>>>   I understood here. here I have one problem, I am splitting same message into two different Mapping but receiver same. If I put indicator there , it will stop both message mapping . One mapping should go as usual and other having condition.

Define the same condition under interface determination instead of receiver determination.

For first interface, have this condition

Second interface without any condition

>>>If I put condition for all materials to check validation, how to write logic ?Can I choose "multiple" in condition editor ?

try something like below

/p1:MT_Billing/BillingHeader/Material[not(starts-with(.,"MT"))] EX (change the path as per your structure)


Xpath Condition in Receiver Determination - Process Integration - SCN Wiki

RaghuVamseedhar
Active Contributor
0 Likes

Deva,

You can create two Operational Mapping (one can be multimap and one can be simple map) and execute one of them with Xpath condition.

Former Member
0 Likes

Hi,

Yes, you should be able to. Havent done it myself. Use multi mapping(Just google it) and add the condition on the top element. If it doesnt exist then dont create.

So your mapping will look like this Source 1-1 and your target will be 0-1.

Regards,

Jannus Botha