Application Development and Automation 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: 
Read only

call t-code from output display

Former Member
0 Likes
772

Hi,

i want to call me23n transaction when user clicks on po no which is displayed on normal report using write statement.

thanks in advance

suresh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
735

Hai Suresh

using the following Statements your directly go to ME22n first screen

SET PARAMETER ID 'BES' FIELD IT_EKKO-EBELN.

CALL TRANSACTION 'ME23' AND SKIP FIRST SCREEN.

Regards

Sreeni

6 REPLIES 6
Read only

Former Member
0 Likes
735

Look to "hotspot" in WRITE statement.

Read only

Former Member
0 Likes
736

Hai Suresh

using the following Statements your directly go to ME22n first screen

SET PARAMETER ID 'BES' FIELD IT_EKKO-EBELN.

CALL TRANSACTION 'ME23' AND SKIP FIRST SCREEN.

Regards

Sreeni

Read only

0 Likes
735

Here is a sample program to illistrate the above suggestions.



report zrich_0002 no standard page heading.

data: iekko type table of ekko with header line.

data : cursor_field(30),
       field_value(30) .

select-options: s_ebeln for iekko-ebeln.

start-of-selection.

  select * into corresponding fields of table iekko
           from ekko
          where ebeln in s_ebeln.

  loop at iekko.
    format hotspot on.
    write:/ iekko-ebeln.
    hide iekko-ebeln.
    format hotspot off.
  endloop.

at line-selection.

  set parameter id 'BES' field iekko-ebeln.
  call transaction 'ME23' and skip first screen.

Regards,

Rich Heilman

Read only

0 Likes
735

thanks for help and pts given

suresh

Read only

Former Member
0 Likes
735

START-OF-SELECTION.

FORMAT HOTSPOT.

WRITE 'Click me!' COLOR 5.

FORMAT HOTSPOT OFF.

AT LINE-SELECTION.

WRITE 'Yeah!' COLOR 3.

Read only

Former Member
0 Likes
735

AT LINE-SELECTION.

CALL TRANSACTION 'ME23N'

Thanks,

Santosh