Skip to Content

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

Vofm abap routine about

Hi,

I created new condotion type ZMHX and formulas / condotion base value number 977

but i creating condotion XKWERT value not change. Why can it be ?

Condotion type procedure;

Abap requirements 977 code;

FORM KOBED_977.


   sy-subrc = 4.

   if komp-kposn ne 0.

     check: komp-prsfd = 'X'.

     check: komp-kznep = space.

     if not komt1-bergl is initial.

       check: komt1-bergl = komp-bergl.

     endif.

   endif.

     check: komk-vsart = '01'.

   sy-subrc = 0.

ENDFORM.


FORM KOBEV_977.

sy-subrc = 0.

ENDFORM.

formulas / condotion base value code;


FORM FRM_KOND_BASIS_977.

DATA : zg_xkomv LIKE xkomv OCCURS 1 WITH HEADER LINE,

           palet_toplam LIKE komv-kbetr.

   palet_toplam = komk-zzpalet + komk-zzpalet2.

xkwert = palet_toplam * 1000.

ENDFORM.

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