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: 

Problem with Call Transaction?

Former Member
0 Kudos

Hi,

I have an alv grid display, using Reuse alv.

Double click on the alv takes to a transaction say, SE11.

I want to bypass the first screen of the SE11 transaction by filling in the value of the table name in the initial screen of SE11, and then directly display the table fields screen.

To achieve this i tried using the CALL TRANSACTION AND SKIP FIRST SCREEN, and SET parameters. This doesn't work. It just helps me fill the table name in the first screen of SE11, but doesn't skip the first screen.

So i used a BDC recording to skip the first screen of SE11 and it works fine.

Problem is: if i click on the back button, after skiping the initial screen, it goes to the initial screen of SE11 and not my alv display.

I want to goto my alv grid display on clicking the back button after the running of BDC.

Can anyone help me on this!

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

u have to find parameter ID of that field and than like this.

FORM user_command USING u_com LIKE sy-ucomm sel_field TYPE slis_selfield.

CLEAR fcat1.

CASE u_com.

WHEN '&IC1'.

READ TABLE itab INDEX sel_field-tabindex.

IF sy-subrc = 0.

t_mat = itab-matnr.

<b> SET PARAMETER ID 'MAT' FIELD t_mat.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.</b>

ENDIF.

ENDCASE.

ENDFORM. "user_command

here i am calling transaction MM03 and parameter id for material is MAT.

Reward if useful.

1 REPLY 1

Former Member
0 Kudos

hi,

u have to find parameter ID of that field and than like this.

FORM user_command USING u_com LIKE sy-ucomm sel_field TYPE slis_selfield.

CLEAR fcat1.

CASE u_com.

WHEN '&IC1'.

READ TABLE itab INDEX sel_field-tabindex.

IF sy-subrc = 0.

t_mat = itab-matnr.

<b> SET PARAMETER ID 'MAT' FIELD t_mat.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.</b>

ENDIF.

ENDCASE.

ENDFORM. "user_command

here i am calling transaction MM03 and parameter id for material is MAT.

Reward if useful.