01-13-2019 8:49 AM
Hi,
In SM30, I have following fields
pernr start date end date Amount created on created time created user changed on changed by
1234 01.01.2017 05.05.2018 1000 06.01.2019 10:23:00 User1
1234 06.08.2018 10.10.2018 1200 09/01/2019 06:20:12 User1
Here pernr and start date are key fields.
When i click on position---> pernr = 1234, it is showing the old record i.e
1234 01.01.2017 05.05.2018 1000 06.01.2019 10:23:00 User1
It is not showing the new record.But after clicking Expand<-->Collapse it is showing both the records.
How to display by default the latest record without using Expand<-->Collapse ? or
How to display all the records using Position--->pernr after entering the pernr value ?
Regards,
Shabbir
01-13-2019 11:30 AM
01-14-2019 8:53 AM
So your table definition is compliant with 'Time-Dependent Table/View' requirement.
Did you try to find an event suitable for your requirement (an event at start of dialog, with some call of form TIME_DEPENDENT_DISPLAY_MODIF)