cancel
Showing results for 
Search instead for 
Did you mean: 

Attribute not typed when trying to activate data type

Former Member
0 Kudos

Does anyone know what could be causing this error when I try to activate my imported data types?

Check result for Data Type merchantcategorycodegroupsType | http://bis.com/pcard21: attribute ordinalsequence is not typed attribute controlcode is not typed

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Andrew,

Check that u must not have mentioned the type of the "attribute" in your data type.

The type must be chosen from the drop down box (xsd:string or xsd:integer..etc)

Correct that and u will be able to activate it.

Cheers

Sunita

Former Member
0 Kudos

I guess for some reason the types didn't come in so I will have to go into each one and set it.

Former Member
0 Kudos

Hi Andrew,

when you import the xsd and if its giving you error for elements having a type reference, jsut go to each of those elements and delete the the types data from it.

eg.

<xsd:element name="SalesOrg" type="xsd:string" minOccurs="0"> THIS WILL WORK FINE STANDARD TYPE

<xsd:element name="SalesOrg" type="sALESORG" minOccurs="0"> THIS WILL FAIL

<xsd:element name="SalesOrg" minOccurs="0">

JUST REMOVE THE TYPE

Naveen

Former Member
0 Kudos

It's actually not typing itself .. it looks like this

</xsd:attribute>

<xsd:attribute name="controlcode" use="required">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">

749aa8d2081111da850bd2fbac1d3e20

</xsd:appinfo>

</xsd:annotation>

</xsd:attribute>

I am going to try to add the type and set it to the appropriate type e.g.. string etc. and see how it looks.

This is what it looks like when I do that .............

</xsd:attribute>

<xsd:attribute name="controlcode" type="xsd:string" use="required">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">

749aa8d2081111da850bd2fbac1d3e20

</xsd:appinfo>

</xsd:annotation>

</xsd:attribute>