cancel
Showing results for 
Search instead for 
Did you mean: 

CCM - create your own complex data type id

Former Member
0 Kudos

Hello SRM Gurus,

How can I create my own complex data type (like /CCM/Price just different)? For example I'd like to define a complex multiple characteristic value, what is including some custom fields not just the standard ones?

I try to use /CCM/C_DTYPE; /CCM/D_DTYPE; /CCM/C_DTYPE_HDR; /CCM/D_DTYPE_HDR tables in se16; I also try /CCM/V_DTYPE_VL in sm30. But my added records doesn't appear in CAT schema definition drop down list (data type id).

Anybody have some experince with this issue?

Regards

Almos

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member544585
Contributor
0 Kudos

Almos: you can define your custom complex data type in your schema file. Here's an example in CSV 2.0 format:

#START OF EXAMPLE

SAP CATALOG CSV 2.0 <|> full|||||

Defaults|EN|||||

Model||||||

DataType|ORIGINAL_PRICE|Complex|{}Original Price|Prix initial|ORIG_PRICE_AMOUNT|ORIG_PRICE_CURRENCY_CODE DataType|ORIG_PRICE_AMOUNT|EXPONENT|{}Original Price Amount|Montant du prix initial||

DataType|ORIG_PRICE_CURRENCY_CODE|STRING|{}Original Price Currency Code|Code de devise du prix initial|| Component|ORIG_PRICE_AMOUNT|ORIG_PRICE_AMOUNT|FALSE|ORIGINAL_PRICE|{}Original Price Amount|Montant du prix initial

Component|ORIG_PRICE_CURRENCY_CODE|ORIG_PRICE_CURRENCY_CODE|FALSE|ORIGINAL_PRICE|{}Original Price Currency Code|Code de devise du prix initial

#END OF EXAMPLE

For more info on CSV 2.0 definition of data types, see <a href="http://help.sap.com/saphelp_ccm20/helpdata/en/index.htm">SAP online documentation</a>

Once defined, you can upload the schema file normally through Web UI.

Cheers,

Serguei