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

How to default Roles on Person Affected screen (transaction cbih82)

Former Member
0 Likes
151

Hi, Experts

When an Iincident / Accident Log Entry of a specific type is created, I would like to default a few roles e.g. INJ / "Injured Person" on the persons affected screen in transaction CBIH82.

Is there a USER EXIT to achieve this?

Regards,

Nhlanhla Ndlovu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Nhlanhla,

There is an user exit "IAL_TYPE" which you can assign against the "log entry type" at "Specify Incident/Accident log entry types" in spro. But, this user exit performs a check function, which compares the number of persons affected with the Incident/Accident log entry type and outputs a warning if it finds inconsistencies.

A reference function module "CBIH_LB14_IAL_UPD_CRE_CHECK" is assigned to this user exit at Basic Data & Tools>Basic settings> Manage user exits.

For your requirement, you may probably use this reference function module as a template for defining your own logic.

Regards,

Pavan

Answers (0)