<?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: submit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339443#M171956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use SUBMIT &amp;lt;progname&amp;gt; with &amp;lt;varname1&amp;gt; = &amp;lt;name1&amp;gt;&lt;/P&gt;&lt;P&gt;            EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;           AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case &amp;lt;varname1&amp;gt; is date field and &amp;lt;varname2&amp;gt; is time field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check this link....&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="87468"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your query is solved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2006 14:11:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-23T14:11:06Z</dc:date>
    <item>
      <title>submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339436#M171949</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;In a report when user clicks a push button then it prompts user to enter values in a dialog box say date and time .&lt;/P&gt;&lt;P&gt;Then i have to capture the values user entered and i have to submit these values to another executable program.&lt;/P&gt;&lt;P&gt;Is it possible if possible please tell me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339436#M171949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T14:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339437#M171950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi SAi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SUBMIT rep. &lt;/P&gt;&lt;P&gt;2. SUBMIT (name). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;1. ... LINE-SIZE col &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... LINE-COUNT line &lt;/P&gt;&lt;P&gt;3. ... TO SAP-SPOOL List output to the SAP spool database &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. ... USING SELECTION-SCREEN scr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. ... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. ... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. ... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;9. ...Various additions for passing parameters to rep &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. ... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Calls report rep. &lt;/P&gt;&lt;P&gt;The system leaves the active program and starts the new report rep. In basic form 2, you can specify the name of the report in the field name. You must specify the name in uppercase, otherwise a runtime error occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;You can only start programs with type '1' using SUBMIT. If the program has a different type, the system triggers a runtime error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please consult Data Area and Modularization Unit Organization documentation as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... LINE-SIZE col &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The list generated by the report has the line width col. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... LINE-COUNT line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The list generated by the report has line lines per page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4 &lt;/P&gt;&lt;P&gt;... USING SELECTION-SCREEN scr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;When you execute the report, the system uses the selection screen number that you specify in the scr field. This must be a selection screen defined using the SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statements.If you omit the addition, the system uses the standard selection screen 1000. &lt;/P&gt;&lt;P&gt;This addition allows you to start the same report in different situations, using a different selection screen each time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;The addition VIA SELECTION SCREEN determines whether the report is processed in the foreground or the background. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens if the required screen does not exist or is not a selection screen? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen 1000: &lt;/P&gt;&lt;P&gt;If you want to use the standard selection screen (... USING SELECTION-SCREEN 1000 or do not specify a ... USING SELECTION-SCREEN) addition, the system does not process a selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other selection screens: &lt;/P&gt;&lt;P&gt;The system triggers a runtime error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 5 &lt;/P&gt;&lt;P&gt;... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 6 &lt;/P&gt;&lt;P&gt;... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal session. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 7 &lt;/P&gt;&lt;P&gt;... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Does not display the output list of the called report, but saves it in ABAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. In addition, you must not assign a function code to the ENTER key in the current GUI status. The saved list is read from the SAP memory using the function module 'LIST_FROM_MEMORY' and can then be saved to the database using EXPORT, for example. You can process this list further with the function modules 'WRITE_LIST', 'DISPLAY_LIST' ... of the function group "SLST". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 8 &lt;/P&gt;&lt;P&gt;... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Schedules the specified report in the job specified by the job name job and the job number n. The job runs under the user name user and you can omit the addition USER user. The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT). This addition can only be used with the addition ...AND RETURN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;Job scheduled successfully &lt;/P&gt;&lt;P&gt;SY-SUBRC = 4: &lt;/P&gt;&lt;P&gt;Job scheduling terminated by user &lt;/P&gt;&lt;P&gt;SY-SUBRC = 8: &lt;/P&gt;&lt;P&gt;Error in job scheduling (JOB_SUBMIT) &lt;/P&gt;&lt;P&gt;SY-SUBRC = 12: &lt;/P&gt;&lt;P&gt;Error in internal number assignment &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 10 &lt;/P&gt;&lt;P&gt;... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Uses variants of the program prog when executing the program rep. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Important &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programs prog and rep must have the same SELECT-OPTIONS and PARAMETERs. Otherwise, variants of the program prog may be destroyed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari. On the other hand, all variant-related actions on the selection screen of rep (Get, Save as variant, Display, Delete) refer to the variants of prog. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;SUBMIT REPORT01 &lt;/P&gt;&lt;P&gt;       VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;       USING SELECTION-SET 'VARIANT1' &lt;/P&gt;&lt;P&gt;       USING SELECTION-SETS OF PROGRAM 'REPORT00' &lt;/P&gt;&lt;P&gt;       AND RETURN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339437#M171950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T14:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339438#M171951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sai,&lt;/P&gt;&lt;P&gt;   It is Possible with &amp;lt;b&amp;gt;Dialog Programming&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339438#M171951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T14:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339439#M171952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can define parameters with NO-DISPLAY and call the SUBMIT REPORT USING SELECTION-SCREEN scr &lt;/P&gt;&lt;P&gt;and pass the selection paramters date and time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339439#M171952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339440#M171953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call a screen with two fields i.e. date and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'BUT1'.&lt;/P&gt;&lt;P&gt;call screen '0100' STARTING AT x1 y1  ENDING AT x2 y2 .&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that screen you can write your code to trsanfer the values entered on the screen into variables and return to the calling program once you do that.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339440#M171953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T14:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339441#M171954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer to the thread below which talks about a similar event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="130864"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rahul Kavuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:09:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339441#M171954</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-05-23T14:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339442#M171955</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;when you click the button code for popup using the popup fm's or using the screen. capture the values what ever the user enters .and accordingly you can use submit to the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339442#M171955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T14:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339443#M171956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use SUBMIT &amp;lt;progname&amp;gt; with &amp;lt;varname1&amp;gt; = &amp;lt;name1&amp;gt;&lt;/P&gt;&lt;P&gt;            EXPORTING LIST TO MEMORY&lt;/P&gt;&lt;P&gt;           AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case &amp;lt;varname1&amp;gt; is date field and &amp;lt;varname2&amp;gt; is time field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check this link....&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="87468"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your query is solved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339443#M171956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T14:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339444#M171957</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;Iam using call selection-screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN '0500' STARTING AT 13 7.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 500 TITLE title&lt;/P&gt;&lt;P&gt;                                     AS WINDOW.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: date FOR sy-datum DEFAULT sy-datum OBLIGATORY,&lt;/P&gt;&lt;P&gt;                time FOR sy-uzeit DEFAULT sy-uzeit OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me a piece of code how to capture the values user entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339444#M171957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T14:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339445#M171958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample program which uses a function module to throw the popup for values and brings them back.  You can then use them values in your SUBMIT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .

data: ivals type table of sval with header line.

data: x_datum type sy-datum,
      x_uzeit type sy-uzeit.

start-of-selection.

* Add the fields that you want to be in the popup box
  ivals-tabname = 'SYST'.
  ivals-fieldname = 'DATUM'.
  append ivals.

  ivals-tabname = 'SYST'.
  ivals-fieldname = 'UZEIT'.
  append ivals.

* Throw the popup
  call function 'POPUP_GET_VALUES'
    exporting
*   NO_VALUE_CHECK        = ' '
      popup_title           = 'Enter Date &amp;amp; Time'
*   START_COLUMN          = '5'
*   START_ROW             = '5'
* IMPORTING
*   RETURNCODE            =
    tables
      fields                = ivals
   exceptions
     error_in_fields       = 1
     others                = 2
            .

* Get the values from the POPUP and put them into
* local variables
  read table ivals with key fieldname = 'DATUM'.
  if sy-subrc  = 0.
    x_datum = ivals-value.
  endif.

  read table ivals with key fieldname = 'UZEIT'.
  if sy-subrc  = 0.
    x_uzeit = ivals-value.
  endif.


&amp;lt;b&amp;gt;* Here P_DATUM and P_UZEIT are define as PARAMETERS in 
* the ZREPORT program&amp;lt;/b&amp;gt; 
  submit zreport
          with p_datum = x_datum
          with p_uzeit = x_uzeit
               and return.

&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339445#M171958</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-23T14:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339446#M171959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to make the fields in popup obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339446#M171959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T16:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339447#M171960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, indeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

* Add the fields that you want to be in the popup box
  ivals-tabname = 'SYST'.
  ivals-fieldname = 'DATUM'.
&amp;lt;b&amp;gt;  ivals-field_obl = 'X'.&amp;lt;/b&amp;gt;
  append ivals.

  ivals-tabname = 'SYST'.
  ivals-fieldname = 'UZEIT'.
&amp;lt;b&amp;gt;  ivals-field_obl = 'X'.&amp;lt;/b&amp;gt;
  append ivals.


&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/1339447#M171960</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-23T16:35:17Z</dc:date>
    </item>
  </channel>
</rss>

