Application Development 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: 

Dispalying ME23N w.r.t the EBELN

kiran_k8
Active Contributor
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Check the parameter id of the field purchase order. Before calling the transaction me23n set the parameter using the po number.

Regards,

Devendra

8 REPLIES 8

Former Member
0 Kudos

Check the parameter id of the field purchase order. Before calling the transaction me23n set the parameter using the po number.

Regards,

Devendra

0 Kudos

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

0 Kudos

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?

0 Kudos

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.

0 Kudos

You dont need to declare a variable.

Just double check the parameter name. Is it 'EBN' or 'EBE'?

Go to dataelemnt EBELN and check.

0 Kudos

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.

0 Kudos

it is 'BES'.

You can find it in data element EBELN under 'Further Characteristics' tab.

0 Kudos

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.