<?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: Passing value as parameter to 'call function' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464807#M1416099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vbsigate ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way you have called function module is perfect. Whats the Issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 06:56:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-18T06:56:49Z</dc:date>
    <item>
      <title>Passing value as parameter to 'call function'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464805#M1416097</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;CALL FUNCTION 'TH_POPUP'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;    client               = '100'&lt;/P&gt;&lt;P&gt;    user                 = 'XXXXXX'&lt;/P&gt;&lt;P&gt;    MESSAGE              = 'Hello! u got END SESSION'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE_LEN          = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CUT_BLANKS           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   user_not_found       = 1&lt;/P&gt;&lt;P&gt;   OTHERS               = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above program pops up a new window in another user system from a user system. xxxxx is that particular userID.&lt;/P&gt;&lt;P&gt;I want to enter the userID after executing and userID should be passed to call function 'TH_POPUP' and show the result. &lt;/P&gt;&lt;P&gt;I tried using 'PARAMETER' statement. It did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;vbsigate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 06:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464805#M1416097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T06:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Passing value as parameter to 'call function'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464806#M1416098</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;What i understand is you want to enter the user name on selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the program and it works fine. &lt;/P&gt;&lt;P&gt;(May be in your program the parameter was not defined correctly as type sy-uname).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report abc.

PARAMETERS : p_user type sy-uname obligatory.

CALL FUNCTION 'TH_POPUP'
  EXPORTING
    CLIENT               = sy-mandt
    USER                 = p_user
    MESSAGE              = 'Hello! u got END SESSION'
*   MESSAGE_LEN          = 0
*   CUT_BLANKS           = ' '
 EXCEPTIONS
   USER_NOT_FOUND       = 1
   OTHERS               = 2
          .

&lt;/CODE&gt;&lt;/PRE&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>Mon, 18 Jan 2010 06:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464806#M1416098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T06:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Passing value as parameter to 'call function'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464807#M1416099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vbsigate ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way you have called function module is perfect. Whats the Issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 06:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464807#M1416099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T06:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Passing value as parameter to 'call function'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464808#M1416100</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;Thanks a lot Amit....its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikhil... the point is I want to enter the userID of my choice on screen and at same time learn how to pass parameters to function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VBS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 09:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-value-as-parameter-to-call-function/m-p/6464808#M1416100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T09:59:15Z</dc:date>
    </item>
  </channel>
</rss>

