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

Problem in Skip first screen using bdc

Former Member
0 Likes
597

Hello Experts,

I have a ALV report in which i have a hot spot to Standard texts SO10. Since CALL TRANSACTION AND SKIP FIRST SCREEN will not work for the reason that there is no PARAMETER ID for SO10 screen i made use of BDC method to call transaction and skip first screen. Calling the transaction and skip first screen is working absolutely fine.

The problem here is that after SO10 is called when i say BACK it takes me to the initial screen of SO10 and not the ALV report. Is there any way i can make this work like when i say BACK it takes me to the ALV report instead of the first screen of SO10?

Please help.

Thanks,

Ramanan R.S.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
525

You should call the FM EDIT_TEXT from the HotSpot with DISPLAY = 'X'. This would show up the screen and you should be able to use F3 to return back to ALV screen.

Thanks

Naimesh Patel

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
525

Hi,

why didn't you use an edit function to edit your text instead of using SO10 ?

you have to create a container like ALV Grid Oo, and used

  CALL METHOD obj_editor->get_text_as_r3table

    IMPORTING

      table  = itg_text_s

    EXCEPTIONS

      OTHERS = 5.

or to put data

    MOVE 'xxx' TO w_tdname.

    CALL FUNCTION 'READ_TEXT'

      EXPORTING

        id       = 'ST'

        language = sy-langu

        name     = w_tdname

        object   = 'TEXT'

      TABLES

        lines    = itg_text

      EXCEPTIONS

        OTHERS   = 8.

  LOOP AT itg_text

       INTO isg_text.

    MOVE isg_text-tdline TO isg_text_s-line.

    APPEND isg_text_s TO itg_text_s.

  ENDLOOP.

  CALL METHOD obj_editor->set_text_as_r3table

    EXPORTING

      table  = itg_text_s

    EXCEPTIONS

      OTHERS = 3.

regards

Fred

Read only

naimesh_patel
Active Contributor
0 Likes
526

You should call the FM EDIT_TEXT from the HotSpot with DISPLAY = 'X'. This would show up the screen and you should be able to use F3 to return back to ALV screen.

Thanks

Naimesh Patel

Read only

0 Likes
525

Thanks Naimesh for the timely help.

Regards,

Ramanan.