cancel
Showing results for 
Search instead for 
Did you mean: 

PPM - Automatic Account Assignment to PS elements using Accounting integration

former_member301510
Contributor
1,772

Hi Experts,

Our requirement is to create automatic project/WBS elements in PS corresponding to PPM project elements using Accounting integration functionality.

We used a standard BADI to influence the PPM project coding mask same as PS project. But, PPM Task coding mask is still different than PS WBS elements coding mask.

The standard BADI “IAOM_ATTRIBUTES” is already used by SAP so we applied another BADI “GCC_PS_PROJECT_DATA “method “MOD_WBS_ELEMENT_DATA_C”.

The below is just a quick and brief program code.

Main Code

LOOP AT itab INTO wa.

ls_wbs-wbs_element = wa-wbs.

ls_wbs-objectclass = 'PA'.

ls_wbs-description = wa-text.

ls_wbs-wbs_up = wa-wbs_up.

ls_wbs-wbs_planning_element= 'X'.

IF wa-task_level NE '1'.

ls_wbs-wbs_account_assignment_element= 'X'.

ls_wbs-wbs_billing_element= 'X'.

ENDIF.

APPEND ls_wbs TO ct_wbs_element.

CLEAR:ls_wbs.

ENDIF.

ENDLOOP.

-----------------

We are able to create automatic WBS elements in PS in corresponding to tasks in PPM. Also, the system is creating new WBS elements on creation of a new task in PPM.

But, we have stuck in implementing Account Assignment functionality. The project elements (Project definition, Phase and Tasks) in PPM are not getting assigned/mapped automatically to corresponding WBS elements in PS as Account assigned (Account Assignment element).

We tried our best but could not find relevant BAPI/BADI to achieve Account Assignment.

Kindly suggest me relevant BAPI/BADI or program code to achieve automatic Account Assignment element functionality.

Regards,

Accepted Solutions (0)

Answers (6)

Answers (6)

0 Kudos

Hi Guys,

Once I do Financial Plannin, I want Planning Elements to appear after I push the Transfer to ERP Button but there us no such functionality, I have to manually create Object Links from Relationships Tab.

Any help appreciated.

Abhinav

abhinew@gmail

former_member301510
Contributor
0 Kudos

Hi,

Open a new incident for your issue.

There, you may get responses from many participants.

Regards,

Shubham1
Advisor
Advisor
0 Kudos

Hi Sandeep,

Ok. I have worked on PPM-PS integration w/o cProjects in S/4HANA

Shubham1
Advisor
Advisor
0 Kudos
former_member301510
Contributor
0 Kudos

Thanks Shubham.

The link you shared is for linking PS elements to Item or initiative manually.

Whereas, I was looking creating a complete structure automatically in PS (including WBS elements at various levels) using Accounting integration functionality in cProjects.

Thanks for voting.

Regards.

sammar81
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Sandeep,

I think we can only do the transfer from PPM to PS on L1. I don't remember transferring Planned Cost to lower level WBS elements in PS..

Let's wait for inputs from others as well..

Regards

Samar

former_member301510
Contributor
0 Kudos

Thanks Sammar.

Yes, let us wait other experts' inputs.

Regards,

former_member301510
Contributor
0 Kudos
sammar81
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep

Your question is confusing in terms of what accounting integration is missing?

The accounting integration is a configuration activity. Once you are able to create a PPM Phase/task and a corresponding WBS element in PS. The linkage is done. You should be able to see the PPM phase/task in PS under cprojects tabs.

the accounting entries will happen in SAP PS and thereafter you need to run the FI data transfer job to get the actuals to roll up to the cproject and item in PPM..

regards

sammar

former_member301510
Contributor
0 Kudos

Dear Sammar,

Thanks for your response.

I was in editing mode and same time you responded :-).

In standard, L1 WBS element gets assigned (Account Assigned) automatically to all the project elements (Project def. Phase, Tasks) in PPM. By that, all the resource planning costs (using Ad hoc cost estimate/Easy Cost planning) transfers and appears against L1 WBS element itself in PS.

My requirement is that we want to transfer individual resources' costs in task to respective lowest WBS element (NOT L1).

Is that really possible???

Fortunately, now we are able to account assigned individual tasks to corresponding WBS elements but resources' costs from PPM is still appearing on project/L1 WBS level in PS ECP.

e.g.

It should appear:

PPM PS Costs

Phase = WBS (L1) - 7500 USD

Task (Level 2) = WBS (L2) - 7500 USD
Task1 (Level 3) = WBS1 (L3) - 2500 USD

Task2 (Level 3) = WBS2 (L3) - 5000 USD

Please refer attached screens for existing behaviour.

cprojects-accounting-tab.jpg

Regards,