<?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: create_text function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651897#M879583</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;Instead of this use the following code for uploading the long text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to take the long text in the separate internal table.&lt;/P&gt;&lt;P&gt;it_text is the internal table you have to use to put the long text.&lt;/P&gt;&lt;P&gt;Use this code after ur record code.&lt;/P&gt;&lt;P&gt;The value to be passed to ls_thead-TDNAME field is the number you got from BDC program that is the number of the created object.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;DATA it_text TYPE STANDARD TABLE OF tline.&lt;/P&gt;&lt;P&gt;DATA: ls_thead TYPE thead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_THEAD-TDOBJECT = 'QPRUEFLOS'&lt;/P&gt;&lt;P&gt;LS_THEAD-TDNAME = 'inspection log number'&lt;/P&gt;&lt;P&gt;LS_THEAD-TDID = (QALS     "Long text on inspection lot&lt;/P&gt;&lt;P&gt;QAVE     "Long text on usage decision&lt;/P&gt;&lt;P&gt;QBST     "Inventory posting log)&lt;/P&gt;&lt;P&gt;LS_THEAD-TDSPRAS = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      client                = sy-mandt&lt;/P&gt;&lt;P&gt;      header                = ls_thead&lt;/P&gt;&lt;P&gt;      insert                = 'X'&lt;/P&gt;&lt;P&gt;      savemode_direct     = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OWNER_SPECIFIED       = ' '&lt;/P&gt;&lt;/LI&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;    FUNCTION              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NEWHEADER             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      lines                 = lt_text&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;      object                = 4&lt;/P&gt;&lt;P&gt;      others                = 5.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if you find it helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2008 04:57:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-10T04:57:38Z</dc:date>
    <item>
      <title>create_text function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651894#M879580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;ihave bdc in that i having field like long text i have to upload the long text using create_text function module how to use and where to use in bdc. wat parameters i have to pass exactly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 08:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651894#M879580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: create_text function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651895#M879581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;long text can not be updated in BDC. you can do it only after completing BDC , by call function SAVE_TEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u can tell the transaction &amp;amp; long text, then it's possible to find what values to pass to this FM. each text obj need diff attibutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 12:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651895#M879581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: create_text function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651896#M879582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;transaction code is qa11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSTXT-TXLINE(02)'&lt;/P&gt;&lt;P&gt;                              'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'&lt;/P&gt;&lt;P&gt;                            &amp;amp; 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSTXT-TXLINE(03)'&lt;/P&gt;&lt;P&gt;                              'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'&lt;/P&gt;&lt;P&gt;                            &amp;amp; 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSTXT-TXLINE(04)'&lt;/P&gt;&lt;P&gt;                              'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'&lt;/P&gt;&lt;P&gt;                            &amp;amp; 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSTXT-TXLINE(05)'&lt;/P&gt;&lt;P&gt;                              'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh'&lt;/P&gt;&lt;P&gt;                            &amp;amp; 'hhhhhhhhhhhhhhhhhhhhhh'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 04:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651896#M879582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T04:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: create_text function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651897#M879583</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;Instead of this use the following code for uploading the long text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to take the long text in the separate internal table.&lt;/P&gt;&lt;P&gt;it_text is the internal table you have to use to put the long text.&lt;/P&gt;&lt;P&gt;Use this code after ur record code.&lt;/P&gt;&lt;P&gt;The value to be passed to ls_thead-TDNAME field is the number you got from BDC program that is the number of the created object.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;DATA it_text TYPE STANDARD TABLE OF tline.&lt;/P&gt;&lt;P&gt;DATA: ls_thead TYPE thead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_THEAD-TDOBJECT = 'QPRUEFLOS'&lt;/P&gt;&lt;P&gt;LS_THEAD-TDNAME = 'inspection log number'&lt;/P&gt;&lt;P&gt;LS_THEAD-TDID = (QALS     "Long text on inspection lot&lt;/P&gt;&lt;P&gt;QAVE     "Long text on usage decision&lt;/P&gt;&lt;P&gt;QBST     "Inventory posting log)&lt;/P&gt;&lt;P&gt;LS_THEAD-TDSPRAS = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      client                = sy-mandt&lt;/P&gt;&lt;P&gt;      header                = ls_thead&lt;/P&gt;&lt;P&gt;      insert                = 'X'&lt;/P&gt;&lt;P&gt;      savemode_direct     = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OWNER_SPECIFIED       = ' '&lt;/P&gt;&lt;/LI&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;    FUNCTION              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NEWHEADER             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      lines                 = lt_text&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;      object                = 4&lt;/P&gt;&lt;P&gt;      others                = 5.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if you find it helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 04:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651897#M879583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T04:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: create_text function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651898#M879584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to pass following values to function module along with internal table with text lines.&lt;/P&gt;&lt;P&gt;Text Name       800160000000050L&lt;/P&gt;&lt;P&gt;Language        EN&lt;/P&gt;&lt;P&gt;Text ID         QAVE 		(Long text on usage decision&lt;/P&gt;&lt;P&gt;Text Object     QPRUEFLOS  	(Inspection lot texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text name you will have to build  by concatenating Sy-mandt, inspection lot number + "L"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651898#M879584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T05:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: create_text function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651899#M879585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;this is saigeetha.&lt;/P&gt;&lt;P&gt;thks for sending one more doubt like ihave pass that textfield in recording or not and also for updating in to database create_text is enough or i have pass save_text also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thksans regards &lt;/P&gt;&lt;P&gt;saigeetha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651899#M879585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T05:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: create_text function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651900#M879586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;don't pass in recording.&lt;/P&gt;&lt;P&gt;SAVE_TEXT will create /update both no need to use create_text&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 05:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-text-function-module/m-p/3651900#M879586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T05:59:55Z</dc:date>
    </item>
  </channel>
</rss>

