Quantcast
Channel: SCN : Unanswered Discussions - SAP ERP HCM Employee Self-Service
Viewing all articles
Browse latest Browse all 3114

Leaver request performance issue in BADI:pt_abs_req

$
0
0

Dear HCM mentor,

 

I added some checks in  BADI "pt_abs_req"  and it is works good when user try to create leave request in portal.

But it is very slow in performance  when the boss user try to approve the leave requests.

 

After debug I found Bad performance place are line 98~104

in class interface "CL_PT_ARQ_REQ_EXIT" method "IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP."

*---Call BLoP to fill TMW buffer and - if requested - add messages to message handler

   CALL METHODCL_PT_ARQ_BADI=>BLOP_MAINTAIN_TIMEDATA

     EXPORTING

       IM_CHECK_MODE       = SPACE

       IM_COLLECT_MESSAGES =IM_COLLECT_MESSAGES

     CHANGING

       CH_BLOP_TAB         = LT_BLOP_TAB.



Then I commented line 98~104 in my BADI.

It is really fast when the boss user approving leave request in portal.

But 1 more issue came after that, the error messages will not come any more when user try to create a leave request without enough leave days.


I found  a discussion  to change the SAP standard source code in Leave request - response time

But I feel nervous because I never changed SAP standard source code.


Any comment will be appreciative.


Regards

Feiyun





Viewing all articles
Browse latest Browse all 3114

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>