<?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: Triggering User command automatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356510#M1399764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can submit 1st report from second one and export the list to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT YFIIN_DISHC_MAILREPORT EXPORTING LIST TO MEMORY AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now You can retrieve list from memory as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      LISTOBJECT = lt_listobject
    EXCEPTIONS
      NOT_FOUND  = 1
      OTHERS     = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you can convert the list to html page as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
   EXPORTING
     REPORT_NAME         = 'YFIIN_DISHC_MAILREPORT'
*     TEMPLATE_NAME       = 'WEBREPORTING_REPORT'
*     CHARSET             =
    TABLES
      HTML                = lt_html
      LISTOBJECT          = lt_listobject
*     LISTICONS           =
            .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can attach this html page in your mail and send.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2009 10:48:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-02T10:48:11Z</dc:date>
    <item>
      <title>Triggering User command automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356507#M1399761</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 have a requirement to get the alv list data of a report in another program, how can i do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to  extract the data from report1 and i need to send the same to email  attachment in report2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 10:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356507#M1399761</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2009-12-02T10:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering User command automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356508#M1399762</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;Check this link ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Passing" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Passing&lt;/A&gt;&lt;EM&gt;data&lt;/EM&gt;from&lt;EM&gt;one&lt;/EM&gt;ABAP&lt;EM&gt;program&lt;/EM&gt;to+another&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 10:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356508#M1399762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T10:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering User command automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356509#M1399763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT... AND RETURN &lt;/P&gt;&lt;P&gt;           EXPORTING LIST TO MEMORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement stores the list in ABAP memory, allowing the calling program to access it once the called program has finished. You must use the AND RETURN addition in this case. &lt;/P&gt;&lt;P&gt;The function group SLST provides function modules for accessing the saved list, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIST_FROM_MEMORY &lt;/P&gt;&lt;P&gt;WRITE_LIST &lt;/P&gt;&lt;P&gt;DISPLAY_LIST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 10:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356509#M1399763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T10:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering User command automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356510#M1399764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can submit 1st report from second one and export the list to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT YFIIN_DISHC_MAILREPORT EXPORTING LIST TO MEMORY AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now You can retrieve list from memory as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      LISTOBJECT = lt_listobject
    EXCEPTIONS
      NOT_FOUND  = 1
      OTHERS     = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you can convert the list to html page as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
   EXPORTING
     REPORT_NAME         = 'YFIIN_DISHC_MAILREPORT'
*     TEMPLATE_NAME       = 'WEBREPORTING_REPORT'
*     CHARSET             =
    TABLES
      HTML                = lt_html
      LISTOBJECT          = lt_listobject
*     LISTICONS           =
            .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can attach this html page in your mail and send.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 10:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356510#M1399764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T10:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering User command automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356511#M1399765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for ur support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 11:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-user-command-automatically/m-p/6356511#M1399765</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2009-12-02T11:23:41Z</dc:date>
    </item>
  </channel>
</rss>

