SET_PRINT_BOUNDS SAP Method Set print boundaries for print preview
Below is documentation, parameters and attributes of ABAP Method SET_PRINT_BOUNDS within SAP class CL_DPR_UI_LOG_MPMON. 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_DPR_UI_LOG_MPMON 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 SET_PRINT_BOUNDS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_PRINT_BOUNDS
.| Name | Type | Data Type | Description | Default Value |
| IV_BORDER_ENABLED | Importing | TYPE WDY_BOOLEAN | Supplement for True Boolean Type: 'X' == True '' == False | |
| IV_FOOTER_ENABLED | Importing | TYPE WDY_BOOLEAN | Supplement for True Boolean Type: 'X' == True '' == False | |
| IV_HEADER_ENABLED | Importing | TYPE WDY_BOOLEAN | Supplement for True Boolean Type: 'X' == True '' == False | |
| IV_HORIZONTAL_CONSTRAINT | Importing | TYPE DPR_TV_HORIZONTAL_CONSTRAINT | Horizontal Constraint | |
| IV_LEFT_BOUND | Importing | TYPE DPR_TV_GANTT_START_DATE | Start Date | |
| IV_REPEAT_TREE_TIMELINE | Importing | TYPE WDY_BOOLEAN | Supplement for True Boolean Type: 'X' == True '' == False | |
| IV_RIGHT_BOUND | Importing | TYPE DPR_TV_GANTT_END_DATE | End Date | |
| IV_TITLE | Importing | TYPE STRING | Gantt Title for Print Preview | |
| IV_VERTICAL_CONSTRAINT | Importing | TYPE DPR_TV_VERTICAL_CONSTRAINT | Vertical Constraint | |
| EV_GANTT_DATA | Exporting | TYPE XSTRING |
Exceptions of Method SET_PRINT_BOUNDS
This method does not have any exceptionsExample 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_DPR_UI_LOG_MPMON.
DATA: lv_EV_GANTT_DATA TYPE XSTRING,
lv_IV_BORDER_ENABLED TYPE WDY_BOOLEAN,
lv_IV_FOOTER_ENABLED TYPE WDY_BOOLEAN,
lv_IV_HEADER_ENABLED TYPE WDY_BOOLEAN,
lv_IV_HORIZONTAL_CONSTRAINT TYPE DPR_TV_HORIZONTAL_CONSTRAINT,
lv_IV_LEFT_BOUND TYPE DPR_TV_GANTT_START_DATE,
lv_IV_REPEAT_TREE_TIMELINE TYPE WDY_BOOLEAN,
lv_IV_RIGHT_BOUND TYPE DPR_TV_GANTT_END_DATE,
lv_IV_TITLE TYPE STRING,
lv_IV_VERTICAL_CONSTRAINT TYPE DPR_TV_VERTICAL_CONSTRAINT,
lv_other TYPE c.
CALL METHOD lo_class=>SET_PRINT_BOUNDS(
EXPORTING
IV_BORDER_ENABLED = lv_IV_BORDER_ENABLED
IV_FOOTER_ENABLED = lv_IV_FOOTER_ENABLED
IV_HEADER_ENABLED = lv_IV_HEADER_ENABLED
IV_HORIZONTAL_CONSTRAINT = lv_IV_HORIZONTAL_CONSTRAINT
IV_LEFT_BOUND = lv_IV_LEFT_BOUND
IV_REPEAT_TREE_TIMELINE = lv_IV_REPEAT_TREE_TIMELINE
IV_RIGHT_BOUND = lv_IV_RIGHT_BOUND
IV_TITLE = lv_IV_TITLE
IV_VERTICAL_CONSTRAINT = lv_IV_VERTICAL_CONSTRAINT
IMPORTING
EV_GANTT_DATA = lv_EV_GANTT_DATA ).
Links to Related Class(s)
CL_DPR_U...Full list of available SAP object classes
Search for further information about these or an SAP related objects