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

read_text

Former Member
0 Likes
322

hi to all,

help me in this issue

i am getting address using useing read_text functional module

the below hard coded message should be removed and the data what we get from read_text in tdline should be populated in below hard coded part can i loop my internal table with the below.

T_EMAIL_OBJTXT = 'Regards,'.

APPEND T_EMAIL_OBJTXT.

T_EMAIL_OBJTXT = ''.

APPEND T_EMAIL_OBJTXT.

T_EMAIL_OBJTXT = 'SINDUS INUSTRY'.

APPEND T_EMAIL_OBJTXT.

T_EMAIL_OBJTXT = 'INDIA'.

APPEND T_EMAIL_OBJTXT.

thanks in advance

kiran reddy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
292

u can loop internal table and check the READ_TEXT data and replace it accordingly where ever u want...

2 REPLIES 2
Read only

Former Member
0 Likes
293

u can loop internal table and check the READ_TEXT data and replace it accordingly where ever u want...

Read only

Former Member
0 Likes
292

Hi,

When you cal the Function module <b>READ_TEXT</b>, In the Importing parameters, you will ge a HEADER internal table, that wil have all the values . so Loop that Internal table and fill the values there .

<b>LOOP AT HEADER</b>

T_EMAIL_OBJTXT = 'Regards,'.

APPEND T_EMAIL_OBJTXT.

T_EMAIL_OBJTXT = ''.

APPEND T_EMAIL_OBJTXT.

T_EMAIL_OBJTXT = 'SINDUS INUSTRY'.

APPEND T_EMAIL_OBJTXT.

T_EMAIL_OBJTXT = 'INDIA'.

APPEND T_EMAIL_OBJTXT.

ENDLOOP.