cancel
Showing results for 
Search instead for 
Did you mean: 

How to do all questions mandatory in Audit management

anand_shukla
Active Participant
0 Kudos

Hello Gurus,

In Audit management T-code : PLMD_Audit,

I have created audit and questions,

now my business people want all questions should be mandatory, to avoid any mistakes during audit assessment.

Kindly suggest is there any option available for same.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

A method including development could serve your purpose. For this, first you have to create an implementation for the BADI PLM_AUDIT CALCULATE. In order to create the implementation follow the customization menu of audit management and find system enhancement node of audit assessment. From the menu copy the process you are already using and create a new calculation process. In the header of the new class create a new method such as Z1 in the parameters (later you have to assign this assessment process to the audit). In the method CALCULATE_AUDIT of the BADI implementation, check if all the questions in the question list have been evaluated and issue an error message if not so. It is eligible to employ MESSAGE pattern as well as appending a message to ls_calc_exception structure of the BADI. Preserve the code of the original method to have the system carry out the calculation as required.

Please try and revert.

Regards.