<?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: NETPR data not fetched. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072261#M1703573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see if there are leading zeroes for the field 'INFNR'. This moght be causing the issue.&lt;/P&gt;&lt;P&gt;Also the statement '&lt;EM&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; sy-subrc &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INITIAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;' should be just after the read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2012 13:15:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-09-25T13:15:48Z</dc:date>
    <item>
      <title>NETPR data not fetched.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072259#M1703571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Tried a number of hit and try but not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Fetching NETPR for only two records but rest of the records are 0 though data is present in the table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; li_contract &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; wl_contract.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 10pt;"&gt;&lt;P&gt;IF&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; wl_contract-pstyp &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;EQ&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4da619; font-size: 10pt;"&gt;'2'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;READ&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; li_inforec &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; wl_inforec &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;WITH&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; infnr = wl_contract-infnr.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;* MOVE wl_inforec-waers TO wl_contract-waers.&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;* MOVE wl_inforec-netpr TO wl_contract-netpr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;wl_contract-waers = wl_inforec-waers.&lt;BR /&gt;wl_contract-netpr = wl_inforec-netpr.&lt;BR /&gt;wl_contract-peinh = wl_inforec-peinh.&lt;BR /&gt;wl_contract-bprme = wl_inforec-bprme.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; sy-subrc &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INITIAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;MODIFY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; li_contract &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; wl_contract &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TRANSPORTING &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;netpr.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 09:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072259#M1703571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T09:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: NETPR data not fetched.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072260#M1703572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a reason you are not checking subrc until AFTER you move data from your 2nd internal table? If that read fails wl_inforec will have data from the previous read.&lt;/P&gt;&lt;P&gt;Why do you move other fields into your structure that you are not going to update? That is extra work that does nothing but confuse other programmers looking at your code.&lt;/P&gt;&lt;P&gt;How about changing your code to look like this.&lt;/P&gt;&lt;P&gt;LOOP&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; li_contract &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; wl_contract.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IF &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt; wl_contract-pstyp &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;EQ&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4da619; font-size: 10pt;"&gt;'2'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;READ&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; li_inforec &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; wl_inforec &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;WITH&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; infnr = wl_contract-infnr.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; sy-subrc &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INITIAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;wl_contract-netpr = wl_inforec-netpr.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;MODIFY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; li_contract &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; wl_contract &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TRANSPORTING &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;netpr.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 13:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072260#M1703572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T13:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: NETPR data not fetched.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072261#M1703573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see if there are leading zeroes for the field 'INFNR'. This moght be causing the issue.&lt;/P&gt;&lt;P&gt;Also the statement '&lt;EM&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; sy-subrc &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;INITIAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/EM&gt;' should be just after the read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 13:15:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072261#M1703573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T13:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: NETPR data not fetched.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072262#M1703574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, this is probably not your problem, but I personally prefer to code if sy-subrc = '0' instead of IS INITIAL.&amp;nbsp; It seems to be more descriptive to me.&amp;nbsp; I suppose it is just personal preference or coding style, but it seems "cleaner" to me.&amp;nbsp; (whatever that means) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 22:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072262#M1703574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T22:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: NETPR data not fetched.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072263#M1703575</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;Can u please paste&amp;nbsp; ur entire&amp;nbsp; code..will try to help..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 06:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/netpr-data-not-fetched/m-p/9072263#M1703575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-26T06:12:49Z</dc:date>
    </item>
  </channel>
</rss>

