<?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: Pick the data from HEAD. TEXT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507757#M1066309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This coding is working fine but it doesn't show the text which i put in the VF02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It simly shows the information msg. :- HEADER TEXT NOT FOUND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2008 06:17:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-24T06:17:23Z</dc:date>
    <item>
      <title>Pick the data from HEAD. TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507753#M1066305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to pick the data from :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VF02 - Put the billing Doc. no. - Display Doc. Header List -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Head. Text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Head. Text i write something &amp;amp; it will be display in my report.Is there possible if yes then how ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 05:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507753#M1066305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T05:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pick the data from HEAD. TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507754#M1066306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;YEs it is possible.&lt;/P&gt;&lt;P&gt;Use 'READ_text' function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For passing parameter to 'read_text'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go-to header text as u have mentioned earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that put text . Go-to details(Second icon after create in bottom)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that goto-&amp;gt;header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wil get &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text Name&lt;/P&gt;&lt;P&gt;Language&lt;/P&gt;&lt;P&gt;Text ID&lt;/P&gt;&lt;P&gt;Text Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass these parameters to your FM 'READ_text'.&lt;/P&gt;&lt;P&gt;data : tdlines TYPE STANDARD TABLE OF tline ,&lt;/P&gt;&lt;P&gt;         wa type tline.&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                            = Text ID               language                      = Language&lt;/P&gt;&lt;P&gt;        name                          = Text Name&lt;/P&gt;&lt;P&gt;        object                        = Text Object&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        lines                         = tdlines  &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;loop at tdline into wa.&lt;/P&gt;&lt;P&gt;write : /wa-tdline.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anil Mane on Sep 24, 2008 7:30 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 05:29:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507754#M1066306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T05:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pick the data from HEAD. TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507755#M1066307</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;Use FM 'READ_TEXT'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 05:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507755#M1066307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T05:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pick the data from HEAD. TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507756#M1066308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Check this sample code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  z_test1.

TABLES:
  thead.

PARAMETERS:
  p_vbeln TYPE vbak-vbeln.

PARAMETERS:
  p_textid TYPE thead-tdid.

DATA:
  BEGIN OF t_thead OCCURS 0.
        INCLUDE STRUCTURE thead.
DATA:
END OF t_thead.
DATA:
  w_line TYPE i,
  w_idx TYPE i,
  w_flag TYPE i.
DATA:
  BEGIN OF t_tline OCCURS 0.
        INCLUDE STRUCTURE tline.
DATA:
END OF t_tline.

DATA:
  w_test TYPE thead-tdname,
  w_temp TYPE string VALUE 'FIRST ASSIGNMENT'.


START-OF-SELECTION.
  w_test = p_vbeln.

  CALL FUNCTION 'READ_TEXT'
    EXPORTING
      client                  = sy-mandt
      id                      = p_textid
      language                = sy-langu
      name                    = w_test
      object                  = 'VBBK'
    TABLES
      lines                   = t_tline
    EXCEPTIONS
      id                      = 1
      language                = 2
      name                    = 3
      not_found               = 4
      object                  = 5
      reference_check         = 6
      wrong_access_to_archive = 7
      OTHERS                  = 8.

  IF sy-subrc NE 0.
    MESSAGE 'HEADER TEXT NOT FOUND' TYPE 'I'.
  ENDIF.

  LOOP AT t_tline.
    WRITE: / t_tline-tdline.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 05:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507756#M1066308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T05:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pick the data from HEAD. TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507757#M1066309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This coding is working fine but it doesn't show the text which i put in the VF02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It simly shows the information msg. :- HEADER TEXT NOT FOUND.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 06:17:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507757#M1066309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T06:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pick the data from HEAD. TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507758#M1066310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumit,&lt;/P&gt;&lt;P&gt;  the program which I have posted is for fetching sales order text, you can use similar type of code to fetch text for Billing document, you need to find text id and text object first.&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;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 06:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507758#M1066310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T06:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pick the data from HEAD. TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507759#M1066311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi summit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the FM as follows;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'READ_TEXT'
    EXPORTING
      client                  = sy-mandt
      id                      = '0002'
      language                = sy-langu
      name                    = '0092000005' "Substitute with the field having bill number
      object                  = 'VBBK'
    TABLES
      lines                   = t_tline
    EXCEPTIONS
      id                      = 1
      language                = 2
      name                    = 3
      not_found               = 4
      object                  = 5
      reference_check         = 6
      wrong_access_to_archive = 7
      OTHERS                  = 8.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 06:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-the-data-from-head-text/m-p/4507759#M1066311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T06:56:25Z</dc:date>
    </item>
  </channel>
</rss>

