Skip to Content
Former Member
Nov 15, 2010 at 01:45 PM

How to degug the routine in DTP?



Can somebody do me a favour and answer the following questions :

1. How to debug selection routine in DTP?

2. Routine in DTP has the following build-in code :

read table l_t_range with key

fieldname = 'PSTNG_DATE'.

l_idx = sy-tabix.

Why is it necesary to read table l_t_range for posting date if the table is always empty? Selection for DTP is defined within the routine and nowhere else. Just give me theoretical example how this table may contain records for posting date by the moment the DTP routine runs?

Thanks a lot