<?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: code correction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-correction/m-p/2730245#M633726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you have to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select * from YMTID_C102_INVBL
  INTO table IT_INBAL 
  WHERE YWRHOUSE = wa_data-whnum
    AND YLOCATION = wa_data-locno.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't get values, it's because there are no values in the table that meet the selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2007 16:44:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-07T16:44:07Z</dc:date>
    <item>
      <title>code correction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-correction/m-p/2730244#M633725</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;What is wrong in my code ie internal table assignment, I am getting the error &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;DATA: IT_INBAL type STANDARD TABLE OF YMTID_C102_INVBL WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      WA_INBAL type YMTID_C102_INVBL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at i_data.&lt;/P&gt;&lt;P&gt;    move i_data to  wa_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from YMTID_C102_INVBL INTO table wa_INBAL WHERE YWRHOUSE = wa_data-whnum&lt;/P&gt;&lt;P&gt;                                             AND YLOCATION = wa_data-locno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*wa_outfile-source = 'prism'.&lt;/P&gt;&lt;P&gt;*wa_outfile-sscc = it_outfile-sscc.&lt;/P&gt;&lt;P&gt;*wa_outfile-pcmat = it_outfile-pcmat.&lt;/P&gt;&lt;P&gt;*wa_outfile-imtyp =&lt;/P&gt;&lt;P&gt;wa_outfile-whnum = wa_INBAL-s_wrhouse.&lt;/P&gt;&lt;P&gt;*wa_outfile-pltyp = IT_INBAL-l_pltyp.&lt;/P&gt;&lt;P&gt;*wa_outfile-sttyp = it_inbal-l_sttyp.&lt;/P&gt;&lt;P&gt;*wa_outfile-stsec = it_inbal-l_stsec.&lt;/P&gt;&lt;P&gt;wa_outfile-stbin = wa_data-locno.&lt;/P&gt;&lt;P&gt;*wa_outfile-ssino =&lt;/P&gt;&lt;P&gt;*wa_outfile-ssnno&lt;/P&gt;&lt;P&gt;wa_outfile-qunty = wa_data-qnloc.&lt;/P&gt;&lt;P&gt;SELECT MSEHI FROM YCAD_UOM INTO  WA_outfile-unitm where LEG_MSEHI = wa_data-stdum.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;wa_outfile-unitm = wa_outfile-unitm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INPUT         = wa_data-resno&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   OUTPUT        = wa_data-resno.&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_outfile-matno = wa_data-resno.&lt;/P&gt;&lt;P&gt;wa_outfile-batch = wa_data-lotno.&lt;/P&gt;&lt;P&gt;wa_outfile-plant = it_inbal-s_plant.&lt;/P&gt;&lt;P&gt;*wa_outfile-stats&lt;/P&gt;&lt;P&gt;wa_outfile-grdat = wa_data-ffdat.&lt;/P&gt;&lt;P&gt;wa_outfile-stloc = it_inbal-s_stor_loc.&lt;/P&gt;&lt;P&gt;wa_outfile-sldat = wa_data-sldat.&lt;/P&gt;&lt;P&gt;*wa_outfile-wmtyp = const(561)&lt;/P&gt;&lt;P&gt;wa_outfile-tickt = wa_data-lotno.&lt;/P&gt;&lt;P&gt;wa_outfile-UCOST = wa_data-UCOST.&lt;/P&gt;&lt;P&gt;wa_outfile-TCOST = wa_data-TCOST.&lt;/P&gt;&lt;P&gt;append wa_outfile to it_outfile.&lt;/P&gt;&lt;P&gt;&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;it giving me the error like wa_inbal is not an internal table occurs n is missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i declare it_inbal in the select statement it is not assigning the values to the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one guide me how to solve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz its bit urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nisha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 16:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-correction/m-p/2730244#M633725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T16:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: code correction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-correction/m-p/2730245#M633726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you have to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select * from YMTID_C102_INVBL
  INTO table IT_INBAL 
  WHERE YWRHOUSE = wa_data-whnum
    AND YLOCATION = wa_data-locno.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't get values, it's because there are no values in the table that meet the selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 16:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-correction/m-p/2730245#M633726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T16:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: code correction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-correction/m-p/2730246#M633727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IT_INBAL type STANDARD TABLE OF YMTID_C102_INVBL INITIAL SIZE 0,&lt;/P&gt;&lt;P&gt;WA_INBAL type YMTID_C102_INVBL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this should solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 19:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-correction/m-p/2730246#M633727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T19:38:45Z</dc:date>
    </item>
  </channel>
</rss>

