GET_DEFAUT_OBJECT SAP Method get defaut by user param.









Below is documentation, parameters and attributes of ABAP Method GET_DEFAUT_OBJECT within SAP class SC_BADI_PD_UNIV_SERV. 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 SC_BADI_PD_UNIV_SERV 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_DEFAUT_OBJECT can also be found below:

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


Parameters of Method GET_DEFAUT_OBJECT

.

NameTypeData TypeDescriptionDefault Value
DEPTH_N1ImportingTYPE
DEPTH
Display Depth of Structure
DEPTH_N2ImportingTYPE
DEPTH
Display Depth of Structure
EFFECTIVE_DATEImportingTYPE
ASR_EFFECTIVE_DATE
Effective Date
FLAGImportingTYPE
CHAR1
Single-Character Indicator
FL_MUTIImportingTYPE
CHAR1
Single-Character Indicator
INT_FIELD_VALUEImportingTYPE
HRASR00GENSRV_DATASET_INIT
Data at Initialization
IT_T77AW_N1ImportingTYPE
HRTB_T77AW
HR: Evaluation Path Definition
IT_T77AW_N2ImportingTYPE
HRTB_T77AW
HR: Evaluation Path Definition
OUT_FIELD_VALUESChangingTYPE
HRASR00GENSRV_DATASET_INIT_TAB
Data at Initialization



Exceptions of Method GET_DEFAUT_OBJECT

This method does not have any exceptions

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 SC_BADI_PD_UNIV_SERV.
DATA: lv_DEPTH_N1 TYPE DEPTH,
lv_DEPTH_N2 TYPE DEPTH,
lv_EFFECTIVE_DATE TYPE ASR_EFFECTIVE_DATE,
lv_FLAG TYPE CHAR1,
lv_FL_MUTI TYPE CHAR1,
lv_INT_FIELD_VALUE TYPE HRASR00GENSRV_DATASET_INIT,
lv_IT_T77AW_N1 TYPE HRTB_T77AW,
lv_IT_T77AW_N2 TYPE HRTB_T77AW,
lv_OUT_FIELD_VALUES TYPE HRASR00GENSRV_DATASET_INIT_TAB,
lv_other TYPE c.

CALL METHOD lo_class=>GET_DEFAUT_OBJECT(
EXPORTING
DEPTH_N1 = lv_DEPTH_N1
DEPTH_N2 = lv_DEPTH_N2
EFFECTIVE_DATE = lv_EFFECTIVE_DATE
FLAG = lv_FLAG
FL_MUTI = lv_FL_MUTI
INT_FIELD_VALUE = lv_INT_FIELD_VALUE
IT_T77AW_N1 = lv_IT_T77AW_N1
IT_T77AW_N2 = lv_IT_T77AW_N2
CHANGING
OUT_FIELD_VALUES = lv_OUT_FIELD_VALUES ).

Links to Related Class(s)

SC_BADI_...
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!