07-27-2007 8:21 AM
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..
07-27-2007 8:28 AM
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>
07-27-2007 8:35 AM
08-08-2007 12:03 PM
There is a structure called viqmel that has notification number viqmel-qmnum before save.
08-08-2007 12:38 PM
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
08-08-2007 12:41 PM
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
08-08-2007 1:57 PM
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.