CONSTRUCTOR SAP Method CONSTRUCTOR









Below is documentation, parameters and attributes of ABAP Method CONSTRUCTOR within SAP class /ISDFPS/CL_FDP_WF_VISUALIZE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is a Class Constructor so it is called automatically when the class is accessed for the first time.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /ISDFPS/CL_FDP_WF_VISUALIZE 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 CONSTRUCTOR can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CONSTRUCTOR

.

NameTypeData TypeDescriptionDefault Value
IM_TOOLBAR_DISABLEDImportingTYPE
CHAR1
Single-Character Indicator
IM_WF_STATUS_MODEImportingTYPE
CHAR1
'1': Still to Process; '2': Completed; ' ': All
IP_PARENTImportingTYPE REF TO
CL_GUI_CONTAINER
Abstract Container for GUI Controls
IP_WF_LISTImportingTYPE REF TO
/ISDFPS/CL_FDP_GATP_WF
For Data Retrieval: Workflow Functions - Material Request
IT_BANFN_RTImportingTYPE
/ISDFPS/BANFN_RT
Range Table Type for Data Element BANFN
IT_BNFPO_RTImportingTYPE
/ISDFPS/BNFPO_RT
Range Table Type for Data Element BNFPO
IT_EXCL_FUNCSImportingTYPE
UI_FUNCTIONS
Function Code Table
IT_LOGSYS_RTImportingTYPE
/ISDFPS/ALE_CENTRAL_SYSTEM_RT
Range Table Type for Data Element /ISDFPS/ALE_CENTRAL_SYSTEM
IT_SWW_WIID_RTImportingTYPE
/ISDFPS/SWW_WIID_RT
Range Table Type for Data Element SWW_WIID
IT_WF_STATUS_RTImportingTYPE
/ISDFPS/FDP_WF_STATUS_RT
Range Table Type for Data Element /ISDFPS/FDP_WF_STATUS



Exceptions of Method CONSTRUCTOR

ALV_ERROR - Error Building ALV Control

Example ABAP coding

As the method is a Class Constructor the below code doesnt really make sense as it cant be executed as a stand alone method but this is how it would look if it was a normal static method.

DATA: lo_class TYPE REF TO /ISDFPS/CL_FDP_WF_VISUALIZE.
DATA: lv_IM_TOOLBAR_DISABLED TYPE CHAR1,
lv_IM_WF_STATUS_MODE TYPE CHAR1,
lv_IP_PARENT TYPE CL_GUI_CONTAINER,
lv_IP_WF_LIST TYPE /ISDFPS/CL_FDP_GATP_WF,
lv_IT_BANFN_RT TYPE /ISDFPS/BANFN_RT,
lv_IT_BNFPO_RT TYPE /ISDFPS/BNFPO_RT,
lv_IT_EXCL_FUNCS TYPE UI_FUNCTIONS,
lv_IT_LOGSYS_RT TYPE /ISDFPS/ALE_CENTRAL_SYSTEM_RT,
lv_IT_SWW_WIID_RT TYPE /ISDFPS/SWW_WIID_RT,
lv_IT_WF_STATUS_RT TYPE /ISDFPS/FDP_WF_STATUS_RT,
lv_other TYPE c.

CALL METHOD lo_class=>CONSTRUCTOR(
EXPORTING
IM_TOOLBAR_DISABLED = lv_IM_TOOLBAR_DISABLED
IM_WF_STATUS_MODE = lv_IM_WF_STATUS_MODE
IP_PARENT = lv_IP_PARENT
IP_WF_LIST = lv_IP_WF_LIST
IT_BANFN_RT = lv_IT_BANFN_RT
IT_BNFPO_RT = lv_IT_BNFPO_RT
IT_EXCL_FUNCS = lv_IT_EXCL_FUNCS
IT_LOGSYS_RT = lv_IT_LOGSYS_RT
IT_SWW_WIID_RT = lv_IT_SWW_WIID_RT
IT_WF_STATUS_RT = lv_IT_WF_STATUS_RT ).

Links to Related Class(s)

/ISDFPS/...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!