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

FETCH characters dynamically

Former Member
0 Likes
931

How can i FETCH characters dynamically,

Data: var type c value ABC123

var1 = var+0(n)

possible output of var1 : if n equal to 3, then is should ABC, then if 5 it should ABC12.

"n" is any number or dynamic number.

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
841

Please read the ABAP documentation.

Or just try yourself.

But what is the question?

Read only

matt
Active Contributor
841

If the OP looks carefully, they'll find the answer is in the question!

Read only

raghug
Active Contributor
0 Likes
841

"n" is any number or dynamic number.

Do you mean like a variable? That can be defined in ABAP as follows? And then you can dynamically change the variable value in the variable?

DATA n TYPE i.