<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Open SO10 text dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118280#M1510745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use a little batch input?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:  bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.

START-OF-SELECTION.

  PERFORM bdc_dynpro USING 'SAPMSSCE'    '1100'.
  PERFORM bdc_field USING 'BDC_CURSOR'   'RSSCE-TDNAME'.

  PERFORM bdc_field USING 'BDC_OKCODE'   '=EDIT'.
  PERFORM bdc_field USING 'RSSCE-TDNAME'   'ZTEST'.
  PERFORM bdc_field USING 'RSSCE-TDID'   'ST'.
  PERFORM bdc_field USING 'RSSCE-TDSPRAS'   'EN'.

  CALL TRANSACTION 'SO10' USING bdcdata MODE 'E'.


*----------------------------------------------------------------------*
*        Start new screen                                              *
*----------------------------------------------------------------------*
FORM bdc_dynpro USING program dynpro.
  CLEAR bdcdata.
  bdcdata-program  = program.
  bdcdata-dynpro   = dynpro.
  bdcdata-dynbegin = 'X'.
  APPEND bdcdata.
ENDFORM.                    "bdc_dynpro

*----------------------------------------------------------------------*
*        Insert field                                                  *
*----------------------------------------------------------------------*
FORM bdc_field USING fnam fval.
  CLEAR bdcdata.
  bdcdata-fnam = fnam.
  bdcdata-fval = fval.
  APPEND bdcdata.
ENDFORM.                    "bdc_field&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jul 2010 21:34:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-27T21:34:20Z</dc:date>
    <item>
      <title>Open SO10 text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118277#M1510742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to launch SO10 transaction by passing the text name, text ID and language dynamically and it should open the text in the word editor by, bypassing the first screen. I have tried the following code , but it does not work I still get the selection screen (the values are populated though).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: stxh,rssce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-of-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rssce-tdobject = 'TEXT'.&lt;/P&gt;&lt;P&gt;rssce-tdname = 'ZTEST'.&lt;/P&gt;&lt;P&gt;rssce-tdid = 'ST'.&lt;/P&gt;&lt;P&gt;rssce-tdspras = 'EN'.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'TXT' FIELD rssce.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'SO10' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest me how can I bypass the first screen and directly go into the change mode of SO10 t-code (which is when I see the text in a work editor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 17:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118277#M1510742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-27T17:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Open SO10 text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118278#M1510743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think so you can directly use the fm edit_text for this purpose, please read the fm documentation or check the where used list .&lt;/P&gt;&lt;P&gt;You must first use read_text, edit_text , save_text &amp;amp; commit_text.&lt;/P&gt;&lt;P&gt;Use init_text in the begining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can go by the class cl_gui_text_edit,in se38 there will be a example for this program . Search for saptextedit*&lt;/P&gt;&lt;P&gt;link:[http://help.sap.com/saphelp_nw70/helpdata/EN/eb/549e36cf0ecb7de10000009b38f889/frameset.htm],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 19:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118278#M1510743</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-07-27T19:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Open SO10 text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118279#M1510744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help. But if I use Text_EDIT control, I don't think it preserves the formatting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a control that I can use that preserves the formatting of text that is entered in SO10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 20:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118279#M1510744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-27T20:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Open SO10 text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118280#M1510745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use a little batch input?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:  bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.

START-OF-SELECTION.

  PERFORM bdc_dynpro USING 'SAPMSSCE'    '1100'.
  PERFORM bdc_field USING 'BDC_CURSOR'   'RSSCE-TDNAME'.

  PERFORM bdc_field USING 'BDC_OKCODE'   '=EDIT'.
  PERFORM bdc_field USING 'RSSCE-TDNAME'   'ZTEST'.
  PERFORM bdc_field USING 'RSSCE-TDID'   'ST'.
  PERFORM bdc_field USING 'RSSCE-TDSPRAS'   'EN'.

  CALL TRANSACTION 'SO10' USING bdcdata MODE 'E'.


*----------------------------------------------------------------------*
*        Start new screen                                              *
*----------------------------------------------------------------------*
FORM bdc_dynpro USING program dynpro.
  CLEAR bdcdata.
  bdcdata-program  = program.
  bdcdata-dynpro   = dynpro.
  bdcdata-dynbegin = 'X'.
  APPEND bdcdata.
ENDFORM.                    "bdc_dynpro

*----------------------------------------------------------------------*
*        Insert field                                                  *
*----------------------------------------------------------------------*
FORM bdc_field USING fnam fval.
  CLEAR bdcdata.
  bdcdata-fnam = fnam.
  bdcdata-fval = fval.
  APPEND bdcdata.
ENDFORM.                    "bdc_field&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 21:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118280#M1510745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-27T21:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Open SO10 text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118281#M1510746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First use FM READ_TEXT,you'll get the text in table lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the same table in EDIT_TEXT along with the header data and also set display flag 'X' and line_editor 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would not affect the formatting and also skip the initial screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 13:44:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-so10-text-dynamically/m-p/7118281#M1510746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-24T13:44:03Z</dc:date>
    </item>
  </channel>
</rss>

