Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to update vbak,vbap in MV45AFZZ

DATA: lw_WZEIT TYPE marc-WZEIT,

lw_date type sy-datum.

LOOP at XVBAP where PSTYV = 'ZRET'.

SELECT single WZEIT

into lw_WZEIT

from marc

where matnr = xvbap-matnr.

IF sy-subrc = 0.

lw_date = lw_WZEIT + sy-datum.

if vbak-VDATU < lw_date.

move 'Z1' to xvbak-LIFSK.

move 'A' to xvbap-ABGRU .

endif.

ENDIF.

ENDLOOP.

how to update vbak vbap table in MV45AFZZ ( while saving va01).

Thanks

Suresh

Former Member
Not what you were looking for? View more on this topic or Ask a question