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: 

TRUNCATE PROBLEM

Former Member
0 Kudos

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

Former Member
0 Kudos

use...

shift input by 3 places right.

0 Kudos

ho friend,

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

thanks again,

ASUTOSH

Former Member
0 Kudos

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

0 Kudos

hi friend,

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

thanks again,

ASUTOSH