<?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: Urgent: Function module for getting the input from user  using a pop up in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561523#M253868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked!!! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Pritish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points rewarded &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2006 06:05:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-08T06:05:45Z</dc:date>
    <item>
      <title>Urgent: Function module for getting the input from user  using a pop up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561518#M253863</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;My requirement at user commmand a pop up should appear asking the user to enter the session name for the bdc session to be created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My report allows the user to enter the session name of his choice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the name of the function module which can do this.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Pritish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 05:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561518#M253863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T05:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Function module for getting the input from user  using a pop up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561519#M253864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pritish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. we can use the FM&lt;/P&gt;&lt;P&gt;   POPUP_TO_GET_ONE_VALUE&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;&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>Fri, 08 Sep 2006 05:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561519#M253864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T05:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Function module for getting the input from user  using a pop up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561520#M253865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using POPUP_TO_FETCH_ONE_VALUE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 05:48:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561520#M253865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T05:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Function module for getting the input from user  using a pop up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561521#M253866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the following code, it may help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ival type table of sval with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_check type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load-of-program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ival-tabname   = 'MARA'.&lt;/P&gt;&lt;P&gt;  ival-fieldname   = 'MAGRV'.&lt;/P&gt;&lt;P&gt;  ival-field_obl   = 'X'.        " Required Field&lt;/P&gt;&lt;P&gt;  append ival.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'POPUP_GET_VALUES'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            popup_title = 'Number of Records:'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            fields      = ival.&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;  read table ival index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write:/ ival-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 05:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561521#M253866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T05:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Function module for getting the input from user  using a pop up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561522#M253867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;better to create one FM  to pop-up.&lt;/P&gt;&lt;P&gt;check this :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;function y_pop_up_get_distributor_time.
*"----------------------------------------------------------------------
*"*"Local interface:
*"  IMPORTING
*"     REFERENCE(W_ROUTE) LIKE  VBAP-ROUTE
*"     REFERENCE(W_VBELN) LIKE  VBAK-VBELN
*"     REFERENCE(W_VGBEL) LIKE  VBAK-VGBEL
*"     REFERENCE(W_VSTEL) LIKE  VBRP-VSTEL
*"     REFERENCE(W_AUART) LIKE  VBAK-AUART
*"  EXPORTING
*"     REFERENCE(W_FROM_DATE) TYPE  SY-DATUM
*"     REFERENCE(W_FROM_TIME) TYPE  SY-UZEIT
*"     REFERENCE(W_TO_DATE) TYPE  SY-DATUM
*"     REFERENCE(W_TO_TIME) TYPE  SY-UZEIT
*"     REFERENCE(W_TKNUM) TYPE  VTTK-TKNUM
*"     REFERENCE(W_RC) TYPE  SY-SUBRC
*"     REFERENCE(W_DEPT_DATE) TYPE  SY-DATUM
*"     REFERENCE(W_DEPT_TIME) TYPE  SY-UZEIT
*"     REFERENCE(W_REPO_DATE) TYPE  SY-DATUM
*"     REFERENCE(W_REPO_TIME) TYPE  SY-UZEIT
*"     REFERENCE(W_PLNT_DATE) TYPE  SY-DATUM
*"     REFERENCE(W_PLNT_TIME) TYPE  SY-UZEIT
*"     REFERENCE(W_TRUCK_NO) TYPE  YW2_TIMEENTRY-TRUCKNO
*"     REFERENCE(W_LIFNRN) TYPE  YW2_TIMEENTRY-LIFNR
*"----------------------------------------------------------------------
*  SET PF-STATUS 'STATUS_100' OF PROGRAM SAPLZ2SLS.
*CLEAR:W_DATE_FROM, W_DS_TIME_1, W_ADATE,
*      W_ATIME,W_BDATE,W_BTIME, W_CDATE, W_CTIME.

clear : w_route1, w_vbeln1,w_vgbel1,
        w_vstel1,w_auart1.

  w_route1 = w_route.
  w_vbeln1 = w_vbeln.
  w_vgbel1 = w_vgbel.
  w_vstel1 = w_vstel.
  w_auart1 = w_auart.
  clear: w_date_to, w_date_from, w_adate,w_atime,
         w_ds_time_1, w_ds_time_2,
         w_bdate, w_btime, w_cdate, w_ctime.
  call screen 100 starting at 10 2 ending at 115 13.

  if w_ok_code = 'SAVE'.
    w_rc = 0.
    w_from_date  = w_date_from.
    w_from_time  = w_ds_time_1.
    w_to_date    = w_date_to.
    w_to_time    = w_ds_time_2.
    w_tknum      = w_tknum.
    w_dept_date  = w_adate.
    w_dept_time  = w_atime.
    w_repo_date  = w_bdate.
    w_repo_time  = w_btime.
    w_plnt_date  = w_cdate.
    w_plnt_time  = w_ctime.
    w_truck_no   = sg_truckno.
    w_lifnrn     = w_lifnr.
  else.
    w_rc = 1.
  endif.

*  IF w_ok_code = 'CANC'.
*    W_rc = 1.
*  ELSE.
*    W_rc = 0.
*    W_FROM_DATE  = w_date_from.
*    W_FROM_TIME  = w_ds_time_1.
*    W_TO_DATE    = w_date_to.
*    W_TO_TIME    = w_ds_time_2.
*    W_TKNUM      = W_TKNUM.
*    W_DEPT_DATE  = W_ADATE.
*    W_DEPT_TIME  = W_ATIME.
*    W_REPO_DATE  = W_BDATE.
*    W_REPO_TIME  = W_BTIME.
*    W_PLNT_DATE  = W_CDATE.
*    W_PLNT_TIME  = W_CTIME.
*  ENDIF.
*
  clear w_ok_code.

endfunction.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 05:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561522#M253867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T05:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Function module for getting the input from user  using a pop up</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561523#M253868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked!!! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Pritish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points rewarded &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2006 06:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-function-module-for-getting-the-input-from-user-using-a-pop-up/m-p/1561523#M253868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-08T06:05:45Z</dc:date>
    </item>
  </channel>
</rss>

