Application Development and Automation 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: 
Read only

BAPI_BUS2054_CHANGE_MULTI

Former Member
0 Likes
2,441

Hi all,

I'm trying to use this BAPI to update a wbs element of a project, with Funcional location field.

I was told to use BAPI_PS_INITIALIZATION before BAPI_BUS2054_CHANGE_MULTI, and BAPI_PS_PRECOMMIT after...

the thing is that the return messages are ok:

"Individual check for change to object WBS Element NL02/06:0017-01 succ"

"WBS Element NL02/06:0017-01 was changed successfully, GUID 45362AEB245"

"Final check of the project definition and the WBS elements: No Error"

But the fact is, that the project wasn't updated with the function location on the specified wbs.

any suggestions on this?

many thanks

Nuno

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,220

Do not forget to put 'commit work' or fm 'bapi_commit' to save changes in database. It should be called after 'precommit' function if there have not been any errors returned by functions you mentioned.

2 REPLIES 2
Read only

Former Member
0 Likes
1,221

Do not forget to put 'commit work' or fm 'bapi_commit' to save changes in database. It should be called after 'precommit' function if there have not been any errors returned by functions you mentioned.

Read only

0 Likes
1,220

Hi

you have to run this function module in one after other,

I am assuming this you are testing the FM in test mode

sequence of running can be given by this way

Last you have to run BAPI_TRANSACTION_COMMIT

you can maintain the test sequience by

se37 --> name of first FM > main menu>function module>test->test sequence

Here you can maintain the sequence of FM in one line.

this will help you

if help full please don't forget to rewads marks.

with Regards

Dhananjay