Posted: Sat Sep 08, 2007 9:53 pm Post subject: Miscellaneous
CV120_SPLIT_FILE - Split full path to filename and extension
CL_SOTR_SPELLCHECKER - Liguistical Analysis of Texts
SXPG_COMMAND_LIST_GET - Select a list of external OS command definitions.
ARFC_GET_TID - will return the IP address of the terminal in hex.
SO_SPLIT_FILE_AND_PATH - Split a fully pathed filename into a filename and a path.
RKD_WORD_WRAP - Convert a long string or phrase into several lines.
RZL_SLEEP - Access routines for RZL storage
Sleep Up to 5 seconds
ENQUE_SLEEP - Sleep Without restrictions
QF05_RANDOM - Random number generator
Returns random number between 0 and 1
QF05_RANDOM_INTEGER - Random (whole) number
Returns random integer number between min and max
INIT_TEXT - To load long text into SAP
SAVE_TEXT - To load long text into SAP
DELETE_TEXT - SAPscript: Delete text
SEARCH_TEXT - SAPscript: Search for texts saved with SAPscript
COMMIT_TEXT - Transfer text creation text(s) to update
READ_TEXT - To load long text into SAP
Pass it the Text Identification Details and it will retrieve the texts into the internal table (IT_TEXTS).
The main inputs for the FM are Text name, Language, Text ID and Text object and can be located using the Goto menu (Goto->Header) in the Long Text screen (see Picture below).
Code:
*Internal table to store standard texts
DATA: IT_TEXTS like T_LINE occurs o with header line.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = "Text ID
language = "Laguage
name = "Text name
object = "text object
* ARCHIVE_HANDLE = 0
* IMPORTING
* HEADER =
tables
lines = IT_TEXTS "Internal table
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.