Ansicht
Dokumentation
READ_MULTIPLE_TEXTS - Read Multiple Texts (Selection Using Wildcards or Ranges Tables)
ABAP Short Reference Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
Reads multiple SAPscript texts. The texts to be read can be ascertained either using wild cards (parameters CLIENT, NAME, OBJECT, ID, LANGUAGE) or using range tables (parameters NAME_RANGES, OBJECT_RANGES, ID_RANGES, LANGUAGE_RANGES).
The texts are read either from the text memory or from the database.
Header information and text lines of all texts found are returned in internal table TEXT_TABLE. Existing texts whose headers fulfill the selection conditions, but whose content cannot be identified, are contained in table ERROR_TABLE.
Example
Read all texts with following keys:
- Name begins with 'Z',
- ID is either 'ST' or 'ADRS',
- Object is 'TEXT',
- Any language.
data: id_ranges type tspsrid,
id_range like line of id_ranges,
text_table type standard table of itclh,
error_table type standard table of itclh.
clear: id_ranges, id_range.
id_range-sign = 'I'.
id_range-option = 'EQ'.
id_range-low = 'ST'.
append id_range to id_ranges.
id_range-low = 'ADRS'.
append id_range to id_ranges.
call function 'READ_MULTIPLE_TEXTS'
exporting
name = 'Z*'
object = 'TEXT'
language = '*'
id_ranges = id_ranges
importing
text_table = text_table
error_table = error_table
exceptions
wrong_access_to_archive = 1
others = 2.
Parameters
ARCHIVE_HANDLECLIENT
ERROR_TABLE
ID
ID_RANGES
LANGUAGE
LANGUAGE_RANGES
LOCAL_CAT
NAME
NAME_RANGES
OBJECT
OBJECT_RANGES
TEXT_TABLE
USE_OLD_PERSISTENCE
WILDCARD_PLUS
Exceptions
WRONG_ACCESS_TO_ARCHIVEFunction Group
STXDFill RESBD Structure from EBP Component Structure CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 4499 Date: 20240523 Time: 164035 sap01-206 ( 37 ms )