Skip to Content
avatar image
Former Member

Notification creation against object list item with BAPI.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 28, 2017 at 08: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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)
  • avatar image
    Former Member
    Feb 28, 2017 at 08: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

    Add comment
    10|10000 characters needed characters exceeded