cancel
Showing results for 
Search instead for 
Did you mean: 

Valuation problem in planed cost of Project Stock

Former Member
0 Kudos

Hi experts

     I'm having a problem with the valuation of materials that uses Moving Average Price while determining the planned cost for a material component in the Project System for a new WBS element.

We are implementing a construction business and it's mandatory that we don't make any ABAP coding in the system for this client. All they stock is purchased for projects on project stock "Q". the plant stock has Zero moving average price or an outdated one.

When I assign a material component to the project with procurement type that stats it's a project stock, the valuation variant of planned cost in the project accesses the project stock table "QBEW" to retrieve the moving average price as planned cost. The table QBEW has a moving price for each  WBS element which already has stock of its own.

And since every new project has its own new WBS elements, the valuation variant cannot find any records in QBEW with the WBS element code. And as it fails, it turns to the planet stock table "MBEW" to retrieve the average price per plant as the planned cost.

Some materials have never been purchased for plant stock so the system retieves Zero as planned cost, and issues an error message while trying to determine the cost in T-Code CJ20N (Project Builder) "Cost for Material Component && cannot be determined".

Some other materials are haven't been purchased for plant stock for so long. so they have an outdated moving average price in the plant stock table"MBEW".

I've already solved this problem in the thread below by destining a new valuation strategy using a user exit and assigning it to the planned cost valuation variant.

I've tried to use the strategies (Last PO & Info. Record) but they were a failure as well because the system is searching for something with the same account assignment to compare to, and it will never find it as the account assignment is new every time.

Does anyone have a standard solution to this problem without resorting to ABAP coding?

If so, Please share. Your help will be highly appreciated.

Please also confirm if there is no solution other than ABAP coding via the User Exit.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I very much doubt you can do this without ABAP. I saw in one of your previous threads on this same topic that ABAP is not allowed with this client. This expectation is unreasonable in my mind - no company can expect a software provider to cover every possible business scenario in their products. The use of well planned and executed code using SAP provided toolsets should be seen as a means of maximising the investment in the software.

For this scenario, the simplest ABAP solution would be to have the creation of a new WBS be the trigger for a program which performs multiple MR21 postings, for your materials and the new WBS, basing the price on some internal logic. Then the price will be available when the first PR is raised, with no accounting postings. As a safeguard, add a check that Q stock must zero, and/or WBS creation date = today.

As a standalone program, it would be more controllable than a exit being called every PR. And you are still basing your solution on SAP standard, namely the copying of MAP to Val Price in PR.

Regards

Former Member
0 Kudos

Thank you Richard for the fruitful thick comment . You mentioned many points that I need to comment on:

1) Of course no system will cover every possible business scenario in every company. But I think this one is pretty much an every-day case in project based business. The valuation strategy in the standard system is very useful in actual posting. It prevents the equalization between all projects to keep the efforts exerted by each project manager to lower the prices in his own projects intact. This is done by segregate the average price calculation for each WBS element.

However, the basic use of moving average pricing is to unify an average up-to-date price for all requesters. Project managers should have that feature at least in planning rather than having out-dated prices or Zero prices. This can be done by calculating the average pricing without the segregation between the WBS elements.

I think this is a flaw in the standard method that needs to be fixed by SAP for all clients (By adding a new valuation strategy that acts as such). Please tell me if you can confirm this last statement.

_______________

2) You mentioned automatically triggering a series of MR21 postings with no accounting postings. I do like the idea. However, MR21 is considered to be an active act of price change. Which means that the user needs to know this price already from somewhere other than the system before triggering this sequence.

While the requirement is to use the data provided in the system to calculate an up-to-date moving average price to use in the project planning for material procurement.

_______________

3) You recommended that to be a stand alone program rather than a user exit for control-ability purpose. My client has one concern which is to stay within the SAP support and be able to upgrade the system once required without any failures in any parts in the business.

So if you can please explain to me which kinds of enhancements or use of ABAP coding drives the system out of SAP support and fail during the upgrades and which don't ?

In other words, How can we use ABAP enhancements and avoid losing the SAP support and have successful upgrades in the future without losing the ABAP functions done earlier?

It's highly appreciated if you provide an answer for this particular question.

Many thanks to you

Former Member
0 Kudos

Hi Ahmed

We can agree and disagree on many aspects of SAP design, and if the moderators got 1 dollar every time a post suggested that "SAP should" design something a certain way, then they probably wouldn't be working as moderators!!

For you case, I can only suggest that the key point you make is that your WBS elements with the issue are new ones. And there is no magic program to price for new elements. Some customers may require this, some may not. SAP provides the basic structures very well, and you are able to enhance this with your own logic. And for every 100 customers, you will have 100 different methods of aggregating or averaging or segregation of the data to derive a price. SAP cannot cater for all 100, out of the box.

My suggestion re-MR21 assumes you already have the logic to calculate the price per material and new WBS. And you simply reflect this calculated price for new WBS's, as soon as possible after their creation, via a background program. That way you use SAP standard mechanism for project planning - using the current MAP of the component materials.

I'm not from a technical background, but the use of user exits, enhancement spots and BADI's, if properly registered with a developer access key from SAP, will not violate SAP support. SAP provide these tools precisely so you can enhance the logic, and stay in support. And because you use the tools provided by SAP, they will be considered in an upgrade - the upgrade tools may suggest you look at your custom code, but your custom code will not be forgotten. Your ABAP and Basis teams can confirm this.

There is even no guarantee that upgrading a completely pure non-customised system will not create failures in your business. Any change to software introduces risk, including changes the vendor provides. That's why we test.

Regards

Former Member
0 Kudos

That is extremely helpful. I don't know how to thank you enough.

Lots of thanks for your direct, to-the-point helpful elaborations

Answers (0)