Skip to Content
0
Former Member
Dec 11, 2007 at 01:21 PM

Parameter ID

123 Views

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.