cancel
Showing results for 
Search instead for 
Did you mean: 

FM to change the status of Audit?

Former Member
0 Kudos

Hi,

If any knows the Function Module to change the status of Audit please let me know.

I want to change the status of Audit(PLMD_AUDIT) through program. So please provide me the FM.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello anonymous ,

You need to do it thru method:

call method cl_plm_audit_status_management=>status_change_intern

exporting

iv_status = 'I1821' "delete create status

iv_guid = wa_project-guid

iv_set_status = ' '

exceptions

status_not_allowed = 1

failed = 2

others = 3.

commit work and wait.

This Sample is relevant to corrective action.

You need to find your relevant audit status that you need

and write the correct Guid.

See table TJ02T with txt04 = AM* there you will find the status texts and the status code.

I checked it allready and it working proprlly.

Eli Cohen