<?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: SAP ABAP Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275214#M1530727</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 Think the easiest ist to adding a little check in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directly in SQ02 open your infoset in change mode.&lt;/P&gt;&lt;P&gt;click on the extras button&lt;/P&gt;&lt;P&gt;select that you want to add a code.&lt;/P&gt;&lt;P&gt;insert the below line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CHECK VBAP-CHARG&lt;SPAN class="L0S55"&gt;= '9953981656'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Save and generate your infoset and it's done.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;After some test I figured out that the mehode proposed in a post above, meaning add your field in the selection screen and fill it there is much better by performance point of view.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;I do the following to handle such requestes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add fiield in the selection screen&lt;/LI&gt;&lt;LI&gt;create a variant setting the value and hiding the field.&lt;/LI&gt;&lt;LI&gt;create Z transaction with as default the variante create above&lt;/LI&gt;&lt;LI&gt;to the user I only handle out the transaction&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Hope it helps&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2013 15:08:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-19T15:08:17Z</dc:date>
    <item>
      <title>SAP ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275211#M1530724</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 need to add a where clause with constant value in SAP Query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I joined VBAK and VBAP table to get the output. I used SQ01, SQ02 and SQ03 to build the querr and it is working fine as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to restrict the VBAP-CHARG = '9953981656'. It has to be hard-coded in the query. How to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 10:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275211#M1530724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-29T10:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275212#M1530725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the code behind the SAP query, modify the SQL query and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amitava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 11:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275212#M1530725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-29T11:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275213#M1530726</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; You can add field VBAP-CHARG to the selection screen and pre-define it with the required value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 22:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275213#M1530726</guid>
      <dc:creator>former_member214857</dc:creator>
      <dc:date>2010-09-29T22:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275214#M1530727</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 Think the easiest ist to adding a little check in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directly in SQ02 open your infoset in change mode.&lt;/P&gt;&lt;P&gt;click on the extras button&lt;/P&gt;&lt;P&gt;select that you want to add a code.&lt;/P&gt;&lt;P&gt;insert the below line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CHECK VBAP-CHARG&lt;SPAN class="L0S55"&gt;= '9953981656'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Save and generate your infoset and it's done.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;After some test I figured out that the mehode proposed in a post above, meaning add your field in the selection screen and fill it there is much better by performance point of view.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;I do the following to handle such requestes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add fiield in the selection screen&lt;/LI&gt;&lt;LI&gt;create a variant setting the value and hiding the field.&lt;/LI&gt;&lt;LI&gt;create Z transaction with as default the variante create above&lt;/LI&gt;&lt;LI&gt;to the user I only handle out the transaction&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Hope it helps&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 15:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275214#M1530727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-19T15:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAP ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275215#M1530728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As suggested by Yannick,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;In SQ02&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;in the 'Record processing' section of the 'Code' tab of Extras, put the 'CHECK code' as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/264124" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the code, Save and Generate the Infoset.&lt;/P&gt;&lt;P&gt;Run SQ01 afresh, and then see the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Jogeswara Rao K&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 16:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-abap-query/m-p/7275215#M1530728</guid>
      <dc:creator>jogeswararao_kavala</dc:creator>
      <dc:date>2013-08-19T16:37:36Z</dc:date>
    </item>
  </channel>
</rss>

