cancel
Showing results for 
Search instead for 
Did you mean: 

looking forward a FM or method or BAPI to change status of project

Former Member
0 Kudos

I need to set a project status to 'cancel' or 'reset cancel'. after debuging the standard WD program and class, the FM is still not found by me.

pls advise, thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

ChrisPaine
Active Contributor
0 Kudos

Duan,

you're going to need to provide a LOT more detail than that... for example what is the standard app you debugged?

It is part of the forum rules that posts should provide enough detail for other to be able to respond. Not only will you get no help if your posts are not detailed enough, but you may be reported to the mods, and if you keep doing the same thing may find your account disabled for repeated forum rules violation.

Please help us to help you and provide a bit more detail.

Thanks,

Chris

Answers (1)

Answers (1)

Former Member
0 Kudos

To set the status of a project, phase or task use the following BAPIs

BAPI_BUS2172_SET_STATUS - To set the status of the project

BAPI_BUS2173_SET_STATUS - To set the status of the phase

BAPI_BUS2175_SET_STATUS - To set th status of a task

In each of the BAPIs pass the relevant GUIDs of the project, phase or the task as applicable and in structure IS_BUSINESS_TRANSACTION in field BUSINESS_TRANSACTION pass the relevant value -

RELEASE Release

COMPLETE Complete

REVOKE_COMPLETE Reset Complete

CANCEL Cancel

REVOKE_CANCEL Reset Cancel

SET_IN_PROCESS Set in Process

SET_USER_STATUS Set User Status

REVOKE_USER_STATUS Reset User Status Without Status Number