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

report

Former Member
0 Likes
360

Hi friends,

In SE38, pls find the code below.

DATA: BEGIN OF tkomv OCCURS 50.

INCLUDE STRUCTURE komv.

DATA: END OF tkomv.

SEARCH tkomv FOR 'HM00' AND MARK.

It works well in a client. gives only warning message as

Warning: Table "TKOMV" must have a character line type (data type C, N, D, T, or STRING).

I want the same one in another client.

Here i just copy and past the code in another client. But here it gives erro message as

Syntax error: Table "TKOMV" must have a character line type (data type C, N, D, T, or STRING).

What is the problem. ? Pls help me to do.

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
332

SEARCH tkomv-<fieldname> FOR 'HM00' AND MARK.

fieldname must be a char data type.

regards

shiba dutta

Read only

Former Member
0 Likes
332

Hi Murugan,

I have tried same code. But i did n't get any warning or error.

can you paste your code exactly here.

Regards,

Murali Krishan K