2017 Feb 27 8:55 PM
Hello all,
I am developing an application which has to create notifications against object list items within a Maintenance Order. I am trying to achieve it with a bapi: BAPI_ALM_NOTIF_CREATE. I have investigated much before I would have been asked this question, but I couldn't find anything. How should I set the BAPI's parameters to achive the assigment the newly created notification and the specific object list item? Should I use the OBKNR field value from OBJK table? There is no information in the documentation how I should use the refobjectkey and the other fields in this case. I don't have a reference notification number. Could anybody give me a tip how I can achieve it?
Thanks in advance,
Tamás
Hello all,
I am developing an application which has to create notifications against object list items within a Maintenance Order. I am trying to achieve it with a bapi: BAPI_ALM_NOTIF_CREATE. I have investigated much before I would have been asked this question, but I couldn't find anything. How should I set the BAPI's parameters to achive the assigment the newly created notification and the specific object list item? Should I use the OBKNR field value from OBJK table? There is no information in the documentation how I should use the refobjectkey and the other fields in this case. I don't have a reference notification number. Could anybody give me a tip how I can achieve it?
Thanks in advance,
Tamás
2017 Feb 28 8:35 AM
Hello
Which specific Objectlist-item are you referring to?
It would seem most of the ObjectList-records would be transferrable to the "BAPI2080_NOTHDRI"-Header ('MaterialNo' / 'SerialNo' / 'Equipment' / 'FunctionalLocation') ...
You don't need to get the underlying ObjectID, just add Equipment of Functional Location as an example ... See if this helps you out.
Kind regards
Nic T.
2017 Mar 07 12:11 PM
Hi Nic,
Thanks for your proposed soulution, but unfortunately it's not perfect for me. I need to pass the newly created notification number to the relevant and already existing object list item. With this solution that you proposed I can create only new object list items with notification number.
So I need to put my notification number here. How this can be solved? I have debugged the standard process much, but it doesn't help me, because it's a dynpro based solution and my development will be only a function module which will be called through RFC.

Do you have any other idea?
Thank you!
Kind regards,
Tamás
2017 Feb 28 8:55 AM
Hello Nic,
Thank you for your reply. I tried your proposed solution first, but unfortunately it puts the notification under the existing object lists items and not assign to the selected one. I was debugging the standard process and I've found 'IQS0_CREATE_NOTIF_TO_ORDER' and
IOPEXT_INSERT_OL_NOTIF function modules. These are doing the same thing what I want to do, I hope these will works for me also.
Tamás
2017 Mar 01 6:27 PM
FYI - Nic, can't see it when you use an answer to reply. Use Comment under the specific answer to reply to that person.
2017 Mar 07 12:21 PM
2021 Dec 09 6:37 AM
Hi,
Is there a solution for this issue? I am facing exactly same issue.
Thanks!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |