Skip to Content
author's profile photo Former Member
Former Member

QM Notification and EXIT_SAPMIWO0_020 ( Save Notification )

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2007 at 07: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2009 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 04, 2019 at 04:06 PM

    Use FM QMEM_STATUS_OLD_NEW_READ

    Regards,

    Andrea

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.