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

Former Member
0 Likes
819

Hi,

I have developed a Ztransaction and I am calling from it from ME51N by writing a BADI. Now it is working fine. I have to pass the PRNo (Purchase Requesition Number ) to my Ztransaction screen field. For that purpose i have used Parameter id. I have given parameter Id for that text box.

and in the BADI.

I am writing.

DATA : WA_EBAN TYPE UEBAN .

READ TABLE IM_EBAN INDEX 1 INTO WA_EBAN.

DATA : PRNO TYPE EBAN-BANFN.

PRNO = WA_EBAN-BANFN.

SET PARAMETER ID 'PRN' FIELD PRNO.

CALL TRANSACTION 'ZPRN'.

but the number is not coming only screen is coming.

in the debug mode the number is availabe in prno.

what could be the problem...?

regards,

satya.

3 REPLIES 3
Read only

Former Member
0 Likes
579

Have you assigned the parameter to your input field in your custom program? Try checking the help documentation for parameters and look at the memory id addition.

Gareth.

Read only

0 Likes
579

Hi,

I have assigned it to the INPUT Parameter.

But still it is not working.

Regards,

satya.

Read only

Former Member
0 Likes
579

Hi Satya,

You need to use this parameter ID in your user data (goto System / user profile / own data).

Better to work with export / import into memory in this case, since not always people will use the parameter ID.

Regards,

Frank Umans