Skip to Content
0
Former Member
May 09, 2007 at 10:36 AM

some querry

10 Views

hi,

actually i am calling ME23n transaction.

when i click it is going on that transaction

but that field is not coming in purchase order field.

i don't know how to assign

i am sending my code.

CASE r_ucomm.

WHEN '&IC1'.

  • read table t_ekpo index rs_selfield-tabindex.

  • if sy-subrc = 0.

  • Concatenat0e 'I got it' t_ekpo-ebeln into var separated by space.

  • MESSAGE var TYPE 'I'.

*IF rs_selfield-fieldname = 'EBELN'.

READ TABLE t_ekpo INDEX rs_selfield-tabindex.

SET PARAMETER ID 'SAN' FIELD t_ekko-ebeln.

  • Sxecute transaction ME23N, and skip initial data entry screen

  • CALL TRANSACTION 'ME23N' using t_ekpo ."AND SKIP FIRST SCREEN.

CALL FUNCTION 'ABAP4_CALL_TRANSACTION'

EXPORTING

tcode = 'ME23N'.