<?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: FB03 Long text to sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297385#M501760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you don't need to read it in the abap driver at all but can just include it in the sapscript:&lt;/P&gt;&lt;P&gt;/: INCLUDE &amp;amp;VBDKR-TDNAME&amp;amp; OBJECT VBBK ID 1405 PARAGRAPH K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2007 04:15:19 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2007-05-31T04:15:19Z</dc:date>
    <item>
      <title>FB03 Long text to sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297382#M501757</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 requirement is ,i have to read the long text entered in the FB03 transaction(it may be several lines) in my Z Print program and pass that to the sapscript form that it gets displayed as line item. can you please send sample how to do in program and how it is called in sapscript form..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Swarna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 03:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297382#M501757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T03:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: FB03 Long text to sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297383#M501758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the below program :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zread_test.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: it_lines LIKE TABLE OF tline WITH HEADER LINE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;      id              = 'LTXT'&lt;/P&gt;&lt;P&gt;      language        = sy-langu&lt;/P&gt;&lt;P&gt;      name            = '000001100184'&lt;/P&gt;&lt;P&gt;      object          ='AUFK'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       HEADER                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;     lines                   = it_lines&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    id                       = 1&lt;/P&gt;&lt;P&gt;    language                 = 2&lt;/P&gt;&lt;P&gt;    name                     = 3&lt;/P&gt;&lt;P&gt;    not_found                = 4&lt;/P&gt;&lt;P&gt;    object                   = 5&lt;/P&gt;&lt;P&gt;    reference_check          = 6&lt;/P&gt;&lt;P&gt;    wrong_access_to_archive  = 7&lt;/P&gt;&lt;P&gt;    OTHERS                   = 8.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Data: mystring type string.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LOOP AT it_lines.&lt;/P&gt;&lt;P&gt;concatenate mystring it_lines-tdline into mystring&lt;/P&gt;&lt;P&gt;separated by space.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass ur text id,text object and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 04:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297383#M501758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T04:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: FB03 Long text to sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297384#M501759</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;   Can you please tell me how i pass this value to may sapscript because when i pass in sapscript nothing appears.How to call the variable in the form....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 04:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297384#M501759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T04:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: FB03 Long text to sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297385#M501760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you don't need to read it in the abap driver at all but can just include it in the sapscript:&lt;/P&gt;&lt;P&gt;/: INCLUDE &amp;amp;VBDKR-TDNAME&amp;amp; OBJECT VBBK ID 1405 PARAGRAPH K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 04:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297385#M501760</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2007-05-31T04:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: FB03 Long text to sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297386#M501761</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;You have to use FM READ_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FB03 Transaction, you can get the Technical information of the Text Area. Use those as inputs to this FM, which will return the text entered into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this Internal table data to write onto script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;stxl_id-tdobject = 'VBBK'.&lt;/P&gt;&lt;P&gt;stxl_id-tdname = wa_vbfa-vbelv.&lt;/P&gt;&lt;P&gt;stxl_id-tdid = '0012'.&lt;/P&gt;&lt;P&gt;stxl_id-tdspras = 'EN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF tlines OCCURS 10.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE tline.&lt;/P&gt;&lt;P&gt;DATA: END OF tlines.&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;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;clear: i_text.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*DATA : l_text(120) TYPE c,&lt;/P&gt;&lt;P&gt;DATA : l_text(1050) TYPE c,&lt;/P&gt;&lt;P&gt;v_tline LIKE tline-tdline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;client = sy-mandt&lt;/P&gt;&lt;P&gt;id = stxl_id-tdid&lt;/P&gt;&lt;P&gt;language = stxl_id-tdspras&lt;/P&gt;&lt;P&gt;name = stxl_id-tdname&lt;/P&gt;&lt;P&gt;object = stxl_id-tdobject&lt;/P&gt;&lt;P&gt;archive_handle = 0&lt;/P&gt;&lt;P&gt;local_cat = ' '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HEADER =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;lines = tlines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;id = 1&lt;/P&gt;&lt;P&gt;language = 2&lt;/P&gt;&lt;P&gt;name = 3&lt;/P&gt;&lt;P&gt;not_found = 4&lt;/P&gt;&lt;P&gt;object = 5&lt;/P&gt;&lt;P&gt;reference_check = 6&lt;/P&gt;&lt;P&gt;wrong_access_to_archive = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TLINES.&lt;/P&gt;&lt;P&gt;CALL FUNCITON 'WRITE_FORM' with the text element..&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 04:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297386#M501761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T04:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: FB03 Long text to sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297387#M501762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swarna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I belive you  will not too many space to print text ,i think you may have some 200 charcters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declarate one variable :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data v_text(200) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate ur text separted by space using tlines loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you will have data v_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use write form dircetly&lt;/P&gt;&lt;P&gt;here mention ur window and text element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p1 &amp;amp;V_text&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I done same thing and try to ask functional guy and see print output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do not use write_form in loop and endloop ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 04:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fb03-long-text-to-sapscript/m-p/2297387#M501762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T04:36:13Z</dc:date>
    </item>
  </channel>
</rss>

