cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to create incident Through accessing BOPF Object EHHSS_INCIDENT

0 Likes
598

I am not able to create Incident in EHS system. could you please help me with sample code or customized bopf accessing program.

Accepted Solutions (0)

Answers (2)

Answers (2)

michaelf_
Product and Topic Expert
Product and Topic Expert
0 Likes

Dear Uday,

there are several classes and function modules which you can use as a template to create an EHS Incident in the system. As an example, you can have a look at the class CL_EHHSS_AIF_GEN_INB_HANDLER. This class is used to persist the data coming from the Adobe Interactive Form which is sent to the system. Alternatively, you could also use the class CL_EHHSS_INC_REPINC_BO_ACCESS which offers various methods to create the Assets, People, Releases, and Attachments related to an incident.

With kind regards,

Michael

0 Likes

Hello,

Check out the class CL_EHHSS_INC_MIGR_IMPORT which is used to import data from EHS ERP to S/4HANA .

Start with the method IMPORT_INCIDENT or check how this class is used in the function module BAPI_INC_IMPORT.

Kind regards,

Konstantin