Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Badi without export parameter for messages

Former Member
0 Likes
423

Hi Guru's

I am using a HR related badi for one validation. As per my requirement, In BADI "HRECM00_CONSISTENCY" i need to perform validations.

If some mismatch in the condition, then i will pass error message and warning messages.

But in BADI there is no export parameter to give the error message to Portal.

This messages should be displayed in HR MSS tab in compensation tool managed. I have one parameter in Import with "TYPE REF"(message handler). I am not sure whether that field will help or not.

Please clarify this.

If it is not could you please suggest any alternate way to populate the message to portal.

Thanks & Regards,

Ganesh R K

2 REPLIES 2
Read only

Former Member
0 Likes
358

hi guru's

Awaiting for your advice on this.

Read only

0 Likes
358

Hello Ganesh,

try to call this FM to Added Messages.

call function 'HR_ECM_ADD_MESSAGE'
      exporting
        message_handler = message_handler
        msgty           = 'E'
        msgid           = 'messageid'
        msgno           = 'Message No'
        msgv1           = 'Prabhu' . 

regards

Prabhu