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

parameter id - not working

Former Member
0 Likes
915

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

5 REPLIES 5
Read only

Former Member
0 Likes
698

Use capitals and try again like this.

set parameter id 'IQM' field qmel-qmnum.

GET PARAMETER ID 'IQM' FIELD p_qmnum.

Regards,

Ravi

Read only

Former Member
0 Likes
698

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.

Read only

Former Member
0 Likes
698

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

Read only

0 Likes
698

thank you all, it is working good.

thank you very much.

dana.

Read only

Former Member
0 Likes
698

it now working great. thanks.