Application Development 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: 

ABAP MOVE TO snytax

0 Kudos

Hello ABAP Guru,

I would like to convert the following ABAP code lines to the new unicode ABAP code

SELECT SINGLE * FROM pa2001 WHERE pernr = it_pernr-pernr
AND subty IN pa_subty
AND ( begda = day OR
endda = day OR
( begda < day AND
endda > day ) ).

IF sy-subrc = 0.
MOVE day TO itab_data-gg.
ELSE.
MOVE day TO itab_data-gg.
ADD 1 TO itab_data-cap.
ENDIF.

2 REPLIES 2

matt
Active Contributor

Unicode ABAP isn't new. It's been around since 2008, IIRC.

What error are you getting? Have you read the ABAP help on SELECT?

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

MOVE is obsolete ...

and SELECT without INTO clause?