Hello folks,
I need to make the GOS attachments mandatory in ME22N - it should not allow the user to save unless there's atleast one attachment attached.
I am able to read the list of attachments by multiple ways; however, the list comprises of attachments that are existing before any changes were made. I need the list before the update is triggered.
Could anyone please provide suggestions?
What I've tried -
Thoroughly checked all suggestions provided in
https://archive.sap.com/discussions/thread/3355362
They don't help.
My problem is this -
The tables SRGBTBREL, SOOD get populated only after commit. I need the list of files (at least the number of files) before the tables are updated.
The GOS_MANAGER methods as well as multiple FMs that I've tried get the list of files that exist before changes are made.
I am unable to get a point where I can create an enhancement where I'll be able to read the present list of attachments.
Any suggestions?