You are on page 1of 1

14:54 03/04/2013

Exit Va01 Recalcular Esquema de Precios al Cambiar el Lote en la Posicion del Pe


dido
SE38: MV45AFZB
userexit_new_pricing_vbap
*&---------------------------------------------------------------------*
*&
Form USEREXIT_NEW_PRICING_VBAP
*&---------------------------------------------------------------------*
*
This userexit can be used to perform new pricing, dependant *
*
on the change of datafields.
*
*
This routine is not called, when the material number has been *
*
changed.
*
*
Available data-fields:
*
*
vbak - header data
*
*
vbap - item data
(changed)
*
*
*vbap - item data (old, before the change)
*
*
*
*
Parameter new_pricing controls the new pricing in the calling *
*
form. It can be filled according the the allowed values
*
*
of domain KNPRS (Pricing type), for example:
*
*
' ' = no new pricing
*
*
B = Carry out new pricing
*
*
C = Copy manual pricing elements and redetermine the others
*---------------------------------------------------------------------*
FORM userexit_new_pricing_vbap CHANGING new_pricing.
* Example: new pricing, when field 'Route' is changed
* if vbap-route ne *vbap-route.
* new_pricing = 'B'.
* endif.
ENDFORM.

"USEREXIT_NEW_PRICING_VBAP

Para una segunda alternativa; Otro punto que se puede investigar es esta funcin P
RICING_REFRESH, , refrescar el esquema de calculo. Que segn se debera disparar al
darle al botn guardar, pero se debera buscar el exit donde se manejen las tablas u
sadas por esta funcin.
http://www.mundosap.com/foro/showthread.php?t=46380
http://www.qnasap.com/pricing-refresh/

You might also like