Skip to Content
0
Former Member
May 12, 2010 at 09:19 AM

MV45AFZB enhancement

99 Views

Hi All,

I am trying to modify the user exits in MV45AFZB. From 4.5 b to ecc6 i m trying to copy the same code but its gives error

please suggest me any solution.

if not vbap-posnr is initial and

xvbap-posnr+5(1) = 0 and (

xvbap-zz_promo = chara or

xvbap-zz_promo = charb or

xvbap-zz_promo = charx or

xvbap-zz_promo = charh or

xvbap-zz_promo = chari ).

  • Z_PREMUST_PROMO_SAVE

call function text-zpw

exporting

vstel = xvbap-vstel

matnr = xvbap-matnr

kunnr = vbak-kunnr

promocd = z_promo-zprom

newq = xvbap-kwmeng

lastq = xvbap-klmeng

posnr = vbap-posnr

zpmax = z_promo-zprom

vdatu = vbak-vdatu

vbeln = vbak-vbeln

auart = vbak-auart

flag = 4

tables

ii_zv019x = ii_zv019x

changing

changing

wa_zv019x = wa_zv019x.

endif.

Include MV45AFZB

Use of a text element (here TEXT-ZPW) at the current position is not

appropriate. useful.