IS_VALID SAP Method Check If Regulation for Public Services Regulation Is Valid









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

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

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


Parameters of Method IS_VALID

.

NameTypeData TypeDescriptionDefault Value
IS_P0001ImportingTYPE
P0001
HR Master Record: Infotype 0001 (Organizational Assignment)
IV_DATEImportingTYPE
BEGDA
Key Date for Check
IV_PERNRImportingTYPE
PERNR_D
Personnel Number
IV_TRFARImportingTYPE
TRFAR
Pay Scale Type
IV_TRFGBImportingTYPE
TRFGB
Pay Scale Area
RV_RESULTReturningTYPE
ABAP_BOOL
Use of Public Services Regulation; True or False



Exceptions of Method IS_VALID

CX_HRPAYDE_FED_STATE - Exception When Evaluating Use of Public Services Regulation

Example ABAP coding


DATA: lo_class TYPE REF TO IF_HRPAYDE_FED_STATE.
DATA: lv_IS_P0001 TYPE P0001,
lv_IV_DATE TYPE BEGDA,
lv_IV_PERNR TYPE PERNR_D,
lv_IV_TRFAR TYPE TRFAR,
lv_IV_TRFGB TYPE TRFGB,
lv_RV_RESULT TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD lo_class=>IS_VALID(
EXPORTING
IS_P0001 = lv_IS_P0001
IV_DATE = lv_IV_DATE
IV_PERNR = lv_IV_PERNR
IV_TRFAR = lv_IV_TRFAR
IV_TRFGB = lv_IV_TRFGB
RECEIVING
RV_RESULT = lv_RV_RESULT )



"Alternate coding for Method Call with returning parameter
lv_RV_RESULT = lo_class=>IS_VALID(
EXPORTING
IS_P0001 = lv_IS_P0001
IV_DATE = lv_IV_DATE
IV_PERNR = lv_IV_PERNR
IV_TRFAR = lv_IV_TRFAR
IV_TRFGB = lv_IV_TRFGB ).

Links to Related Class(s)

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