Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

strange behaviour of BAPI_BUS2054_DELETE_MULTI

andreas_mann3
Active Contributor
0 Kudos

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

2 REPLIES 2

andreas_mann3
Active Contributor
0 Kudos

solved by SAP (oss noe)

0 Kudos

Do you remember which one?

Rob