Homelab, Linux, JS & ABAP (~˘▾˘)~
 

[ABAP] Read work schedule

DATA(employee_api)  = cl_hcmfab_employee_api=>get_instance( ).
DATA(work_schedule) = employee_api->get_work_schedule( iv_pernr = 1
                                                       iv_begda = sy-datum
                                                       iv_endda = sy-datum ).
cl_demo_output=>display_data( work_schedule ).

Leave a Reply

Your email address will not be published. Required fields are marked *