Start of Content Area

Overview documentation SAPscript Function Modules  Locate the document in its SAP Library structure

This section contains a detailed description of the function modules used by SAPscript.

 

Database

 

READ_TEXT

Reads a text module and passes it to the specified work areas.

READ_TEXT_INLINE

Like READ_TEXT. In addition, it passes the first few text lines to a second lines table.

READ_REFERENCE_LINES

Reads the text lines of a reference text and passes them to the specified lines table.

SAVE_TEXT

Saves a text.

DELETE_TEXT

Deletes a text.

COPY_TEXTS

Copies a text.

SELECT_TEXT

Finds the texts for an application object.

 

 

Administration

 

REFER_TEXT

Creates a reference to another text.

RENAME_TEXT

Renames the text in the text memory.

COMMIT_TEXT

Creates for all texts in the text memory the call of an appropriate update module.

INIT_TEXT

Initializes the internal work areas for a text.

 

 

Editor call

 

EDIT_TEXT

Calls the text editor.

EDIT_TEXT_INLINE

Merges the inline lines with the other text lines and calls the text editor.

 

 

Consistency check

 

CHECK_TEXT_AUTHORITY

Checks the authorization for standard texts.

CHECK_TEXT_ID

Checks whether the specified text ID is valid.

CHECK_TEXT_LANGUAGE

Checks whether the specified text language is valid.

CHECK_TEXT_OBJECT

Checks whether the specified text object is valid.

CHECK_TEXT_NAME

Checks whether the specified text name is valid.

 

 

Editing functions

 

TEXT_SYMBOL_COLLECT

Finds the variable symbols that occur in a text.

TEXT_SYMBOL_PARSE

Checks whether a character string is a SAPscript symbol.

TEXT_SYMBOL_REPLACE

Replaces symbols in a text with their values.

TEXT_SYMBOL_SETVALUE

Defines the value of a text symbol.

TEXT_CONTROL_REPLACE

Replaces control statements in a text (IF, CASE...).

TEXT_INCLUDE_REPLACE

Replaces INCLUDE control statements by the text lines of the corresponding text.

 

 

Print

 

PRINT_TEXT

Formats a text for output.

PRINT_TEXT_ITF

Prints a text in the internal ITF format.

 

 

Form functions

 

OPEN_FORM

Opens the form output.

CLOSE_FORM

Ends the form output.

START_FORM

Starts a new form.

WRITE_FORM

Calls a form element.

WRITE_FORM_LINES

Writes text lines into a form.

END_FORM

Ends the current form.

CONTROL_FORM

Sends a control statement to the form.

READ_FORM_ELEMENTS

Finds the elements of a form.

READ_FORM_LINES

Passes the lines of a form elements into an internal lines table.

 

 

Conversion

 

CONVERT_TEXT

Converts texts between different formats.

CONVERT_TEXT_R2

Converts texts between SAPscript and the R/2 format.

CONVERT_OTF_MEMORY

Converts the formatted text (OTF format).

EXCHANGE_ITF

Exchanges the paragraph and character formats of a text with those of another style or form.

 

 

Transfer

 

IMPORT_TEXT

Imports texts.

EXPORT_TEXT

Exports texts.

TRANSFER_TEXT

Uploads/Downloads texts.

 

 

 

End of Content Area