cancel
Showing results for 
Search instead for 
Did you mean: 

KE27/EXIT_SAPLKEAB_001: no delta cration

former_member239632
Participant
0 Kudos

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?

View Entire Topic
waman_shirwaicar
Active Contributor

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