ABAP OO Class Methods

GET_DRIVE_TYPE SAP Method - Get Drive Type








Below is documentation, parameters and attributes of ABAP Method GET_DRIVE_TYPE within SAP class CL_GUI_FRONTEND_SERVICES. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name CL_GUI_FRONTEND_SERVICES into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


Class: CL_GUI_FRONTEND_SERVICES

Method: GET_DRIVE_TYPE

Method Type: Static Method
This is a Static Method so you can call it directly

Importing Parameters:
Below is a list of importing parameters associated with this method, including its name, description and data type



DRIVE " Drive TYPE STRING

Changing Parameters:
DRIVE_TYPE " Drive Type TYPE STRING

Exceptions:
CNTL_ERROR - Control error
BAD_PARAMETER - Incorrect parameter
ERROR_NO_GUI - No GUI available
NOT_SUPPORTED_BY_GUI - GUI does not support this


Example ABAP coding

DATA:
ld_DRIVE TYPE STRING ,
ld_DRIVE_TYPE TYPE STRING.

" ld_DRIVE = "

CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_DRIVE_TYPE(
EXPORTING
DRIVE = ld_DRIVE
CHANGING
DRIVE_TYPE = ld_DRIVE_TYPE
EXCEPTIONS
CNTL_ERROR = 1
BAD_PARAMETER =