cancel
Showing results for 
Search instead for 
Did you mean: 

PROBLEM IN FILE CONTENT CONVERSION

former_member537867
Active Contributor
0 Kudos

Hi Friends,

I had a problem in File content conversion while trying to do a simple scenario :

my source and target structures are:

MARAS_MT MARAT_MT

RECORDSET RECORD

ITEM ITEM

MATNO TMATNO

MATDESC TMATDESC

PLANT TPLANT

STORLOC TSTORLOC

performed msg mapping b/w every field and i'm giving my source file as "Fnam.csv".But each and every time i'm getting a message in mssg monitoring as

"RuntimeException in Message-Mapping transformation: Cannot produce target element /ns:MARATCC_MT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start".

Plz clarify this query good solutions will be rewarded.

Regards,

Vinod.

Accepted Solutions (1)

Accepted Solutions (1)

former_member537867
Active Contributor
0 Kudos

Hi Friends,

I checked my mssg mapping by TEST button

i'm getting a messg like this :

" Cannot produce target element /ns:MARATC_MT.Check xml

instance is valid for source xsd and target-field mapping fullfils requirement of target xsd"

How can i check this ?

Plz try to clarify this.

Rgds,

Vinod.

Former Member
0 Kudos

Hi Vinod,

Check your messasge mapping and the mapping of target root node.This error comes when you have not mapped the target root node. Please it with some constant value.

I think it will solve your problem.

Thnx

Chirag

Former Member
0 Kudos

Vinod,

How you are testing in Test tab. I mean by loading some test file (which you already have) or just by typing the source filed values in source structure in test tab. If you are using a test file, then there could be chance that you might have created this test file and after that you have made some changes in the structure and that is why u are getting this error. Do one thing, test it by giving the values manually in the source fields and then if you get success then save the xml of the source from test tab and use it in you final testing (end to end testing).

Also check if you have not missed to map the nodes of any source to target.

Regards,

Sarvesh

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Vinod,

Since FCC is case Sensitive therefore Check in FCC if you are using the exact case.

Regards,

Sarvesh

former_member537867
Active Contributor
0 Kudos

Yes all the feilds of both source and target are of STRING type.

Regards,

Vinod.

agasthuri_doss
Active Contributor
0 Kudos

Hi Vinod,

Can you Check whethere Message Mapping is correct by ( F7 Button ) and also test by F8 Button.

Regards

Agasthuri Doss

former_member537867
Active Contributor
0 Kudos

Hi Agasthuri,

I passed all mandatory fields in my .csv file like this

"12,xyz,abc, dft". But still i'm getting same mssg.

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Is all the Data type are String

MARAS_MT MARAT_MT

RECORDSET RECORD

ITEM ITEM

MATNO TMATNO

MATDESC TMATDESC

PLANT TPLANT

STORLOC TSTORLOC

Regards

Agasthuri Doss

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Check whether all the Mandatory fields are passed values.

Regards

Agasthuri Doss