Skip to Content
0

Notification creation against object list item with BAPI.

Feb 27, 2017 at 08:55 PM

115

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Nic Teunckens Feb 28, 2017 at 08:35 AM
0

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

notif.jpg (23.9 kB)
0
Tamas Gaal Feb 28, 2017 at 08:55 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

FYI - Nic, can't see it when you use an answer to reply. Use Comment under the specific answer to reply to that person.

0

Yes you are right. Thanks for pointing this out, will try to keep this in mind ...

0