Skip to Content
avatar image
Former Member

KE27/EXIT_SAPLKEAB_001: no delta cration

Hello,

I'm evaluating invoices with ke27; I'm using the exit EXIT_SAPLKEAB_001. The code works well

SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L0S33 {
color: #4DA619;
}
.L0S52 {
color: #0000FF;
}
.L0S55 {
color: #800080;
}
.L0S70 {
color: #808080;
}

IF st_ce1-vrgar = 'F'.

  SELECT SUM( netwr ) INTO lv_spese_trasporto FROM ztraspcopa

    WHERE vbeln = st_ce1-rbeln

      AND posnr = st_ce1-rposn

      AND zttregistrato <> 'X'.



  IF NOT lv_spese_trasporto IS INITIAL.

    st_ce1-vvc17 = lv_spese_trasporto.





    UPDATE ztraspcopa SET zttregistrato = 'X'

    WHERE vbeln = st_ce1-rbeln

        AND posnr = st_ce1-rposn.

    l_fieldname = 'VVC17'.



    APPEND l_fieldname TO et_field.

  ENDIF.

ENDIF.

After evaluation, values are calculated

but the PA document remains the same. I've tried everything but no way.

Any help?

cattura.png (57.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 15, 2017 at 01:32 PM

    Hi,

    KE27 will not change the existing COPA document. It will create a new delta COPA document.

    Is a new COPA document not created ? If not what is the value of VVC17 in the original document being revaluated ? If it is already 10.96 then there is no delta.

    regards

    Waman

    Add comment
    10|10000 characters needed characters exceeded