i'm using the customer exit EXIT_SAPMIWO0_020 in XQQM for generating an email when the notification is saved.
Now i want to add the partner I_PARNR in the structure RQM02.
I know that we can call the following statement to get the partner:
SELECT SINGLE *
WHERE objnr = i_viqmel-objnr
AND parvw = 'KU'.
But this only works, if the notification is already saved to DB.
Do you know, how to get / read the partner in the user-exit EXIT_SAPMIWO0_020
before the notification is saved ?
I tried also to call the function module PM_PARTNER_GET, but with no results.
Thanks for your ideas.