<?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 reg.reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reports/m-p/3810743#M916645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I written on report stock History by commidity, with tables ltap, lips,likp and lfm1 . in the selection screen i given material is sample1.for sample1 i have the 74 records . in the output iam getting only 47 records , iam not getting the problem , iam sending the code please see that and suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gt_ltap into gs_ltap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt; gs_output-matnr = gs_ltap-matnr.&lt;/P&gt;&lt;P&gt; gs_output-maktx = gs_ltap-maktx.&lt;/P&gt;&lt;P&gt; gs_output-nista = gs_ltap-nista.&lt;/P&gt;&lt;P&gt; gs_output-tanum = gs_ltap-tanum.&lt;/P&gt;&lt;P&gt; gs_output-qdatu = gs_ltap-qdatu.&lt;/P&gt;&lt;P&gt; gs_output-vbeln = gs_ltap-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at gt_lips into gs_lips where vbeln = gs_ltap-vbeln and&lt;/P&gt;&lt;P&gt;                                     posnr = gs_ltap-posnr.&lt;/P&gt;&lt;P&gt;     if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;     gs_output-vkgrp = gs_lips-vkgrp.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table gt_likp into gs_likp with key vbeln = gs_lips-vbeln Binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt; gs_output-kunnr = gs_likp-kunnr.&lt;/P&gt;&lt;P&gt; gs_output-lifnr = gs_likp-lifnr.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table gt_lfm1 into gs_lfm1 with key lifnr = gs_likp-lifnr Binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;gs_output-ekgrp = gs_lfm1-ekgrp.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;append gs_output to gt_output.&lt;/P&gt;&lt;P&gt;clear gs_output.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for above loop in gt_ltap iam having 74 records , for gt_output iam having 47 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards are help answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;N.Narasimha rao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2008 14:38:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-23T14:38:12Z</dc:date>
    <item>
      <title>reg.reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reports/m-p/3810743#M916645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I written on report stock History by commidity, with tables ltap, lips,likp and lfm1 . in the selection screen i given material is sample1.for sample1 i have the 74 records . in the output iam getting only 47 records , iam not getting the problem , iam sending the code please see that and suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gt_ltap into gs_ltap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt; gs_output-matnr = gs_ltap-matnr.&lt;/P&gt;&lt;P&gt; gs_output-maktx = gs_ltap-maktx.&lt;/P&gt;&lt;P&gt; gs_output-nista = gs_ltap-nista.&lt;/P&gt;&lt;P&gt; gs_output-tanum = gs_ltap-tanum.&lt;/P&gt;&lt;P&gt; gs_output-qdatu = gs_ltap-qdatu.&lt;/P&gt;&lt;P&gt; gs_output-vbeln = gs_ltap-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at gt_lips into gs_lips where vbeln = gs_ltap-vbeln and&lt;/P&gt;&lt;P&gt;                                     posnr = gs_ltap-posnr.&lt;/P&gt;&lt;P&gt;     if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;     gs_output-vkgrp = gs_lips-vkgrp.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table gt_likp into gs_likp with key vbeln = gs_lips-vbeln Binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt; gs_output-kunnr = gs_likp-kunnr.&lt;/P&gt;&lt;P&gt; gs_output-lifnr = gs_likp-lifnr.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table gt_lfm1 into gs_lfm1 with key lifnr = gs_likp-lifnr Binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;gs_output-ekgrp = gs_lfm1-ekgrp.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;append gs_output to gt_output.&lt;/P&gt;&lt;P&gt;clear gs_output.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for above loop in gt_ltap iam having 74 records , for gt_output iam having 47 only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards are help answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;N.Narasimha rao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 14:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reports/m-p/3810743#M916645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T14:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: reg.reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reports/m-p/3810744#M916646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Before reading the internal tables ,sort them by the key field in ascending order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 14:44:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-reports/m-p/3810744#M916646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T14:44:45Z</dc:date>
    </item>
  </channel>
</rss>

