cancel
Showing results for 
Search instead for 
Did you mean: 

If Material ledger is Active CR is not going to Activate.

former_member193063
Active Participant
0 Kudos

Hello,

While during Material Creation/Change we want to Create/Update  respectively both case for Valuation Accounting/Costing data .But We are unable to Activate Change Request . Error Message come like this .

Cannot update valuation data for TEST-ALL-DATA/XXXX; plant set up for material ledger....

Case-1 In our case Material Ledger is Active at Plant Level .

Comment : We don't want to deactivate this is our requirement.

Case -2: We Don't want to go MM01/MM02 to Create/Change Valuation Accounting/Costing Data.

Comment : We want to do this activity with in MDG-M

Case-3 We already know Snote: 1806108 there Point No : 21.

Our requirement is that we have to create/change Valuation accounting/costing data with in MDG.

So plz help us how to achieve this if Material ledger is Active at plant level.

I appreciate any help.

Thanks

Nikhilesh Agarwal

Accepted Solutions (1)

Accepted Solutions (1)

former_member188878
Active Contributor

close this thread we have resolved this right.

dharamveer_gaur2
Active Contributor
0 Kudos

Hi Shankar,

I am getting this same error and not able to create CR with Valuation data.

Valuation Area is same as Plant.

We found that MDG method BWKEY_CHECK_MATERIAL_LEDGER checking T001k table for field MLBWA (Material ledger activated in valuation area) and throwing this error.

Kindly let me know solution for this.

Thanks,

Dharamveer

former_member188878
Active Contributor
0 Kudos

Dharam

please comment the code in that class,which checks the material ledger active will resolve the issue.

d024348
Employee
Employee
0 Kudos

If you modify your system like this, please bear in mind that any data inconsistencies (e.g. missing MBEW-MLAST and others) will not be covered by the complimentary SAP support and might lead to inconsistencies in transactional data (e.g. purchase orders). These checks were introduced with a reason, removing them is at your own risk.
Regards, Ingo Bruß

former_member188878
Active Contributor
0 Kudos

Ingo,

yes,you are right modifying the SAP in not a solution but let us know

1.what are all the data inconsistencies your are taking about.?

2. you mean to say that the method BWKEY_CHECK_MATERIAL_LEDGER is used some where else while creating the Transation data?.

3. If this change is effecting the transational data,then why it is allowed with MM02 tcode?

tell us the specific reason why the user has to go back to MM02 to make the changes ?.

and what is the thought behind this code,it was not there in MDG 6.0 so you mean to say there was inconsistencies and SAP come up with this code to address that in MDG 7.0.

d024348
Employee
Employee
0 Kudos

Support for Material Ledger was implemented in MM01/MM02, so there will be no inconsistencies when you use MM0x to update the accounting/costing data for a material ledger plant (as recommended).

For legal reasons, we can't make any roadmap statements on SCN concerning MDG-M.

dharamveer_gaur2
Active Contributor
0 Kudos

Hi Shankar,

I have already tried code comment but and creating Accounting/Costing view but we have face issue when creating CR with multiple Plant.

MDG API are removing data while sending to active are. Below are the messages

  I140(MG): “The field & is not ready for input and was therefore not transferred”

  I141(MG): “The field & is not ready for input and was therefore not initialized”

Thanks,

Dharamveer

former_member188878
Active Contributor
0 Kudos

comment only this three lines only not other lines....

MESSAGE e020(mdg_bs_mat_api) WITH ls_bwkey-matnr ls_bwkey-bwkey INTO lv_dummy.
MOVE-CORRESPONDING syst TO ls_message.
INSERT ls_message INTO TABLE et_message.

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

For MDG-M 7.0 implemented as hub for materials that have mandatory fields like material origin and variance key - how can we create these materials through MDG when we cannot maintain these views?

Thanks

dharamveer_gaur2
Active Contributor
0 Kudos

Hi Danie,

We have raised Material Ledger Active issue with SAP, below is there response:

According to the attached restriction note (1806108) it is not
possible to valuate a material using the material ledger in MDG. Up to
MDG8 there is also no feasible way to extend the MDG Material model
and the implementation of the access class in order to enable material
ledger functionality.

If you use material ledger for material and want to use MDG, you have

the following options:

Hub scenarios alternatives:

·        Material Ledger (ML) is activated
in the hub system,

so no data for material valuation can be maintained in MDG.   MDG
does not support valuation/accounting/costing data for valuation areas
in which the material ledger was activated (see also SAP notes 2048132
and 2120073). Material valuation is maintained in the hub system with
backend transaction MM01 and MM02 and then distributed to the client systems.

·        ML is not activated in the hub
system and no data for

material valuation is maintained in the hub. Material is distributed without valuation data. Material valuation data is maintained using the material ledger in the client systems.

Co-Deployment scenario:

·        ML is activated, but data for
material valuation is not maintained at all with MDG processes. Material is valuated using the material ledger with backend transaction MM01 and MM02 or others.



Upgrade alternative:

·        Material Ledger in MDG is planned
to be supported with

MDG8. Ramp Up is planned for June 2015. See SAP Marketplace

Thanks,

Dharamveer

Former Member
0 Kudos

Hi Shankar

I did create a new item now but the "Valuation area Plant: Costing" panel is still greyed out causing the "Valuation area Plant: Valuation" panel to also be greyed out. I can therefore not input a Valuation Class. Any other ideas? Please see screenprint below:

Regards

Danie

Former Member
0 Kudos

Hi Nikhilesh

This panel is also greyed out. I have enabled all governance scope. I copy an item and it copies the Valuation data across but all Valuation panels are greyed out. So, I am unable to edit. Please see screenprint. Any ideas?

Regards

Danie

former_member188878
Active Contributor
0 Kudos

Dear Danie,

Copying the item will bring all the valuation data with Pricing details.Dont copy the material just create the new material with out copying.

       regards

shankar

Former Member
0 Kudos

Hi Nikhilesh

I have now commented out the 3 lines in the code but the Valuation Area Plant: Valuation is still greyed out. How do I get this to be updateable? Please see screenprint below:

Regards

Danie

former_member193063
Active Participant
0 Kudos

Hello Danie ,

For enable to grey out you have to trigger some data in Valuation Area Plant : Casting  ...

Like Check/Uncheck to Material Origin :

Thanks

Nikhilesh

Former Member
0 Kudos

Hi Experts

I also have the same issue. Is the only way to get past this issue to comment the following lines in method BWKEY_CHECK_MATERIAL_LEDGER?

MESSAGE e020(mdg_bs_mat_api) WITH ls_bwkey-matnr ls_bwkey-bwkey INTO lv_dummy.
MOVE-CORRESPONDING syst TO ls_message.
INSERT ls_message INTO TABLE et_message.

How else do we get the CR to change Valuation data when ledger is active?

Regards

Danie

former_member193063
Active Participant
0 Kudos

Hello Danie,

there is no way to change valuation data when Material Ledger is active in the CR .

without comment the code ..

Thanks

Nikhilesh