<?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: Subject length Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357570#M1640800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I don't like saying "It's not possible"... So, I will have to amend this to: "To my knowledge, it's not possible"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, the subject length is restricted. Even when using the BCS class to send mails. This is newer, but even there the length is restricted to 50...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2011 14:58:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-01T14:58:10Z</dc:date>
    <item>
      <title>Subject length Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357569#M1640799</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 am using following code to send email through SAP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate the subject/generic message attributes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        gd_doc_data-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;        gd_doc_data-obj_name  = 'SAPRPT'.&lt;/P&gt;&lt;P&gt;        gd_doc_data-obj_descr = lv_body_sub.&lt;/P&gt;&lt;P&gt;        gd_doc_data-sensitivty = 'F'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'SO_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            document_data              = gd_doc_data&lt;/P&gt;&lt;P&gt;            put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;            sender_address             = ld_sender_address&lt;/P&gt;&lt;P&gt;            sender_address_type        = ld_sender_address_type&lt;/P&gt;&lt;P&gt;            commit_work                = 'X'&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            sent_to_all                = gd_sent_all&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            packing_list               = it_packing_list&lt;/P&gt;&lt;P&gt;            contents_txt               = it_message&lt;/P&gt;&lt;P&gt;            receivers                  = it_receivers&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;            document_not_sent          = 2&lt;/P&gt;&lt;P&gt;            document_type_not_exist    = 3&lt;/P&gt;&lt;P&gt;            operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;            parameter_error            = 5&lt;/P&gt;&lt;P&gt;            x_error                    = 6&lt;/P&gt;&lt;P&gt;            enqueue_error              = 7&lt;/P&gt;&lt;P&gt;            OTHERS                     = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here, the subject length is very less(around 50).How can i increase the subject length?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 13:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357569#M1640799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-01T13:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Subject length Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357570#M1640800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I don't like saying "It's not possible"... So, I will have to amend this to: "To my knowledge, it's not possible"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, the subject length is restricted. Even when using the BCS class to send mails. This is newer, but even there the length is restricted to 50...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 14:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357570#M1640800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-01T14:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Subject length Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357571#M1640801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey E. Vleeshouwers ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  am using the BCS Class method for sending email.&lt;/P&gt;&lt;P&gt;I am using the below code in side the code of BCS to increase the subject length to 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TRY.
                CALL METHOD lo_send_request-&amp;gt;set_message_subject
                  EXPORTING
                    ip_subject = lv_body_sub.
              CATCH cx_sy_dyn_call_illegal_method.
            ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am getting a Run time error saying:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You attempted to use a 'NULL' object reference (points to 'nothing')&lt;/P&gt;&lt;P&gt;access a component (variable: "LO_SEND_REQUEST").&lt;/P&gt;&lt;P&gt;An object reference must point to an object (an instance of a class)&lt;/P&gt;&lt;P&gt;before it can be used to access components.&lt;/P&gt;&lt;P&gt;Either the reference was never set or it was set to 'NULL' using the&lt;/P&gt;&lt;P&gt;CLEAR statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 07:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357571#M1640801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-02T07:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Subject length Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357572#M1640802</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;Even if you use CL_BCS, subject still has a limit of 50 char.&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;Steph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 08:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subject-length-problem/m-p/8357572#M1640802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-02T08:36:38Z</dc:date>
    </item>
  </channel>
</rss>

