<?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: can pai trigger without pressing enter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397468#M1644401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  Sorry for misleading... actually with the buttons it works. &lt;/P&gt;&lt;P&gt;Check in the user command (If you have any button (action ) for calling smartform) . here the values will be filled. you can fill the description also here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly you mean by "what about multiple return fields in FM.???"&lt;/P&gt;&lt;P&gt;If you are expecting Multiple values from the return table. YES it returns Multiple values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2011 12:10:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-22T12:10:24Z</dc:date>
    <item>
      <title>can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397464#M1644397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have created a module pool program.&lt;/P&gt;&lt;P&gt;when user enter some value in text field..then after pressing enter pai triggeres and description corresponding to that value from ztable is shown in another output only field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could it be possible  that without pressing enter just after value entered...corresponding desc will be fetched in output only field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if have also used fm.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
F4IF_INT_TABLE_VALUE_REQUEST
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;on event process on value request.&lt;/P&gt;&lt;P&gt;can we define multiple return field in this function module?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 10:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397464#M1644397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T10:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397465#M1644398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   No it wont trigger automatically . &lt;/P&gt;&lt;P&gt;Instead you can use screen programming &amp;amp; handle CHAIN-END CHAIN in PAI of the screen. This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 11:21:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397465#M1644398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T11:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397466#M1644399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Instead you can use screen programming &amp;amp; handle CHAIN-END CHAIN in PAI of the screen. This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used CHAIN ENDCHAIN STATEMENTS. but they wont trigger untill user press enter.&lt;/P&gt;&lt;P&gt;the big problem is this:&lt;/P&gt;&lt;P&gt;if user does not press enter--the description will not be fetched and smartform will be printed without descriptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what about multiple return fields in  FM.???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 11:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397466#M1644399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T11:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397467#M1644400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you can do is fetch description in smartform only if this is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 11:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397467#M1644400</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2011-12-22T11:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397468#M1644401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  Sorry for misleading... actually with the buttons it works. &lt;/P&gt;&lt;P&gt;Check in the user command (If you have any button (action ) for calling smartform) . here the values will be filled. you can fill the description also here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly you mean by "what about multiple return fields in FM.???"&lt;/P&gt;&lt;P&gt;If you are expecting Multiple values from the return table. YES it returns Multiple values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 12:10:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397468#M1644401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T12:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397469#M1644402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; What exactly you mean by "what about multiple return fields in FM.???"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my COde:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data :begin of i_dept occurs 0,
kostl like cskt-kostl,
LTEXT like cskt-LTEXT,
end of i_dept.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
*       DDIC_STRUCTURE         = 'ZRETURN_GP '
        RETFIELD               = 'KOSTL'
*       PVALKEY                = ' '
        DYNPPROG               = 'SY-CPROG '
       DYNPNR                 = '0009'
      DYNPROFIELD            = 'ZRETURN_GP-GOING_TO_DEPT'
*       STEPL                  = 0
*       WINDOW_TITLE           =
*       VALUE                  = ' '
       VALUE_ORG              = 'S'
*     MULTIPLE_CHOICE        = 'X'
*       DISPLAY                = ' '
*       CALLBACK_PROGRAM       = ' '
*       CALLBACK_FORM          = ' '
*       MARK_TAB               =
*     IMPORTING
*       USER_RESET             =
      TABLES
        VALUE_TAB              = I_DEPT
*       FIELD_TAB              =
*       RETURN_TAB             =
*       DYNPFLD_MAPPING        =
     EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_FOUND        = 2
       OTHERS                 = 3
              .
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to declare multiple return fields in this parameter of function module.????&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DYNPFLD_MAPPING        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;i have used POV on a textfield. amd i m calling this function module in POV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want:&lt;/P&gt;&lt;P&gt;when user click on kostl of i_dept( in the help displayed)..then along with field KOSTL....LTEXT field also returns in&lt;/P&gt;&lt;P&gt;screen field ZRETURN_GP-GOING_TO_DEPT_DESC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Have read in the documentation of this function module that in parameter &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      DYNPFLD_MAPPING        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;we can declare multiple return fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats is what i want to know....how to declare multiple return fields.???&lt;/P&gt;&lt;P&gt;suggest some methods.&lt;/P&gt;&lt;P&gt;new concepts are also welcome.!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 12:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397469#M1644402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T12:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397470#M1644403</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;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could it be possible that without pressing enter just after value entered...corresponding desc will be fetched in output only field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot assign a function code to input text fields, therefore this is not possible...&lt;/P&gt;&lt;P&gt;In order to have your description updated in your smartform (or whatever), the module used to fetch the texts should be placed before your module dealing with user commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can we define multiple return field in this function module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is, based on your returned fields, update some others with the FM DYNP_VALUES_UPDATE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;added: you could also use a callback routine, as described in this thread: &lt;SPAN __jive_macro_name="message" id="4066883"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Manu D'Haeyer on Dec 22, 2011 1:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 12:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397470#M1644403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T12:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397471#M1644404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;been a while since I've tried this but consider adding this in your PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD fieldname MODULE modulename ON INPUT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 19:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397471#M1644404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T19:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: can pai trigger without pressing enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397472#M1644405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing we can do is, to press the enter key function explicitly by using this code..&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'
   EXPORTING
     FUNCTIONCODE                 = '=ENT'
   EXCEPTIONS
     FUNCTION_NOT_SUPPORTED       = 1
     OTHERS                       = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;then PAI Can be Triggered...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 01:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-pai-trigger-without-pressing-enter/m-p/8397472#M1644405</guid>
      <dc:creator>surajarafath</dc:creator>
      <dc:date>2011-12-23T01:12:57Z</dc:date>
    </item>
  </channel>
</rss>

