Application Development 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: 

How to get notification number when we created it from IW21?

Former Member
0 Kudos

Hi,

How to get notification number when we created it from IW21? I add some enhancement when save notification number, and i need to get that notification number before it is created.

There are buffer that i can read for notification number??

Please advice..

6 REPLIES 6

Former Member
0 Kudos

hi ary

u can do one thing. u find out the standard program for this transaction and debug that program. it will give u the buffer in which it is created

regards

ravish

<b>plz dont forget to reward points if helpful</b>

Former Member
0 Kudos

How do I get the buffer? Please advice..

Former Member
0 Kudos

There is a structure called viqmel that has notification number viqmel-qmnum before save.

0 Kudos

Thanks for the reply..

But if i just created notification, the notif number is not stored yet in structure viqmel..

There are some buffer that i can used?

Please advice

Former Member
0 Kudos

The number gets created with FM NUMBER_GET_NEXT. You can put a break in this form and see what it is populating. Generally, this is just before the actual posting or inside the posting FM.

Cheers,

L

0 Kudos

Hi you can use FM- READ_NOTIFICATION_BUFFER. this will give everything related to a PM/QM notification details.

if your are interested in getting the newly created Notification number only, then GET PARAMETER ID 'IQM' field L_number is a better idea.