‎2015 Jul 16 7:33 PM
Hi Experts,
I have a requirement to add location data for a notification.
I can either add this data during Notification Creation or update after notification creation.
I can add/update all the fields under location tab except ABC Indicator.
I already tried the below BAPIs, but could not able to update it.
BAPI_ALM_NOTIF_CREATE
BAPI_ALM_NOTIF_DATA_ADD
BAPI_ALM_NOTIF_DATA_MODIFY
IQS4_CREATE_NOTIFICATION
Is there any dependency on ABC indicator?
Please help me know can i add/update value in this field.
Advance Thanks
Regards
SS
‎2015 Jul 17 5:05 AM
Hello Shashank again,
I have just tested the first one i.e., BAPI_ALM_NOTIF_CREATE in se37, by inputting just Notification type and Equipment number. a notification has been created. Then I verified the VIQMEL table. The ABCKZ field has been successfully filled by taking info from equipment master.
Hope this info helps
KJogeswaraRao
(I hope you know this fm works in sequence with BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT )
‎2015 Jul 17 3:40 AM
Hello Shashank,
ABCKZ field value flows from Technical Object. By definition, it has got Equipment relation not job relation.
Regards
KJogeswaraRao
‎2015 Jul 17 5:05 AM
Hello Shashank again,
I have just tested the first one i.e., BAPI_ALM_NOTIF_CREATE in se37, by inputting just Notification type and Equipment number. a notification has been created. Then I verified the VIQMEL table. The ABCKZ field has been successfully filled by taking info from equipment master.
Hope this info helps
KJogeswaraRao
(I hope you know this fm works in sequence with BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT )
‎2015 Jul 23 4:39 PM
Hello Sir,
Thanks a lot for valuable info.
Can you help me know the dependencies on ABC Indicator ? Because i can assign ABC indicator without Functional location or Equipment or Assembly in SAP ,but cannot do the same using BAPI.
I want to assign ABC indicator only for Z6 type of notifications.
Thanks
SS
‎2015 Jul 23 4:52 PM
Hello Shashank,
As far as PM module is concerned ABC indicator is something related only with a Technical object (Equipment or F/Locn). This field is used to identify the criticality of the installation. Because of this fact you'll not get any such Notification create BAPI/FM which will have this field. Your context I'm not getting. However, if you want to try further, you better start a new discussion in EAM space by explaining your requirement in more detail.
KJogeswaraRao
‎2015 Jul 23 5:16 PM
‎2015 Jul 20 6:05 PM
‎2015 Jul 23 7:27 PM
In which field you are passing ABC indicator value in BAPI BAPI_ALM_NOTIF_CREATE ? I cannot see any field like ABCKZ in BAPI. But i can see this field in IQS4_CREATE_NOTIFICATION ?
Thanks
Shashank
‎2015 Jul 24 2:48 AM
I'm repeating this. There is no field for ABCKZ in that BAPI. It is inside the Technical object (EQUNR/TPLNR) which you are passing in the FM. It will automatically be flown to VIQMEL tabl;e upon notification creation.
Regarding the other FM namely IQS4_CREATE_NOTIFICATION, yes you have this field in structure I_RIQS5, but here too what I already told only seems valid. Because this field is not updating the ABCKZ field of Notification. The Notification is still taking this value from the Technical Object only.
‎2015 Jul 24 3:11 AM
‎2015 Jul 24 4:26 AM
Hi Shashank
Another option I have used which works fine is using the BAdi NOTIF_EVENT_SAVE :
step 1 Export to Memory Id the ABCKZ
step 2 Call :BAPI_ALM_NOTIF_CREATE
step 3 Activate BAdi : NOTIF_EVENT_SAVE Methos :CHANGE_DATA_AT_SAVE
step 4 Import Memory Id the ABCKZ and fill CS_VIQMEL-ABCKZ
Regards
Ziv