<?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: Shortdump whenever button is clicked in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372157#M1040363</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;I suggest you debug the transaction SM30 (Table/View) Maintenance and see how it is done in your particular version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either that of code a call transaction to SM30 and skip the first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;David Cooper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2008 06:14:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-15T06:14:00Z</dc:date>
    <item>
      <title>Shortdump whenever button is clicked</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372155#M1040361</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;I am writing a abap program interface to allow users to click on button to access to z-table maintenace view table.&lt;/P&gt;&lt;P&gt;However I got a shortdump whenever button is clicked. Anyone knows what is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my Error Analysis during Runtime:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You attempted to start the ABAP/4 program "SAPLZVSPP_TEST" with SUBMIT, but&lt;/P&gt;&lt;P&gt; the                                                                        &lt;/P&gt;&lt;P&gt;attributes specify this program as type "F" instead of "1". You can         &lt;/P&gt;&lt;P&gt;only start programs of type 1 with SUBMIT.                                  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in my REPORT is: -&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  SAPMZPPP_TEST_RPT.

INCLUDE ZPPP_TEST_RPT_TOP.
INCLUDE ZPPP_TEST_RPT_SEL.
INCLUDE ZPPP_TEST_RPT_F01.

INITIALIZATION.

AT SELECTION-SCREEN OUTPUT.
  PERFORM prepare_monitor.

AT SELECTION-SCREEN.
  PERFORM process_input
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code in ZPPP_TEST_RPT_F01 : -&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM process_input.
  DATA: gc_progname_pick TYPE sy-repid,
        lv_report        TYPE rsvar-report.
  gf_okcode = sscrfields-ucomm.

  CASE gf_okcode.
    gc_progname_pick = 'SAPLZVSPP_TEST'.
    lv_report   = gc_progname_pick.

    WHEN 'TEST'.
      gf_mode = 'TEST'.
      SUBMIT (lv_report) VIA SELECTION-SCREEN
        WITH p_mode = gf_mode
         AND RETURN.
  ENDCASE.
ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 05:37:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372155#M1040361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T05:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump whenever button is clicked</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372156#M1040362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using SUBMIT you can only start "executable programs" (= '1'). In your case you tried to call a function module (type = 'F') via SUBMIT which does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 06:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372156#M1040362</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-08-15T06:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump whenever button is clicked</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372157#M1040363</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;I suggest you debug the transaction SM30 (Table/View) Maintenance and see how it is done in your particular version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either that of code a call transaction to SM30 and skip the first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;David Cooper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 06:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372157#M1040363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T06:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump whenever button is clicked</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372158#M1040364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your information. Is there anyway to solve my problem to display the maintenance view table using this button click?&lt;/P&gt;&lt;P&gt;The reason why I implement this button click interface is because to ease the users without memorize all the transaction codes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 06:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372158#M1040364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T06:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump whenever button is clicked</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372159#M1040365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI  myahsam wong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would refer in this case to create a transaction code for the view and call that transaction code from your report while clicking on button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE93-&amp;gt; create a transaction code-&amp;gt; click on Create button.&lt;/P&gt;&lt;P&gt;Enter the description and select the radio button last one with parameter. Select default transaction code as SM30 and select skip initial screen. Scroll down and enter in the table control VIEWNAME as your maintenance view and UPDATE is equal to X.&lt;/P&gt;&lt;P&gt;Once it is done activate it and call from your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Nagaraj Kalbavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 07:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372159#M1040365</guid>
      <dc:creator>former_member70391</dc:creator>
      <dc:date>2008-08-15T07:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump whenever button is clicked</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372160#M1040366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have actually setup a customized transaction code for the maintenance view table.&lt;/P&gt;&lt;P&gt;In my example showing above, I should put the transaction code or the program name?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CASE gf_okcode.
    gc_progname_pick = 'SAPLZVSPP_TEST'. " put transaction code or program name? 
    lv_report   = gc_progname_pick.

    WHEN 'TEST'.
      gf_mode = 'TEST'.
      SUBMIT (lv_report) VIA SELECTION-SCREEN
        WITH p_mode = gf_mode
         AND RETURN.
  ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 07:32:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372160#M1040366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T07:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump whenever button is clicked</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372161#M1040367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi WOng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USe Transaction code instead of program name. Instead of submit use call transaction. hOPE IT RESOLVES YOUR PROBLEM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 13:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372161#M1040367</guid>
      <dc:creator>former_member70391</dc:creator>
      <dc:date>2008-08-15T13:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Shortdump whenever button is clicked</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372162#M1040368</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;At last, I found that I should use this method to call via a button: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ZSM30_TEST' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all for the inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 00:25:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shortdump-whenever-button-is-clicked/m-p/4372162#M1040368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T00:25:45Z</dc:date>
    </item>
  </channel>
</rss>

