Search for:

HCM Programming

Get employee ID

DATA(employee_api) = cl_hcmfab_employee_api=>get_instance( ).
DATA(pernr) = employee_api->get_employeenumber_from_user( ). "Scenario, where one user has 1 employment (1 employee ID assigned)
"To retrieve employee IDs for multiple employment
DATA(pernrs) = employee_api->get_assignments( pernr ).
Read More

SRM Programming

Constants

DescriptionNameType
Document Status/sapsrm/if_pdo_status_cconstant interface
Object Types/sapsrm/if_pdo_obj_types_cconstant interface
Procurement Document Generic/sapsrm/if_pdo_constants_gen_cconstant interface
Workflow/sapsrm/if_wf_process_cconstant interface
Constant mix/sappssrm/cl_constantsconstant class
URL generation services (to access PDO)/sapsrm/cl_url_serviceclass
Read More