I have to write a bdc to delete the record from status tab of business location
While deleting the same, there is constraint that only most recent status can be deleted.
I did the recording for this with a single status record in a business location.
if there is only one status record, it works fine.
but the number of status records in each business location is diffent. how to write a bdc which will always delete the last record from table control?
Is there any standard bapi/fm to delete the most recent status from business location?
points will be rewarded for useful answers.