cancel
Showing results for 
Search instead for 
Did you mean: 

use of text elements in wirte_form function module.

Former Member
0 Kudos

Hi guru's,

Could any one tell me what is the use of text elements in write_form functional module SAP SCRIPTS. As per my knowledge text elements are used for multi language purpose is there any other advantage other than that.

Thanks in advance.

Vardhan.

Accepted Solutions (1)

Accepted Solutions (1)

valter_oliveira
Active Contributor
0 Kudos

Hello.

A text element is a block in script that can be written several times in your document. You can put fixed texts, variables, include texts, images, etc etc

When you see WRITE_FORM, element 'X', you know that everything that is inside element /E X of your script is writen. It's very usefful to organize your script, and it eases to construct a very complex script.

It's also usefull to translations in SE63.

Best regards.

Valter Oliveira.

Edited by: Valter Oliveira on May 27, 2008 10:05 AM

Former Member
0 Kudos

Hi,

When with out text elements also i am able get the output.But first line in the output is repeating twice. If i am using text elements then i am getting only once. what is the link between text element and printing twice in output . Do you have any idea please tell me..

Thanks in advance..

Vardhan

Former Member
0 Kudos

Hi

No link infact.

check your coding

Vamshi

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

Text element is just like a name to identify the block needed to be printed. We define this name (element) and the static text, variable etc in the window editor.

of the layout. In print program , we call this block by its name (element). It is reusasble.

If useful give ponts please.

cheers

vamshi

paruchuri_nagesh
Active Contributor
0 Kudos

hi

vishnu

purpose of text elements in sap-scripts is

driver program can uniquely identify the corresponding windows to display the data

Thanks&regards

Nagesh.Paruchuri

paruchuri_nagesh
Active Contributor
0 Kudos

hi

vishnu

purpose of text elements in sap-scripts is

driver program can uniquely identify the corresponding windows to display the data

Thanks&regards

Nagesh.Paruchuri

former_member181995
Active Contributor
0 Kudos

HI Vishnuvardhan,

TEXT ELEMENT is name that we use while reconize the window in write_form.

other wise how can SAP program will know that which write_form is written for which window.

its nothing but name of window.

Amit.

Former Member
0 Kudos

hi,

text elements are also used to segregate data from one page to another.

reward points if useful,

siri