Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need Abap Code Help

Former Member
0 Likes
618

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
600

What are the invalid characters that you have in this field value?

5 REPLIES 5
Read only

Former Member
0 Likes
601

What are the invalid characters that you have in this field value?

Read only

0 Likes
600

The Invalid Characters are ???¿????????

Read only

0 Likes
600

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

Read only

0 Likes
600

Thanks a Lot!!!

Read only

Former Member
0 Likes
600

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