on 11-03-2005 2:30 PM
Hi,
I am using BAPI "BAPI_PROJECT_MAINTAIN" to create Project and assign WBS elements to it. Everything is working fine.
Now I need to maintain settlement rule for created WBS Element. Is anybody aware abt how to pass parameters to BAPI mentioned. Or any other BAPI which I need to use.
Also how to change the status of WBS element to "RELEASE".
I tried using BAPI "BAPI_BUS2054_SET_STATUS" for the same but throwing message "Processing Not possible because there is no initialization".
awaiting for the reply at earliest,
Regards,
Manish
Guys, This has been discussed so longer. Do any one find the answer. Is there any BAPI / BADI available for creating the settlement rules ? or any other ways to create the settlement rules excluding BDC?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hai manish,
actually we had the same requirement but we did not create the WBS element using "BAPI_PROJECT_MAINTAIN"
but we did not use it because there is no problem in creation but the WBS element creation will not be on the node that we specify rather it will be always last , so we wrote a BDC code using call Transaction for CJ20N auotamically the WBS elemnet is Created ior the node specified
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
We are creating Projects using the following BAPIs (see my message above).
1.BAPI_PS_INITIALIZATION
2.BAPI_BUS2001_CREATE
3.BAPI_BUS2054_CREATE_MULTI
4.BAPI_BUS2001_SET_STATUS (To set the status at project level)
You can create WBS element at any level. I am creating WBS elements at level 2 and level 3. There is no problem whatsoever.
Regards
Pal Arumugam
Manish,
We had a similar requirement. Also, We had created custom fields in PRPS, (using CI_PRPS). You need to use a set of BAPIs in that case.
They are
1.BAPI_PS_INITIALIZATION
2.BAPI_BUS2001_CREATE
3.BAPI_BUS2054_CREATE_MULTI
4.BAPI_BUS2001_SET_STATUS (To set the status at project level)
OR
BAPI_BUS2054_SET_STATUS (To set the status at WBS element level)
5.BAPI_PS_PRECOMMIT
You don't have to code again for this. Whatever structures and internal tables you had used in BAPI_PROJECT_MAINTAIN can be used to populate the above BAPIs.
By the way, are you able to maintain settlement rule for created WBS element? If you have please let us know.
Regards
Pal Arumugam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Manish,
I believe that you can not maintain settlement rules from BAPI directly.
Either you can create a substitution rule ( Tcode OPSN ) at WBS element level or use BADI TCODE SE18(WORKBREAKDOWN_UPDATE, interface BEFORE UPDATE) to create settlement rules. Both BADI and substitution rules are called from BAPI. Use the combination of these two function modules to create settlement rules.
K_POSTING_RULE_INSERT
K_SETTLEMENT_RULE_SAVE_ALL
There are other function modules in function group KOBS which might be useful. I hope it will help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tomasz,
Any success implementing the function modules in the BADI? Let me know if there are any other solution to create settlement rule for WBS. At my organization, we derive the settlement rule based on certain values. Really appreciate if you could get back to me.
Also do you know if there are any function modules to set the <u>Status profiles</u> for the Project and the WBS elements?
Regards
Pal Arumugam
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.