<?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 Report writer Authorization on selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-writer-authorization-on-selection-screen/m-p/6319613#M1394220</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;In transaction GR55 (to execute the report group), when the user enters the selection criteria for the report group, I want to validate the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Profit Center group' and 'Profit center values' fields. The way it should be validated is, it should check the entry for the 'profit center group' or 'values' entered against the 'user name' in a Ztable for that user. If there is no entry in the Ztable matching that 'User name' and 'profit center group or values' , it should give an error message. I have seen that there is a user exit 'EXIT_SAPFGRWX_001' (Authorization check on initial screen).&lt;/P&gt;&lt;P&gt;But my problem is, in this functional module (code is shown below), the table 'I_T_SELSCREEN_PARAMS' has only one filed for both 'Profit center Group' and 'profit center values'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when I enter 'Profit center group' 'ABC' in my selection criteria, I_T_SELSCREEN_PARAMS has following values.&lt;/P&gt;&lt;P&gt;I_T_SELSCREEN_PARAMS - selname = '%8A-PCHI'.&lt;/P&gt;&lt;P&gt;I_T_SELSCREEN_PARAMS-low = '01061000ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When I enter 'Profit Center Values' as some '3001000' to '3001020' inn the selection criteria, I_T_SELSCREEN_PARAMS has following fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_T_SELSCREEN_PARAMS-selname = '%8A-PCHI'&lt;/P&gt;&lt;P&gt;I_T_SELSCREEN_PARAMS-low = '0002$ZSLP&amp;amp;8A-PCHI'.&lt;/P&gt;&lt;P&gt;here ZSLP is the report group name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand how to get the values '3001000' to '30001020' into my user-exit in case 2.&lt;/P&gt;&lt;P&gt;Is there any other way of doing this? has anyone used this user-exit? Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPFGRWX_001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2009 06:52:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-29T06:52:21Z</dc:date>
    <item>
      <title>Report writer Authorization on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-writer-authorization-on-selection-screen/m-p/6319613#M1394220</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;In transaction GR55 (to execute the report group), when the user enters the selection criteria for the report group, I want to validate the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Profit Center group' and 'Profit center values' fields. The way it should be validated is, it should check the entry for the 'profit center group' or 'values' entered against the 'user name' in a Ztable for that user. If there is no entry in the Ztable matching that 'User name' and 'profit center group or values' , it should give an error message. I have seen that there is a user exit 'EXIT_SAPFGRWX_001' (Authorization check on initial screen).&lt;/P&gt;&lt;P&gt;But my problem is, in this functional module (code is shown below), the table 'I_T_SELSCREEN_PARAMS' has only one filed for both 'Profit center Group' and 'profit center values'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when I enter 'Profit center group' 'ABC' in my selection criteria, I_T_SELSCREEN_PARAMS has following values.&lt;/P&gt;&lt;P&gt;I_T_SELSCREEN_PARAMS - selname = '%8A-PCHI'.&lt;/P&gt;&lt;P&gt;I_T_SELSCREEN_PARAMS-low = '01061000ABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. When I enter 'Profit Center Values' as some '3001000' to '3001020' inn the selection criteria, I_T_SELSCREEN_PARAMS has following fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_T_SELSCREEN_PARAMS-selname = '%8A-PCHI'&lt;/P&gt;&lt;P&gt;I_T_SELSCREEN_PARAMS-low = '0002$ZSLP&amp;amp;8A-PCHI'.&lt;/P&gt;&lt;P&gt;here ZSLP is the report group name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand how to get the values '3001000' to '30001020' into my user-exit in case 2.&lt;/P&gt;&lt;P&gt;Is there any other way of doing this? has anyone used this user-exit? Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPFGRWX_001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 06:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-writer-authorization-on-selection-screen/m-p/6319613#M1394220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T06:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Report writer Authorization on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-writer-authorization-on-selection-screen/m-p/6319614#M1394221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishnakumar Ramadoss,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your requirement to have authorization, SAP provides facility in report writer/painter to give authorization groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to GR52.&lt;/P&gt;&lt;P&gt;Input your report group name.&lt;/P&gt;&lt;P&gt;Click on Header (Cap symbol) or F5.&lt;/P&gt;&lt;P&gt;At this header screen , you can see a field where you can provide Authorization group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this. It may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a note: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report writer / Report painter reports are reports which are created with zero percent coding. &lt;/P&gt;&lt;P&gt;The SAP generated program (E.g: GP3ICYT39FHJLOYBA2025DBAE1V213) cannot be changed or modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only coding that you can do in a report writer are the formula's and logic that you can write in variables of the report writer / painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Subin John&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 12:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-writer-authorization-on-selection-screen/m-p/6319614#M1394221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T12:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Report writer Authorization on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-writer-authorization-on-selection-screen/m-p/6319615#M1394222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subin,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have understood my question wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP  has provided some user exits exclusively for report writer  to check authorizations on selection screen . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is on how to use the exit for my case-2 that I have mentioned in the earlier post...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 16:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-writer-authorization-on-selection-screen/m-p/6319615#M1394222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T16:21:15Z</dc:date>
    </item>
  </channel>
</rss>

