<?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: Adding a Selection screen parameter into ABAP Query Infoset in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625400#M1441099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t001-bukrs is not used in the table joins.....I want to control the data retreived in the table joins of infoset...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have idea about this please let me know...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Senthilraj Selvaraj on Feb 11, 2010 5:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2010 15:06:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-11T15:06:50Z</dc:date>
    <item>
      <title>Adding a Selection screen parameter into ABAP Query Infoset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625398#M1441097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is related to ABAP Query. User group, Infoset and ABAP Query are already desinged and developed. The problem is related to the addition of authority check for the selection screen parameters in the Query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added my own selection screen parameter as s_bukrs  into the infoset created in SQ02. I want to do the authority check for this s_bukrs. I have added the code into the at selection-screen section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON s_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Select from the check table based on the selection&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT bukrs INTO t001-bukrs&lt;/P&gt;&lt;P&gt;                FROM t001&lt;/P&gt;&lt;P&gt;                WHERE bukrs IN s_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'&lt;/P&gt;&lt;P&gt;       ID 'ACTVT' FIELD '02'&lt;/P&gt;&lt;P&gt;       ID 'BUKRS' FIELD s_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE i100(zhemfi) WITH t001-bukrs.&lt;/P&gt;&lt;P&gt;      LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This authorisation check is working fine in the system. But This selection screen parameter s_bukrs is not controlling the data from the joined tables. for eg : the tables joined in the infoset are LFA1 LFB1.  LFB1 has got the bukrs field. this s_bukrs should control the data coming out of this LFB1. Please help how to add this s_bukrs into the Query without changing the generated ABAP code or how to use this LFB1-Bukrs field for authority check section. There is a Section "Standard Selection" in the selections of infoset. But it is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Senthilraj Selvaraj on Feb 11, 2010 3:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 14:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625398#M1441097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T14:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Selection screen parameter into ABAP Query Infoset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625399#M1441098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as per my understanding: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'
ID 'ACTVT' FIELD '02'
ID 'BUKRS' FIELD t001-bukrs.  " Change &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 14:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625399#M1441098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T14:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Selection screen parameter into ABAP Query Infoset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625400#M1441099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t001-bukrs is not used in the table joins.....I want to control the data retreived in the table joins of infoset...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have idea about this please let me know...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Senthilraj Selvaraj on Feb 11, 2010 5:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 15:06:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625400#M1441099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T15:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Selection screen parameter into ABAP Query Infoset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625401#M1441100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is resolved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the selection screen we just need to declare the selection parameter as LFB1-BUKRS in the infoset Format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 17:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625401#M1441100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T17:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Selection screen parameter into ABAP Query Infoset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625402#M1441101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 17:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-selection-screen-parameter-into-abap-query-infoset/m-p/6625402#M1441101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-11T17:01:26Z</dc:date>
    </item>
  </channel>
</rss>

