Friday, September 23, 2016

Class to Create Webdynpro URL


This is the class to construct Webdynpro URL based on the Application Name

  " Obtain the URL  cl_wd_utilities=>construct_wd_urlexporting application_name 'ZHR_EXAMPLE'                                                            in_parameters    lt_parameter
                                                            importing out_local_url    url ).

Thursday, September 22, 2016

Function to get PERNR based on user name




We can use below BADI to get person id or personal number  based on sy-uname


BAPI_USR01DOHR_GETEMPLOYEE