cancel
Showing results for 
Search instead for 
Did you mean: 

CONVERSION EXIT Failed

Former Member
0 Kudos

Hi all ,

when i tried to upload data with full, it shows .

-


red status InfoObject /BIC/ZMATL_GRP contains value 00000001 , which is not conversion exit compliant RSAR 196

-


red status Too many error records - update terminated RSM2 706

-


I wrote a routine for translate into uper case for this

filed in Transfer structure. please let me know the reason and how to solve??

Thanks in Adv,

Sri.

Accepted Solutions (0)

Answers (5)

Answers (5)

edwin_harpino
Active Contributor
0 Kudos

hi Sri,

try following code, xx = your ZMATL_GRP length

'000000000...' as much 0 as xx

lv_MATL_GRP (xx) value '000000000...',

lv_length type I.

RESULT = TRAN_STRUCTURE-/BIC/ZMATL_GRP.

lv_length = xx - strlen( RESULT ).

if lv_length > 0 and lv_length < 9 and RESULT(1) <> '0'.

shift RESULT right by lv_length places.

RESULT(lv_length) = lv_MATL_GRP(lv_length).

endif.

edwin_harpino
Active Contributor
0 Kudos

hi Sri,

i forget to put 'data :'

data : lv_MATL_GRP (xx) value '000000000...',

lv_length type I.

RESULT = TRAN_STRUCTURE-/BIC/ZMATL_GRP.

lv_length = xx - strlen( RESULT ).

if lv_length > 0 and lv_length < 9 and RESULT(1) <> '0'.

shift RESULT right by lv_length places.

RESULT(lv_length) = lv_MATL_GRP(lv_length).

endif.

Former Member
0 Kudos

Hi sri,

Just use any one of the following options.

TRANSLATE TRAN_STRUCTURE-ZZMATKL TO UPPER CASE.

RESULT = TRAN_STRUCTURE-ZZMATKL.

OR

DATA: ZZMATKL_UPPER LIKE TRAN_STRUCTURE-ZZMATKL.

ZZMATKL_UPPER = TOUPPER(TRAN_STRUCTURE-ZZMATKL).

RESULT = ZZMATKL_UPPER.

for second one plz. check the string function TOUPPER is correct or not.

i am not sure in that. i thought that it may be correct.

i suggest you that better to use first one.

let me know if it works or not. if not what is the error you get again.

A.H.P: i din't understood your coding properly. can you explain how to relate your coding to sri's error. let me know plz....

Regards

Anil

edwin_harpino
Active Contributor
0 Kudos

hi Anil,

the code aim to put leading zero for the infoobject to fulfill conversion exit thing, since Sri mentioned it's bw 2.0 where mark conversion exit is not possible in transfer rules.

Former Member
0 Kudos

Hi Sri,

Try this:

Goto the Material group info-object in the transfer rules and create a formula, lets say - "Uppercase".

Now in the formula section select the function "TOUPPER" and select the info-object. So the formula would look like TOUPPER(<info-object>).

Hope this helps.

Bye

Dinesh

Former Member
0 Kudos

Hi Dinesh, thanks for u.

Here it is BW 2.0 ,

No conversion exit flag and formula option avaialble.

Better thing is to write a routine with abap code.

pls tell code.

Thanks,

sri.

Former Member
0 Kudos

Hi Sri,

Refer these posts for coverting to Upper Case:

Bye

Dinesh

Former Member
0 Kudos

Hi Sri,

Goto the transfer structure and check the conversion exit flag and then continue the load. Hope fully the load should go through.

Bye

Dinesh

Former Member
0 Kudos

Hi,

Let me know what is the code you written there?

and also check the procedure what it given to solve it.

Regards

Anil

Former Member
0 Kudos

Hi Anil,

Thanks for yopur note.

Code on ZMATL_GRP is:

RESULT = TRAN_STRUCTURE-ZZMATKL.

TRANSLATE RESULT TO UPPER CASE.

Please let know how to solve Conversion_exit problem?

Cheers,

Sri.