‎2007 Dec 11 1:21 PM
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.
‎2007 Dec 11 1:26 PM
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.
‎2007 Dec 11 2:35 PM
Hi,
I have assigned it to the INPUT Parameter.
But still it is not working.
Regards,
satya.
‎2007 Dec 11 2:32 PM
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