on 04-24-2008 1:08 PM
Hi,
I want to send Materials as Idoc MATMAS05 from ECC to MDM 5.5 SP05 via XI.
I have set the Import Port to "Manual".
The XML Message from XI correctly arrived in the ...\Ready Folder and I connected to the XML file with the Import Manager and imported the Import Map MATMAS05 delivered from SAP.
The thing is, that when I open the Import Map MATMAS05 delivered from SAP I get the Error Message "The map cannot be loaded because table 'E1MARAM! is not a source.
Any of you have a clue why this happends?
Thanks!!
BR,
Mircea
Hi,
I got the exact cause of your problem.When you are opening the Standard map MATMAS05 it searches for the E1MARAM segment which is not present in the source when you import the XML but it exists in the XML file.
Now use the file below for importing
<?xml version="1.0" encoding="UTF-8"?>
<MATMAS05>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1"/>
<E1MARAM SEGMENT="1">
<MSGFN>005</MSGFN>
<MATNR>886_ZT8_224</MATNR>
<ERSDA>20080424</ERSDA>
<ERNAM>XICO_MDM_AST</ERNAM>
<LAEDA>20080424</LAEDA>
<AENAM>PRECU01</AENAM>
<PSTAT>EVK</PSTAT>
<MTART>FGTR</MTART>
<MBRSH>1</MBRSH>
<MATKL>01</MATKL>
<MEINS>PCE</MEINS>
<BLANZ>000</BLANZ>
<BRGEW>92.000</BRGEW>
<NTGEW>50.000</NTGEW>
<GEWEI>GRM</GEWEI>
<VOLUM>0.781</VOLUM>
<VOLEH>DMQ</VOLEH>
<WESCH>0.000</WESCH>
<EAN11>4029973691004</EAN11>
<NUMTP>HE</NUMTP>
<LAENG>66.000</LAENG>
<BREIT>160.000</BREIT>
<HOEHE>74.000</HOEHE>
<MEABM>MMT</MEABM>
<ERGEW>0.000</ERGEW>
<ERVOL>0.000</ERVOL>
<GEWTO>0.0</GEWTO>
<VOLTO>0.0</VOLTO>
<FUELG>0</FUELG>
<STFAK>0</STFAK>
<MHDRZ>0</MHDRZ>
<MHDHB>0</MHDHB>
<MHDLP>0</MHDLP>
<VPSTA>EVK</VPSTA>
<MSTDE>00000000</MSTDE>
<MSTDV>00000000</MSTDV>
<COMPL>00</COMPL>
<GEWTO_NEW>0.0</GEWTO_NEW>
<VOLTO_NEW>0.0</VOLTO_NEW>
<E1MAKTM SEGMENT="1">
<MSGFN>005</MSGFN>
<SPRAS>D</SPRAS>
<MAKTX>TRANSFAIR TEEMISCHUNG 50G FS 25X2G 224_M</MAKTX>
<SPRAS_ISO>DE</SPRAS_ISO>
</E1MAKTM>
<E1MARMM SEGMENT="1">
<MSGFN>005</MSGFN>
<MEINH>CT</MEINH>
<UMREZ>12</UMREZ>
<UMREN>1</UMREN>
<EAN11>4029973691028</EAN11>
<NUMTP>HE</NUMTP>
<LAENG>402.000</LAENG>
<BREIT>166.000</BREIT>
<HOEHE>154.000</HOEHE>
<MEABM>MMT</MEABM>
<VOLUM>10.277</VOLUM>
<VOLEH>DMQ</VOLEH>
<BRGEW>1247.000</BRGEW>
<GEWEI>GRM</GEWEI>
<E1MEANM SEGMENT="1">
<MSGFN>005</MSGFN>
<MEINH>CT</MEINH>
<LFNUM>00001</LFNUM>
<EAN11>4029973691028</EAN11>
<EANTP>HE</EANTP>
<HPEAN>X</HPEAN>
</E1MEANM>
</E1MARMM>
<E1MARMM SEGMENT="1">
<MSGFN>005</MSGFN>
<MEINH>PCE</MEINH>
<UMREZ>1</UMREZ>
<UMREN>1</UMREN>
<EAN11>4029973691004</EAN11>
<NUMTP>HE</NUMTP>
<LAENG>66.000</LAENG>
<BREIT>160.000</BREIT>
<HOEHE>74.000</HOEHE>
<MEABM>MMT</MEABM>
<VOLUM>0.781</VOLUM>
<VOLEH>DMQ</VOLEH>
<BRGEW>92.000</BRGEW>
<GEWEI>GRM</GEWEI>
<E1MEANM SEGMENT="1">
<MSGFN>005</MSGFN>
<MEINH>PCE</MEINH>
<LFNUM>00001</LFNUM>
<EAN11>4029973691004</EAN11>
<EANTP>HE</EANTP>
<HPEAN>X</HPEAN>
</E1MEANM>
</E1MARMM>
</E1MARAM>
<E1MARAM SEGMENT="1">
</E1MARAM>
</IDOC>
</MATMAS05>
The conclusion i found out is - Only the segments that occurs more than once will be visible in the source drop down of Import manager.
Please try opening the map using above XML and kindly let us know the output.
Regards,
Jitesh Talreja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you send data out from R/3 only the segments that contains some data will appear in the output so we have to identify the Mandatory segments in the structure and put some dummy data into it.
Try putting some data in all the segments then use that XML for importing.Hope it will work.
Regards,
Jitesh Talreja
Hi,
Error Message : Element cannot be empty according to DTD/Schema
This occurs when there exists some mandatory element with no data in it.Since you are using Material Master you should enter the value in the element MATNR which I think you might have missed out.
As I suggested previously find out the mandatory segements and pass some data into them.Your query will be solved.
Regards,
Jitesh Talreja
Select E1MARAM segment as source from file in import manager from your file and then try to open the map.
or please paste your xml file here, i will try and let you know..
BR,
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<?xml version="1.0" encoding="UTF-8"?>
<MATMAS05>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1"/>
<E1MARAM SEGMENT="1">
<MSGFN>005</MSGFN>
<MATNR>886_ZT8_224</MATNR>
<ERSDA>20080424</ERSDA>
<ERNAM>XICO_MDM_AST</ERNAM>
<LAEDA>20080424</LAEDA>
<AENAM>PRECU01</AENAM>
<PSTAT>EVK</PSTAT>
<MTART>FGTR</MTART>
<MBRSH>1</MBRSH>
<MATKL>01</MATKL>
<MEINS>PCE</MEINS>
<BLANZ>000</BLANZ>
<BRGEW>92.000</BRGEW>
<NTGEW>50.000</NTGEW>
<GEWEI>GRM</GEWEI>
<VOLUM>0.781</VOLUM>
<VOLEH>DMQ</VOLEH>
<WESCH>0.000</WESCH>
<EAN11>4029973691004</EAN11>
<NUMTP>HE</NUMTP>
<LAENG>66.000</LAENG>
<BREIT>160.000</BREIT>
<HOEHE>74.000</HOEHE>
<MEABM>MMT</MEABM>
<ERGEW>0.000</ERGEW>
<ERVOL>0.000</ERVOL>
<GEWTO>0.0</GEWTO>
<VOLTO>0.0</VOLTO>
<FUELG>0</FUELG>
<STFAK>0</STFAK>
<MHDRZ>0</MHDRZ>
<MHDHB>0</MHDHB>
<MHDLP>0</MHDLP>
<VPSTA>EVK</VPSTA>
<MSTDE>00000000</MSTDE>
<MSTDV>00000000</MSTDV>
<COMPL>00</COMPL>
<GEWTO_NEW>0.0</GEWTO_NEW>
<VOLTO_NEW>0.0</VOLTO_NEW>
<E1MAKTM SEGMENT="1">
<MSGFN>005</MSGFN>
<SPRAS>D</SPRAS>
<MAKTX>TRANSFAIR TEEMISCHUNG 50G FS 25X2G 224_M</MAKTX>
<SPRAS_ISO>DE</SPRAS_ISO>
</E1MAKTM>
<E1MARMM SEGMENT="1">
<MSGFN>005</MSGFN>
<MEINH>CT</MEINH>
<UMREZ>12</UMREZ>
<UMREN>1</UMREN>
<EAN11>4029973691028</EAN11>
<NUMTP>HE</NUMTP>
<LAENG>402.000</LAENG>
<BREIT>166.000</BREIT>
<HOEHE>154.000</HOEHE>
<MEABM>MMT</MEABM>
<VOLUM>10.277</VOLUM>
<VOLEH>DMQ</VOLEH>
<BRGEW>1247.000</BRGEW>
<GEWEI>GRM</GEWEI>
<E1MEANM SEGMENT="1">
<MSGFN>005</MSGFN>
<MEINH>CT</MEINH>
<LFNUM>00001</LFNUM>
<EAN11>4029973691028</EAN11>
<EANTP>HE</EANTP>
<HPEAN>X</HPEAN>
</E1MEANM>
</E1MARMM>
<E1MARMM SEGMENT="1">
<MSGFN>005</MSGFN>
<MEINH>PCE</MEINH>
<UMREZ>1</UMREZ>
<UMREN>1</UMREN>
<EAN11>4029973691004</EAN11>
<NUMTP>HE</NUMTP>
<LAENG>66.000</LAENG>
<BREIT>160.000</BREIT>
<HOEHE>74.000</HOEHE>
<MEABM>MMT</MEABM>
<VOLUM>0.781</VOLUM>
<VOLEH>DMQ</VOLEH>
<BRGEW>92.000</BRGEW>
<GEWEI>GRM</GEWEI>
<E1MEANM SEGMENT="1">
<MSGFN>005</MSGFN>
<MEINH>PCE</MEINH>
<LFNUM>00001</LFNUM>
<EAN11>4029973691004</EAN11>
<EANTP>HE</EANTP>
<HPEAN>X</HPEAN>
</E1MEANM>
</E1MARMM>
</E1MARAM>
</IDOC>
</MATMAS05>
Hi,
Open the Idoc file in the notepad ,Search the segment E1MARAM and set or write the attribute maximum=unbounded.
Because MDM needs this segment to be repeatable and it treats the segment with maximum=unbounded as repeatable.
You can open the standard map in the Syndicator to view the occurance of every segment.
Regards,
Jitesh talreja
Hi Michael,
I changed it but it still doesn't work.
<MATMAS05>
<IDOC BEGIN="1">
<E1MARAM SEGMENT="1">
<MSGFN>005</MSGFN>
<MATNR>886_ZT8_224</MATNR>
<ERSDA>20080424</ERSDA>
<ERNAM>XICO_MDM_AST</ERNAM>
<LAEDA>20080424</LAEDA>
But this is a File out of XI. Even if changing this one file would work, this doesn't solve the general Problem.
BR,
Mircea
Hi Mircea,
do you use the SAP delivered content without any changes? If yes, which MDM Version do you use for a) the MDM Server, Clients, and so on and b) for the MDM Business Content? Which MDM repository do you use? Product or Material? Have you applied the delivered XI content on you XI system as well?
Best regards
Michael
Hi Michael,
I use the SAP Content without changes.
a) MDM 5.5 SP05 for Server&Clients ( 5.5.42.98) .
b) MDM Business Content für XI 5.5 700
c) Repository Material
d) Yes, I applied the content in XI
When I connect to the Inbound Port, I get the Message "failed to parse xml file.....element cannot be empty according to the dtd/schema).
Sending Idocs from MDM to ECC with the installed XI content works fine.
Thank you!
Best Regards,
Mircea
See the error "failed to parse xml file.....element cannot be empty according to the dtd/schema". I think you are using schema for the xml file in console, Open the schema file in notepad and Set the occurences for E1MARAM segment in schema from 9999 to unbounded. and then try to import that file. Remember set occurences in Schema and save again in console and try to import that xml against new schema....
Hope it will help you.
BR,
Alok
Hi Mircea,
If you are trying to do the Importing through the Port, then
Kindly configure the following steps:
1. Create 1 remote system and a port of Type-Inbound
2. Configure the Import map- MATMAS05 in the port properties
3. Also mention the XML Schema that you are using in the Port Details- MATMAS05.
4. Now place the File in the Inbound Ready.
5. Hope you have already done the config for Automatic Syndication.
I think it is just a configuration problem.
Hope it helps.
Thanks and Regards
Nitin jain
It is because the source file used in standard map and the file you are using does not match with each other. Please use the same file name.
Saved maps works when source structure and target structure matches with each other. Check for the same..
BR,
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.