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

TRUNCATE PROBLEM

Former Member
0 Likes
727

HI FRIENDS,

CAN ANY ONE TELL ,

FROM WHICH FUNCTI0N MODULE WE CAN TRUNCATE .

INPUT - > ABCDEFGH

OUTPUT - > ABCDE

IT'S URGENT,

PLZ. HELP ME

4 REPLIES 4
Read only

Former Member
0 Likes
694

use...

shift input by 3 places right.

Read only

0 Likes
694

ho friend,

thanks for giving such a good tips to solve my problem.

thanks again,

ASUTOSH

Read only

Former Member
0 Likes
694

Hi,

You can use offset as below

Data: INPUT(10) TYPE C,

OUTPUT(5) TYPE C.

INPUT = 'ABCDEFGH'.

OUTPUT = INPUT+0(5). " OUTPUT WILL BE 'ABCDE'.

Reward Points if this helps,

Satish

Read only

0 Likes
694

hi friend,

thanks for your such a valuable tips to solve the problem.

thanks again,

ASUTOSH