on 12-18-2009 5:11 AM
Hi,
I have createda data type of Classification - "Aggreageted Type" , structure is as follows : -
GoodsMvmt_Enhance Complex Type l
COMMODITY_ITEM_NO Element xsd:string 1 false
OBLIGATION_ID Element xsd:string 1 false
REFERENCE_MATERIAL Element xsd:string 1 false
DEST_PLANT Element xsd:string 1 false
DEST_SLOC Element xsd:string 1 false
WEIGHTS_GRADES_ID Element xsd:string 1 false
while activating it , it gives me error -
Use of an XSD type in element COMMODITY_ITEM_NO is not permitted when modeling an aggregated type
Use of an XSD type in element OBLIGATION_ID is not permitted when modeling an aggregated type
Use of an XSD type in element REFERENCE_MATERIAL is not permitted when modeling an aggregated type
Use of an XSD type in element DEST_PLANT is not permitted when modeling an aggregated type
Use of an XSD type in element DEST_SLOC is not permitted when modeling an aggregated type
Use of an XSD type in element WEIGHTS_GRADES_ID is not permitted when modeling an aggregated type
Any idea how I can use XSD type rather creating datatype for every field ?
Note : If I change the Classification - "Freely Modelled Type" , it gives error while activatin that it has to ve aggreagated type.
Regards,
Pranshu
Any idea how I can use XSD type rather creating datatype for every field ?
You mean to say you used xsd:string while creating Aggregated Dataype?
If yes, then please note that Aggregated DT cannot refer any of the xsd elements......it can either refer an Aggregated DT or a Core DT....even if you make use of the Input help (under the Type column) it wont show you XSD Type option.....di you create an XSD outside and then imported it into the DT?
For more clarification/ examples refer --> ESR --> SAP BASIS --> SAP BASIS 7.10 --> http://sap.com/xi/BASIS/Global --> Aggregated DT.......none of the example is using xsd element....it is against the definition of this DT.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.