cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Text lements(/E) in Scripts and print program

Former Member
0 Kudos

Hi all,

I need to use Text elements from print program to Script output.

I have included the text element name in WRITE_FORM and defined in the script with (/E) also.

Still the data is not displaying.

Please let me know how to use the text elements.

thanks in advance..

Rakesh

<removed_by_moderator>

Edited by: Julius Bussche on Nov 25, 2008 10:08 AM

View Entire Topic
Former Member
0 Kudos

Thanks Prashanth,

The text elemetns in your example ITEM_HEADER and ITEM_LINE have any significance in the print program or do they need to declare at any other place also other than WRITE_FORM to get the text displayed?

because I followed the same way and still the values in the variables in the layout are not getting displayed.

thanks

Rakesh

Former Member
0 Kudos

You do not need to declare the text elements anywhere in driver prog

While using the WRITE_FORM directly pass them in single quotes.

CALL FUNCTION 'WRITE_FORM'

EXPORTING

element = 'ITEM_LINE_CONFIGURATION'

EXCEPTIONS

OTHERS = 1.

If values are not printed the debug and check if the variables are not blank.

I dont think there shud be any other problem

Regards,

Prashant