cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent Help Needed - Project System

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

How u r created project creation and WBS element creation. I want that code plz. very urgent I am new to PS module I want immediately that code plz.

It is very urgent plz. help me.

Regards

Ganesh

Former Member
0 Kudos

Hi Ganesh,

Did you resolve this issue? If YES can you post solution please.

Regards,

Trim

Former Member
0 Kudos

Hi Ganesh,

Did u implement the upload program by using BAPIs ??? I have the similar equirement. I have WBS Elements pto 3 levels and also we have customer enhaced fields in CI_PROJ, CI_PRPS.

I am very new to PS module. This is very very urgent. Pls send me the solution.

Thanks in advance,

KUR

Former Member
0 Kudos

Hi Pal Arumugam,

I have the similar equirement. I have WBS Elements pto 3 levels and also we have customer enhaced fields in CI_PROJ, CI_PRPS.

I am very new to PS module. This is very very urgent. Pls send me the solution by using BAPIs.

Thanks in advance,

KUR

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

former_member182670
Contributor
0 Kudos

Manish,

I have a similar requirement. Have you successfully used

K_POSTING_RULE_INSERT

K_SETTLEMENT_RULE_SAVE_ALL

in that BADI ? Or maybe you have found another solution to create settlement rule for WBS?

Former Member
0 Kudos

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