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

BAPI_ALM_NOTIF_CREATE

Hi

I hope that i'm in the right topic for my question... 😊

I have create a notification using BAPI_ALM_NOTIF_CREATE and i was happy to see,

that after call BAPI_ALM_NOTIF_SAVE my notification were successful created.

My next challenge is to close this notification.

And now i need finally your help :-).

After the call to BAPI_ALM_CREATE_NOTIF the value of notif_no in the return-structure NOTIFHEADER_EXPORT

shows a value like %00000000001 or something like that.

So far i didn't find a possibility to find out the number of the notification.

But i need this number to transmit a BAPI_ALM_NOTIF_CLOSE call.

I hope this was not to difficult to understand.

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 24, 2006 at 08:49 PM

    A couple of things may be the issue;

    1. Your notification may not have created successfully (check the 'return' structure for error messages).

    2. You need to call BAPI_TRANSACTION_COMMIT to save the new record, and commit the transaction.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2007 at 02:40 PM

    You need to first call BAPI_ALM_NOTIF_CREATE.

    Check the return structure for errors and if none call BAPI_ALM_NOTIF_SAVE.

    For this you will pass the temporary notification number like %00000000001, and get the real notification number like 10000000603.

    Then you must call BAPI_TRANSACTION_COMMIT.

    After all that is done you can call BAPI_ALM_NOTIF_CLOSE with BAPI_TRANSACTION_COMMIT afterwards to close your notification.

    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.