on 08-21-2008 10:16 AM
Hi,
we would like to automatically change User Status of a WBS element at SAVE (in tcode CJ20N).
The User Status should be calculated from data of the WBS element itself.
Is there any BADI / User Exit having WBS element's data in importing parameters and User Status in exporting parameters ?
For the moment, the technical solution chosen is a Mass calculation for all WBS elements at night.
Thank's for responding !!!
try BAPI_BUS2054_SET_STATUS ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can use BAdi -
WORKBREAKDOWN_UPDATE and write an implementation.
In that implementation put the logic to calculate the data of the project and if it meets criteria set the status of the wbse by passing WBSE as input to the BAPI_BUS2054_SET_STATUS and mentioning which user status needs to be set.
Here note that use can set status of only one WBSE at a time. Status will not be inherited by lower level WBSE, you have to individually do that for each WBSE.
Thanks
Saikishore Ganga.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answers,
using BAPI_BUS2054_SET_STATUS in WORKBREAKDOWN_UPDATE was a good idea, but caused a dump, essentially due to an automatic pre-commit in this BAPI.
We finally chose a more direct way to add our desired User Status :
We used 'CNIF_STATUS_2054_SET_USER' in BEFORE_UPDATE method of WORKBREAKDOWN_UPDATE Badi.
As we only wanted to Add a specific User status.
Hope this will help !
Hey Romain,
I am very interested in solution you gave in this forum. I would like to automate the process of setting statuses for wbs'es. Could you give more details about your soultion (some parts of impelementation of function before_update)....
Thanks in advance - I really appreciate any help!
Konrad
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.