cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the Feeder class behind Incident creation in SAP EHS?

vimal
Active Participant
0 Kudos

I have a requirement where i need to change the message text after clicking "Send" button while creating Incident.

How to find the feeder class and method which is called behind "Send" button ?

Thanks,

Vimal

Accepted Solutions (1)

Accepted Solutions (1)

Aliaksandr
Active Participant
0 Kudos

Hi Vimal,

More often such buttons are processed in application component controller.

In your case application component controller class is CL_EHHSS_INC_QAF_CNTRLR_NEW. If you have such message "&1 &2 reported successfully; responsible incident manager notified" it is raised in REPORT_SUCCESS_MESSAGE method of this class.

Kind regards, Aliaksandr.

Answers (3)

Answers (3)

vimal
Active Participant
0 Kudos

In above pic,if we click on Send button,Which Feeder class is called ?

yury_sichov
Active Contributor
0 Kudos

Maybe this can help.

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

yury_sichov
Active Contributor
0 Kudos

Feader class are linked in transaction POWL_TYPE. You have to know POWL ID. May be it something like *EHS*.

vimal
Active Participant
0 Kudos

Where to find POWL ID?

yury_sichov
Active Contributor
0 Kudos

Is it POWL feeder? I described solution for POWL.

If it is one of GUIBB feeders look for its name in component configuration.

yury_sichov
Active Contributor
0 Kudos

Application name?

vimal
Active Participant
0 Kudos

Application     : EHHSS_INC_REC_QAF

yury_sichov
Active Contributor
0 Kudos

I dont have such.. but you can set  external debug point in function module POWL_QUERY_REFRESH

* get the result object type from the feeder
   lr_feeder->get_object_definition(
      EXPORTING
       i_selcrit_values = lt_crit_para  " selcrit dependent object def.
       i_langu = l_langu                                     "nt_1673495
       i_type  = i_query_data-type
      IMPORTING
       e_object_def = lr_object_def


In I_QUERY_DATA-TYPE you can see name of POWL ID.


Find it in transaction POWL_TYPE and you get name of feader class!