ABAP OO Class Methods

GET_WORK_LIST SAP Method - Get Work List







Below is documentation, parameters and attributes of ABAP Method GET_WORK_LIST within SAP class IF_PRP_RESOURCES_CATS. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name IF_PRP_RESOURCES_CATS into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

IF_PRP_RESOURCES_CATS

Method Name

GET_WORK_LIST

Method Type

Instance Method:   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.






Importing Parameters:

Below is a list of importing parameters associated with this method, including its name, description and data type


IV_BEG_DATE " Date and Time, Current (Application Server) Date TYPE SY-DATUM
IV_END_DATE " Date and Time, Current (Application Server) Date TYPE SY-DATUM
IV_PARTNER_GUID " Business Partner GUID TYPE BU_PARTNER_GUID

Exporting Parameters:


ET_CATS_WL " CATS Worklist TYPE PRP_TT_RESOURCE_CATS_WL

Exceptions:



Example ABAP coding


DATA:
ld_IV_BEG_DATE TYPE SY-DATUM ,
ld_IV_END_DATE TYPE SY-DATUM ,
ld_IV_PARTNER_GUID TYPE BU_PARTNER_GUID ,
ld_ET_CATS_WL TYPE PRP_TT_RESOURCE_CATS_WL.

" ld_IV_BEG_DATE = "
" ld_IV_END_DATE = "
" ld_IV_PARTNER_GUID = "

DATA: lo_CATS TYPE REF TO IF_PRP_RESOURCES_CATS .
CALL METHOD lo_CATS->GET_WORK_LIST(
EXPORTING
IV_BEG_DATE = ld_IV_BEG_DATE
IV_END_DATE = ld_IV_END_DATE
IV_PARTNER_GUID = ld_IV_PARTNER_GUID
IMPORTING
ET_CATS_WL = ld_ET_CATS_WL ).