cancel
Showing results for 
Search instead for 
Did you mean: 

HCM Form - Error Message

Former Member
0 Kudos

Hi,

I am looking for a sample code to throw an General Error Message while processing an HCM Form in the MSS Portal . I have written all the code in the Enhancement part.Please give some examples.

Thanks,

Vind

Accepted Solutions (0)

Answers (1)

Answers (1)

ChrisPaine
Active Contributor
0 Kudos

I would be helpful to know what component you had enhanced...

As your question was quite brief I will try to be with an answer

Given that HCMP&F is FPM based - try looking at FPM_GAF_SFLIGHT_DEMO and the method of the controller - CHECK_FLIGHT_DATA. Here a message is reported if various fields are not populated.

Chris

Former Member
0 Kudos

Hi Chris,

I have enhanced the following object : CL_IM_HRASR00ISR. In this am trying to through an error message based on some conditions to external data (portal).

Thanks,

Vind

ChrisPaine
Active Contributor
0 Kudos

The class you mention is the standard implementation of the QISR1 BAdI.

Most the public methods return a table of type QISRTRETURN. I imagine if you populate these with the messages you want to raise the framework with then report them.

Not sure what this has to do with WDA.

Chris