<?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: Splitting Header text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875821#M1139771</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;My text is with header.I tried with &lt;/P&gt;&lt;P&gt;DATA: TXT(150),TXT1(150).&lt;/P&gt;&lt;P&gt;TXT = g_txt1+0(132).&lt;/P&gt;&lt;P&gt;TXT1 = G_TXT1+133(132).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting second line too in first variable.How to use DESCRIBE for dynamic values ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Dec 2008 11:31:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-19T11:31:59Z</dc:date>
    <item>
      <title>Splitting Header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875819#M1139769</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;In smartforms I am getting the item text content thru "READ_TEXT" function module.It contains more lines.I want to put each line(132 long) to be spitted and put into variables.How can i get this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 10:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875819#M1139769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-19T10:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875820#M1139770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you getting the values in Export structure (Header) or in Tables parameter (Lines)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is Header, then you can move it to variables as follows:&lt;/P&gt;&lt;P&gt;Var1 = Header+0(132).&lt;/P&gt;&lt;P&gt;Var2 = Header+133(132).&lt;/P&gt;&lt;P&gt;The above mentioned numbers can be dynamic. Meaning, you can use DESCRIBE statement to find the actual length and accordingly you can move it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is Lines, you need to loop in to Lines table and move the values to variable as stated above.&lt;/P&gt;&lt;P&gt;Loop at Lines into Workarea.&lt;/P&gt;&lt;P&gt;" Here you can treat this workarea similar to the Header structure.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this throws some light on the issue that you are facing &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 11:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875820#M1139770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-19T11:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875821#M1139771</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;My text is with header.I tried with &lt;/P&gt;&lt;P&gt;DATA: TXT(150),TXT1(150).&lt;/P&gt;&lt;P&gt;TXT = g_txt1+0(132).&lt;/P&gt;&lt;P&gt;TXT1 = G_TXT1+133(132).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting second line too in first variable.How to use DESCRIBE for dynamic values ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 11:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875821#M1139771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-19T11:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875822#M1139772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about your requirement. Bu i feel you want the text lines to be split into variables of some &lt;/P&gt;&lt;P&gt;fixed length. You can make use of &lt;STRONG&gt;FORMAT_TEXTLINES&lt;/STRONG&gt; func. module for this purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 11:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875822#M1139772</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-12-19T11:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting Header text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875823#M1139773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Describe Field&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; statement to get the length of the structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the Header is defined in the export parameter as structure, i think you would be getting only one line as the output. It contains fields. It can be moved as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1 = header-TDNAME.&lt;/P&gt;&lt;P&gt;var2 = header-TDFORM.&lt;/P&gt;&lt;P&gt;var3 = header-TDREFOBJ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindliy check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 11:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-header-text/m-p/4875823#M1139773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-19T11:39:51Z</dc:date>
    </item>
  </channel>
</rss>

