<?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: getting all records in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939648#M388143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your report is tied to the PNP, you can put the following in the initialization/start-of-selection event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; pnp-sw-ignorelockedrecords = 'N'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 21:13:53 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2007-03-01T21:13:53Z</dc:date>
    <item>
      <title>getting all records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939647#M388142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have this Macro running in my report that gets the salary change info. In our system if someone trying to chg the salary it creates a copy of the original record, let the user change the data and puts an X in lock indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i ran the report that macro only pulls the original record not the one with loc can any one help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the macro&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  PNP_SET_EXT_PERNR_SEL_CONDS syhr_ext_pernr_sel_conds[]
                              syhr_evaluation_begda
                              syhr_evaluation_endda.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before calling it the report setsup the "syhr_ext_pernr_sel_conds[]"&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* conditions for IT0008-SPRPS  [P0008]
  LOOP AT SP
* conditions for IT0008-SPRPS  [P0008]
  LOOP AT SP$00001.
    CLEAR syhr_ext_pernr_sel_conds_wa.
    syhr_ext_pernr_sel_conds_wa-tclas = 'A'.
    syhr_ext_pernr_sel_conds_wa-infty = '0008'.
    syhr_ext_pernr_sel_conds_wa-fieldname = 'SPRPS'.
    syhr_ext_pernr_sel_conds_wa-fieldkind = ' '.
    syhr_ext_pernr_sel_conds_wa-sign = SP$00001-sign.
    syhr_ext_pernr_sel_conds_wa-opti = SP$00001-option.
    syhr_ext_pernr_sel_conds_wa-low = SP$00001-low.
    syhr_ext_pernr_sel_conds_wa-high = SP$00001-high.
    syhr_ext_pernr_sel_conds_wa-otype = ' '.
    syhr_ext_pernr_sel_conds_wa-rsign = ' '.
    syhr_ext_pernr_sel_conds_wa-relat = ' '.
    syhr_ext_pernr_sel_conds_wa-sclas = ' '.
    APPEND syhr_ext_pernr_sel_conds_wa TO syhr_ext_pernr_sel_conds.
  ENDLOOP.

.
    CLEAR syhr_ext_pernr_sel_conds_wa.
    syhr_ext_pernr_sel_conds_wa-tclas = 'A'.
    syhr_ext_pernr_sel_conds_wa-infty = '0008'.
    syhr_ext_pernr_sel_conds_wa-fieldname = 'SPRPS'.
    syhr_ext_pernr_sel_conds_wa-fieldkind = ' '.
    syhr_ext_pernr_sel_conds_wa-sign = SP
* conditions for IT0008-SPRPS  [P0008]
  LOOP AT SP$00001.
    CLEAR syhr_ext_pernr_sel_conds_wa.
    syhr_ext_pernr_sel_conds_wa-tclas = 'A'.
    syhr_ext_pernr_sel_conds_wa-infty = '0008'.
    syhr_ext_pernr_sel_conds_wa-fieldname = 'SPRPS'.
    syhr_ext_pernr_sel_conds_wa-fieldkind = ' '.
    syhr_ext_pernr_sel_conds_wa-sign = SP$00001-sign.
    syhr_ext_pernr_sel_conds_wa-opti = SP$00001-option.
    syhr_ext_pernr_sel_conds_wa-low = SP$00001-low.
    syhr_ext_pernr_sel_conds_wa-high = SP$00001-high.
    syhr_ext_pernr_sel_conds_wa-otype = ' '.
    syhr_ext_pernr_sel_conds_wa-rsign = ' '.
    syhr_ext_pernr_sel_conds_wa-relat = ' '.
    syhr_ext_pernr_sel_conds_wa-sclas = ' '.
    APPEND syhr_ext_pernr_sel_conds_wa TO syhr_ext_pernr_sel_conds.
  ENDLOOP.

-sign.
    syhr_ext_pernr_sel_conds_wa-opti = SP
* conditions for IT0008-SPRPS  [P0008]
  LOOP AT SP$00001.
    CLEAR syhr_ext_pernr_sel_conds_wa.
    syhr_ext_pernr_sel_conds_wa-tclas = 'A'.
    syhr_ext_pernr_sel_conds_wa-infty = '0008'.
    syhr_ext_pernr_sel_conds_wa-fieldname = 'SPRPS'.
    syhr_ext_pernr_sel_conds_wa-fieldkind = ' '.
    syhr_ext_pernr_sel_conds_wa-sign = SP$00001-sign.
    syhr_ext_pernr_sel_conds_wa-opti = SP$00001-option.
    syhr_ext_pernr_sel_conds_wa-low = SP$00001-low.
    syhr_ext_pernr_sel_conds_wa-high = SP$00001-high.
    syhr_ext_pernr_sel_conds_wa-otype = ' '.
    syhr_ext_pernr_sel_conds_wa-rsign = ' '.
    syhr_ext_pernr_sel_conds_wa-relat = ' '.
    syhr_ext_pernr_sel_conds_wa-sclas = ' '.
    APPEND syhr_ext_pernr_sel_conds_wa TO syhr_ext_pernr_sel_conds.
  ENDLOOP.

-option.
    syhr_ext_pernr_sel_conds_wa-low = SP
* conditions for IT0008-SPRPS  [P0008]
  LOOP AT SP$00001.
    CLEAR syhr_ext_pernr_sel_conds_wa.
    syhr_ext_pernr_sel_conds_wa-tclas = 'A'.
    syhr_ext_pernr_sel_conds_wa-infty = '0008'.
    syhr_ext_pernr_sel_conds_wa-fieldname = 'SPRPS'.
    syhr_ext_pernr_sel_conds_wa-fieldkind = ' '.
    syhr_ext_pernr_sel_conds_wa-sign = SP$00001-sign.
    syhr_ext_pernr_sel_conds_wa-opti = SP$00001-option.
    syhr_ext_pernr_sel_conds_wa-low = SP$00001-low.
    syhr_ext_pernr_sel_conds_wa-high = SP$00001-high.
    syhr_ext_pernr_sel_conds_wa-otype = ' '.
    syhr_ext_pernr_sel_conds_wa-rsign = ' '.
    syhr_ext_pernr_sel_conds_wa-relat = ' '.
    syhr_ext_pernr_sel_conds_wa-sclas = ' '.
    APPEND syhr_ext_pernr_sel_conds_wa TO syhr_ext_pernr_sel_conds.
  ENDLOOP.

-low.
    syhr_ext_pernr_sel_conds_wa-high = SP
* conditions for IT0008-SPRPS  [P0008]
  LOOP AT SP$00001.
    CLEAR syhr_ext_pernr_sel_conds_wa.
    syhr_ext_pernr_sel_conds_wa-tclas = 'A'.
    syhr_ext_pernr_sel_conds_wa-infty = '0008'.
    syhr_ext_pernr_sel_conds_wa-fieldname = 'SPRPS'.
    syhr_ext_pernr_sel_conds_wa-fieldkind = ' '.
    syhr_ext_pernr_sel_conds_wa-sign = SP$00001-sign.
    syhr_ext_pernr_sel_conds_wa-opti = SP$00001-option.
    syhr_ext_pernr_sel_conds_wa-low = SP$00001-low.
    syhr_ext_pernr_sel_conds_wa-high = SP$00001-high.
    syhr_ext_pernr_sel_conds_wa-otype = ' '.
    syhr_ext_pernr_sel_conds_wa-rsign = ' '.
    syhr_ext_pernr_sel_conds_wa-relat = ' '.
    syhr_ext_pernr_sel_conds_wa-sclas = ' '.
    APPEND syhr_ext_pernr_sel_conds_wa TO syhr_ext_pernr_sel_conds.
  ENDLOOP.

-high.
    syhr_ext_pernr_sel_conds_wa-otype = ' '.
    syhr_ext_pernr_sel_conds_wa-rsign = ' '.
    syhr_ext_pernr_sel_conds_wa-relat = ' '.
    syhr_ext_pernr_sel_conds_wa-sclas = ' '.
    APPEND syhr_ext_pernr_sel_conds_wa TO syhr_ext_pernr_sel_conds.
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 21:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939647#M388142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T21:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: getting all records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939648#M388143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your report is tied to the PNP, you can put the following in the initialization/start-of-selection event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; pnp-sw-ignorelockedrecords = 'N'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 21:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939648#M388143</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-01T21:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: getting all records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939649#M388144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for saving me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to solve this the whole day and that simple line did the trick...&lt;/P&gt;&lt;P&gt;I have rewarded you points too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 22:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939649#M388144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T22:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: getting all records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939650#M388145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey..don't worry, thanks to SDN, next time you will be done in the fraction of a second..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 00:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-all-records/m-p/1939650#M388145</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-02T00:14:14Z</dc:date>
    </item>
  </channel>
</rss>

