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 transaction se38 using bdc

Former Member
0 Likes
1,002

Hi all,

i want to create an interactive report so that when somebody click on the program name on the list output the at-line selection should open the se38 transaction by skipping the first screen. I used the syntax :

refresh t_bdcdata.
PERFORM fill_screendata USING 'SAPLWBABAP'  '0100'.
perform fill_field_Data using 'RS38M-PROGRAMM'  fs_report-prog.
perform fill_field_data using 'RS38M-FUNC_EDIT'      'X'.
PERFORM fill_field_data USING 'BDC_OKCODE'    '=CHAP'.
perform fill_field_data using 'BDC_CURSOR'  'RS38M-FUNC_EDIT'.

CALL TRANSACTION 'SE38' USING t_BDCDATA  MODE 'A'
                         MESSAGES INTO t_bdcmsg.

FORM fill_screendata  USING    value(p_0015)
                               value(p_0016).

  bdcdata-program   = p_0015.
  bdcdata-dynpro    = p_0016.
  bdcdata-dynbegin  = 'X'.

ENDFORM.                               " fill_screendata

FORM fill_field_data  USING    value(p_0020)
                               value(p_0021).
  bdcdata-fnam = p_0020.
  bdcdata-fval = p_0021.
  APPEND bdcdata TO t_bdcdata.
ENDFORM.

but it opens the SE38 editor's first screen with program name only and it does not open (go inside) the abap editor with program name.can any one help me by giving the correct code.

thanks

Anup

Edited by: Anup Verma on Apr 14, 2008 3:17 PM

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
802

It's probably easier if you just call function EDITOR_PROGRAM.

Cheers

Thomas

4 REPLIES 4
Read only

Former Member
0 Likes
802

v_vbeln = selfield-value.

SET PARAMETER ID: 'RID' FIELD v_vbeln.

CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.

Read only

0 Likes
802

hi,

use "AND SKIP FIRST SCREEN" addition with call transaction.

Regards,

Siddhesh S.Tawate

Read only

ThomasZloch
Active Contributor
0 Likes
803

It's probably easier if you just call function EDITOR_PROGRAM.

Cheers

Thomas

Read only

0 Likes
802

thnks thomas.

for giving me grateful answer.