cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BW 7.4 : CONVERSION_EXIT_CUNIT_OUTPUT / INPUT

Former Member
0 Likes
6,006

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

sorry, but it is a little bit urgent

what should i do to get  UD in export parameter of CONVERSION_EXIT_CUNIT_INPUT


I need a conversion UD - > 085 - >UD

Thanks for a feedback

Martin

former_member182470
Active Contributor
0 Likes

Just try to load by removing Conversion routine in the infoobject definition. If this also doesn't work, then you try with any other suitable routine.

Former Member
0 Likes

Thanks, but if i remove Conversion Routine, i have to activate InfoObject - > it means transformations, which have relation to infoObject will be inactive.

do you have any idea ?

Thanks

Martin

former_member182470
Active Contributor
0 Likes

No. it will not impact your transformations. You can just give a try in Dev system first..

Former Member
0 Likes

I have already tried it, if i delete Conversion routine and activate InfoObject, all transformations with this InfoObject are inactive.

former_member182470
Active Contributor
0 Likes

You can activate them by RSDG_TRFN_ACTIVATE in SE38.

Former Member
0 Likes

I prefer not to delete and after that add again( after upload) conversion routine into infoobject ( if we upload the data later, the same problem will be existing ).

I would like to know "further" solution .

Regards

Martin

MGrob
Active Contributor
0 Likes

Hi

Transaction CUNI is correct this determines the Table T006 conversions. Which seem to be not maintained as you already found out UD is 085 and 085 converts to MPT

Have a look at http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1b/325d4217139041e10000000a1550b0/content.htm?frame...

How it's done

Martin

jino_jose
Active Participant
0 Likes

Hi,

The function module select the value from table T006A  which holds the value maintined by the transaction CUNI.

Thanks,

Jino.

Former Member
0 Likes

for CONVERSION_EXIT_CUNIT_OUTPUT is used table T006A

  UD - > 085

for CONVERSION_EXIT_CUNIT_INPUT is used table T006B

  085 - > MPT

i need to have a conversion 085 - > UD in table T006B ( How do it ? )

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