Hello everyone.
I'm getting the short dump in fucntion module L_LAGP_CALC_USED_CAPACITY.
Divided by zero short dump.
I've searched for some sap note and I found the note 2031711 - Shortdump BCD_ZERODIVIDE in transaction LX04 but this note fixes the problem at this point:
SAPLL01S
LL01SU07
Function L_LAGP_CALC_USED_CAPACITY
...
WHEN CON_STEIN_P.
IF I_KPTYP-LENVW = CON_X. "Bei LE-Verwaltung
I_KPPLA-EINVW = 100 * ( I_KPPLA-ANZLE / I_KPPLA-MAXLE ).
ELSE. "nicht LE-Verwaltet
* IF I_KPPLA-MAXQU = 0. BREAK-POINT. ENDIF.
I_KPPLA-EINVW = 100 * ( I_KPPLA-ANZQU / I_KPPLA-MAXQU ). <-- here
ENDIF.
I need to fix at this point
SAPLL01S
LL01SU07
Function L_LAGP_CALC_USED_CAPACITY
...
WHEN CON_STEIN_P.
IF I_KPTYP-LENVW = CON_X. "Bei LE-Verwaltung
* I_KPPLA-EINVW = 100 * ( I_KPPLA-ANZLE / I_KPPLA-MAXLE ). <-- here
ELSE. "nicht LE-Verwaltet
IF I_KPPLA-MAXQU = 0. BREAK-POINT. ENDIF.
I_KPPLA-EINVW = 100 * ( I_KPPLA-ANZQU / I_KPPLA-MAXQU ).
ENDIF.
I havent found a sap note for this.
Does anyone know the solution?
Thanks.