<?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: tdline format types in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tdline-format-types/m-p/2699532#M625121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you're trying to use some function module which takes TDLINE internal table as input.&lt;/P&gt;&lt;P&gt;TDLINE is just a char string.&lt;/P&gt;&lt;P&gt;Check this code which converts BDC message log into TDLINE format for popup display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: lwa_bdcmsgcoll LIKE LINE OF lpi_bdcmsgcoll.
  DATA: lwa_text       TYPE tline,
        li_text_table  TYPE TABLE OF tline.

  LOOP AT lpi_bdcmsgcoll INTO lwa_bdcmsgcoll.
    CALL FUNCTION 'MESSAGE_TEXT_BUILD'
         EXPORTING
              msgid               = lwa_bdcmsgcoll-msgid
              msgnr               = lwa_bdcmsgcoll-msgnr
              msgv1               = lwa_bdcmsgcoll-msgv1
              msgv2               = lwa_bdcmsgcoll-msgv2
              msgv3               = lwa_bdcmsgcoll-msgv3
              msgv4               = lwa_bdcmsgcoll-msgv4
         IMPORTING
              message_text_output = lwa_text-tdline.

    CONCATENATE '(' lwa_bdcmsgcoll-msgtyp '-'
                    lwa_bdcmsgcoll-msgid lwa_bdcmsgcoll-msgnr ')' space
                lwa_text-tdline
    INTO lwa_text-tdline.
    APPEND lwa_text TO li_text_table. CLEAR lwa_text.

  ENDLOOP.

  CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
       EXPORTING
            titel      = 'MESSAGES'
       TABLES
            text_table = li_text_table.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2007 20:27:27 GMT</pubDate>
    <dc:creator>alejandro_bindi</dc:creator>
    <dc:date>2007-08-14T20:27:27Z</dc:date>
    <item>
      <title>tdline format types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tdline-format-types/m-p/2699530#M625119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want TDLINE format's can any one help me in this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting the mail content using one function module and using that mail content i am updating one log, in that log i am getting some junk characters,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's why to erase those junk characters i want tdline format can any one help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 12:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tdline-format-types/m-p/2699530#M625119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T12:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: tdline format types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tdline-format-types/m-p/2699531#M625120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by TDLINE format? You want the structure of it? Which type to use to avoid the junk characters? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 20:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tdline-format-types/m-p/2699531#M625120</guid>
      <dc:creator>former_member192429</dc:creator>
      <dc:date>2007-08-14T20:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: tdline format types</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tdline-format-types/m-p/2699532#M625121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you're trying to use some function module which takes TDLINE internal table as input.&lt;/P&gt;&lt;P&gt;TDLINE is just a char string.&lt;/P&gt;&lt;P&gt;Check this code which converts BDC message log into TDLINE format for popup display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: lwa_bdcmsgcoll LIKE LINE OF lpi_bdcmsgcoll.
  DATA: lwa_text       TYPE tline,
        li_text_table  TYPE TABLE OF tline.

  LOOP AT lpi_bdcmsgcoll INTO lwa_bdcmsgcoll.
    CALL FUNCTION 'MESSAGE_TEXT_BUILD'
         EXPORTING
              msgid               = lwa_bdcmsgcoll-msgid
              msgnr               = lwa_bdcmsgcoll-msgnr
              msgv1               = lwa_bdcmsgcoll-msgv1
              msgv2               = lwa_bdcmsgcoll-msgv2
              msgv3               = lwa_bdcmsgcoll-msgv3
              msgv4               = lwa_bdcmsgcoll-msgv4
         IMPORTING
              message_text_output = lwa_text-tdline.

    CONCATENATE '(' lwa_bdcmsgcoll-msgtyp '-'
                    lwa_bdcmsgcoll-msgid lwa_bdcmsgcoll-msgnr ')' space
                lwa_text-tdline
    INTO lwa_text-tdline.
    APPEND lwa_text TO li_text_table. CLEAR lwa_text.

  ENDLOOP.

  CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
       EXPORTING
            titel      = 'MESSAGES'
       TABLES
            text_table = li_text_table.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 20:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tdline-format-types/m-p/2699532#M625121</guid>
      <dc:creator>alejandro_bindi</dc:creator>
      <dc:date>2007-08-14T20:27:27Z</dc:date>
    </item>
  </channel>
</rss>

