<?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: Somebody please help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643757#M286639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;deepthi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all try to get the values in ur driver program/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second transfers the content into variables ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use these variables in ur form by passing it to the form editor sap script ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot use include to get this ..&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;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Oct 2006 17:14:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-19T17:14:41Z</dc:date>
    <item>
      <title>Somebody please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643751#M286633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been working on a SAPSCRIPT. I have donemost of it but left out few changes. If you go to transaction QM02 and enter a notification, a page will be openned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below in the subject, there is a description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have to bring this text from here and put it in the form. &lt;/P&gt;&lt;P&gt;I have tried to put an include and pull out the text but i could not do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please send me a sample code that you have for this scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 16:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643751#M286633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Somebody please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643752#M286634</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;i would write a perform statement for that.Find out the fiield name and read that value from the table based on the notification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 16:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643752#M286634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T16:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Somebody please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643753#M286635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Description will be there in QMEL - QMTXT. If u want to get the long text after that description button use the FM READ_TEXT with the following data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;CLIENT &amp;lt;/b&amp;gt;                         120         &lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;ID&amp;lt;/b&amp;gt;                              LTQM        &lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;LANGUAGE&amp;lt;/b&amp;gt;                        EN          &lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;NAME&amp;lt;/b&amp;gt;                            000200000001&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;OBJECT&amp;lt;/b&amp;gt;                          QMEL        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 17:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643753#M286635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T17:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Somebody please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643754#M286636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, deepthi ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through the code ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the long text can be retrieve using this method. &lt;/P&gt;&lt;P&gt;You have to used the READ_TEXT functions to read the SAP long text.  e.g. Sales Order, Purchase Order Item text etc. &lt;/P&gt;&lt;P&gt;To check your long text header, go into the long text.  Click Goto -&amp;gt; Header &lt;/P&gt;&lt;P&gt;Example of READ_TEXT functions reading tables PBIM - Independent requirements for material. &lt;/P&gt;&lt;P&gt;REPORT ZTEXT . &lt;/P&gt;&lt;P&gt;TABLES: PBIM. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;stxh, stxl, stxb - trans tables for text &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ttxit - text on text-ids &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ttxot - Short texts on text objects &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Transaction MD63 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR, &lt;/P&gt;&lt;P&gt;                S_WERKS FOR PBIM-WERKS. &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF HTEXT. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE THEAD. &lt;/P&gt;&lt;P&gt;DATA: END OF HTEXT. &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF LTEXT OCCURS 50. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE TLINE. &lt;/P&gt;&lt;P&gt;DATA: END OF LTEXT. &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF DTEXT OCCURS 50. &lt;/P&gt;&lt;P&gt;DATA:   MATNR LIKE PBIM-MATNR. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE TLINE. &lt;/P&gt;&lt;P&gt;DATA: END OF DTEXT. &lt;/P&gt;&lt;P&gt;DATA: TNAME LIKE THEAD-TDNAME. &lt;/P&gt;&lt;P&gt;SELECT * FROM PBIM WHERE WERKS IN S_WERKS. &lt;/P&gt;&lt;P&gt;  MOVE PBIM-BDZEI TO TNAME. &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT' &lt;/P&gt;&lt;P&gt;       EXPORTING &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          CLIENT                  = SY-MANDT &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          ID                      = 'PB' &lt;/P&gt;&lt;P&gt;          LANGUAGE                = 'E' &lt;/P&gt;&lt;P&gt;          NAME                    = TNAME &lt;/P&gt;&lt;P&gt;          OBJECT                  = 'PBPT' &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARCHIVE_HANDLE          = 0 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IMPORTING &lt;/P&gt;&lt;P&gt;          HEADER                  = HTEXT &lt;/P&gt;&lt;P&gt;     TABLES &lt;/P&gt;&lt;P&gt;          LINES                   = LTEXT &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;  LOOP AT LTEXT. &lt;/P&gt;&lt;P&gt;    IF LTEXT-TDLINE NE ''. &lt;/P&gt;&lt;P&gt;      MOVE LTEXT-TDLINE TO DTEXT-TDLINE. &lt;/P&gt;&lt;P&gt;      MOVE PBIM-MATNR TO DTEXT-MATNR. &lt;/P&gt;&lt;P&gt;      APPEND DTEXT. &lt;/P&gt;&lt;P&gt;    ENDIF. &lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;P&gt;LOOP AT DTEXT. &lt;/P&gt;&lt;P&gt;  WRITE:/ DTEXT-MATNR, DTEXT-TDLINE. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps , &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 17:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643754#M286636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T17:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Somebody please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643755#M286637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have called that FM read_text and got the data ..but what do i do to wrie this text onto the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put this &lt;/P&gt;&lt;P&gt;INCLUDE &amp;amp;QMEL-LTXT&amp;amp; OBJECT QMEL ID LTQM LANGUAGE &amp;amp;SYST-LANGU&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still the text is not displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we have to read the function module where you do the write_form???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 17:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643755#M286637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T17:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Somebody please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643756#M286638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the form give the internal table name say '&amp;amp;i_lines1-tdline&amp;amp;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the read text fm in the script program and get the value into a internal table,then loop at that internal table and use the write form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_lines1.&lt;/P&gt;&lt;P&gt;    PERFORM write_forms USING ws_element_name ws_window_name.&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;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 17:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643756#M286638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T17:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Somebody please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643757#M286639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;deepthi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all try to get the values in ur driver program/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second transfers the content into variables ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now use these variables in ur form by passing it to the form editor sap script ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot use include to get this ..&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;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 17:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/somebody-please-help/m-p/1643757#M286639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T17:14:41Z</dc:date>
    </item>
  </channel>
</rss>

