Skip to Content
0
Former Member
Feb 15, 2007 at 07:18 AM

QM Notification and EXIT_SAPMIWO0_020 ( Save Notification )

433 Views

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