Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding ABC Indicator for Notification

Former Member
0 Likes
2,231

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

1 ACCEPTED SOLUTION
Read only

jogeswararao_kavala
Active Contributor
0 Likes
1,840

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 )




10 REPLIES 10
Read only

jogeswararao_kavala
Active Contributor
0 Likes
1,840

Hello Shashank,

ABCKZ field value flows from Technical Object. By definition, it has got Equipment relation not job relation.

Regards

KJogeswaraRao

Read only

jogeswararao_kavala
Active Contributor
0 Likes
1,841

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 )




Read only

0 Likes
1,840

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

Read only

0 Likes
1,840

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

Read only

0 Likes
1,840

Ok Thank you sir 🙂

Read only

jogeswararao_kavala
Active Contributor
0 Likes
1,840

Hello Shashank,

Please close the thread if you are done.

Read only

Former Member
0 Likes
1,840

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

Read only

0 Likes
1,840

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.

Read only

0 Likes
1,840

Thank you sir

Read only

0 Likes
1,840

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