on 2012 Jun 22 8:55 AM
Hi Gurus,
I have a requirement to automatically change project status to closed or cancelled when one button or another is pressed. Y know how to read the status of the project via dpr_ts_proc_status but unable to set project status.
I would appreciate if someone could throw some light upon this issue.
Thank you
Hi Hector;
Which version of SAP PPM are you using?
You need to change the Project Definition status?
Try with FM for Project Definition--> BAPI_BUS2172_SET_STATUS
CALL FUNCTION 'BAPI_BUS2172_SET_STATUS'
EXPORTING
project_definition_guid = gv_project_guid
iv_status_profile = lv_esquema
TABLES
return = lt_return.
Try with FM for Phases--> BAPI_BUS2173_SET_STATUS
CALL FUNCTION 'BAPI_BUS2173_SET_STATUS'
EXPORTING
phase_guid = ls_fase-guid
iv_status_profile = lv_esquema
TABLES
return = lt_return.
Don't forget to make 'BAPI_CPROJECTS_COMMIT_WORK'.
Regards,
Mariano
Message was edited by: Mariano Sabiche
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.