# To print created PM notification number using BAPI call

**URL:** <https://forum.inductiveautomation.com/t/to-print-created-pm-notification-number-using-bapi-call/107560>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 19, 2025, 3:45am UTC](https://forum.inductiveautomation.com/t/to-print-created-pm-notification-number-using-bapi-call/107560 "2025-06-19T03:45:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavya\_shree](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kavya\_shree](https://forum.inductiveautomation.com/u/kavya_shree)\
**Post date:** [June 19, 2025, 3:45am UTC](https://forum.inductiveautomation.com/t/to-print-created-pm-notification-number-using-bapi-call/107560/1 "2025-06-19T03:45:38Z")

</div>

Hi Team,

I am trying to print the created PM notification number using BAPI call by integrating ignition with SAP.  
I am able to create the PM notification using the script written in button but I am not able to retrieve and print the created notification number.  
I have verified the notification created in SAP using short text, so it has been successfully creating through the script.  
Steps:

1. connections
2. BAPIs used : BAPI\_ALM\_NOTIF\_CREATE , BAPI\_ALM\_NOTIF\_SAVE,BAPI\_TRANSACTION\_COMMIT
3. I am trying to print the RETURN table message, but is shows this error: table BAPIRET2 has no rows.

Please guide how we can fetch the notification number after saving , which displays in SAP status bar(at bottom) when notification created

Thank you
