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

Unicode Conversion Program

Former Member
0 Likes
456

Hi All,

For a program there are using the SET/GET PARAMETER statements and they are capturing the respective fields.

In the Unicode conversion it is saying that, at SET/GET PARAMETER statements it is saying that (must be a character-type field (data type C, N, D, or T) ).....

So how to handle these type of scenarios......Information on this more valuable.....

Thanks in advance

Regards

Chakri

1 ACCEPTED SOLUTION
Read only

venkat_o
Active Contributor
0 Likes
420

Hi Chakradar, <li> It means it accepts only filed type char.


DATA data_1 TYPE char10.
SET PARAMETER ID 'MAT1' FIELD data_1.
<li> It does not accept fields with type P or F.

DATA data_1 TYPE p.
SET PARAMETER ID 'MAT1' FIELD data_1.
Thanks Venkat.O

3 REPLIES 3
Read only

Former Member
0 Likes
420

pass the fields as string or characters.

Read only

venkat_o
Active Contributor
0 Likes
421

Hi Chakradar, <li> It means it accepts only filed type char.


DATA data_1 TYPE char10.
SET PARAMETER ID 'MAT1' FIELD data_1.
<li> It does not accept fields with type P or F.

DATA data_1 TYPE p.
SET PARAMETER ID 'MAT1' FIELD data_1.
Thanks Venkat.O

Read only

sridhar_meesala
Active Contributor
0 Likes
420

Hi,

Declare the fields as character type(C) or Numeric type (N) or Date type (D) or Time type (T) and pass those fields.

Here though Type N is numeric type but type N objects take them internally as numeric characters and are not considered as numbers.

DATA field_name TYPE C.
SET PARAMETER ID: 'NAME' FIELD FIELD_NAME.

Hope it helps you.

Thanks,

Sri.