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

Code correction

Former Member
0 Likes
567

Hello all,

MOVE <LT_ORDERS>-START_FIRST_ACT TO WA_FINAL-START_FIRST_ACT.

In this statement START_FIRST_ACT has a value 20060927125112.

But i need only 20060927 in the output.

How to do this ?

4 REPLIES 4
Read only

Former Member
0 Likes
543
v_var = WA_FINAL-START_FIRST_ACT+0(8).

or u can store in the same variable 

WA_FINAL-START_FIRST_ACT = WA_FINAL-START_FIRST_ACT+0(8).

Read only

Former Member
0 Likes
543

Hi,

Change the coding like this:

MOVE <LT_ORDERS>-START_FIRST_ACT+0(8) TO WA_FINAL-START_FIRST_ACT.

P.S. Mark all helpful answers for points.

JLN

Read only

Former Member
0 Likes
543

Hello,

Try

v_var = WA_FINAL-START_FIRST_ACT(8).

Dnt forget to reward!!

Read only

Former Member
0 Likes
543

hi John,

use offset for the same ..

<b> MOVE <LT_ORDERS>-START_FIRST_ACT+0(8) TO WA_FINAL-START_FIRST_ACT.</b>

Regards,

Santosh