on 01-03-2016 12:58 AM
Hey all,
i am trying to extend the notification item in workmanager.
to do that i tried override setItemParameters by extending NotificationPostBAPI as you see below,
As you know that one notification can have more that one item and NotificationPostBAPI post those into IT_NOTIF_ITEM.
is it possible to extend this bapi as you see below or do i have to extend notification, notifitem also.
I thought that to be able get the "i" in the setitemparameter method woud be enough but how can i get that ?
Anyone has experience with extending the items of notification can help me?
Thanks..
Adem,
In NotificationPostBAPI class you can see there is a method called setParameters() which initiate the loop for setting NotifItemParameter(). I would suggest please override setParameters() and call NotifItemParameter(). It will give you the value of "i".
Hope this helps you.
Ajitesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the answer, it helps me a lot
In the itemedit i extend the setItemParameters of NotificationPostBAPI like below but it doesnt populate the value of bapi.
Do you think that it is enough to extend this line of code or i have to extend NotificationItemEditBAPI class.
...
else if (_bapiType.equals("UPDATE")) {
setEditValue(itemTab, xTab, log, "ZXX", "12345");
}
...
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.