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

text elements

Former Member
0 Likes
306

hi,

please tell me the application of Text elements in SAP Scripts.

thanks in advance.

sdn.

1 REPLY 1
Read only

Former Member
0 Likes
275

HI,

Text Elements



You can define text elements (window texts) for each window. On the Form: Request screen, choose Edit ® Text elements.

The print program accesses text elements by name, formats them and prints them in the respective window. That is, the program can decide which text elements should be printed in a particular window. It calls these text elements by name to print them. You must therefore change text element names in the print program if you make any changes to text element names in a form.

In the layout of a text element, you can use only the paragraph and character formats defined in the form.

Example of a text element in an order confirmation:

/E ITEM_LINE
IL &VBDPA-POSNR&,,&VBDPA-MATNR&,,&VBDPA-ARKTX&
/ &'Customerarticlenumber 'VBDPA-IDNKD' '&&'Position
/ 'VBDPA-POSEX&

This example shows a section of a main window of a form, with an item line of an order confirmation. The /E in the tag column is used to identify the text as a text element, ITEM_LINE is the name of the text element.

Default Text Element

At the start of a window, you can define a text element without the /E command in the paragraph format column. This text is always printed at the start of the window. It is not necessary to insert this text explicitly via a print program.

For more go to this link:

Character formats and attributes

http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm

Reward points if this Helps.

Manish