on 2015 May 25 4:30 AM
Hi Experts,
I want to set shift and shift group fields as mandatory only for safety observation recording. To fulfill this, I did the configurations as below.
But I had two problems in testing.
1. I only want to make shift and shift group as mandatory when user edit safety observation instead of reporting. Now reporting is failed as there is no shift and shift group to fill. How to ignore field control check when reporting?
2. This setting should be effective to Safety observation only, so I configured node attribute 'Category' and value '003'. But actually it also impact incident and near miss recording. what is wrong with my configuration?
Could you kindly help these 2 problems?
Thank you very much!
Wesley
Request clarification before answering.
Hi Wesley,
Hope the below solution will meet your requirements. There only small configuration changes to be done.
First I will address your point 2 issue,
2. "This setting should be effective to Safety observation only, so I configured node attribute 'Category' and value '003'. But actually it also impact incident and near miss recording. what is wrong with my configuration?"
use this Function class: CL_EHFND_CHK_ROOT_FIELD
By which your mandatory Configurations will reflect only for your 'Category' Safety Observation.
1. "I only want to make shift and shift group as mandatory when user edit safety observation instead of reporting. Now reporting is failed as there is no shift and shift group to fill. How to ignore field control check when reporting?"
For this you can use the status for Condition check.
Node Attribute : STATUS
Attribute Value : 02
Hence while reporting there wont be any mandatory field. But after reporting when it is opened for editing the status will as In process, Now the mandatory field will be applicable.
Hope this will resolve your issue!
Regards,
Suresh S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.