<?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: Difficulty With First User Exit for Reporting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955376#M697114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My include is executing and my function module Z_VAR_PRE_POPUP_firstvar  is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Z_VAR_PRE_POPUP_firstvar I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_VNAM) TYPE  RSZGLOBV-VNAM OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_VARTYP) TYPE  RSZGLOBV-VARTYP OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_IOBJNM) TYPE  RSZGLOBV-IOBJNM OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_RKB1D) TYPE  RSR_S_RKB1D OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_RKB1F) TYPE  RRO01_S_RKB1F OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_THX_VAR) TYPE  RRO01_THX_VAR OPTIONAL&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      UNKNOWN_VARIABLE&lt;/P&gt;&lt;P&gt;*"      UNEXPECTED_VARTYPE&lt;/P&gt;&lt;P&gt;*"      INVALID_PERIV&lt;/P&gt;&lt;P&gt;*"      VARIABLE_INITIAL&lt;/P&gt;&lt;P&gt;*"      NO_REPLACEMENT&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data:   e_t_range_wa type RRRANGESID,&lt;/P&gt;&lt;P&gt;        zdept_key type n,&lt;/P&gt;&lt;P&gt;        firstvar type n.&lt;/P&gt;&lt;P&gt;  break-point.&lt;/P&gt;&lt;P&gt;  refresh e_t_range.&lt;/P&gt;&lt;P&gt;  clear e_t_range_wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case i_vnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'firstvar'.&lt;/P&gt;&lt;P&gt;      if ZDEPT_KEY = 10.&lt;/P&gt;&lt;P&gt;        firstvar = 9999.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        firstvar = ZDEPT_KEY.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      append e_t_range_wa to e_t_range.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firstvar is a customer exit in my query and is contained in a row.&lt;/P&gt;&lt;P&gt;zdept_key is a field from the infocube and is contained in a row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I ran the query the debugger showed e_t_range_wa, zdept_key, and firstvar as red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the output for the field firstvar was "sap_cust_exit_test1" which is the description in the query designer and there was an error message  "Initial RANGE line for customer exit variable firstvar is ignored"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking that the local interface needs to be changed, i.e. to the import section of the fm and I am guessing I need to do some kind of looping to fill the variable firstvar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2007 14:07:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-10T14:07:41Z</dc:date>
    <item>
      <title>Difficulty With First User Exit for Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955373#M697111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just a bit confused with starting my first "user exits for reporting". I am on Netweaver 2004s 7.0 sp13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went to trans CMOD and created a project: ZBIMWH01.&lt;/P&gt;&lt;P&gt;I went to change mode and pressed "components" and I see the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Project                        ZBIMWH01 mwh: query cust exits&lt;/P&gt;&lt;P&gt;Enhancement     Impl      Exp  RSR00001 BI: Enhancements for Global Variables in Reporting&lt;/P&gt;&lt;P&gt;Function exit                  EXIT_SAPLRRS0_001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next to EXIT_SAPLRRS0_001 is a document icon. When I press it I get an ABAP Editor with  "INCLUDE LXRSRF01"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, here I can type in some code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that here I should put in some code to call individual function modules and then create/modify those, so I'll put the following code in there like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_d_fname(30) TYPE c.&lt;/P&gt;&lt;P&gt;  CASE i_step.&lt;/P&gt;&lt;P&gt;     WHEN 1.&lt;/P&gt;&lt;P&gt;       CONCATENATE 'Z_VAR_PRE_POPUP_'&lt;/P&gt;&lt;P&gt;         i_vnam INTO l_d_fname.&lt;/P&gt;&lt;P&gt;     WHEN 2.&lt;/P&gt;&lt;P&gt;       CONCATENATE 'Z_VAR_POST_POPUP_'&lt;/P&gt;&lt;P&gt;         i_vnam INTO l_d_fname.&lt;/P&gt;&lt;P&gt;     WHEN 0.&lt;/P&gt;&lt;P&gt;       CONCATENATE 'Z_VAR_AUTHORITY_'&lt;/P&gt;&lt;P&gt;         i_vnam INTO l_d_fname.&lt;/P&gt;&lt;P&gt;     WHEN 3.&lt;/P&gt;&lt;P&gt;       CONCATENATE 'Z_VAR_CHECK_VALIDITY'&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;  TRY.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION l_d_fname&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_VNAM        =  i_vnam&lt;/P&gt;&lt;P&gt;      I_VARTYP      =  i_vartyp&lt;/P&gt;&lt;P&gt;      I_IOBJNM      =  i_iobjnum&lt;/P&gt;&lt;P&gt;      I_S-COB_PRO   =  i_s_cob_pro&lt;/P&gt;&lt;P&gt;      I_S_RKB1D     =  i_s_rkb1d&lt;/P&gt;&lt;P&gt;      I_PERIV       =  i_periv&lt;/P&gt;&lt;P&gt;      I_T_VAR_RANGE =  i_t_var_range&lt;/P&gt;&lt;P&gt;      I_STEP        =  i_step&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      E_T_RANGE     =  e_t_range&lt;/P&gt;&lt;P&gt;      E_MEEHT       =  e_meeht&lt;/P&gt;&lt;P&gt;      E_MEFAC       =  e_mefac&lt;/P&gt;&lt;P&gt;      E_WAERS       =  e_waers&lt;/P&gt;&lt;P&gt;      E_WHFAC       =  e_whfac&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      C_S_CUSTOMER  =  c_s_customer&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS = 1.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY&lt;/P&gt;&lt;P&gt;            NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH&lt;/P&gt;&lt;P&gt;              SY-MSGV1 SY-MSGV2&lt;/P&gt;&lt;P&gt;              SY-MSGV3 SY-MSGV4&lt;/P&gt;&lt;P&gt;            RAISING ERROR_IN_VARIABLE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CATCH CX_SY_DYN_CALL_ILLEGAL_FUNC.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; No exit implemented, no need to do&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; anything here&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume then that the rest of my code for the reporting should be in the individual function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now I can create a function module like 'Z_VAR_PRE_POPUP_firstvar'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I getting this correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 14:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955373#M697111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T14:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty With First User Exit for Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955374#M697112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to check whether u code is correct or not.&lt;/P&gt;&lt;P&gt;U put a break-point any where in the code. It will be better if u put&lt;/P&gt;&lt;P&gt;break userid so that it will not disturb others.&lt;/P&gt;&lt;P&gt;It will reflect in the functionality by that u check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign Points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;(YUGANDHAR.P)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 05:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955374#M697112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T05:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty With First User Exit for Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955375#M697113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found I was using the wrong include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I put in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE ZXRSRU01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE LXRSRF01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at least I can troubleshoot. So now the break-point gets fired off and i'm trying to understand the basic fields that get set and filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a simple exit I can use feel free to post it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 13:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955375#M697113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T13:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty With First User Exit for Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955376#M697114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My include is executing and my function module Z_VAR_PRE_POPUP_firstvar  is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Z_VAR_PRE_POPUP_firstvar I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_VNAM) TYPE  RSZGLOBV-VNAM OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_VARTYP) TYPE  RSZGLOBV-VARTYP OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_IOBJNM) TYPE  RSZGLOBV-IOBJNM OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_RKB1D) TYPE  RSR_S_RKB1D OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_RKB1F) TYPE  RRO01_S_RKB1F OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_THX_VAR) TYPE  RRO01_THX_VAR OPTIONAL&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      UNKNOWN_VARIABLE&lt;/P&gt;&lt;P&gt;*"      UNEXPECTED_VARTYPE&lt;/P&gt;&lt;P&gt;*"      INVALID_PERIV&lt;/P&gt;&lt;P&gt;*"      VARIABLE_INITIAL&lt;/P&gt;&lt;P&gt;*"      NO_REPLACEMENT&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data:   e_t_range_wa type RRRANGESID,&lt;/P&gt;&lt;P&gt;        zdept_key type n,&lt;/P&gt;&lt;P&gt;        firstvar type n.&lt;/P&gt;&lt;P&gt;  break-point.&lt;/P&gt;&lt;P&gt;  refresh e_t_range.&lt;/P&gt;&lt;P&gt;  clear e_t_range_wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case i_vnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'firstvar'.&lt;/P&gt;&lt;P&gt;      if ZDEPT_KEY = 10.&lt;/P&gt;&lt;P&gt;        firstvar = 9999.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        firstvar = ZDEPT_KEY.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      append e_t_range_wa to e_t_range.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firstvar is a customer exit in my query and is contained in a row.&lt;/P&gt;&lt;P&gt;zdept_key is a field from the infocube and is contained in a row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I ran the query the debugger showed e_t_range_wa, zdept_key, and firstvar as red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the output for the field firstvar was "sap_cust_exit_test1" which is the description in the query designer and there was an error message  "Initial RANGE line for customer exit variable firstvar is ignored"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking that the local interface needs to be changed, i.e. to the import section of the fm and I am guessing I need to do some kind of looping to fill the variable firstvar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 14:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955376#M697114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T14:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difficulty With First User Exit for Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955377#M697115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally got this to work, albeit it is hardcoded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program function module called 'Z_VAR_PRE_POPUP_firstvar' I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_VNAM) TYPE  RSZGLOBV-VNAM OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_T_VAR_RANGE) TYPE  RRS0_T_VAR_RANGE OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_VARTYP) TYPE  RSZGLOBV-VARTYP OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_IOBJNM) TYPE  RSZGLOBV-IOBJNM OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_RKB1D) TYPE  RSR_S_RKB1D OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_S_RKB1F) TYPE  RRO01_S_RKB1F OPTIONAL&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_THX_VAR) TYPE  RRO01_THX_VAR OPTIONAL&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      UNKNOWN_VARIABLE&lt;/P&gt;&lt;P&gt;*"      UNEXPECTED_VARTYPE&lt;/P&gt;&lt;P&gt;*"      INVALID_PERIV&lt;/P&gt;&lt;P&gt;*"      VARIABLE_INITIAL&lt;/P&gt;&lt;P&gt;*"      NO_REPLACEMENT&lt;/P&gt;&lt;P&gt;*"      NO_PROCESSING&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;  DATA: L_S_RANGE TYPE RSR_S_RANGESID,&lt;/P&gt;&lt;P&gt;          mydept(4) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case i_vnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'firstvar'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      "this code manually populates the exit with multiple values 10,14,16&lt;/P&gt;&lt;P&gt;      "in the Qry Desiger as follows:&lt;/P&gt;&lt;P&gt;      "General - processing by: customer exit&lt;/P&gt;&lt;P&gt;      "Details - Variable represents: Multiple single values&lt;/P&gt;&lt;P&gt;      "        - Variable is: optional&lt;/P&gt;&lt;P&gt;      "        - Variable is ready for input - UNCHECKED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      mydept = '0010'.&lt;/P&gt;&lt;P&gt;      l_s_range-low = mydept.&lt;/P&gt;&lt;P&gt;      l_s_range-sign   = 'I'.&lt;/P&gt;&lt;P&gt;      l_s_range-opt    = 'EQ'.&lt;/P&gt;&lt;P&gt;      APPEND l_s_range TO e_t_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      mydept = '0014'.&lt;/P&gt;&lt;P&gt;      l_s_range-low = mydept.&lt;/P&gt;&lt;P&gt;      l_s_range-sign   = 'I'.&lt;/P&gt;&lt;P&gt;      l_s_range-opt    = 'EQ'.&lt;/P&gt;&lt;P&gt;      APPEND l_s_range TO e_t_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      mydept = '0016'.&lt;/P&gt;&lt;P&gt;      l_s_range-low = mydept.&lt;/P&gt;&lt;P&gt;      l_s_range-sign   = 'I'.&lt;/P&gt;&lt;P&gt;      l_s_range-opt    = 'EQ'.&lt;/P&gt;&lt;P&gt;      APPEND l_s_range TO e_t_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to continue to develop it by adding code that makes a call to that table to extract value ranges that are there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 16:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difficulty-with-first-user-exit-for-reporting/m-p/2955377#M697115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T16:43:47Z</dc:date>
    </item>
  </channel>
</rss>

