‎2006 Nov 16 9:34 AM
hi all,
i have a program that should run from trans. iw52
i need to know the notification nnumber.so i wrote:
set parameter id 'p_qmnum' field qmel-qmnum.
GET PARAMETER ID 'iqm' FIELD p_qmnum.
and its not work.
what am i doind wrong?
thanks,
dana
‎2006 Nov 16 9:39 AM
Use capitals and try again like this.
set parameter id 'IQM' field qmel-qmnum.
GET PARAMETER ID 'IQM' FIELD p_qmnum.
Regards,
Ravi
‎2006 Nov 16 9:40 AM
Hi Dana,
Just write the code as under and it would work:
SET PARAMETER id 'iqm' FIELD qmel-qmnum.
here you are setting the field value of qmel-qmnum to id iqm.
GET PARAMETER ID 'iqm' FIELD p_qmnum.
Here you are setting the field p_qmnum with the value of id iqm.
You were using different memory id's for the process & so was not able to get the notification no.
Regards,
Chetan.
PS: Reward points if this is helpful.
‎2006 Nov 16 9:40 AM
Hi Dana
Please see that you have declare as below:
<b>data: p_qmnum like RIWO00-QMNUM.
set parameter id 'IQM' field p_qmnum.
get parameter id 'IQM' field p_qmnum.</b>
Note that Parameter Id for Notification number is IQM and declaration of p_qmnum should be same in calling and callee programs.
Kind Regards
Eswar
‎2006 Nov 19 10:33 AM
‎2006 Nov 19 10:34 AM