Skip to Content
0

to display SO10 standard text after double click of table control

Dec 19, 2016 at 10:56 AM

76

avatar image

Hi everyone

I have a table where I store the standard texts created from SO10. I'm displaying the contents of this table in a table control in module pool programming. The columns are TEXT ID, TEXT NAME, TEXT Language. When I double click on the text name in the table control, the standard text should open in SO10 screen in display mode.

How do I achieve this?

I have used the following code to retrieve the double clicked value.

GET CURSOR FIELD lv_field LINE lv_line VLAUE lv_value.

I'm also using this value to call the SO10 screen.

SET PARAMETER ID 'TXT' FIELD ls_value.

CALL TRANSACTION 'SO10' AND SKIP FIRST SCREEN.

The SO10 screen opens. But I have to click on 'DISPLAY' button to view the particular text. My requirement is to directly go to the Display mode of SO10 editor of the particular text name clicked in table control.

Please help/

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Dec 19, 2016 at 12:25 PM
0

You could

  • Call a SapScrtipt text FM like READ_TEXT followed by EDIT_TEXT with parameter DISPLAY set.
  • Build a small BDC on SO10 transaction.

Regards,
Raymond

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Also Google -> "fm show so10 text site:sap.com"

0