<?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: Submit statement for rseidoc2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244250#M1985505</link>
    <description>&lt;P&gt;Hello Sandra,&lt;/P&gt;&lt;P&gt;In rseidoc2 authority checks and lots of functionality involved in it. &lt;/P&gt;&lt;P&gt;With submit statement can't we call rseidoc2 ??  Can I get the reason for that.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Sep 2020 18:34:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-09-07T18:34:31Z</dc:date>
    <item>
      <title>Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244244#M1985499</link>
      <description>&lt;P&gt;This is my submit statement &lt;/P&gt;
  &lt;P&gt;Submit rseidoc2 with docnum in edidc-docnum with credat in edidc-credat using selection-table it_selection exporting list to memory and return.&lt;/P&gt;
  &lt;P&gt;After the call fm list from memory.&lt;/P&gt;
  &lt;P&gt;When I try to execute its getting the ABAP dump as no data found.&lt;/P&gt;
  &lt;P&gt;Can anyone tell me how to fectch the output from rseidoc2 with submit statement.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 10:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244244#M1985499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-04T10:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244245#M1985500</link>
      <description>&lt;P&gt;This is copied from the help....  Did you do something similar to this?  Remembering to put your ranges into a range table instead of appending them without the sign, option, low, high?  You might want to check the other examples in help and see if they are useful.   If none of that works, come back and show your entire code - before the submit.&lt;/P&gt;&lt;P&gt;REPORT report2. &lt;BR /&gt;&lt;BR /&gt;DATA: text  TYPE c LENGTH 10, &lt;BR /&gt; rspar_tab TYPE TABLE OF rsparams, &lt;BR /&gt; rspar_line LIKE LINE OF rspar_tab, &lt;BR /&gt; range_tab LIKE RANGE OF text, &lt;BR /&gt; range_line LIKE LINE OF range_tab. &lt;BR /&gt;&lt;BR /&gt;... &lt;BR /&gt;&lt;BR /&gt;rspar_line-selname = 'SELCRIT1'. &lt;BR /&gt;rspar_line-kind = 'S'. &lt;BR /&gt;rspar_line-sign = 'I'. &lt;BR /&gt;rspar_line-option = 'EQ'. &lt;BR /&gt;rspar_line-low  = 'ABAP'. &lt;BR /&gt;APPEND rspar_line TO rspar_tab. &lt;BR /&gt;&lt;BR /&gt;range_line-sign  = 'E'. &lt;BR /&gt;range_line-option = 'EQ'. &lt;BR /&gt;range_line-low = 'H'. &lt;BR /&gt;APPEND range_line TO range_tab. &lt;BR /&gt;&lt;BR /&gt;range_line-sign  = 'E'. &lt;BR /&gt;range_line-option = 'EQ'. &lt;BR /&gt;range_line-low = 'K'. &lt;BR /&gt;APPEND range_line TO range_tab. &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 17:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244245#M1985500</guid>
      <dc:creator>mmcisme1</dc:creator>
      <dc:date>2020-09-04T17:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244246#M1985501</link>
      <description>&lt;P&gt;RSEIDOC2 is the program corresponding to transaction code WE02, which displays the control records of IDocs.&lt;/P&gt;&lt;P&gt;Why don't you read them directly from the table EDIDC?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM EDIDC
    WHERE docnum IN s_docnum
      AND credat IN s_credat
    INTO TABLE @DATA(lines_of_edidc).&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Sep 2020 18:05:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244246#M1985501</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-09-04T18:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244247#M1985502</link>
      <description>&lt;P&gt;Its not a bad idea to mention here, the context of your requirement.&lt;/P&gt;&lt;P&gt;On a high level, what WE02 does is, it fetches data from EDDIC, EDIDS &amp;amp; EDID4 for selection screen inputs, then organizes output to ALV tree by grouping Idoc type, messages,....etc; by SUBMIT rseidoc2; if you are trying to skip/avoid joining and fetching from above three tables; I'm not sure whether its worth of your effort.&lt;/P&gt;&lt;P&gt;If you are trying to extract data from EDID4-SDATA, below steps may accelerate your effort:&lt;/P&gt;&lt;P&gt;LOOP on EDID4 ASSIGNING FIELD-SYMBOL(&amp;lt;fs_edid4&amp;gt;).&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;CREATE DATA lv_segmentdata TYPE (&amp;lt;fs_edid4&amp;gt;-segnam).&lt;/LI&gt;&lt;LI&gt;ASSIGN lv_segmentdata-&amp;gt;* TO FIELD-SYMBOL(&amp;lt;fs_segmentdata&amp;gt;).&lt;/LI&gt;&lt;LI&gt;&amp;lt;fs_segmentdata&amp;gt; = &amp;lt;fs_edid4&amp;gt;-sdata. "copy idoc data to segment's structure&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 04:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244247#M1985502</guid>
      <dc:creator>kartikrajag</dc:creator>
      <dc:date>2020-09-05T04:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244248#M1985503</link>
      <description>&lt;P&gt;Hi Michelle,&lt;/P&gt;&lt;P&gt;TABLES: edidc.&lt;BR /&gt;DATA: email TYPE ad_smtpadr.&lt;BR /&gt;DATA: it_tab TYPE TABLE OF rsparams,&lt;BR /&gt; wa_tab TYPE rsparams.&lt;BR /&gt;DATA BEGIN OF it_list OCCURS 0.&lt;BR /&gt;INCLUDE STRUCTURE abaplist.&lt;BR /&gt;DATA END OF it_list.&lt;BR /&gt;SELECT-OPTIONS mail_id FOR email.&lt;BR /&gt;SELECT-OPTIONS: s_credat FOR edidc-credat DEFAULT sy-datum TO sy-datum,&lt;BR /&gt;                                 s_docnum FOR edidc-docnum.&lt;BR /&gt;START-OF-SELECTION.&lt;BR /&gt; wa_tab-selname = 'CREDAT'.&lt;BR /&gt; wa_tab-kind = 'S'.&lt;BR /&gt; wa_tab-sign = 'I'.&lt;BR /&gt; wa_tab-option = 'BT'.&lt;BR /&gt; wa_tab-low = s_credat-low.&lt;BR /&gt; wa_tab-high = s_credat-high.&lt;BR /&gt; APPEND wa_tab TO it_tab.&lt;BR /&gt; CLEAR wa_tab.&lt;BR /&gt;&lt;BR /&gt; wa_tab-selname = 'DOCNUM'.&lt;BR /&gt; wa_tab-kind = 'S'.&lt;BR /&gt; wa_tab-sign = 'I'.&lt;BR /&gt; wa_tab-option = 'BT'.&lt;BR /&gt; wa_tab-low = s_docnum-low.&lt;BR /&gt; wa_tab-high = s_docnum-high.&lt;BR /&gt; APPEND wa_tab TO it_tab.&lt;BR /&gt; CLEAR wa_tab.&lt;BR /&gt;&lt;BR /&gt; SUBMIT rseidoc2 WITH credat IN s_credat&lt;BR /&gt; WITH docnum IN s_docnum&lt;BR /&gt; WITH SELECTION-TABLE it_tab EXPORTING LIST TO MEMORY AND RETURN.&lt;/P&gt;&lt;P&gt;My requirement is sending an email which contains the idoc details.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 14:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244248#M1985503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-07T14:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244249#M1985504</link>
      <description>&lt;SPAN class="mention-scrubbed"&gt;srividya421&lt;/SPAN&gt; Why don't you read the table EDIDC instead of calling RSEIDOC2 ?</description>
      <pubDate>Mon, 07 Sep 2020 17:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244249#M1985504</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-09-07T17:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244250#M1985505</link>
      <description>&lt;P&gt;Hello Sandra,&lt;/P&gt;&lt;P&gt;In rseidoc2 authority checks and lots of functionality involved in it. &lt;/P&gt;&lt;P&gt;With submit statement can't we call rseidoc2 ??  Can I get the reason for that.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 18:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244250#M1985505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-07T18:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244251#M1985506</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;srividya421&lt;/SPAN&gt; You may call RSEIDOC2 with SUBMIT but that's non-sense. Would you call SAPMV45A (VA03) to read sales orders? No, you read tables VBAK, VBAP, etc. Because of performance, because the program is for interactive dialog, its goal is not for being called from another program (it's not part of an API).&lt;/P&gt;&lt;P&gt;Ask the authorization guy to determine what authorization to check, and do the check in your program (for instance AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD 'WE02')&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 19:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244251#M1985506</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-09-07T19:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244252#M1985507</link>
      <description>&lt;P&gt;RSEIDOC2 should generate an ALV, you could try to use &lt;A href="https://launchpad.support.sap.com/#/solutions/scnforums/?q=cl_salv_bs_runtime_info"&gt;cl_salv_bs_runtime_info&lt;/A&gt; to get the alv data back and prevent the display&lt;/P&gt;&lt;P&gt;But what was the original requirement, do you actually require the formatting of data (texts, icons) executed by the standard report?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 09:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244252#M1985507</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2020-09-09T09:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244253#M1985508</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;The output of standard report has to send as an email.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 14:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244253#M1985508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-09-10T14:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244254#M1985509</link>
      <description>&lt;P&gt;In this case use&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;cl_salv_bs_runtime_info=&amp;gt;set " prevent ALV display and store data/metadata&lt;/LI&gt;&lt;LI&gt;submit report " execute ALV&lt;/LI&gt;&lt;LI&gt;cl_salv_bs_runtime_info=&amp;gt;get_data_ref " get data&lt;/LI&gt;&lt;LI&gt;cl_salv_bs_runtime_info=&amp;gt;get_metadata " get metadata&lt;/LI&gt;&lt;LI&gt;cl_salv_ex_util=&amp;gt;factory_result_data_table " prepare data&lt;/LI&gt;&lt;LI&gt;cl_salv_bs_tt_util=&amp;gt;if_salv_bs_tt_util~transform " generate xml&lt;/LI&gt;&lt;LI&gt;cl_salv_bs_runtime_info=&amp;gt;clear_all " cleanup&lt;/LI&gt;&lt;LI&gt;cl_bcs&lt;/LI&gt;&lt;LI&gt;cl_document_bcs=&amp;gt;create_document&lt;/LI&gt;&lt;LI&gt;cl_document_bcs-&amp;gt;add_attachment&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 11 Sep 2020 14:05:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244254#M1985509</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2020-09-11T14:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Submit statement for rseidoc2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244255#M1985510</link>
      <description>&lt;P&gt;Just tested successfully (on ABAP 7.52 system). Strange that such a transaction with tree control works, but well, it works. Anyway, I wouldn't use this solution in case the UI evolves, especially because it corresponds exactly to the table EDIDC (except icons to take from EDIDS I guess)...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA lr_itab TYPE REF TO data.
cl_salv_bs_runtime_info=&amp;gt;set(
  EXPORTING display  = abap_false
            metadata = abap_false
            data     = abap_true ).
DATA credat_range TYPE RANGE OF edidc-credat.
credat_range = VALUE #( sign = 'I' option = 'BT' ( low = '20200801' high = sy-datum ) ).
SUBMIT rseidoc2 WITH credat IN credat_range AND RETURN.
cl_salv_bs_runtime_info=&amp;gt;get_data_ref(
      IMPORTING r_data = lr_itab ).&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Sep 2020 14:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement-for-rseidoc2/m-p/12244255#M1985510</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-09-11T14:45:15Z</dc:date>
    </item>
  </channel>
</rss>

