2007 Jul 25 8:56 PM
Hi ,
I am trying to activate an ODS but it is failing the activation process . When I look into the application log I see this error "Value 'RAM???¿????????S RAM' (hex. '4D41524B3F3F3FBF3F3F3F3F3F3F3F3F5320574F524B') of characteristic ZEUID contains invalid characters "
I am new to ABAP and I need an ABAP code to filter this value when loading data into ODS .
Thanks a lot for your help
2007 Jul 25 9:01 PM
What are the invalid characters that you have in this field value?
2007 Jul 25 9:01 PM
What are the invalid characters that you have in this field value?
2007 Jul 25 9:27 PM
2007 Jul 25 9:46 PM
hi,
The code i have sent you wil work for any chater a-z if it finds any other character other than that it will delete the record.
Thansk
mahesh
2007 Jul 26 5:26 PM
2007 Jul 25 9:05 PM
HI,
Write the code in the start routine.
IN the start routine you have a table called SOURCE_PACKAGE.
declare work area x_souce_package type source_package
data : lv_string(100).
loop at souce_package into x_source_package.
lv_string = x_source_package-value.
TRANSLATE LV_STRING TO UPPER CASE
if lv_string CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' .
ELSE.
DELETE SOURCE_PACKAGE INDEX SY-TABIX.
ENDIF.
endloop