0% found this document useful (0 votes)
129 views2 pages

Leave Request Configuration Steps

This document provides instructions for configuring leave request approvals and suppressing application messages in leave requests. It describes determining the leave request approver using PTARQ or a rule group customization. It also explains using the BADI PT_GEN_REQ to find the responsible approver and next processor, as well as the method CL_PT_REQ_SEARCH_NEXT_P~SEARCH_NEXT_PROCESSOR. Finally, it outlines how to configure message outputs and suppress warning messages by maintaining entries in table V_HRWEB_TRS_MESS or using the BADI method MODIFY_APPLICATION_MESSAGES.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views2 pages

Leave Request Configuration Steps

This document provides instructions for configuring leave request approvals and suppressing application messages in leave requests. It describes determining the leave request approver using PTARQ or a rule group customization. It also explains using the BADI PT_GEN_REQ to find the responsible approver and next processor, as well as the method CL_PT_REQ_SEARCH_NEXT_P~SEARCH_NEXT_PROCESSOR. Finally, it outlines how to configure message outputs and suppress warning messages by maintaining entries in table V_HRWEB_TRS_MESS or using the BADI method MODIFY_APPLICATION_MESSAGES.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Leave request Configuration steps

Determination of the Approver

Firstly you can determine the approver using PTARQ> Determine approver

You can determine approver using the Rule group customisation in Table
V_PTARQ_TPROCESS otherwise you can use the BADI

The BAdI Control Processing Processes for Time Management Web Applications
(PT_GEN_REQ) and implement the method
IF_EX_PT_GEN_REQ~FIND_RESP_AND_DEFAULT_NEXT_PRC.

Method FIND_RESP_AND_DEFAULT_NEXT_PRC of badi PT_GET_REQ might be


utilised here.

Please have a look at the method


CL_PT_REQ_SEARCH_NEXT_P~SEARCH_NEXT_PROCESSOR.

If you are implementing the badi then make sure you copy all the methods and implement the
one, as mentioned.

If you want to suppress some application message in the Leave request this can be easily
done and also you can convert an error into Warning Message type

Personnel Management -> Employee Self-Service->Service specific settings -> Working


Time -> Leave Request -> Processing Processes-> Configure Output of messages.

Here for the corresponding rule group you could maintain an entry with only the message
type filled as "Warning" and please check the flag "Do not display Message". Then none of
the

warning messages will be displayed. All of them will be supressed.

You can do the customisation in table V_HRWEB_TRS_MESS

An illustration of the Message type :


Application Area is "HRTIM00BLPRETRO"
Message Type : Error
Message No : 009 or 006, Please check this

You can make use of BADI PT_GEN_REQ for this purpose. Following method is provided
in BADI for managing the messages.

MODIFY_APPLICATION_MESSAGES

You might also like