Skip to Content
author's profile photo
Former Member

Problem with Call Transaction?

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 09:20 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded