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: 

to display SO10 standard text after double click of table control

Former Member
0 Kudos

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/

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

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

0 Kudos

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