<?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: Runtime Behavior in a Logical database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833689#M921899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that the online help is referring to the forms &amp;amp; events that will be invoked within the logical database code, not within your own code that references the LDB.  For example, have a look at the PNP database (Tcode SLDB) and display the database program source code, and in include  DBPNP_PNPCE_F4_FORMS you'll see pnporgeh-low_val, pnporgeh-high_val etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your own fields that you define in addition to the ones "free" with the LDB, you should be able to just code the value help yourself e.g.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
at selection-screen on value-request for p_parm1.
  perform f4_parm1.

form f4_parm1.
  message s398(00) with 'Reached my F4 help here'.
endform.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2008 06:57:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-22T06:57:29Z</dc:date>
    <item>
      <title>Runtime Behavior in a Logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833686#M921896</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;I read this articl in SAP's help [http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/frameset.htm] but I didn't know how to use these Subroutines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM par_VAL.&lt;/P&gt;&lt;P&gt;FORM selop_VAL.&lt;/P&gt;&lt;P&gt;FORM selop-LOW_VAL.&lt;/P&gt;&lt;P&gt;FORM selop-HIGH_VAL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declared a &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters p_kunnr like kna1-kunnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and I put this subroutine in the include where I put INIT, PBO and PAI subroutines&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM p_kunnr_VAL.
break-point.
ENFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But the system doesn't execute it!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me to understand why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 12:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833686#M921896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T12:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Behavior in a Logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833687#M921897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Noureddine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i understand what u are trying to do in your code. The system will not execute your code if it does not process into the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You acn set the break-point just before the perform statement or just place the cursor on a command and press the session beakepoint Button on the toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give points if it this tip helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 13:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833687#M921897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T13:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Behavior in a Logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833688#M921898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I want is to execute &lt;STRONG&gt;FROM p_kunnr_val&lt;/STRONG&gt; subroutine  when the user push the F4 button for the p_kunnr paramters, like &lt;STRONG&gt;FORM init&lt;/STRONG&gt;,   I just write &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; FORM init.
ENDFORM. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and the system calls it automatically in the INITIALIZATION logical database event&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 14:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833688#M921898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T14:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Behavior in a Logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833689#M921899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that the online help is referring to the forms &amp;amp; events that will be invoked within the logical database code, not within your own code that references the LDB.  For example, have a look at the PNP database (Tcode SLDB) and display the database program source code, and in include  DBPNP_PNPCE_F4_FORMS you'll see pnporgeh-low_val, pnporgeh-high_val etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your own fields that you define in addition to the ones "free" with the LDB, you should be able to just code the value help yourself e.g.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
at selection-screen on value-request for p_parm1.
  perform f4_parm1.

form f4_parm1.
  message s398(00) with 'Reached my F4 help here'.
endform.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 06:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833689#M921899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T06:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Behavior in a Logical database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833690#M921900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the solution was in declaration &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;, I must put &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS:     pkna1    LIKE kna1-kunnr FOR NODE tkna1 VALUE-REQUEST. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;instead of &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS:     pkna1    LIKE kna1-kunnr FOR NODE tkna1. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;so, the thing I had to write is "VALUE-REQUEST"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 09:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-behavior-in-a-logical-database/m-p/3833690#M921900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T09:36:32Z</dc:date>
    </item>
  </channel>
</rss>

