<?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: Validating some fields like Co Code &amp; Bus Area in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367367#M181465</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; after the call to FM ALSM_EXCEL_TO_INTERNAL_TABLE the table t_excel has the fields &lt;/P&gt;&lt;P&gt;row|col|value&lt;/P&gt;&lt;P&gt; the value is stroerd in the corresponding field of itab for a given row and column ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to do a check on two of these fields with T001 .. then as said above just do a loop at t_excel at required columns and do a select on the tables.. find the column numbers before that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_excel where col = '0002' and col = '0003'.&lt;/P&gt;&lt;P&gt;*do a select with itab-value in the where condition..&lt;/P&gt;&lt;P&gt;*then throw an error mesage if it fails..&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;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 May 2006 04:49:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-02T04:49:36Z</dc:date>
    <item>
      <title>Validating some fields like Co Code &amp; Bus Area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367363#M181461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am uploading Co Codes &amp;amp; Bus Area from excel sheets into the Ztable. Now I want to check if the Co Codes &amp;amp; Bus Area are not existing in the table T001 &amp;amp; TGSB then those values should not be uploaded in the zTable &amp;amp; should throw the error.&lt;/P&gt;&lt;P&gt;Plz help me in doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for ur responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Reg,&lt;/P&gt;&lt;P&gt;Nishu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 04:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367363#M181461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T04:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Validating some fields like Co Code &amp; Bus Area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367364#M181462</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; Use the FM ALSM &lt;U&gt;EXCEL&lt;/U&gt;TO_INTERNAL_TABLE to transfer data from EXCEL..&lt;/P&gt;&lt;P&gt; after having transfered..&lt;/P&gt;&lt;P&gt;assume columns 3 and 4 are the ones you have to check in each record..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  loop at itab where col = '0003' and col = '0004'.
select from table...
 where &amp;lt;f&amp;gt; = itab-value.
if sy-subrc NE 0.
*throw error.
endif.
   endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 04:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367364#M181462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T04:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Validating some fields like Co Code &amp; Bus Area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367365#M181463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am posting the code for you, plz tell me where to put the correct code to check the fields from the table.&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;tables: bseg, zfi_tbl_qty.&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_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;&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;&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;&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;&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;&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;  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;P&gt;  message i010(zn) with 'Files Uploaded Successfully.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************Calling the other program for posting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT ZFI_REP_IS_CHARGES_POST.&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;&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;  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;    l_charlen1 = strlen( t_type2-bukrs ).&lt;/P&gt;&lt;P&gt;    l_charlen2 = strlen( t_type2-gsber ).&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;        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;  enddo.&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;P&gt;      at end of bukrs.&lt;/P&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 = 'D'.    " Desktop&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 = 'L'.    " Lap Top&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 = 'N'.    " Lotus Notes&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 = 'S'.    " SAP ID&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        insert into zfi_tbl_qty values zfi_tbl_qty.&lt;/P&gt;&lt;P&gt;        clear l_count.&lt;/P&gt;&lt;P&gt;      endat.&lt;/P&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>Tue, 02 May 2006 04:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367365#M181463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T04:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Validating some fields like Co Code &amp; Bus Area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367366#M181464</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;1. Since u are directly uploading in your Z Table,&lt;/P&gt;&lt;P&gt;   u need to explicitly write code&lt;/P&gt;&lt;P&gt;   to check the valid values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. First u can upload the data of excel file&lt;/P&gt;&lt;P&gt;   into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Then , before putting the data in your Z Table,&lt;/P&gt;&lt;P&gt;    Loop at the internal table,&lt;/P&gt;&lt;P&gt;    and query against T001 and TGSB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If some values are found which are not valid,&lt;/P&gt;&lt;P&gt;   then u can give some warning/error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. The system will not automatically check these values.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 04:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367366#M181464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T04:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Validating some fields like Co Code &amp; Bus Area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367367#M181465</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; after the call to FM ALSM_EXCEL_TO_INTERNAL_TABLE the table t_excel has the fields &lt;/P&gt;&lt;P&gt;row|col|value&lt;/P&gt;&lt;P&gt; the value is stroerd in the corresponding field of itab for a given row and column ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to do a check on two of these fields with T001 .. then as said above just do a loop at t_excel at required columns and do a select on the tables.. find the column numbers before that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_excel where col = '0002' and col = '0003'.&lt;/P&gt;&lt;P&gt;*do a select with itab-value in the where condition..&lt;/P&gt;&lt;P&gt;*then throw an error mesage if it fails..&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;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2006 04:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-some-fields-like-co-code-bus-area/m-p/1367367#M181465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-02T04:49:36Z</dc:date>
    </item>
  </channel>
</rss>

