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: 

Display-me23n

Former Member
0 Kudos

Hi ,

I want to g o to me23n directly after displaying my purchasing document number in output.How to do this.

regards

Ivneet

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

I think you have to go to me23n transaction from report right,then you have to write this logic

data v_ebeln type ebeln.

get cursor field 'EBELN' value v_ebeln.

set parameter id 'BES' field v_ebeln.

call transaction 'ME23N'.

Here v_ebeln is the value whatever you select

regards

venkat

8 REPLIES 8

Former Member
0 Kudos

Do CALL TRANSACTION ME23N once u display the PO..

Thanks

Amol Lohade

Former Member
0 Kudos

after getting u r output..i.e purchase order number..write

call transaction me23n.

by using set and get parameters u can directly go to me23n with that po number

Former Member
0 Kudos

Hello,

Put the following code.

1. On double clicking event ( at line selection )

call transaction ME23N skipping fiest screen.

Make sure you pass all mandatory fields in ME23N to the corresponding parameter-ids.

-Rajat

Former Member
0 Kudos

Hi,

try this:

SET PARAMETER ID 'BES' FIELD WA_ITAB-EBELN. -> your EBELN

CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.

Regards, Dieter

Former Member
0 Kudos

Hi,

what you can do, define AT LINE SELECTION EVENT in your program and there call the tcode by using CALL TRANSACTION me23n.

Therefore first purchase documents will be displayed and on double clicking tcode me23n will be called.

Regards

Abhijeet

Former Member
0 Kudos

Hi

I think you have to go to me23n transaction from report right,then you have to write this logic

data v_ebeln type ebeln.

get cursor field 'EBELN' value v_ebeln.

set parameter id 'BES' field v_ebeln.

call transaction 'ME23N'.

Here v_ebeln is the value whatever you select

regards

venkat

0 Kudos

H i,

I am using ALV .In that we cant use at line selection

regards

ivneet

0 Kudos

I am  facing the same issue, after mentioned the alv list display i have mentioned

set PARAMETER ID 'BES' FIELD wa_final-EBELN.

CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.

but i am not getting the me23n transaction , can you please help me.