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
338

Hi all,

By using read text function module i have 2 lines of text in my internal tbale it_lines.

suppose it_lines contains.....

1.script

2.smartform

Now my requirement is.....

I have a hard coded text 'SAP'....

I need to display SAP script smartform in my smartform WINDOW....

I amtrying this but i am getting only

SAP smartform

In debug mode i have tested the SCRIPT text was overwrittine by smartform text

Can anyone help me reg this...

Sachin.

2 REPLIES 2
Read only

Former Member
0 Likes
301

Hi .

Read table tline index 1 and then 2 .

when reading first index concatenate with WORD SAP .

WHEN you read first time

read table tline index 1 .

concatenate 'SAP' TLINE-TEXT INTO VAR1.

READ TABLE tline index 2

concatenate VAR1 TLINE-TEXT INTO VAR1.

SO THE OUTPUT WOULD

SAP script smartform .

Please reward if useful.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
301

Look at this document [SAP Smart Forms (BC-SRV-SCR)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf] at page 46 Including SAPscript Texts

Regards