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

script

Former Member
0 Likes
342

what r text elements in a form?

what can be done if the standard copied form to zform does not contain a window

how to transport smartforms

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
323

in smartform, with in the server means no need to transport, otherwise transport the C.R .No for driver program(se38) ,smartform,smartstyles,logo

2 REPLIES 2
Read only

Former Member
0 Likes
323

Text Elements of a Form

SAPscript calls the individual text components of a form

text elements. To achieve good structuring and readability,

you assign a fixed name to each text element in the form.

The print program then uses these names to access the

elements. This name applies also for translated versions of

a text element, while the contents of the text elements

depend on the language.

Text elements are related to a window, that is, a print

program can call for each window only those text elements

that exist in this window. The screen below (shot in the

SAPscript line editor) shows the definition of the text

elements HEADING and FLIGHTLIST in the window MAIN. The

variables used within '&...&' are replaced by the system at

output time (see also Representing Text Elements in the PC

Editor).

You can compare text elements with numbered texts in ABAP

programs (for example, TEXT-001). However, text elements

are much more flexible:

The length of a text element is unlimited.

Text elements may contain variable symbols.

You can use several different formatting options within one

text element.

You can use SAPscript control statements in text elements.

In each window, you may use two different kinds of text

elements:

Text Elements with Names

Text Elements Without Names

The print program can Activate Text Elements.

*************************************

Whenever you copy a standard form to a ZFORM, all the properties of the standard form are copied.

****************************************

A smartform is transported no differently than any other object. if it is assigned to a development class that is atteched to a transport layer, it will be transported.

The definition is transported, and when called, the function module is regenerated.

This leads to an interetsing situation. On the new machine, it is very likely the function module name will be different than the name on the source system. Make sure, before you call the function module, you resolve the external name to the internal name using the 'SSF_FUNCTION_MODULE_NAME' function module.

Typically, generate the SF, then use the pattern to being in the interface. Then change the call function to use the name you get back from the above function module.

Regards,

Pavan

Read only

Former Member
0 Likes
324

in smartform, with in the server means no need to transport, otherwise transport the C.R .No for driver program(se38) ,smartform,smartstyles,logo