<?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: NEXT LINE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159716#M456700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I don't know why you are using a special subroutine to split the text into two lines in this case. you can straight away write the field&lt;/P&gt;&lt;P&gt;&amp;amp;BSEG-SGTXT&amp;amp;&lt;/P&gt;&lt;P&gt;in two lines straight with offset.&lt;/P&gt;&lt;P&gt;in the first line  T1    &amp;amp;BSEG-SGTXT+0(25)&amp;amp;&lt;/P&gt;&lt;P&gt;In second line   T1    &amp;amp;BSEG-SGTXT+25(25)&amp;amp;&lt;/P&gt;&lt;P&gt;first write like this and see, is it printing or not.&lt;/P&gt;&lt;P&gt;Why to write the PERFORM for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 07:36:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-07T07:36:49Z</dc:date>
    <item>
      <title>NEXT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159713#M456697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all am using the below code to split a field into 2 lines in a script but am not getting it ...please go thru d code and mention any changes....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code in scripts&lt;/P&gt;&lt;P&gt;/: PERFORM TEXT IN PROGRAM ZF143&lt;/P&gt;&lt;P&gt;/: USING &amp;amp;BSEG-SGTXT&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;TEXT1&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;TEXT2&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;T2 &amp;amp;TEXT1&amp;amp; &lt;/P&gt;&lt;P&gt;T3 &amp;amp;TEXT2&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CODE IN DRIVER PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZF143.&lt;/P&gt;&lt;P&gt;Data: text1(30) type c.&lt;/P&gt;&lt;P&gt;Data: text2(30) type c.&lt;/P&gt;&lt;P&gt;DATA:SGTXT LIKE BSEG-SGTXT.&lt;/P&gt;&lt;P&gt;TABLES:BSEG.&lt;/P&gt;&lt;P&gt;FORM TEXT TABLES IN_PAR STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;                  OUT_PAR STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_PAR WITH  KEY 'BSEG-SGTXT'.&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;SGTXT = IN_PAR-VALUE.&lt;/P&gt;&lt;P&gt;Text1 = BSEG-SGTXT+0(25).&lt;/P&gt;&lt;P&gt;Text2 = BSEG-SGTXT+25(25).&lt;/P&gt;&lt;P&gt;*READ TABLE IN_PAR WITH  KEY 'BSEG-SGTXT'.&lt;/P&gt;&lt;P&gt;*CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_PAR WITH KEY value = 'TEXT1'.&lt;/P&gt;&lt;P&gt;    OUT_PAR-value = text1.&lt;/P&gt;&lt;P&gt;MODIFY OUT_PAR TRANSPORTING VALUE WHERE value =  'TEXT1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_PAR WITH KEY value = 'TEXT2'.&lt;/P&gt;&lt;P&gt;    OUT_PAR-value = text2.&lt;/P&gt;&lt;P&gt;MODIFY OUT_PAR TRANSPORTING VALUE WHERE value =  'TEXT2'.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 07:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159713#M456697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T07:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: NEXT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159714#M456698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EPORT ZF143.
Data: text1(30) type c.
Data: text2(30) type c.
DATA:SGTXT LIKE BSEG-SGTXT.
TABLES:BSEG.
FORM TEXT TABLES IN_PAR STRUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.

READ TABLE IN_PAR WITH KEY 'BSEG-SGTXT'.
CHECK SY-SUBRC = 0.
SGTXT = IN_PAR-VALUE.
Text1 = SGTXT+0(25).     " Use only SGTXT
Text2 = SGTXT+25(25).   " Use only SGTXT
*READ TABLE IN_PAR WITH KEY 'BSEG-SGTXT'.
*CHECK SY-SUBRC = 0.


READ TABLE OUT_PAR WITH KEY value = 'TEXT1'.
OUT_PAR-value = text1.
MODIFY OUT_PAR TRANSPORTING VALUE WHERE value = 'TEXT1'.

READ TABLE OUT_PAR WITH KEY value = 'TEXT2'.
OUT_PAR-value = text2.
MODIFY OUT_PAR TRANSPORTING VALUE WHERE value = 'TEXT2'.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 07:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159714#M456698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T07:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: NEXT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159715#M456699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;i actually used only sgtct first nut i still didnt get it...please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 07:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159715#M456699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T07:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: NEXT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159716#M456700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I don't know why you are using a special subroutine to split the text into two lines in this case. you can straight away write the field&lt;/P&gt;&lt;P&gt;&amp;amp;BSEG-SGTXT&amp;amp;&lt;/P&gt;&lt;P&gt;in two lines straight with offset.&lt;/P&gt;&lt;P&gt;in the first line  T1    &amp;amp;BSEG-SGTXT+0(25)&amp;amp;&lt;/P&gt;&lt;P&gt;In second line   T1    &amp;amp;BSEG-SGTXT+25(25)&amp;amp;&lt;/P&gt;&lt;P&gt;first write like this and see, is it printing or not.&lt;/P&gt;&lt;P&gt;Why to write the PERFORM for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 07:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159716#M456700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T07:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: NEXT LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159717#M456701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 05:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/next-line/m-p/2159717#M456701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T05:49:21Z</dc:date>
    </item>
  </channel>
</rss>

