Hello BW expert,
I want to do a coding in field "Create date" in DTP. The idea is that we only do loading for the new created document during the last 7 days (Create date). Anyone has this experience to solve this requirement, please share it. Thanks a lot!
The basic syntax for the field in DTP like below
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = ' '.
l_idx = sy-tabix.
*....
if l_idx <> 0.
modify l_t_range index l_idx.
else.
append l_t_range.
endif.
p_subrc = 0.