05-19-2011 1:08 PM
hi all,
I've filled the bapi structure as written in documentation
and used the other BAPI's in the following order:
1)BAPI_PS_INITIALIZATION
2)BAPI_BUS2054_DELETE_MULTI
3)BAPI_PS_PRECOMMIT
4)BAPI_TRANSACTION_COMMIT
I export the project definition (PD) and only the WBS-elements,
which are not useid in FI or PSCD, to the BAPI.
But the BAPI checks all WBS-elements : the WBS-elements which are used in FI-Documents too and
gives back error messages in the bapireturn, that these element are already used in FI.
So I catch this FALSE exception and run bapi_precommit and commit
And what happens?
I thought that the deletion of all elements were rejected.
NO!!! Alll (the assigned WBS too!!!!!) WBS-elements were deleted!
and finally the project definition!
Has someone another solution to delete some WBS-elements of project definition??
I'll create a OSS call as a precaution
thx
Andreas
10-11-2011 3:36 PM
10-11-2011 6:20 PM