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

Get BAPI list

0 Likes
497

Hi,

Can anyone tell me BAPI for getting list of notifications as per STATUS?

2 REPLIES 2
Read only

Former Member
0 Likes
424

Hi,

There is no such option available.

You need to get the OBJNR(object numbers) for the notifications and then pass the same to the FM: STATUS_READ

OR:

You can find the status from table JEST or JSTO and take all the OBJNR for the required status and then go the Notification table (QMEL or any table) and get the notifications required.

Hope this helps

Regards

Shiva

Read only

Former Member
0 Likes
424

Hi,

You can use the tables for this purpose.

1.Get the object no of the notification and notification type from QMEL table based on the Notifcation no.

2. Get the Status profile of the Notifcation from TQ80 based on the Notifcation type (QMART).

3. Get all the user statuse no.s of this profile from TJ30T table and get the status no.s of the system statuses from TJ02T table.

4. Read the status table to get the required status no. of the the status (either user or system status).

5. Based on the object no. in step 1, status no obtained in step 4, hit the table JEST to know whether that particular status is set on the notification or not. you can also use INACT flag to know whether the status is set on the notification or not.

There is no BAPI for doing this. It is suggested to use the above logic, which will increase the performance of the program.

Thanks & Regards

Navy.