cancel
Showing results for 
Search instead for 
Did you mean: 

RKE_MVGR5 not retreive in Sales Order

Former Member
0 Kudos

Hello dear gurus

Im facing a problem where the material group set in the sales order at position level is not traveling to my discount condition.
I create a new condition table that requieres RKE_MVGR5. Then i create the discount in VK11 for my Material group. So far so good.

But when i create the sales order, the acces sequence say:

My disccount was succesfully created using Material Group

My sales order have Material Group 05 = B02

Am i missing some configuration so my Material Group 5 in sales order travel to structure KOMP-RKE_MVGR5?

Thanks for your time reading and commenting any tips/Idea. Ill answer any question.


Regards

Accepted Solutions (1)

Accepted Solutions (1)

hark101
Explorer
0 Kudos

Hi Gerardo.

   I've had a similar problem with the MVGR3 field. I needed to use it the the pricing too. What happens is that some fields are not automatically moved to the KOMK/KOMP tables that are used in pricing. You have to do this via abap programming in the specific user-exits  USEREXIT_PRICING_PREPARE_TKOMK or USEREXIT_PRICING_PREPARE_TKOMP. These exits can be found in the include MV45AFZZ. Use the first one if you need the information at header level or the second one if at item level. I needed at item level, so I put the following code inside USEREXIT_PRICING_PREPARE_TKOMP:

FORM USEREXIT_PRICING_PREPARE_TKOMP.

     MOVE VBAP-MVGR3 TO TKOMP-ZZVLAUFK

ENDFORM.

Hope this helps.

Former Member
0 Kudos

Hi Edson,

You were correct, i needed to use the userexit to fill the structure. For some reason the structure wasnt getting Material group 5


Thanks all for your tips

Regards

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Gerardo,

First maintain the value in material master and then create the sales order. If you maintain the material group5 directly in sales order then it will not pick in pricing.

The case mentioned by you happening because you might have entered the material group5 directly in sales order.

Regards

Pradeep.S

Lakshmipathi
Active Contributor
0 Kudos

Might be a silly question !!  Did any value maintained in material master for that field ?

G. Lakshmipathi