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: 

Call transaction 'SE38'

rainer_hbenthal
Active Contributor
0 Kudos

Hi,

i'm calling transaction SE38 from my report.

First try was this:

set parameter id 'RID' field selfield-value.
  call transaction 'SE38' and skip first screen.

But the first screen is not skipped, it just stays on the entry screen with the reportname correctly filled.

After that i tried

bdcdyn 'SAPLWBABAP' '0100'.
  bdcfil 'BDC_OKCODE' '=SHOP'.
  bdcfil 'RS38M-PROGRAMM' selfield-value.
  bdcfil 'RS38M-FUNC_EDIT' 'X'.

 CALL TRANSACTION 'SE38' USING it_bdc MODE 'E'.

This is working, but the old editor is called and not the new one.

So at least, its working, but i really would like to call the new editor (which is configured in utilities/settings) instead od the backend editor.

Any idea why in the first example the editor is noit called?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

CALL TRANSACTION ..... AND SKIP FIRST SCREEN only skips the first screen if you can get from the first to the second screen by pressing enter. If you have to use a function key it wil stay on the first screen.

For example, most of the functional transactions (FB03, VA03 etc...) will skip the first screen, but anything like SE38, SE11 etc need a function key to progress.

Regards,

Nick

5 REPLIES 5

Former Member
0 Kudos

Hello

No ideas for first example

P.s.: Try FM EDITOR_PROGRAM

rahul2000
Contributor
0 Kudos

Hi.

Are you getting a program name inselfield-value?

If yes then it has to work...

Rahul.

Former Member
0 Kudos

Hi,

CALL TRANSACTION ..... AND SKIP FIRST SCREEN only skips the first screen if you can get from the first to the second screen by pressing enter. If you have to use a function key it wil stay on the first screen.

For example, most of the functional transactions (FB03, VA03 etc...) will skip the first screen, but anything like SE38, SE11 etc need a function key to progress.

Regards,

Nick

0 Kudos

Thanks Nick for this piece of info !! 10 p*ints from me as well

Cheers,

Suhas

raphaelbertani
Explorer
0 Kudos

You need to add 'X' to batch input parameters. So the editor will be the new one :

    w_opcoes-updmode  = 'E'.
w_opcoes-cattmode = ' '.
w_opcoes-racommit = 'X'.
w_opcoes-nobinpt = 'X'.
w_opcoes-nobiend = 'X'.

*CALL TRANSACTION
CALL TRANSACTION 'SE38' USING t_bdc_tab
OPTIONS FROM w_opcoes MESSAGES INTO t_messtab.