02-15-2007 7:18 AM
Hello.
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 *
FROM IHPA
INTO wa_ihpa
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.
Sebastian
02-15-2007 7:26 AM
Hi,
Check the T_VIQMUR table in the user exit if it has the PARNR.
You can directly use that
reward if it helps
02-15-2007 7:34 AM
Hi Nanda.
thanks for your fast answer.
i checked T_VIQMUR and it has a field PARNR. But it's empty.
Is there another way to get PARNR ?
Thanks,
Sebastian
11-19-2009 12:53 AM
Hi Sebastian,
Did you ever find a solution for this one - how to get the value of I_PARNR in the structure RQM02 (User Responsible) within EXIT_SAPMIWO0_020 when saving a PM Notification?
thanks
Jason
11-04-2019 4:06 PM