<?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: selection-screen and GET in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053212#M89705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tafkap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can think of one option. By making the LDB PNP to read with employee number eq space (then the GET will not fetch any records) you can skip GET and use your selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some thing like the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT myfield IS INITIAL.&lt;/P&gt;&lt;P&gt;  pnppernr-sign = 'I'.&lt;/P&gt;&lt;P&gt;  pnppernr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  pnppernr-low = '00000000'.&lt;/P&gt;&lt;P&gt;  APPEND pnppernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM get_data.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PERNR.&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;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2005 08:05:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-22T08:05:04Z</dc:date>
    <item>
      <title>selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053206#M89699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my program i use PNP logical database, so system create automatically selection screen. Nice. &lt;/P&gt;&lt;P&gt;When user fill selection screen event start-of-selection is launched and i do GET PERNR for read data from PNP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my customer want to add field in selection screen. Ok, i did that. Well, now he want that when a user fills new fields the PNP is not read i.e GET PERNR shouldn't be launched, so i my program i write this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if myfield is initial.&lt;/P&gt;&lt;P&gt; GET PERNR.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt; PERFORM get_data.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i compile program i can't do that and i don't know how to make this and if it's possible.&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, 21 Dec 2005 23:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053206#M89699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T23:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053207#M89700</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;It looks like a rather unique requirement.. once  a report is tied to PNP, you cannot bypass the GET PERNR.. what you can do is as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PERNR.&lt;/P&gt;&lt;P&gt;check myfield is initial.&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;PERFORM get_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 23:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053207#M89700</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2005-12-21T23:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053208#M89701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use that GET statement like that.  You may be able to do something like this.  It works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0003.

nodes: pernr.


parameters: p_check type c.


start-of-selection.

  if not p_check is initial.


    write:/ 'PERNR is not being used here'.
    exit.

  endif.


get pernr.
  write:/ pernr.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 23:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053208#M89701</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-21T23:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053209#M89702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
START-OF-SELECTION.

GET PERNR.

IF myfield IS NOT INITIAL.

PERFORM get_data. 
//USE THE DATA YOU RETRIEVE

ELSE.

RP-PROVIDE-FROM-LAST &amp;lt;infotype&amp;gt; &amp;lt;subtype&amp;gt; pn-begda pn-endda.
//USE DATA RETRIEVED FROM MACRO...OR SOMETHING LIKE THIS.

ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2005 23:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053209#M89702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-21T23:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053210#M89703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with you but if user don't fill employee number in field standard selection-screen, program read all database and performance are low....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 07:04:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053210#M89703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-22T07:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053211#M89704</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;try fm LDB_CALL_LDB_PROCESS with ldb pnp&lt;/P&gt;&lt;P&gt;instead of including ldb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 07:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053211#M89704</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-12-22T07:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053212#M89705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tafkap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can think of one option. By making the LDB PNP to read with employee number eq space (then the GET will not fetch any records) you can skip GET and use your selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some thing like the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT myfield IS INITIAL.&lt;/P&gt;&lt;P&gt;  pnppernr-sign = 'I'.&lt;/P&gt;&lt;P&gt;  pnppernr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  pnppernr-low = '00000000'.&lt;/P&gt;&lt;P&gt;  APPEND pnppernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM get_data.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PERNR.&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;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 08:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053212#M89705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-22T08:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053213#M89706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tafkap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. u have created a z report and &lt;/P&gt;&lt;P&gt;   u are using PNP logical database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  u say,&lt;/P&gt;&lt;P&gt;, now he want that when a user fills new fields the PNP is not read i.e GET PERNR shouldn't be launched&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose this is achieved, then how&lt;/P&gt;&lt;P&gt;are u going to fetch the data&lt;/P&gt;&lt;P&gt;and show the report ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If u already have the logic for&lt;/P&gt;&lt;P&gt;   getting information from database and showing&lt;/P&gt;&lt;P&gt;   to the user,&lt;/P&gt;&lt;P&gt;   then do  not use GET event.&lt;/P&gt;&lt;P&gt;  (It is not compulsory in a ldb)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Instead use START-OF-SELECTION&lt;/P&gt;&lt;P&gt;   event&lt;/P&gt;&lt;P&gt;   and do the normal programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. In such case,&lt;/P&gt;&lt;P&gt;   the selection screen (and ur extra field(s))&lt;/P&gt;&lt;P&gt;   will be displayed as usual&lt;/P&gt;&lt;P&gt;   and your own code will get triggered&lt;/P&gt;&lt;P&gt;   at start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 08:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053213#M89706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-22T08:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and GET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053214#M89707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tafkap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did your issue GET resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2005 10:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-get/m-p/1053214#M89707</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2005-12-22T10:44:47Z</dc:date>
    </item>
  </channel>
</rss>

