cancel
Showing results for 
Search instead for 
Did you mean: 

VK11 checks against MEK1 Condition records..Is it possible.

Former Member
0 Kudos

VOFM routines has issue....Can anyone help me please.

We have Z condition types for prices(SD side)..and some Z condition types for Costs (MM side). My requirement is to check costs assosciated with the Material based on MM condition types when creating SD prices (condition records) and do vice versa and throw information/warning/error messages... like create VK11 cond record after checking against MEK1 cond record and vice versa.

I am trying to accomplish this in VOFM routines partially if not fully (For the time being keep aside MM costs. )

I craeted a new VOFM routine (Requirements-->Pricing) with 9XX series (access key obtained, routine created, activated, generated..). I can see activated flag in TFRM table also..did "Update Navigation Index" ..

Now in customizing, attached this Routine to the access sequence (in my case its just material level and 1st sequence no among sequences for that access)..

Problem is, When testing from VK11 my routine is not being touched..I am not sure what link I am missing in config or from technical point of view..Please suggest what might be the problem.

Also, If VOFM is not the right place..what is the correct UE/BADI for this. Need help from experts in pricing.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

brad_bohn
Active Contributor
0 Kudos

You already received an answer on this yesterday in a different post - why the new post?

That aside, you don't understand the purpose of a requirement against an access in an access sequence. The requirement prevents the access from being triggered (or allows it) at the time that the line item condition is analyzed for pricing (during the creation of an order/contract/etc.). If the access is prevented, then the existing condition records for the access are never analyzed for a match. It has nothing to do with condition record entry in VK11. If you need to change the behavior of VK11, then use Runtime Analysis to check for BADI's or enhancement points in the transaction by analyzing the call stack.

Former Member
0 Kudos

Brad, I posted in "ABAP general" earlier and I got useful pointers and solution is not found yet. So I posted again in Enhancements section. Yes, I did not know the usage of requirement. Now I know.

Sorry If I wasted your time. Thanks for the answer.

Answers (0)