<?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 REPORT and SELECTION-TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075145#M1970366</link>
    <description>&lt;P&gt;Thank you! It works now!&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2019 12:25:12 GMT</pubDate>
    <dc:creator>alekszo</dc:creator>
    <dc:date>2019-11-22T12:25:12Z</dc:date>
    <item>
      <title>SUBMIT REPORT and SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075141#M1970362</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I am trying to call report RIEQUI20 with selection table. I noticed that if my selection table contains selections on field EQUNR, only the first entry in selection table is factored in, the rest are ignored.&lt;/P&gt;
  &lt;P&gt;The following code calls report RIEUI20 with two selections on field EQUNR. The report returns the entry for equipment 10004174. The one with number 10004171 is ignored and not returned. If I switch the order in selection table so that EQUNR 10004171 is the first entry, only the equipment 10004171 is returned by the report. The expected behavior would be that the report returns both equipments 10004174 and 10004171.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;
  DATA:

        selection_table TYPE TABLE OF rsparams,
        selection TYPE rsparams.

  selection-selname = 'EQUNR'.
  selection-sign = 'I'.
  selection-kind = 'S'.
  selection-option = 'EQ'.
  selection-low = '10004174'.

  APPEND selection TO selection_table.

  selection-selname = 'EQUNR'.
  selection-sign = 'I'.
  selection-kind = 'S'.
  selection-option = 'EQ'.
  selection-low = '10004171'.

  APPEND selection TO selection_table.

  SUBMIT riequi20
    WITH SELECTION-TABLE selection_table
    AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;In this particular report this behavior seems to occur only with selections on EQUNR. Selections on other fields seem to work properly. I observed the same behavior with report RIAUFK20 with selection on AUFNR. Performing the same selections via SE38 returns correct data.&lt;/P&gt;
  &lt;P&gt;What is the cause of this? Can't selections on these fields be passed to the report via selection-tables? If so, why and how should one do it?&lt;/P&gt;
  &lt;P&gt;Thank you in advance,&lt;/P&gt;
  &lt;P&gt;Aleks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 11:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075141#M1970362</guid>
      <dc:creator>alekszo</dc:creator>
      <dc:date>2019-11-22T11:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT REPORT and SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075142#M1970363</link>
      <description>&lt;P&gt;You are missing the leading zeros. Both types EQUNR and AUFNR using alpha conversion and selection table expects the values in internal format.&lt;/P&gt;&lt;P&gt;(It seems though that the conversion exit is automatically applied on the first record but not on the rest of them).  &lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075142#M1970363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-11-22T12:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT REPORT and SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075143#M1970364</link>
      <description>&lt;P&gt; @&lt;A href="https://answers.sap.com/users/907109/alekszo.html"&gt;Aleksander Zotov&lt;/A&gt; It is problem with the conversion, where it was not adding leading zeroes except first line, try with the code below&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:selection_table TYPE TABLE OF rsparams,
     selection       TYPE rsparams.

selection-selname = 'EQUNR'.
selection-sign = 'I'.
selection-kind = 'S'.
selection-option = 'EQ'.
selection-low = CONV equnr( |{ '10004174' ALPHA = IN }| ).

APPEND selection TO selection_table.

selection-selname = 'EQUNR'.
selection-sign = 'I'.
selection-kind = 'S'.
selection-option = 'EQ'.
selection-low = CONV equnr( |{ '10004171' ALPHA = IN }| ).

APPEND selection TO selection_table.

SUBMIT riequi20
  WITH SELECTION-TABLE selection_table
  AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075143#M1970364</guid>
      <dc:creator>ThangaPrakash</dc:creator>
      <dc:date>2019-11-22T12:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT REPORT and SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075144#M1970365</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;  selection-selname = 'EQUNR'.
  selection-sign = 'I'.
  selection-kind = 'S'.
  selection-option = 'EQ'.
  selection-low = conv equnr( '10004174' ). &lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075144#M1970365</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-11-22T12:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT REPORT and SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075145#M1970366</link>
      <description>&lt;P&gt;Thank you! It works now!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075145#M1970366</guid>
      <dc:creator>alekszo</dc:creator>
      <dc:date>2019-11-22T12:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT REPORT and SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075146#M1970367</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;  selection-selname = 'EQUNR'.
  selection-sign = 'I'.
  selection-kind = 'S'.
  selection-option = 'EQ'.
  selection-low = conv equnr( '10004174' ). &lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075146#M1970367</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-11-22T12:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT REPORT and SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075147#M1970368</link>
      <description>&lt;A href="https://answers.sap.com/users/153394/frdric.girod.html"&gt;Frederic Girod&lt;/A&gt; Unfortunately, I'm afraid CONV does not execute any conversion exit. CONV is only for ABAP type conversion, it doesn't look at DDIC peculiarities. You have to do it the old way. Or eventually use the string template because ALPHA (it's the conversion exit of EQUNR) is the only conversion exit managed:&lt;PRE&gt;&lt;CODE&gt;  selection-low = |{ CONV equnr( '10004174' ) ALPHA = IN }|. &lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Nov 2019 13:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075147#M1970368</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-11-22T13:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: SUBMIT REPORT and SELECTION-TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075148#M1970369</link>
      <description>&lt;P&gt;Yep it does not work, I let my comment for your correction &lt;/P&gt;&lt;P&gt;This is typicaly the statement not logic, not easy to read &lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 13:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report-and-selection-table/m-p/12075148#M1970369</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-11-22T13:42:23Z</dc:date>
    </item>
  </channel>
</rss>

