Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Leave request not displaying error message when implemented badi check_attachment_mandatory

$
0
0


Hi Experts,

 

We are using ECC 6.0 and EHP7.

 

I have implemented method 'CHECK_ATTACHMENT_MANDATORY' of badi 'PT_ABS_REQ' to throw error message when attachment is not added incase of sick leave.

 

when I check by not adding attachment I could see red mark but error message is not getting displayed.

I debugged from ECC by not adding attachment incase of sick leave, collecting message  203 (attachment mandatory for this leave type)from message class 'HRESS_PTARQ' but not showing up anymore on web dynpro screen.

But other messages eg. 'check of leave request successful' was displaying as expected.

 

While implementing badi I have copied all the methods of call back class 'CL_PT_ARQ_REQ_EXIT' even the code in the method 'IF_EX_PT_ABS_REQ~PROCESS_MESSAGES'.

Checked the Note 1806182, it is already implemented in the system.

 

As per the below scn post I could see two lines of code should be removed for displaying the same.

http://scn.sap.com/thread/3434435

Could you please help me which two lines should be removed.

 

 

Kindly help in same.

 

 

Regards,

Gita.


Viewing all articles
Browse latest Browse all 8581

Trending Articles