Hi all,
Ive created a ZMB5S report from scratch, as per the requirement. Everything is working fine about the report except its performance. The reason for this I feel(by doing a Performance Analysis), is the Function Module 'ME_READ_HISTORY'. I found this FM while debugging the MB5S report. The reason for choosing this FM is to get the data for the fields: WEMNG, REMNG, REWRT, WEWRT. I couldn't find these fields everywhere else (in the tables) and hence had to go with this FM.
Now the end-users here mostly run a ALL report, causing to take up a lot of resources. To counter this problem, Ive given a restriction of selecting at least 5 fields on the selection screen, but they by-pass that by putting a *. I also scheduled a background job, which works well, but did not go down well with the end-users.
So, right now Im looking for an alternative to the above mentioned FM. These fields are currently being fetched in the output internal table IEKBEZ of the FM.
So my question is, whether I can do away with the FM and directly fetch the values from some table or the other that I might have overlooked?
PS: Tables, S012, BSEG, etc do not serve the purpose. No amount of SE84 and Where-Used List helped too 😔
pk