06-02-2007 9:22 AM
Hi Folks,
I am doing an interactive report where at the level of list 4 I have to call ME23N w.r.t the EBELN I had displayed in list 3.
loop at iekpo.
iekpo-ebeln hotspot on,
:::
:::::
:::
hide iekpo-ebeln.
endloop.
if sy-lsind = 4.
call transaction 'ME23N' and skip first screen( here I want to validate it with" where ebeln = iekpo-ebeln)
How to achieve that?
Thanks,
K.Kiran.
Message was edited by:
Kiran K
06-02-2007 9:27 AM
Check the parameter id of the field purchase order. Before calling the transaction me23n set the parameter using the po number.
Regards,
Devendra
06-02-2007 9:27 AM
Check the parameter id of the field purchase order. Before calling the transaction me23n set the parameter using the po number.
Regards,
Devendra
06-02-2007 9:33 AM
Dev,
Can you please let me know the syntax.
set parameter id EBN field iekpo-ebeln is sjowing an error.
K.Kiran
Message was edited by:
Kiran K
06-02-2007 9:53 AM
SET PARAMETER ID pid FIELD f.
Example
DATA: REPID(8) VALUE 'RFSCHU01'.
SET PARAMETER ID 'RID' FIELD REPID.
whatever you are writing is correct.
What is the error?
06-02-2007 9:58 AM
Darshil,
It is saying that 'EBN' is unknown and neither in one of the specified tables or data statement.
Do I need to declare any extra variable for this paratmeter 'ebe'?
Thanks,
K.Kiran.
06-02-2007 10:03 AM
You dont need to declare a variable.
Just double check the parameter name. Is it 'EBN' or 'EBE'?
Go to dataelemnt EBELN and check.
06-02-2007 10:08 AM
Darshil,
Where can I find the parameter id for ebeln?I had checked in the data element attributes of ebeln but couldn't find any.
I tried all the combinations ebe,ebl,ebn,ebeln but nothing is working.
Thanks,
K.Kiran.
06-02-2007 10:13 AM
it is 'BES'.
You can find it in data element EBELN under 'Further Characteristics' tab.
06-02-2007 10:14 AM
Darshil,
I got it.I was checking the field instead of the data element for the parameter id.
Parameter id is BES.
Thanks a ton.
K.Kiran.