<?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: ERROR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424954#M203743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U don't have any field matnr in your types declaration. Then how can u refer it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2006 07:49:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-19T07:49:24Z</dc:date>
    <item>
      <title>ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424951#M203740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  WHEN I AM EXECUTING THIS CODE IT IS GIVING AN ERROR LIKE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;No component exists with the name "MATNR", but there is a component with the similar name "MTSNR".		&lt;/P&gt;&lt;P&gt;		&amp;lt;/b&amp;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: mseg,mkpf,lfa1,ekko,ekpo,bseg,bkpf,zmigo_addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection screen&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;parameters: p_werks like mseg-werks.&lt;/P&gt;&lt;P&gt;select-options: s_budat for Mkpf-budat.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*TYPES DECLARATION&lt;/P&gt;&lt;P&gt;types:begin     of  typ_mseg,&lt;/P&gt;&lt;P&gt;      p_werks   type  werks_d,   "Plant location&lt;/P&gt;&lt;P&gt;      mblnr     type  mblnr,      "Number of Material Document&lt;/P&gt;&lt;P&gt;      s_budat   type  budat,     "Posting date in document&lt;/P&gt;&lt;P&gt;      mtsnr     type  mtsnr1,    "Number of external material slip&lt;/P&gt;&lt;P&gt;      maktx     type  maktx,     "Material description&lt;/P&gt;&lt;P&gt;      menge     type  menge_d,   "Quantity&lt;/P&gt;&lt;P&gt;      lifnr     type  lifnr,     "Vendor Number&lt;/P&gt;&lt;P&gt;      name1     type  name1_gp,  "Name1&lt;/P&gt;&lt;P&gt;      name2     type  name2_gp,  "Name2&lt;/P&gt;&lt;P&gt;      telf1     type  telf1,     "Telephone number&lt;/P&gt;&lt;P&gt;      trnam     type  ztrnam,    "Transporter name&lt;/P&gt;&lt;P&gt;      glano     type  zglano,    "GR/LR/AWB  No&lt;/P&gt;&lt;P&gt;      J_1ICSTNO type  J_1ICSTNO, "Central Sales Tax Number&lt;/P&gt;&lt;P&gt;      J_1ILSTNO type  J_1ILSTNO, "Local Sales Tax Number&lt;/P&gt;&lt;P&gt;      J_1IEXRN  type  J_1IEXRN , "Excise Registration Number&lt;/P&gt;&lt;P&gt;      end of typ_mseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*INTERNAL TABLES DECLARATION&lt;/P&gt;&lt;P&gt;data: it_mseg type standard table of typ_mseg initial size 0,&lt;/P&gt;&lt;P&gt;      it_mseg1 type standard table of typ_mseg initial size 0,&lt;/P&gt;&lt;P&gt;      it_mseg2 type standard table of typ_mseg initial size 0,&lt;/P&gt;&lt;P&gt;      it_mseg3 type standard table of typ_mseg initial size 0,&lt;/P&gt;&lt;P&gt;      wa_mseg like line of it_mseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;mblnr a&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;       a&lt;SUB&gt;menge a&lt;/SUB&gt;lifnr&lt;/P&gt;&lt;P&gt;       b~budat&lt;/P&gt;&lt;P&gt;       into table it_mseg&lt;/P&gt;&lt;P&gt;       from mseg as a&lt;/P&gt;&lt;P&gt;       join mkpf as b&lt;/P&gt;&lt;P&gt;       on a&lt;SUB&gt;mblnr = b&lt;/SUB&gt;mblnr&lt;/P&gt;&lt;P&gt;       where werks = p_werks and&lt;/P&gt;&lt;P&gt;             budat IN s_budat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_mseg[] is not initial.&lt;/P&gt;&lt;P&gt;select lifnr name1 name2 telf1&lt;/P&gt;&lt;P&gt;       into table it_mseg1&lt;/P&gt;&lt;P&gt;       from lfa1&lt;/P&gt;&lt;P&gt;       for all entries in it_mseg&lt;/P&gt;&lt;P&gt;       where lifnr = it_mseg-lifnr.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_mseg1[] is not initial.&lt;/P&gt;&lt;P&gt;select trnam glano lifnr&lt;/P&gt;&lt;P&gt;       into table it_mseg2&lt;/P&gt;&lt;P&gt;       from zmigo_addition&lt;/P&gt;&lt;P&gt;       for all entries in it_mseg1&lt;/P&gt;&lt;P&gt;       where lifnr = it_mseg1-lifnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it_mseg2[] is not initial.&lt;/P&gt;&lt;P&gt;select maktx from makt into &lt;/P&gt;&lt;P&gt;       table it_mseg3 &lt;/P&gt;&lt;P&gt;       for all entries in it_mseg2&lt;/P&gt;&lt;P&gt;       where matnr = it_mseg2-matnr&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 07:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424951#M203740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T07:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424952#M203741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the MATNR in the structure typ_mseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful rewrd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 07:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424952#M203741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T07:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424953#M203742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*TYPES DECLARATION&lt;/P&gt;&lt;P&gt;types:begin of typ_mseg,&lt;/P&gt;&lt;P&gt;p_werks type werks_d, "Plant location&lt;/P&gt;&lt;P&gt;mblnr type mblnr, "Number of Material Document&lt;/P&gt;&lt;P&gt;s_budat type budat, "Posting date in document&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;matnr type matnr, &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;mtsnr type mtsnr1,"Number of external material slip&lt;/P&gt;&lt;P&gt;maktx type maktx, "Material description&lt;/P&gt;&lt;P&gt;menge type menge_d, "Quantity&lt;/P&gt;&lt;P&gt;lifnr type lifnr, "Vendor Number&lt;/P&gt;&lt;P&gt;name1 type name1_gp, "Name1&lt;/P&gt;&lt;P&gt;name2 type name2_gp, "Name2&lt;/P&gt;&lt;P&gt;telf1 type telf1, "Telephone number&lt;/P&gt;&lt;P&gt;trnam type ztrnam, "Transporter name&lt;/P&gt;&lt;P&gt;glano type zglano, "GR/LR/AWB No&lt;/P&gt;&lt;P&gt;J_1ICSTNO type J_1ICSTNO, "Central Sales Tax Number&lt;/P&gt;&lt;P&gt;J_1ILSTNO type J_1ILSTNO, "Local Sales Tax Number&lt;/P&gt;&lt;P&gt;J_1IEXRN type J_1IEXRN , "Excise Registration Number&lt;/P&gt;&lt;P&gt;end of typ_mseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have not declare matnr in your type declaration. now copy this code and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Wasim Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 07:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424953#M203742</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-07-19T07:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424954#M203743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U don't have any field matnr in your types declaration. Then how can u refer it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 07:49:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424954#M203743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T07:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424955#M203744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  error occured in the following lines&lt;/P&gt;&lt;P&gt;in the it_mseg2 , there is no field called MATNR , declare one field matnr in that type &amp;lt;b&amp;gt;typ_mseg&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if it_mseg2[] is not initial.
select maktx from makt into 
table it_mseg3 
for all entries in it_mseg2
where matnr = &amp;lt;b&amp;gt;it_mseg2-matnr&amp;lt;/b&amp;gt;
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 07:51:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424955#M203744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T07:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424956#M203745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is in the select...&lt;/P&gt;&lt;P&gt;just check the bold one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*TYPES DECLARATION&lt;/P&gt;&lt;P&gt;types:begin of typ_mseg,&lt;/P&gt;&lt;P&gt;p_werks type werks_d, "Plant location&lt;/P&gt;&lt;P&gt;mblnr type mblnr, "Number of Material Document&lt;/P&gt;&lt;P&gt;s_budat type budat, "Posting date in document&lt;/P&gt;&lt;P&gt;mtsnr type mtsnr1, "Number of external material slip&lt;/P&gt;&lt;P&gt;maktx type maktx, "Material description&lt;/P&gt;&lt;P&gt;menge type menge_d, "Quantity&lt;/P&gt;&lt;P&gt;lifnr type lifnr, "Vendor Number&lt;/P&gt;&lt;P&gt;name1 type name1_gp, "Name1&lt;/P&gt;&lt;P&gt;name2 type name2_gp, "Name2&lt;/P&gt;&lt;P&gt;telf1 type telf1, "Telephone number&lt;/P&gt;&lt;P&gt;trnam type ztrnam, "Transporter name&lt;/P&gt;&lt;P&gt;glano type zglano, "GR/LR/AWB No&lt;/P&gt;&lt;P&gt;J_1ICSTNO type J_1ICSTNO, "Central Sales Tax Number&lt;/P&gt;&lt;P&gt;J_1ILSTNO type J_1ILSTNO, "Local Sales Tax Number&lt;/P&gt;&lt;P&gt;J_1IEXRN type J_1IEXRN , "Excise Registration Number&lt;/P&gt;&lt;P&gt;end of typ_mseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*INTERNAL TABLES DECLARATION&lt;/P&gt;&lt;P&gt;data: it_mseg type standard table of typ_mseg initial size 0,&lt;/P&gt;&lt;P&gt;it_mseg1 type standard table of typ_mseg initial size 0,&lt;/P&gt;&lt;P&gt;it_mseg2 type standard table of typ_mseg initial size 0,&lt;/P&gt;&lt;P&gt;it_mseg3 type standard table of typ_mseg initial size 0,&lt;/P&gt;&lt;P&gt;wa_mseg like line of it_mseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;mblnr a&lt;/SUB&gt;&amp;lt;b&amp;gt;mstnr&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;a&lt;SUB&gt;menge a&lt;/SUB&gt;lifnr&lt;/P&gt;&lt;P&gt;b~budat&lt;/P&gt;&lt;P&gt;into table it_mseg&lt;/P&gt;&lt;P&gt;from mseg as a&lt;/P&gt;&lt;P&gt;join mkpf as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;mblnr = b&lt;/SUB&gt;mblnr&lt;/P&gt;&lt;P&gt;where werks = p_werks and&lt;/P&gt;&lt;P&gt;budat IN s_budat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 07:51:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424956#M203745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T07:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424957#M203746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whichever statement is giving that error, the strcuture you are accessing has a field called MTSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can give the statement giving the error, then we can point out the error easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 07:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error/m-p/1424957#M203746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T07:54:17Z</dc:date>
    </item>
  </channel>
</rss>

