How to get PERNR of an employee

** How to get pernr of employee   data lv_uname   type uname.   data ls_return2 type bapiret2.   data r_pernr    type pernr_d. * Get personal number for employee   CALL FUNCTION ‘BAPI_USR01DOHR_GETEMPLOYEE’     EXPORTING       id             = lv_uname     IMPORTING       return         = ls_return2       employeenumber = r_pernr     EXCEPTIONS       OTHERS = 1.