cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Exception in Message mapping

Former Member
0 Kudos

Hi Experts,

PO caught Runtime Exception in Message-Mapping transformation as it

cannot produce target element because of the missing field IDoc material class (MATKL) in the segment E1EDP01.

and when I checked the PO in R/3, it got the field with value (but not going to IDoc) and on clicking the Messages it shows Outtype ZALE ( PO for ALE) with status No communication data has been defined for transmission medium A.

Is this the cause of error?

Please suggest on how to rectify this issue.

Thanks in advance,

MK

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

This problem basically occurs when

1) The Size of element (no of characters that it hold exceeds)

2) If the value coming from source side does not match the type of data (data type ...that can be string or number)

3) You don't have enough permissions to post the data in SAP R/3 system

4) the material number is primary key and the value for it already exist in the SAP R/3 database.

before going to that check out by hard coding some junk value to the field and try out if you succeed I am sure the problem lies in the above mentioned cases.

Former Member
0 Kudos

Hi,

Can you please let us know abt the scenario and the error where you are getting

Regards

Seshagiri

Former Member
0 Kudos

Hi Seshagiri,

It is a IDoc to third party adapter (cXML) scenario.

when i checked the message in SXMB_MONI,( technical details) It caught Runtime exception, as it could not able to create a element in the target cXML because of the missing field MATKL(IDoc material class) in IDoc ORDERS05.

I have checked the PO, it exists there as Material group

Please suggest on how to troubleshoot.

Thank you.

Former Member
0 Kudos

Hi,

Do thiese cross checks

1) take the payload of the inbound message from moni and test it in the mapping of test tab

2) make sure that u have mapped that field in mapping

3) are you passing the propper value for that field??

And also check that the particular field exists in the IDOC after import into IR of XIin Imported objects list??

Regards

Seshagiri

Edited by: N V Seshagiri on Mar 26, 2008 6:16 AM

Former Member
0 Kudos

Hi seshsagiri,

I did that, it shows the same error message.

the actual problem the field MATKL is missing in the IDoc but exists in the PO.

How can I troubleshoot to know why it is missing in the IDoc.

Yes the field exists in the imported IDoc in IR and also i have properly mapped to target element.

Thank you,

MK

Edited by: mk.xi on Mar 26, 2008 4:19 PM

Former Member
0 Kudos

Hi,

You can check that there may be 1 error while importing the iDOC into IR. you may imported the idoc with error message and that msg you may not observed .

and delete the metadata in idx2 and re create it.

do sxi_cache

Regards

Seshagiri

Former Member
0 Kudos

But seshagiri we have other POs that went successfull, it is the only that caught error.

if we had a error while importing the IDoc, then all the POs would have caught the same error......right.

Please suggest further to resolve it.

Thank you,

MK

Former Member
0 Kudos

Hi,

Check that whether it is mandatory field in the target side

make sure that you are passing the correct input from the SAP R/3 side

Regards

Seshagiri

Former Member
0 Kudos

Thanks Seshsagiri,

The target element is mandatory.

and i have passed the right value with the PO.

but couldn't able to find what causing the issue.

Former Member
0 Kudos

Hi Mk,

These are only the ways to cross check abt the error.

Iam sure abt that the problem witht the passing value to the target field.

Try to execute the mapping from TEST tab of mapping by providing the sample values other than the idoc values

Regards

Seshagiri

Former Member
0 Kudos

Hi Seshagiri,

I have tested in the test tab, it goes fine if the field is given any value.

Issue should be on the R/3 side, as i checked the IDoc with missing field at WE02.

Please suggest on how to progess this.

Former Member
0 Kudos

Hi,

It means if you pass the correct value from R/3 side to that field means the mapping goes well.

So after you trigger the IDOC ,in We02 that field is missing in the segments itself ???

is there any exits you used or is it is custom one??

Regards

Seshagiri

Former Member
0 Kudos

Hi

when u test ur message mapping in the Test Tab please check whether that filed is being generteed in the target side with proper value.

Thanks

Rinku

Former Member
0 Kudos

Hi Seshagiri,

I mean to say that if you mention the field with any value in the source structure at Mapping test in IR, it goes fine.

but the issue is the IDoc generated at R/3, doesn't have the field MAKTL.

Please help to resolve it.

Thank you.

Former Member
0 Kudos

Hi,

Then make sure that to pass that value from R/3 side when you trigger the idoc

Regards

Seshagiri

Former Member
0 Kudos

Please suggest on why the field MATKL is missing in IDoc ORDERS05, as it exists in the PO.

Thank you.