‎2013 Jun 18 3:38 PM
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.
‎2013 Jun 18 4:18 PM
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
‎2013 Jun 18 4:15 PM
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
‎2013 Jun 18 4:18 PM
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
‎2013 Jun 19 8:05 AM