<?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: Checking the Selection Screen Parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338951#M171722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After calling this FM:&lt;/P&gt;&lt;P&gt;call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = filename&lt;/P&gt;&lt;P&gt;i_begin_col = 5&lt;/P&gt;&lt;P&gt;i_begin_row = 2&lt;/P&gt;&lt;P&gt;i_end_col = 6&lt;/P&gt;&lt;P&gt;i_end_row = 4000&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;intern = t_excel&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;inconsistent_parameters = 1&lt;/P&gt;&lt;P&gt;upload_ole = 2&lt;/P&gt;&lt;P&gt;others = 3.&lt;/P&gt;&lt;P&gt;*-&amp;gt; try following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = '2'.&lt;/P&gt;&lt;P&gt; message 'File not Found' type 'I'.&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;Regards,&lt;/P&gt;&lt;P&gt;Kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 May 2006 07:03:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-15T07:03:34Z</dc:date>
    <item>
      <title>Checking the Selection Screen Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338947#M171718</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;We are uploading data from various excel sheets into SAP tables. Now at selection screen I just want to check if the location specified exists or not ie. if I have created one variant on one system &amp;amp; then if I am running that report from other system using the variants, since the files does not exists it should throw the error and should return to the selection screen to enter the new parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in the code, I am attaching my code herewith.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for ur responses,&lt;/P&gt;&lt;P&gt;Nishu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************&lt;STRONG&gt;CODE&lt;/STRONG&gt;***************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: bseg, zfi_tbl_qty, t001, tgsb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;        t_excel like alsmex_tabline occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        l_excelfile(128)  type c,&lt;/P&gt;&lt;P&gt;        l_excelfile1(128) type c,&lt;/P&gt;&lt;P&gt;        l_excelfile2(128) type c,&lt;/P&gt;&lt;P&gt;        l_excelfile3(128) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of t_bukrs_tmp occurs 0,&lt;/P&gt;&lt;P&gt;         bukrs like t001-bukrs,&lt;/P&gt;&lt;P&gt;      end of t_bukrs_tmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of t_gsber_tmp occurs 0,&lt;/P&gt;&lt;P&gt;         gsber like tgsb-gsber,&lt;/P&gt;&lt;P&gt;      end of t_gsber_tmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges: r_bukrs_tmp for t001-bukrs,&lt;/P&gt;&lt;P&gt;        r_gsber_tmp for tgsb-gsber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of t_type,&lt;/P&gt;&lt;P&gt;       bukrs like bseg-bukrs,&lt;/P&gt;&lt;P&gt;       gsber like bseg-gsber,&lt;/P&gt;&lt;P&gt;       count type i,&lt;/P&gt;&lt;P&gt;     end of t_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_charlen1 type i,&lt;/P&gt;&lt;P&gt;      l_charlen2 type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  t_type2 like t_type occurs 0 with header line,&lt;/P&gt;&lt;P&gt;       t_type2_tmp like t_type occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  l_end_row type i,&lt;/P&gt;&lt;P&gt;       l_endrow1 type i,&lt;/P&gt;&lt;P&gt;       l_count type i,&lt;/P&gt;&lt;P&gt;       v_bukrs like bseg-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : q_count type i value 1,&lt;/P&gt;&lt;P&gt;       v_flag  type i value 0,&lt;/P&gt;&lt;P&gt;       v_gsber like t_type2-gsber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_var type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameter :  p_file1  type rlgrap-filename obligatory,&lt;/P&gt;&lt;P&gt;             p_file2  type rlgrap-filename obligatory,&lt;/P&gt;&lt;P&gt;             p_file3  type rlgrap-filename obligatory,&lt;/P&gt;&lt;P&gt;             p_file4  type rlgrap-filename obligatory.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*perform updation_tbl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*clearing the contents of database table before uploading a new file everytime&lt;/P&gt;&lt;P&gt;delete from zfi_tbl_qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection-screen&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_file1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      field_name = p_file1&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name  = p_file1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_file2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      field_name = p_file2&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name  = p_file2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_file3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      field_name = p_file3&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name  = p_file3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_file4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      field_name = p_file4&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name  = p_file4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_excelfile  = p_file1.&lt;/P&gt;&lt;P&gt;  l_excelfile1 = p_file2.&lt;/P&gt;&lt;P&gt;  l_excelfile2 = p_file3.&lt;/P&gt;&lt;P&gt;  l_excelfile3 = p_file4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if l_excelfile = l_excelfile1 or l_excelfile = l_excelfile2 or l_excelfile = l_excelfile3&lt;/P&gt;&lt;P&gt;    or l_excelfile1 = l_excelfile2 or l_excelfile1 = l_excelfile3 or l_excelfile2 = l_excelfile3.&lt;/P&gt;&lt;P&gt;        message e010(zn) with 'Files with the same name found Please enter again. '.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select bukrs&lt;/P&gt;&lt;P&gt;           from t001&lt;/P&gt;&lt;P&gt;           into corresponding fields of table t_bukrs_tmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at t_bukrs_tmp.&lt;/P&gt;&lt;P&gt;       r_bukrs_tmp-sign = 'I'.&lt;/P&gt;&lt;P&gt;       r_bukrs_tmp-option = 'EQ'.&lt;/P&gt;&lt;P&gt;       r_bukrs_tmp-low = t_bukrs_tmp-bukrs.&lt;/P&gt;&lt;P&gt;       append r_bukrs_tmp.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select gsber&lt;/P&gt;&lt;P&gt;           from tgsb&lt;/P&gt;&lt;P&gt;           into corresponding fields of table t_gsber_tmp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at t_gsber_tmp.&lt;/P&gt;&lt;P&gt;       r_gsber_tmp-sign = 'I'.&lt;/P&gt;&lt;P&gt;       r_gsber_tmp-option = 'EQ'.&lt;/P&gt;&lt;P&gt;       r_gsber_tmp-low = t_gsber_tmp-gsber.&lt;/P&gt;&lt;P&gt;       append r_gsber_tmp.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform upload_table using l_excelfile   5 2 6 4000.&lt;/P&gt;&lt;P&gt;  perform upload_table using l_excelfile1  5 2 6 4000.&lt;/P&gt;&lt;P&gt;  perform upload_table using l_excelfile2  5 2 6 4000.&lt;/P&gt;&lt;P&gt;  perform upload_table using l_excelfile3  5 2 6 4000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  message i010(zn) with 'Files Uploaded Successfully.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; message e398(00) with 'Files Not Found'.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;  leave to screen 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************Calling the other program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT ZFI_REP_IS_CHARGES_POST1.&lt;/P&gt;&lt;P&gt;*and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************Calling the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form upload_table using filename&lt;/P&gt;&lt;P&gt;                       i_begin_col type i&lt;/P&gt;&lt;P&gt;                       i_begin_row type i&lt;/P&gt;&lt;P&gt;                       i_end_col type i&lt;/P&gt;&lt;P&gt;                       i_end_row type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear   : t_excel.&lt;/P&gt;&lt;P&gt;  refresh : t_excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  v_flag = v_flag + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      filename                = filename&lt;/P&gt;&lt;P&gt;      i_begin_col             = 5&lt;/P&gt;&lt;P&gt;      i_begin_row             = 2&lt;/P&gt;&lt;P&gt;      i_end_col               = 6&lt;/P&gt;&lt;P&gt;      i_end_row               = 4000&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      intern                  = t_excel&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      inconsistent_parameters = 1&lt;/P&gt;&lt;P&gt;      upload_ole              = 2&lt;/P&gt;&lt;P&gt;      others                  = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case v_flag.&lt;/P&gt;&lt;P&gt;    when '1'.&lt;/P&gt;&lt;P&gt;      perform fill_int_tab.&lt;/P&gt;&lt;P&gt;    when '2'.&lt;/P&gt;&lt;P&gt;      perform fill_int_tab.&lt;/P&gt;&lt;P&gt;    when '3'.&lt;/P&gt;&lt;P&gt;      perform fill_int_tab.&lt;/P&gt;&lt;P&gt;    when '4'.&lt;/P&gt;&lt;P&gt;      perform fill_int_tab.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    "upload_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*uploading data from internal table into database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  fill_int_tab&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form fill_int_tab .&lt;/P&gt;&lt;P&gt;  clear   : t_type2, q_count.&lt;/P&gt;&lt;P&gt;  refresh : t_type2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  describe table t_excel lines l_endrow1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_endrow1 = l_endrow1 / 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  do.&lt;/P&gt;&lt;P&gt;    loop at t_excel where row = q_count.&lt;/P&gt;&lt;P&gt;      if t_excel-col = 1.&lt;/P&gt;&lt;P&gt;        t_type2-gsber = t_excel-value.&lt;/P&gt;&lt;P&gt;      elseif t_excel-col = 2.&lt;/P&gt;&lt;P&gt;        t_type2-bukrs = t_excel-value.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    l_charlen1 = strlen( t_type2-bukrs ).&lt;/P&gt;&lt;P&gt;    l_charlen2 = strlen( t_type2-gsber ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if ( t_type2-bukrs &amp;lt;&amp;gt; ' ' and t_type2-gsber &amp;lt;&amp;gt; ' ' ).&lt;/P&gt;&lt;P&gt;      if ( l_charlen1 = 4 and l_charlen2 = 4 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        append t_type2. clear t_type2.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    q_count = q_count + 1.&lt;/P&gt;&lt;P&gt;    if q_count &amp;gt; l_endrow1.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_type2_tmp[] = t_type2[].&lt;/P&gt;&lt;P&gt;clear t_type2.&lt;/P&gt;&lt;P&gt;refresh t_type2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_type2_tmp where bukrs in r_bukrs_tmp&lt;/P&gt;&lt;P&gt;                  and gsber in r_gsber_tmp.&lt;/P&gt;&lt;P&gt;  move-corresponding t_type2_tmp to t_type2.&lt;/P&gt;&lt;P&gt;  append t_type2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  sort t_type2 by bukrs gsber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at t_type2.&lt;/P&gt;&lt;P&gt;    clear v_gsber.&lt;/P&gt;&lt;P&gt;    l_count = l_count + 1 .&lt;/P&gt;&lt;P&gt;    v_gsber = t_type2-gsber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    at end of gsber.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     at end of bukrs.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        zfi_tbl_qty-company_code = t_type2-bukrs.&lt;/P&gt;&lt;P&gt;        zfi_tbl_qty-barea = v_gsber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        zfi_tbl_qty-comb = l_count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if v_flag = 1.&lt;/P&gt;&lt;P&gt;          zfi_tbl_qty-type = 'A'.    " Item 1&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if v_flag = 2.&lt;/P&gt;&lt;P&gt;          zfi_tbl_qty-type = 'B'.    " Item 2&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if v_flag = 3.&lt;/P&gt;&lt;P&gt;          zfi_tbl_qty-type = 'C'.    " Item 3&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if v_flag = 4.&lt;/P&gt;&lt;P&gt;          zfi_tbl_qty-type = 'D'.    " Item 4&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     insert  zfi_tbl_qty from zfi_tbl_qty.&lt;/P&gt;&lt;P&gt;      clear l_count.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    endat.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     endat.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " fill_int_tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 06:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338947#M171718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-15T06:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the Selection Screen Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338948#M171719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi nishu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the sy-subrc value for 0 after each 'KD_GET_FILENAME_ON_F4', in case if the file will not be there on that system it will not go further&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;Sumit Bhutani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 06:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338948#M171719</guid>
      <dc:creator>sbhutani1</dc:creator>
      <dc:date>2006-05-15T06:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the Selection Screen Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338949#M171720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sumit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u help me in the code?? I have tried now but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg,&lt;/P&gt;&lt;P&gt;nishu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 06:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338949#M171720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-15T06:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the Selection Screen Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338950#M171721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi nishu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link, this will solve ur prob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1630590"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 06:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338950#M171721</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-05-15T06:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the Selection Screen Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338951#M171722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After calling this FM:&lt;/P&gt;&lt;P&gt;call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = filename&lt;/P&gt;&lt;P&gt;i_begin_col = 5&lt;/P&gt;&lt;P&gt;i_begin_row = 2&lt;/P&gt;&lt;P&gt;i_end_col = 6&lt;/P&gt;&lt;P&gt;i_end_row = 4000&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;intern = t_excel&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;inconsistent_parameters = 1&lt;/P&gt;&lt;P&gt;upload_ole = 2&lt;/P&gt;&lt;P&gt;others = 3.&lt;/P&gt;&lt;P&gt;*-&amp;gt; try following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = '2'.&lt;/P&gt;&lt;P&gt; message 'File not Found' type 'I'.&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;Regards,&lt;/P&gt;&lt;P&gt;Kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 07:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checking-the-selection-screen-parameters/m-p/1338951#M171722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-15T07:03:34Z</dc:date>
    </item>
  </channel>
</rss>

