GET_BDS_TEMPLATE_CRYSTAL SAP Method Get Crystals Reports Template from BDS (if available)
Below is documentation, parameters and attributes of ABAP Method GET_BDS_TEMPLATE_CRYSTAL within SAP class CL_GUI_ALV_GRID. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_GUI_ALV_GRID into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method GET_BDS_TEMPLATE_CRYSTAL can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_BDS_TEMPLATE_CRYSTAL
.| Name | Type | Data Type | Description | Default Value |
| I_CURRENT_TEMPLATE_VALID | Importing | TYPE FLAG | Currently Active Template is Valid | |
| I_OFFLINE | Importing | TYPE FLAG | General Flag | |
| I_SUPRESS_MESSAGE | Importing | TYPE FLAG | Suppress Messages | |
| I_TABLE_REQUESTED | Importing | TYPE FLAG | General Flag | |
| ES_ALV_BDS | Exporting | TYPE LVC_S_BDS | Structure for BDS Template List Display | |
| ET_CONTENT | Exporting | TYPE SBDST_CONTENT | Table with Template Content | |
| E_FILESIZE | Exporting | TYPE INT4 | Natural Number |
Exceptions of Method GET_BDS_TEMPLATE_CRYSTAL
LVC_S_BDS
SBDST_CONTENT
INT4
Example ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO CL_GUI_ALV_GRID.
DATA: lv_ES_ALV_BDS TYPE LVC_S_BDS,
lv_ET_CONTENT TYPE SBDST_CONTENT,
lv_E_FILESIZE TYPE INT4,
lv_I_CURRENT_TEMPLATE_VALID TYPE FLAG,
lv_I_OFFLINE TYPE FLAG,
lv_I_SUPRESS_MESSAGE TYPE FLAG,
lv_I_TABLE_REQUESTED TYPE FLAG,
lv_other TYPE c.
CALL METHOD lo_class=>GET_BDS_TEMPLATE_CRYSTAL(
EXPORTING
I_CURRENT_TEMPLATE_VALID = lv_I_CURRENT_TEMPLATE_VALID
I_OFFLINE = lv_I_OFFLINE
I_SUPRESS_MESSAGE = lv_I_SUPRESS_MESSAGE
I_TABLE_REQUESTED = lv_I_TABLE_REQUESTED
IMPORTING
ES_ALV_BDS = lv_ES_ALV_BDS
ET_CONTENT = lv_ET_CONTENT
E_FILESIZE = lv_E_FILESIZE ).
Links to Related Class(s)
CL_GUI_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects