Skip to Content
0
Mar 20, 2015 at 06:43 PM

IF_EX_HRPAD00INFTYUI~OUTPUT_CONVERSION message_handler issue

49 Views

Hi

I am facing an issue while working with W4 tax with holding in ESS . Need a custom message when hit on 'New federal' . BADI - HRPAD00INFTYUI is implemented and i added code in method OUTPUT_CONVERSION . I used message_handler importing parameter which has method add_message .

CALL METHOD message_handler->add_message

* EXPORTING

* message = msg

** field_list = field_list

* cause = if_hrpa_message_handler=>UNKNOWN

* detail_level = '1'.


I am able see the message on portal screen at the same time seeing dump on the screen . Dump like below .


at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)

at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)

at com.sap.xss.per.helpers.MessageHelper.raiseException(MessageHelper.java:43)

at com.sap.xss.hr.per.us.w4.fc.FcPerW4.newRecord(FcPerW4.java:255)

Anyone worked on custom message for W4 form and faced this issue Please respond .

Thanks

Kamesh