cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi experts,

During upload master data i got error message below

Characteristic value 'UD' of characteristic SMAT_UNI5 is not CUNIT-converted

There is conversion routine CUNIT on SMAT_UNI5

i suppose that the reason is in functions

     CONVERSION_EXIT_CUNIT_OUTPUT

     CONVERSION_EXIT_CUNIT_INPUT

example :

   FUNCTION CONVERSION_EXIT_CUNIT_OUTPUT.
       IMPORTING
              INPUT          =
UD
              LANGUAGE = EN
       EXPORTING
              LONG_TEXT
              OUTPUT      = 085

             SHORT_TEXT
       EXCEPTIONS
              UNIT_NOT_FOUND

   FUNCTION CONVERSION_EXIT_CUNIT_INPUT.
       IMPORTING
              INPUT =
085
              LANGUAGE = EN

       EXPORTING
              OUTPUT =
MPT
       EXCEPTIONS
              UNIT_NOT_FOUND

UD as input parameter ( CONVERSION_EXIT_CUNIT_OUTPUT ) should be the same as MPT output parameter ( CONVERSION_EXIT_CUNIT_INPUT )

Where should i set the correct conversion ? ( maybe transaction CUNI )

Thanks in advance

Martin

0 Likes
View Entire Topic
former_member182470
Active Contributor
0 Likes

Can you run these two FMs manually in SE38 by giving inputs? You can also search so many posts with your problem in SCN.

Former Member
0 Likes

I run it manually and you can see the result above

former_member182470
Active Contributor
0 Likes

CUNIt requires length 3 char while inputing. You are inputing UD which is 2 char.

Former Member
0 Likes

input is UD, because this value is in source system

I am loading master data from 7.0 into 7.4 system