<?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: Logical database problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158798#M119754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Use the select-options in the include program.&lt;/P&gt;&lt;P&gt;So that you can include it in your logical database and also in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;lt;b&amp;gt;Help on selection-screen.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/siliconvalley/campus/6345/select_o.htm" target="test_blank"&gt;http://www.geocities.com/siliconvalley/campus/6345/select_o.htm&lt;/A&gt; (Search for 'logical')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;lt;b&amp;gt;Selection Screen and Logical Database (Help.sap.com)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points if it helps by clicking star on the left hand side of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maheswaran.B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Maheswaran B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jan 2006 16:21:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-02T16:21:43Z</dc:date>
    <item>
      <title>Logical database problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158791#M119747</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;I want to use my selections along with logical database selection screen in my program.when i am trying to use it its giving some errors.if there is a get event its not allowing to select my own selection.can any advise my how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Lisa Roy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2006 15:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158791#M119747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-02T15:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Logical database problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158792#M119748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the error? did you declare your selections using the SELECTION-SCREEN option? It would help if you paste your code?&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>Mon, 02 Jan 2006 15:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158792#M119748</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-01-02T15:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Logical database problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158793#M119749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i have declared by using some more fields by using the select-options.its giving error Local selections not allowed.so it mean i have to declare globally.So where i have to declare.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2006 15:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158793#M119749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-02T15:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Logical database problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158794#M119750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I used PNP logical database and declared seelction &lt;/P&gt;&lt;P&gt;  screen in my program it is working for me.  &lt;/P&gt;&lt;P&gt;  Please see the below code &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
Parameters     : p_date like sy-datum default sy-datum obligatory.

SELECTION-SCREEN : END OF BLOCK b2.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
select-options : s_plans for p0001-plans,               " Position
                 s_orgeh for p0001-orgeh.               " Org Unit
Parameters     : p_actgr like agr_1250-agr_name         " Act.Grp
                 default 'E:HR-*TIMEKEEPER*' obligatory.
SELECTION-SCREEN : END OF BLOCK b1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2006 15:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158794#M119750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-02T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Logical database problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158795#M119751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srilatha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u selection-options in our program it will work but if u use 'get' the it will give error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2006 15:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158795#M119751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-02T15:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Logical database problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158796#M119752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa.&lt;/P&gt;&lt;P&gt;I'm not sure I understand your problem.&lt;/P&gt;&lt;P&gt;I usually declare variables in the beginning of the code, right after i write in the tables i will require.&lt;/P&gt;&lt;P&gt;However, if you're usring forms or function modules, those variables might not be available in them, if you want to use them you must declare them in the IMPORTING section of your form and pass them along in the form calls.&lt;/P&gt;&lt;P&gt;Hope this Helps.&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2006 15:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158796#M119752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-02T15:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logical database problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158797#M119753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  Eeven I am using GET (pernr) in my scenario also.&lt;/P&gt;&lt;P&gt;  see my below sample code&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*----------------------------------------------------------------------*
*             S T A R T  O F  S E L E C T I O N
*----------------------------------------------------------------------*
START-OF-SELECTION.
* Get pernr
GET pernr.
* To Get Employee Details
  PERFORM get_data.
*----------------------------------------------------------------------*
*                E N D  O F  S E L E C T I O N
*----------------------------------------------------------------------*
END-OF-SELECTION.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  GET_DATA
*&amp;amp;---------------------------------------------------------------------*
*       Form to get data
*----------------------------------------------------------------------*
FORM GET_DATA.
* Get latest record from P0001 infotype
  rp-provide-from-last p0001 space pn-begda pn-endda.
  if pnp-sw-found = 1.
* Check positions
    IF NOT s_plans IS INITIAL.
      CHECK p0001-plans IN s_plans.
    ENDIF.
* Check Org.Unit
    IF NOT s_orgeh IS INITIAL.
      CHECK p0001-orgeh IN s_orgeh.
    ENDIF.
* Check Org.Structure
*    CHECK p0001-orgeh IN pnpobjid.
    rp-provide-from-last p0105 '0001' pn-begda pn-endda.
    clear dg_flag.
* Form to get Activity Group
    perform get_act_group using p0001-plans.
* Form to get profile info
    perform get_info.
  else.
    exit.
  endif.
ENDFORM.                    " GET_DATA

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see my above code &amp;lt;b&amp;gt;s_palns&amp;lt;/b&amp;gt; is the select-option and I am using in my program. It is working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post ur code or tell me which LDB u r using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2006 15:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158797#M119753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-02T15:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Logical database problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158798#M119754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Use the select-options in the include program.&lt;/P&gt;&lt;P&gt;So that you can include it in your logical database and also in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;lt;b&amp;gt;Help on selection-screen.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/siliconvalley/campus/6345/select_o.htm" target="test_blank"&gt;http://www.geocities.com/siliconvalley/campus/6345/select_o.htm&lt;/A&gt; (Search for 'logical')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;lt;b&amp;gt;Selection Screen and Logical Database (Help.sap.com)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points if it helps by clicking star on the left hand side of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maheswaran.B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Maheswaran B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2006 16:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logical-database-problem/m-p/1158798#M119754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-02T16:21:43Z</dc:date>
    </item>
  </channel>
</rss>

