2006 Oct 20 2:10 PM
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
2006 Oct 20 2:31 PM
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.
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
2006 Oct 20 2:31 PM
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.
2006 Oct 20 4:18 PM
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
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |