<?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: How to save session using CALL TRANSACTION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511225#M1260184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              Use " Format_message " function module, it will give all the error records and reprocess the error records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2009 09:15:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-27T09:15:08Z</dc:date>
    <item>
      <title>How to save session using CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511222#M1260181</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 am using a BDC to create/change a Vendor through CALL TRANSACTION t code.&lt;/P&gt;&lt;P&gt;Now i have a scenario where the user wants that if the BDC fails then along with the error&lt;/P&gt;&lt;P&gt;messages he wants the session details(kind of log) so that he can go in SM35 and run the &lt;/P&gt;&lt;P&gt;correct the errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest on how to achieve this if I am using CALL TRANSACTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Saket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 07:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511222#M1260181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T07:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to save session using CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511223#M1260182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for this you can provide the appilication log &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first cretae  the object and subobjects in SLG0 with any name you want &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that you can move all error messages to your internal table. gt_messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after executing the porgam you look the error log in SLG1 tcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: lt_obj_long_no TYPE STANDARD TABLE OF balnri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'APPL_LOG_WRITE_MESSAGES'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object              = 'YTEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      subobject           = 'YTEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      update_or_insert    = 'I'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      messages            = gt_messages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object_not_found    = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      subobject_not_found = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      OTHERS              = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&lt;/P&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;  CALL FUNCTION 'APPL_LOG_WRITE_DB'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object                = 'YTEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      subobject             = 'YTEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object_with_lognumber = lt_obj_long_no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      object_not_found      = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      subobject_not_found   = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      internal_error        = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      OTHERS                = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 07:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511223#M1260182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to save session using CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511224#M1260183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion Chenna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can you please elaborate on this.&lt;/P&gt;&lt;P&gt;I did not get much of what you suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 09:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511224#M1260183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T09:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to save session using CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511225#M1260184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              Use " Format_message " function module, it will give all the error records and reprocess the error records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 09:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511225#M1260184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-27T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to save session using CALL TRANSACTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511226#M1260185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chenna.&lt;/P&gt;&lt;P&gt;Finally i did as u suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2009 12:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-save-session-using-call-transaction/m-p/5511226#M1260185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-09T12:47:09Z</dc:date>
    </item>
  </channel>
</rss>

