I am developing a utility program to change the status of multiple projects at once.
I am changing the status of Phase, task, check list,check list item and Project status from
Create to Release, release to Complete and to Work Effor Complete.With respective status change BAPIS.
when ever the projects is not able to change the status success fully due to validations
such as person respondsble not mainted or any other basic data is missing,
We are not committing the changes if every thing goes fine we are commiting with BAPI: BAPI_CPROJECTS_COMMIT_WORK
but when we commit with this it still retaining the previous project status in LUW and trying to commit previous project too.
and commit is getting failed.
I am not able to roll back or free the project with BAPI:BAPI_CPROJECTS_ROLLBACK_WORK and BAPI_BUS2172_FREE
BAPI_CPROJECTS_ROLLBACK_WORK: when iam trying to use this BAPI it is going to short dump
BAPI_BUS2172_FREE: It is returing error saying unable to free the project.
Could you please tell how to roll back the changes to the project or how to commit only success full projects (Project with out any errors in status change.)
Kindly do the needful