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

Error in conversion exit CONVERSION_EXIT_CUNIT_INPUT

Former Member
0 Likes
2,729

Dear all

I got the following error

" Error in conversion exit CONVERSION_EXIT_CUNIT_INPUT "

This is an original sample data.

~

CUST007,SREP07,MAT008,3,DZ,1,,19990424

CUST008,SREP08,MAT008,3,DZ,2,,19980328

CUST008,SREP08,MAT009,2,CS,3,,19980203

CUST008,SREP08,MAT010,1,LB,4,,19991104

CUST009,SREP09,MAT011,1.5,LB,5,,20000407

CUST010,SREP10,MAT011,1.5,LB,6,,20000701

~

you can download it from [ http://safariexamples.informit.com/0201703661/IC_DEMOBC.csv ]

As you can see , [T-Code CUNI screenshot] ( http://static.flickr.com/35/71412534_4998517812_o.jpg )

there is no LB.

so i tried to create LB. but... i couldn't ..

Because, LB already exists in the Table T600 & T600A

T600 screenshot ( http://static.flickr.com/35/71412793_dcbae3d11a_o.jpg )

T600A screenshot ( http://static.flickr.com/34/71412535_96f9278862_o.jpg )

What do you think ?

The value of SPRAS is DE.

is it possible to cause the error ?

Well, i deleted the value of UNIT column from the original data so that i could escape the error " Error in conversion exit CONVERSION_EXIT_CUNIT_INPUT ".

~
CUST007,SREP07,MAT008,3,,1,,19990424
CUST008,SREP08,MAT008,3,,2,,19980328
CUST008,SREP08,MAT009,2,,3,,19980203
CUST008,SREP08,MAT010,1,,4,,19991104
CUST009,SREP09,MAT011,1.5,,5,,20000407
CUST010,SREP10,MAT011,1.5,,6,,20000701
~

But i don't think it is a right way. isn't it?

Thanks in advance.

David.Kang

View Entire Topic
Former Member
0 Likes

Hi all

I am Trying to convert the RAW data into BW carater data

becouse the RAWdata is 64 bit and max allowed data is only 60...

So I am trying to convert the RAW data to Character data of 16 for this is there any special convertion routine are available

I was trying to take DMSRC convertion routine type but

I was facing following dump analysis

FUNCTION CONVERSION_EXIT_DMSRC_OUTPUT.

*"----


""Local interface:

*" IMPORTING

*" REFERENCE(INPUT)

*" EXPORTING

*" REFERENCE(OUTPUT)

*"----


data : l_model type rsdmem_model.

data : l_refname type rsdmem_stext.

data : l_source type RSDMEM_DATA_SOURCE_ID.

select single model ref_name from rsdmtp_data_src into (l_model ,

l_refname)

where source = input and

objvers = 'A'.

<b><u>if sy-subrc ne space.

MESSAGE ID 'RSDME' TYPE 'E' NUMBER 118

WITH l_model l_refname space space.

exit.

endif.</u></b>

concatenate l_model '/' l_refname into output.

what my guess is

either i am selecting worng convertion type or i am going worng direction

Any help regarding this greatly appriciated

Thanks

Kishan