Hi Jorg,Set a break point at module pool P3005_GET, include program is LCRA0O12. Debug routine CAPACITY_READ. The value is read from table KAKO. Hope this helps.Regards,Hugo Palma.
types: begin of ty_data,
vbeln like vbak-vbeln,
posnr like vbap-posnr,
vbtyp like vbak-vbtyp,
date1 like sy-datum,
date2 like sy-datum,
date3 like sy-datum,
date4 like sy-datum,
en...
sort git_data by vbeln posnr vbtyp.
loop at git_data into gv_data.
on change of gv_data-vbtyp.
if not git_date1[] is initial.
sort git_date1 descending.
sort git_date2 descending.
sort git_date3 descending.
sort git_da...