cancel
Showing results for 
Search instead for 
Did you mean: 

Metadata Problem?

Former Member
0 Kudos

Hi Experts,

I am getting the following error when trying to send JDBC connection --> Idoc adatper. I have the data loaded in IDX2. Any idea what the problem would be? Would this have to do with a wrong Segment Version?

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>

<SAP:P1>Metadata EDISDEF for port SAPDGC, IDoc type CRMXIF_PRODUCT_MATERIAL_SAVE01 and CIM type not maintained</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: Metadata EDISDEF for port SAPDGC, IDoc type CRMXIF_PRODUCT_MATERIAL_SAVE01 and CIM type not maintained</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In IDX1, for the port to the SAP system, have you attached the correct RFC destination ?

It seems like, when XI tried to read the IDOC metadata from the SAP system, it did not return any segment details....

does the SAP system being referred to in IDX1 have the idoc type CRMXIF_PRODUCT_MATERIAL_SAVE01 in it..?

Thanks.

Former Member
0 Kudos

Yes, I am attached to the correct RFC destination.

The SAP System being refered to in IDX1 does have CRMXIF_PRODUCT_MATERIAL_SAVE01 in it.

I am very confused about the segment version. Under what circumstances should I define that? I get two different errors, when I define the Segment Version and when I don't. I am not sure what to do here?? Thank you.

When I don’t define Segment Version (leave it blank):

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--

Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>

<SAP:P1>XML IDoc conversion: No known segments identified</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: XML IDoc conversion: No known segments identified</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

When I define the Segment Version:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--

Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>

<SAP:P1>Metadata EDISDEF for port SAPDGC, IDoc type CRMXIF_PRODUCT_MATERIAL_SAVE01 and CIM type not maintained</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: Metadata EDISDEF for port SAPDGC, IDoc type CRMXIF_PRODUCT_MATERIAL_SAVE01 and CIM type not maintained</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Former Member
0 Kudos

Try to reimport the metadata once again. Or remove the metadata from IDX2 and send the Idoc once again. Then it may resolve your issue.

---Satish

Former Member
0 Kudos

I did this, and it did not work. Thank you for the suggestion, however.

Can someone address my question about Segment Version? Under what circumstances should this be defined? Which error above is getting me further in the process?

Thank you.

Former Member
0 Kudos

I will suggest another thing...

delete all the metadata from IDX2....DONOT import metadata in IDX2...

Run the scenario again and see what the system imports by itself...

one question...where and how are you setting the segment version?

Thanks,

Renjith

Message was edited by:

Renjith Andrews

Former Member
0 Kudos

I did not import the IDX2 data - it re-imported itself when I tried to re-send the Idoc thorugh. I did not re-import it by itself.

In the Idoc Reciever Channel, I am specifing the segment version as '001' and the SAP Release as '620'. Is this correct?

Thank you.

Former Member
0 Kudos

OK..that is the problem...

The segment version in the idoc channel also has to be 620 ...

check the sap help link...and see section "Segment Version"....

http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm

Thanks.

Message was edited by:

Renjith Andrews

Former Member
0 Kudos

Thank you, but now I get this error:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>

<SAP:P1>XML IDoc conversion: No known segments identified</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: XML IDoc conversion: No known segments identified</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Any ideas?

Former Member
0 Kudos

Please give the details of your SAP system..what system is it and what version is it ?

I said put 620 assuming it was an R/3 system...

anyways..please goto we30 of SAP system, enter idoc type and goto dispaly...

double click on one of the segments... go to the segment display..see what is the value in Release...that i what you have to give in segment version of idoc channel...

now there are different segments in your idoc ..right...the value given in segment version of idoc channel has to be the most recent value out of all the segment types...

Thanks.

Message was edited by:

Renjith Andrews

Former Member
0 Kudos

I checked the Idoc in the SAP system and it is at segment version 620.

However, when I look at the mapping in SXMB_MONI, this is what I am seeing for the Idoc result. Why is the EDI_DC40 record not being populated? It should automatically do this in the runtime, correct? Thanks.

<?xml version="1.0" encoding="UTF-8" ?>

- <ns1:CRMXIF_PRODUCT_MATERIAL_SAVE01 xmlns:ns1="urn:sap-com:document:sap:idoc:messages">

- <IDOC BEGIN="1">

<EDI_DC40 />

- <E101COMXIF_PRODUCT_MATERIAL>

<PRODUCT_ID>0000000000000000000000000000000003020030</PRODUCT_ID>

<TASK>U</TASK>

- <E101COMXIF_PR_S_PRODUCT_SET>

<SETTYP_ID>YMDKCSOURCE</SETTYP_ID>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCOEM</ATTR_ID>

<VALUE>Deesmill</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSOURCEMILL</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

</E101COMXIF_PR_S_PRODUCT_SET>

- <E101COMXIF_PR_S_PRODUCT_SET>

<SETTYP_ID>YMDKCPACKAGE</SETTYP_ID>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCPRODFORMAT</ATTR_ID>

<VALUE>045</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSHEETFOLDTYP</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

</E101COMXIF_PR_S_PRODUCT_SET>

- <E101COMXIF_PR_S_PRODUCT_SET>

<SETTYP_ID>YMDKCUOMSET</SETTYP_ID>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSHEETWIDTH1</ATTR_ID>

<VALUE>21.0</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSHEETWIDTH1_U</ATTR_ID>

<VALUE>CM</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSHEETLENGTH1</ATTR_ID>

<VALUE>11.0</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSHEETLENGTH1_U</ATTR_ID>

<VALUE>CM</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCCOREDIAMETER1</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCCOREDIAMETER1_U</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCROLLDIAMETER1</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCROLLDIAMETER1_U</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSIZEQTY</ATTR_ID>

<VALUE>000</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCBASISWGT</ATTR_ID>

<VALUE>32.4</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCBASISWGT_U</ATTR_ID>

<VALUE>GSM</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCNBRPLIES</ATTR_ID>

<VALUE>2</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSHEETCOUNT</ATTR_ID>

<VALUE>76</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCITEMPERPACK</ATTR_ID>

<VALUE>1</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

</E101COMXIF_PR_S_PRODUCT_SET>

- <E101COMXIF_PR_S_PRODUCT_SET>

<SETTYP_ID>YMDKCMARKETING</SETTYP_ID>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCCOLOR</ATTR_ID>

<VALUE>034</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCBRANDS</ATTR_ID>

<VALUE>KIMCARE*</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSUBBRANDS</ATTR_ID>

<VALUE>- none -</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCREGIONAVAIL</ATTR_ID>

<VALUE>EUROPE</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCCERTIFICATION</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

</E101COMXIF_PR_S_PRODUCT_SET>

- <E101COMXIF_PR_S_PRODUCT_SET>

<SETTYP_ID>YMDKCGENINFOAD</SETTYP_ID>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCRECYCLEFIBER1</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>ZKH1XXA_6STERILE</ATTR_ID>

<VALUE />

</E101XIF_PR_PRODUCT_SET_CUST>

</E101COMXIF_PR_S_PRODUCT_SET>

- <E101COMXIF_PR_S_PRODUCT_SET>

<SETTYP_ID>YMDKCCOSTINFAD</SETTYP_ID>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSALESBASE</ATTR_ID>

<VALUE>23.529411764705884</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

- <E101XIF_PR_PRODUCT_SET_CUST>

<ATTR_ID>YMDKCSALESBASE_C</ATTR_ID>

<VALUE>USD</VALUE>

</E101XIF_PR_PRODUCT_SET_CUST>

</E101COMXIF_PR_S_PRODUCT_SET>

</E101COMXIF_PRODUCT_MATERIAL>

</IDOC>

</ns1:CRMXIF_PRODUCT_MATERIAL_SAVE01>

Former Member
0 Kudos

Hi,

i got same problem,how u resolve u r problem plz helme

i did File to Idoc Scenario, i got same problem...plz hepme...

reg,

suresh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey,

Did you disable EDI_DC40 during mapping >?

Cheers,

*RAJ*

Former Member
0 Kudos

Hello,

The way my problem was fixed is this: each segment in the Idoc had a attribute named SEGMENT( which was disabled initially as no information was populating them). So I mapped each SEGMENT attribute with respective Segment names (as a constant).

Hope this helps.

Thanks.