on ‎2005 Dec 08 7:55 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
David,
How did you define the price: data type, with currency, unit?
Best regards,
Eugene
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Eugene
when i changed "CS" into "CV" from data file.
http://Eugene.mobilian.org/IC_DEMOBC4.csv
i can get rid of "Error in conversion exit CONVERSION_EXIT_CUNIT_INPUT ".
because of "CUNIT_INPUT" error, i suspected "input data".
humm... so i changed "CS" into commercial format.
fortunately, it worked...
The other unit of commercial format is the same as measurement unit format. ( EA, DZ, LB )
why do you think it happens?
( i might check to use "commercial format"
~
I will examine this issue..
)
[Definition of the Price ]
http://static.flickr.com/9/71736261_3894f8c1c1_o.jpg
yeah, i'm so happy to meet you~
Due to ur great support, i could solve it.
thanks.
David
[file upload preview]
http://static.flickr.com/35/71739102_b4c457c608_o.jpg
i found the definition of CUNIT.
http://static.flickr.com/35/71739101_fa6a10c701_o.jpg
Conversion exit for commercial (3-char) measurement unit INPUT.
well, it's over~~..
but i got the other issue~~.....
i will ask next week~~.. _ _
Thanks
David
[file upload preview]
http://static.flickr.com/35/71739102_b4c457c608_o.jpg
i found the definition of CUNIT.
http://static.flickr.com/35/71739101_fa6a10c701_o.jpg
Conversion exit for commercial (3-char) measurement unit INPUT.
well, it's over~~..
but i got the other issue~~.....
i will ask next week~~.. _ _
Thanks
David
David,
Have you done data preview in the infopackage? Might be your incoming data do not match with the transfer structure - all your correct units goto another, not unit, field, and a unit field in the transfer structure receives completely unexpected values?
Unfortunately, I have to leave now.
Hope, you'll solve your issue.
Best regards,
Eugene
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Eugene
Thanks a lot today.
Yeah, my incoming data do not match with the transfer structure.
Take a brief look at my case studies.
[Data Selection] tab
http://static.flickr.com/34/71452760_2117e1d4c0_o.jpg
[Data targets ] tab
http://static.flickr.com/34/71452762_035aaa8d78_o.jpg
[Processing ] tab
http://static.flickr.com/34/71452763_fa322fe8f1_o.jpg
[External Data] tab
1) IC_DEMOBC.csv ( It includes the value of UNIT column. )
( The original data file is http://safariexamples.informit.com/0201703661/IC_DEMOBC.csv )
http://static.flickr.com/20/71452764_fb4a24a809_o.jpg
- Preview result screenshot
http://static.flickr.com/35/71452765_07a4ae8e12_o.jpg
2) IC_DEMOBC2.csv ( It inculdes only two rows with UNIT values : CS. )
http://static.flickr.com/20/71452766_da7b2c46b7_o.jpg
- Preview result screenshot
http://static.flickr.com/35/71453112_348077e31a_o.jpg
3) IC_DEMOBC3.csv ( It inculdes all rows without UNIT values. )
http://static.flickr.com/34/71453113_301afeca73_o.jpg
- Preview result screenshot
http://static.flickr.com/20/71453114_8438122d06_o.jpg
I try to solve it by myself.
( i already spend almost one week~~ . )
but i feel the end is coming soon.
with kind regards
david
Dear Eugene
wow , you come back. thanks.
structure
http://static.flickr.com/34/71725530_4b99503f6c_o.jpg
rules
http://static.flickr.com/20/71725531_2c4a9a195e_o.jpg
routine
http://static.flickr.com/34/71725532_e5484d56cb_o.jpg
the source of CONVERSION_ROUTINE
http://eugene.mobilian.org/CONVERSION_ROUTINE.abap
Thanks again.
have a great weekend.
david
OK, David,
Do you think that all errors were related to LB only?
Lets look at the details tab of the monitor. Expand all nodes. What are messages you have there?
Best regards,
Eugene
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. i don't think so.
I need to pick my GF up now.
i will be back soon.
[Monitor]
http://static.flickr.com/35/71446931_3ccf4ddb3f_o.jpg
[Monitor - header]
http://static.flickr.com/35/71447113_b4978b51ae_o.jpg
IC_DEMOBC.csv file inculdes UNIT 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
~
regards
david
Hi David,
Yes, unit is language-dependent. CONVERSION_EXIT_CUNIT_INPUT seeks the unit with a default (system) language. I think you may try to create a unit with your language. As you can see in the T006A table there are many records for the same unit with different languages.
Best regards,
Eugene
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Eugene
I checked LB with EN in the table T006A.
http://static.flickr.com/20/71443266_5e93ea0bb6_o.jpg
it already exists.
so i need to search the other causes.
Thanks.
david
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.