본문 바로가기
IT Tech/SAP

SAP : CL_GUI_FRONTEND_SERVICES 클래스

by 겸손, 빚진자, 늘 배우는 사람, 배운것을 실습해보는 사람 2015. 12. 29.
반응형

CL_GUI_FRONTEND_SERVICES into the relevant SAP transaction such as SE24 or SE80


1. 할수 있는 일 (포함된 함수)


Class Methods

Class methods are similar to function modules in that they are a coding block that performs certain ABAP functionality. Methods can be referenced using the following syntax: CALL METHOD CL_GUI_FRONTEND_SERVICES=>methodname EXPORTING/IMPORTING... 

GET_USER_NAME - Get User Name 
GET_WINDOWS_DIRECTORY - Get Windows Directory 
GUI_DOWNLOAD - Download Data to Client PC 
GUI_UPLOAD - Upload Data from Client PC 
TYPEAHEAD_EXPORT - Exports data to clipboard 
STRCMPI - String comparison (not case-sensitive) 
SHOW_DOCUMENT_FALLBACK - Helper function of SHOW_DOCUMENT for older clients 
IS_SCRIPTING_ACTIVE - Checks whether scripting is currently running 
IS_TERMINAL_SERVER - Checks if the GUI Runs Under Terminal Services 
IS_VALID_HANDLE - Checks the validity of the instance 
SHOW_DOCUMENT - Displays a document on the front end 
REGISTRY_SET_VALUE - Writes a REG_SZ, REG_SZ_EXPAND Registry Value 
REGISTRY_SET_DWORD_VALUE - Writes a Registry REG_DWORD Value 
REGISTRY_GET_VALUE - Reads a Registry REG_SZ, REG_SZ_EXPAND Value 
REGISTRY_GET_DWORD_VALUE - Reads a Registry REG_DWORD Value 
REGISTRY_DELETE_VALUE - Deletes a Registry Value 
REGISTRY_DELETE_KEY - Deletes a Registry Key 
RAISE_SCRIPTING_EVENT - Raise scripting event 
GET_UPLOAD_DOWNLOAD_PATH - Gets the upload/download paths 
CHECK_GUI_SUPPORT - Checks GUI-Supported Features 
CLASS_CONSTRUCTOR - Class Constructor 
CLIPBOARD_EXPORT - Exports data to clipboard 
CLIPBOARD_IMPORT - Imports data from clipboard 
CONSTRUCTOR - Create in Private Section 
DIRECTORY_BROWSE - Shows a Directory Selection Window 
DIRECTORY_CREATE - Creates a Directory in the Client 
DIRECTORY_DELETE - Deletes a Directory in the Client 
DIRECTORY_EXIST - Checks whether a directory exists 
DIRECTORY_GET_CURRENT - Returns the Current Directory 
DIRECTORY_LIST_FILES - Lists Files in a Given Directory 
DIRECTORY_SET_CURRENT - Sets the Current Directory (Do NOT Use) 
DISABLEHISTORYFORFIELD - Disables a Specific History Field 
ENVIRONMENT_GET_VARIABLE - Gets an Environment Variable 
ENVIRONMENT_SET_VARIABLE - Sets an Environment Variable 
EXECUTE - Starts an Application or Opens a Document in the Client 
FILE_COPY - Copies a File 
FILE_DELETE - Deletes a File 
FILE_EXIST - Checks if a File Exists 
FILE_GET_ATTRIBUTES - Gets File Attributes for a File 
FILE_GET_SIZE - Returns the Size of a File 
GET_TEMP_DIRECTORY - Returns the Path to the TEMP Directory 
GET_SYSTEM_DIRECTORY - Get System Directory 
GET_SCREENSHOT - Makes a screenshot of the current window 
GET_SAPLOGON_ENCODING - Return to saplogon Codepage 
GET_SAPGUI_WORKDIR - Returns ..\\Documents and Settings\DNR\SAPWorkdir (Example) 
GET_SAPGUI_DIRECTORY - Gets GUI Start Directory 
GET_PLATFORM - Return Operating System Platform 
GET_LF_FOR_DESTINATION_GUI - Destinations' SAP GUI Line Feed 
GET_IP_ADDRESS - Gets IP Address 
GET_GUI_VERSION - Returns the Upload/Download Paths 
GET_GUI_PROPERTIES - Returns Stream of GUI Properties 
GET_FREE_SPACE_FOR_DRIVE - Returns Free Space on Drive 
GET_DRIVE_TYPE - Get Drive Type 
GET_DRIVE_FREE_SPACE_MEGABYTE - Returns Drive's Free Space in MB 
GET_DESKTOP_DIRECTORY - Get Desktop Directory 
GET_COMPUTER_NAME - Get Computer Name 
FILE_SET_ATTRIBUTES - Set File Attributes 
FILE_SAVE_DIALOG - Shows a File Save Dialog 
FILE_OPEN_DIALOG - Displays a File Open Dialog 
FILE_GET_VERSION - Returns the Version Number from Resource of a File 


참고 : http://www.se80.co.uk/sapclasses/c/cl_g/cl_gui_frontend_services.htm

728x90