‎2007 Feb 07 3:09 PM
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
‎2007 Feb 07 3:12 PM
u can loop internal table and check the READ_TEXT data and replace it accordingly where ever u want...
‎2007 Feb 07 3:12 PM
u can loop internal table and check the READ_TEXT data and replace it accordingly where ever u want...
‎2007 Feb 07 3:19 PM
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.