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

error

Former Member
0 Likes
592

hi ,

can anyone let meknow what is the mistake in this code that it gives me an error.

it says delete is unknown.

if sy-subrc ne 0.

write:/ "invalid ".

Delete itab.

continue.

thanks

endif.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
573

Use single quotations instead of double quotations.

write:/ 'invalid'.

Regards

Aneesh.

5 REPLIES 5
Read only

Former Member
0 Likes
573

Shekar,

are you using this code in loop endloop?? can you please send more details.

Satish

Read only

Former Member
0 Likes
573

Hi

write like this

if sy-subrc ne 0.

Delete itab where f1 <> ...

write:/ 'invalid '.

else.

continue.

endif.

press F1 on delete command and see the syntax.

Regards

anji

Read only

Former Member
0 Likes
573

hi

use FREE instead of DELETE.

Thanks & Regards

ilesh 24x7

Read only

Former Member
0 Likes
573

Put singel quotes..not double quotes..

write 😕 'Invalid'.

Read only

Former Member
0 Likes
574

Use single quotations instead of double quotations.

write:/ 'invalid'.

Regards

Aneesh.