Shortdump whenever button is clicked

Hi all,
I am writing a abap program interface to allow users to click on button to access to z-table maintenace view table.
However I got a shortdump whenever button is clicked. Anyone knows what is wrong?
Here is my Error Analysis during Runtime:
You attempted to start the ABAP/4 program "SAPLZVSPP_TEST" with SUBMIT, but
the                                                                       
attributes specify this program as type "F" instead of "1". You can        
only start programs of type 1 with SUBMIT.                                 
The code in my REPORT is: -
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
Code in ZPPP_TEST_RPT_F01 : -
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.
Thanks in advance.

HI  myahsam wong,
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.
Go to SE93-> create a transaction code-> click on Create button.
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.
Once it is done activate it and call from your report.
Thanks & Regards,
Nagaraj Kalbavi

Similar Messages

  • How to get a node  in a Jtree on which right mouse button is clicked

    I am dealing with a situation in which whenever tree component is clicked by right mouse button I am needed to get the tree node on which right mouse button was clicked.

    MouseEvent e = ...
    TreePath path = tree.getPathForLocation(e.getX(), e.getY());
    Object nodeClickedOn = path.getLastPathComponent();Or something along those lines.

  • Whenever I right click on any link the link gets opened in new tab

    Whenever I right click on any link, along with context menu pop up (Correct property) the said link also gets opened in new tab (next to running tab in background : wrong property) Initially I thought it is due to one of the add-on installed on searching I find I installed add-on Right Link so I removed it still instead of just opening context menu the link also was getting opened as described so I reinstalled the add-on Right Link and tried to disable it via option provided by them (A status bar button, F2, a tool menu option) and confirmed in about:config that value of extensions.rightlinks.enabled;false, still could not stop opening link when I right click on it
    Now I wonder whether the said add-on is culprit or any other add-on is responsible for this behavior ?

    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    You can first strict the enabling to tab related extensions and extensions added by security software.
    If you have many extensions then first enable half of the extensions to test which half has the problem.
    Continue to divide the bad half that still has the issue until you find which one is causing it.

  • Access Bidder Tab Details when PUBLISH button is clicked

    Hi All,
    I've few requirements to enhance the functionality of PUBLISH button in Rfx Creation.
    One fo them is to trigger notification mails to all bidders when RFx is re-PUBLISHed by clicking PUBLISH button.
    I need to fetch all the bidder list from Bidder Tab whenever PUBLISH is clicked.
    Need to know where / which method has all these details so that I can enhance it.
    I know that PUBLISH is in the toolbar for FPM_OIF_COMPONENT.
    View - CNR_VIEW
    RFx Bidder tab details will get from the component /SAPSRM/WDC_UI_DO_BIDDER.
    I want to access the bidders when PUBLISH button is clicked.
    I want to which method is executed when PUBLISH button is clicked.
    Tried with CL_ABAP_DEBUGGER and CL_WDR_ACTION but not getting the ecaxt component which is calling.
    Is there any other way to debug?
    Thanks in Advance
    Rgrds,
    Sravan

    A bit late, but method /SAPSRM/IF_FPM_OVRIDE_EVT_OIF~OVERRIDE_EVENT_OIF from /SAPSRM/CL_FPM_OVRIDE_OIF is extremely useful trying to debug where the info comes from.
    Basically, there are several mappers classes that access to pdo layer somehow. It is always the same process more or less, but you have to know which classes are involved.
    You can usually get a class that is accesible from your wd component. If no BAdIs or no other way of doing some z modification, it is always posible to directly enhance such class...
    Hope this helps
    Regards

  • Prevent an 'iframe' in a JSF page to refresh when a  button is clicked

    I have a JSF Page. On this page I have a
    1)Iframe that ponts to another JSF page that contains a JSF tree
    2)A button named 'ADD'
    3)A listbox
    When I select a node in the tree it gets stored in the session and when I click the ADD button the selected value is populated into the listbox.
    Building the tree is a very costly(time consuming) operation. So whenever I click the ADD button it's action event in the backing bean runs and populates the listbox with the selected value.
    The problem whenever the I click the ADD button a postback happens and so the whole page is reloaded including the iframe and the tree with in the firame. How can I prevent the tree in the iframe refreshing each time I click the ADD button.
    Any workarounds/ help greatly appreciated.
    Thanks.
    -Rolla
    Message was edited by:
    RollaTomasi

    I do't think Virtual forms solve this problem as clicking anything(firing action events) on the main page would force the page and all the componets to refresh and the as the ui:iframe points to another JSF page on which the tree is; that page is also being refreshed .
    I also have added logic in the init method of the second page inwhich the tree is tocheck for postbacks. But I observed that :
    A postback on the main page is not a post back to the second page
    Thanks for your reply.

  • How to Capture the event when minimized button is clicked of a JFrame?

    Hi All,
    In my SWING application, I want to do something when the minimized button is clicked. But not able to understand how to do that.
    My basic requirement is like that, if I minimize the JFrame, it should be minimized to system tray with an icon. Again when the icon is clicked, the frame should be maximized in the Windows.
    Also, how to make my JFrame visible/invisible. If I close it, then the process will got killed... that I don't want to happen. Should I us setVisible(true/false) for the frame... Please suggest...
    Thanks,
    Ujjal

    There could be some mistake in my basic understanding... Anyway this is what I wrote...
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    public class WindowIconify extends JApplet
         JFrame jf;
         JPanel jp;
         public void run()
              jf = new JFrame("test");
              jf.setSize(200,200);
              jp = new JPanel();
              jp.setBackground(Color.BLACK);
              jf.add(jp);
              jf.setVisible(true);
         public boolean handleEvent(Event event)
              if ( event.id == Event.WINDOW_ICONIFY)
                   System.out.print("iconifying");
              return true;
         public static void main(String args[])
              WindowIconify wi = new WindowIconify();
              wi.run();
    }

  • Creating a plot on a java Frame when a button is clicked

    hi
    I want to create a plot in a java application in a frame when a button is clicked.I mean to say a
    a plot between two single dimensional arrays one as x-axis and the other as y-axis. Can u please suggest me with an example
    Thank u

    JFreeChart

  • Tried purchasing iTunes music. Put in my apple id and password then i was directed to a 'Terms and Conditions' page. I checked the box then clicked the 'accept' button next page read 'your Session has timed out '  try again  with a Done button to click on

    Tried purchasing music from the iTunes Store. When the window popped up I put in my apple id and password. Then I was directed to a 'Terms and Conditions' page. I checked the box next to the 'Yes I agree to these terms and conditions' - then clicked the 'accept' button next page read 'Your Session has timed out. Try again.'  with a 'Done' button to click on. Oh the same thing happens when i try to download  free iTunes. Yes I have tried & tried it again I even logged off and singed back in-- no joy 
    After accessing my iTunes account I was not able to change anything like my credit card number when I tried and was sent right to the 'Your session has timed out. Try again.'
    The last time I purchased any anything was on September 25th 2011 and the 'terms & conditions' page was last updated on October 12, 2011
    Does anyone have an idea to what is going on with my iTunes version 9.2.1 (5) and I can not upgrade to a higher version my iMac does not have the intel processor chip.Thank you for your time and help with this matter. You are greatly appreciated 

    I am having the same problem also! I posted on here about it, but no one has responded with ideas. I called technical support and e-mailed them, the only suggestions they gave was for the to turn off my firewall. But I didn't change anything, so it shouldn't suddenly stop working. Maybe this is just an iTunes issue? But it doesn't even recognize my account anymore, and I cannot log in now.
    If you happen to get an answer, will you please let me know what works for you?
    Thanks!

  • SRM RFx Response - How to check if a button is clicked or not

    Hi All,
    This is rani.  Im very new to SAP.
    Im into my first project, in which im having an Immediate enhacement.
    In SRM Portal, I need to logged in as bidder to create a bid response.
    "Participate" button is there, i need to clicked that button, this is mandatory.
    So how and where to check whether the button is clicked or not.
    else i need to raise the error message in BBP_DOC_CHECK_BADI and some fileds needs to be grayed out.
    The webdynpro component is FPM_OIF_COMPONENT.
    Can u please help me out in this regard.
    Thanks in Advance,
    Rani.

    Hi  Rani ,
    In SRM 7.0 the system variables ( sy-ucomm & sy-Tcode ) will not work .
    if you want the action code  triggered in the  Webdynpro screen inside the BADI: BBP_DOC_CHECK_BADI
    kindly study the SAP Note 1334202 - How to get current action ID and transaction group
    Below piece of code will give you the action Id in side the badi
    DATA: lo_trans_context TYPE REF TO /sapsrm/if_transaction_context,
            lv_action        TYPE /sapsrm/pdo_action_type,
            lv_tcode         TYPE /sapsrm/transaction_group.
      lo_trans_context = /sapsrm/cl_transaction_context=>/sapsrm/if_transaction_context~get_instance( ) .
      lv_action = lo_trans_context->get_current_action( ). "  replacement for sy-ucomm
      lv_tcode  = lo_trans_context->get_transaction_group( )." replace ment for sy-tcode
    kindly go through the SAP note provided .
    Regards
    Chinnaiya P
    Edited by: chinnaiya pandiyan on Jun 27, 2011 7:34 PM

  • How to check if a button is clicked or not

    Hi All,
    This is rani.  Im very new to SAP.
    Im into my first project, in which im having an immediate enhancement.
    In SRM Portal, I need to logged in as bidder to create a bid response.
    Participate button is there, i need to clicked that button, this is mandatory.
    So how and where to check whether the button is clicked or not.
    else i need to raise the error message in BBP_DOC_CHECK_BADI and some fileds needs to be grayed out.
    The webdynpro component is FPM_OIF_COMPONENT.
    Can u please help me out in this regard.
    Thanks in Advance,
    Rani.

    HI,rani;
       you can use the FM  :BBP_PD_BID_GETDETAIL ,you will get the detail of the Rfx ,and check the status of the Rfx !
       Alex

  • How to Create a Dynamic http address that opens the Explorer Window for a List Item When a Button Is Clicked--Currently Trying to Make this Work with Javascript

    I have created a button (via Content Editor) that uses JavaScript to open the Attachments folder of a list item in the Explorer Window in SharePoint 2010. The purpose is to have drag and drop functionality for each list item, having multiple attachments.
    The button works but opens the "Attachments" folder containing all of the other folders for each list item (one folder per item). It seems that when you add an attachment to a list item, SharePoint numbers the folder based on the item's ID. What
    I'm trying to do is take the JavaScript I have and have it run when a button is clicked in a custom form. When it runs, I'm trying to get it to open the "specific" folder for the list item. I have had success creating a hyperlink in the list that
    does this; however, the link WILL NOT work until I use the Content Editor created button that runs JavaScript, that prompts me to click OK to my profile certificate, and then opens the Attachment folder. After that occurs, I can use my hyperlinks without issue
    because I'm no longer prompted to click OK for my cert.
    So I'm trying to take the JavaScript I have and place it in a list item form (custom form) and have it run when a form button is clicked. The problem is I have very little knowledge of JavaScript (did I mention little?) and
    "don't know how to take the "http:" address I have in the script and append to it the list item ID, according to the record I have open."
    So that for any record I open, the script will grab the corresponding record ID (or list item ID) and append it.
    Here's the script I'm working with (which I didn't create but am grateful for):
    <style>
    .httpFolder {behavior:url(#default#httpFolder);}
    </style>
    <script text = "javascript">
       function fnOpenFolderView(){
       oDAV.navigateFrame("https://server/collection/site/subsite/Lists/Sublist/Attachments","_self");
    </script>
    <div id = "oDAV" class = "httpFolder"/>
    <input type = "button" value = "Open Attachment Folder" onclick = "fnOpenFolderView()"/>
    The above script, in the Content Editor, creates a button that opens the Attachments folder for the corresponding SharePoint list.
    JackSki123

    Hello Thriggle,
    Thank you for pointing that out. I appended your "GetUrlKeyValue" to the end and it worked. That said, I noticed it doesn't run as smoothly as when I simply click on the Content Editor button I created that resides on the SharePoint List
    ASPX page (not the form). The Content Editor button has the same code, minus the "GetUrlKeyValue". I click it; I get prompted to choose my cert; it opens right up.
    Now go to the ASPX Display form where I dump the code in a table cell. Button appears in cell; I click it; wait; wait; I get prompted for cert; it opens. Do I need some sort of "throttle" for the JavaScript? For instance, I thought before running
    JavaScript, you reference the library first. This code doesn't do that. I'm wondering if there's something more I need to make this run smoothly. Thank you both for getting me this far. 
    JackSki123

  • How can I set a value in a field before create when a New button is clicked

    Hi,
    I am using
    JDeveloper 10.1.3.1.0.3984 and
    JHeadstart 10.1.3.1 release 10.1.3.1.26
    I have one group and there is a detail group under that group.
    From main group to detail group there are 3 field relating those groups.
    field1
    field2
    fieldSEQ (auto-generated by database trigger)
    These 3 fields are PK.
    In the detail group, there is a New button. So, when the New button is clicked, it tries to create the record with those 3 fields value as those are coming from main group. As a result it's giving the duplicate error as that record already exists in the table.
    But I don't want to create the record with that SEQ as that will be created in the trigger.
    How can I set the SEQ temporarily any no. (-1) before create when the New button is clicked?
    Can anybody help?
    Thanks
    Syed Jabbar
    University of Windsor
    Windsor, ON, Canada

    Hello Syad,
    What I would suggest is setting the sequence number at the creation of the entity object (so in the create() method) by using the database sequence. This way it will always be unique.
    So something like:
    protected void create(AttributeList AttributeList) {
    super.create(AttributeList);
    SequenceImpl sequence =
    new SequenceImpl("KCP_SEQ", getDBTransaction());
    setFieldSeq( sequence.getSequenceNumber());
    If this still does not solve it: please go to the ADF Forum since this problem is an ADF problem, not a JHeadstart problem.
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team.

  • Button on Click, loads a pdf in new window

    Hello, I am trying find the correct as3 code to make a button on Click, open a pdf in a new window. I have tried different ways, but when I add the code not only does it give me errors, but it makes my swf flip through all the pages instead of stopping on load. It is fine before I enter the code for this button.
    Just to let you know, this button is within a movie clip on the main stage. I really wanted it in a MC within another MC, but can't figure out where to put the code.
    Should it go on the main timeline, where all the rest of the code is, or should it go within the MC?
    Please help! Very frustrated with AS3.
    Thanks!

    This is all my code. At this point my MC moves through all my content pages. Before I entered the last code (last 3 lines) it worked fine. I'm sure I am missing something simple. With the last piece of code it also gave me the error "1120:access of undefined property TNT_pricelist09. I would imagine because I have to add the folder name to the file name?
    Thanks for your help!
    home_btn.addEventListener(MouseEvent.CLICK, homePage);
    pricing_btn.addEventListener(MouseEvent.CLICK, pricingPage);
    about_btn.addEventListener(MouseEvent.CLICK, aboutPage);
    contact_btn.addEventListener(MouseEvent.CLICK, contactPage);
    function homePage(e:MouseEvent):void
    content_mc.gotoAndPlay("home");
    function pricingPage(e:MouseEvent):void
    content_mc.gotoAndPlay("pricing");
    function aboutPage(e:MouseEvent):void
    content_mc.gotoAndPlay("about");
    function galleryPage(e:MouseEvent):void
    content_mc.gotoAndPlay("gallery");
    function contactPage(e:MouseEvent):void
    content_mc.gotoAndPlay("contact");
    content_mc.pricePDF_btn.addEventListener(MouseEvent.CLICK, openPDF);
    function openPDF(e:MouseEvent):void
    navigateToURL(URLRequest(TNT_pricelist09.pdf));

  • Need to show popup when the Submit button is clicked for the second time ..

    Hi guys,
    I have a requirement where i need to show a popup or alert when the submit button is clicked twice . When it is clicked for the first time one method is been called and its process starts. When the user clicks the submit button for the second time they should be shown a popup stating "Submit button already been clicked, please clicked OK to continue".
    Can anyone help with this please , its really urgent requirement ?
    Thanks in advance

    Hi,
    I dont have any sample code to give you now. For quick reference, I can advice some psuedo steps to achieve your requirement. I dont have access to JDEV to test this. If any syntax errors then pls correct yourself.
    1. Extend Controller since it is standard page ( Refer Anil Passi site for steps to extend seeded ontroller)
    2. Write below logic in your Process Request method
    super.processRequest(oaPageContext, oaWebBean);
    pageContext.putSessionValue("status", "notInitiated");
    3. Include below logic in your PFR method
    if(pageContext.getSessionValue("status")!=null){
    if("notInitiated".equals(pageContext.getSessionValue("status")))
    super.processFormRequest(oapagecontext, oawebbean);
    pageContext.putSessionValue("status", "initiated");
    else
    String message = "Display error message as required";
    throw new OAException(message, OAException.ERROR);
    You may need to import required packages ( Related to OAException).
    Remeber, to sumbit the request, user need to refresh the page again so that "status" variable will be refreshed.
    Hope it helps.
    Thanks
    venkat

  • How do I open a web page in Adobe Reader from ipad2?  I don't see any buttons to click. I'm new user

    How do I open  a web page in Adobe Reader? I got the app for ipad2, but when a page says I need a certain version of AR, I don't know what to do. I'm a new user and don't know if I have to "open" AR and it automatically reads whatever doc I have up on the web, or is it always running and any web page I'm on should show a button to click in order to open the page in AR?

    If a website says that you need a certain version of Adobe Reader, it is probably attempting to detect whether or not you have the Adobe Reader browser plugin installed. This is something that only works on desktop systems where browser plugins exist. Since browser plugins don't exist on mobile, website developers should take care to present different messages and provide different options for downloading PDF's when visited by mobile browsers. I recommend contacting the website owner and requesting that they implement access for mobile devices.

Maybe you are looking for