Problem with submit

when i am trying to pass selection-screen value to sapmm06e, i got this
error "IN CORRECT PROGRAM TYPE WITH SELECT".
So any one give me solution for this.
Regards,
Rajesh.

Hai ,
       ur useing on submit this way
SUBMIT zwjp_fc_interface
      WITH pa_kunnr eq  kunnr1   
         WITH pa_shipt eq  kunnr2        
      WITH pa_test  eq  p_test        
      EXPORTING LIST TO MEMORY
      AND RETURN.
i hope this is help u
regards
chowdary

Similar Messages

  • Problem with SUBMIT report [ WITH SELECTION-TABLE ] or [ IN range ]

    Hello Everybody,
    I am trying to call transaction F.80 for mass reversal of FI documents by using SUBMIT sentence and its parameters like this:
      LOOP AT i_zfi013 INTO wa_zfi013.
        PERFORM llena_params USING 'BR_BELNR' 'S' 'I' 'EQ' wa_zfi013-num_doc ''.
    range_line-sign   = 'I'.
    range_line-option = 'EQ'.
    range_line-low    = wa_zfi013-num_doc.
    APPEND range_line TO range_tab.
    endloop.
    Line: -
          SUBMIT sapf080
            WITH br_bukrs-low = p_bukrs
            WITH SELECTION-TABLE it_params  [ same  problem with -  WITH BR_BELNR IN range_tab]
            WITH br_gjahr-low = p_an1
            WITH stogrd = '05'
            WITH testlauf = ''
            AND RETURN.
    My problem is that  when the report is executed the BR_BELNR only delete one document of the all the inputs in the selection criteria from the loop. if I add the statement [ VIA SELECTION-SCREEN] in the SUBMIT if open the multiple selection criteria in the screen I can check that all the documents are set in it from the ABAP code in the loop from it I just need to push F8 to copy them and run the program processing all the documents normally .
    Can some one help me with this? is there a way to execute the transaction BY the SUBMIT with the multiple selection criteria for the Document Number working well?
    Thank for you time and help.

    This is my code:
      TYPES: BEGIN OF T_ZFI013,
              BUKRS     TYPE BUKRS,
              GJAHR     TYPE GJAHR,
              MONAT     TYPE MONAT,
              ANLN1     TYPE ANLN1,
              ANLN2     TYPE ANLN2,
              NUM_DOC     TYPE BELNR_D,
              DATE     TYPE DATUM,
              TIME  TYPE UZEIT,
              USER     TYPE SYUNAME,
             END OF T_ZFI013.
       DATA: I_ZFI013  TYPE STANDARD TABLE OF T_ZFI013,
             WA_ZFI013 TYPE T_ZFI013,
      DATA: br_belnr       TYPE BELNR_D,
            rspar_tab  TYPE TABLE OF rsparams,
            rspar_line LIKE LINE OF rspar_tab,
            range_tab  LIKE RANGE OF br_belnr,
            range_line LIKE LINE OF range_tab."range_tab.
      LOOP AT i_zfi013 INTO wa_zfi013.
        range_line-sign   = 'I'.
        range_line-option = 'EQ'.
        range_line-low    = wa_zfi013-num_doc.
        APPEND range_line TO range_tab.
      ENDLOOP.
      SUBMIT sapf080
        WITH br_bukrs-low = p_bukrs
        WITH br_belnr IN range_tab
        WITH br_gjahr-low = p_an1
        WITH stogrd = '05'
        WITH testlauf = ''.
    This is the RANGE_TAB table before submit:
    1     I     EQ     1001xxxxxx
    2     I     EQ     1002xxxxxx
    3     I     EQ     1003xxxxxx
    4     I     EQ     1004xxxxxx
    5     I     EQ     1005xxxxxx
    6     I     EQ     1006xxxxxx
    7     I     EQ     1007xxxxxx
    8     I     EQ     1008xxxxxx
    I think this wont work for some reason so I will start to do this by a BDC.
    Many thanks for your help.

  • Problem with submit button of jframe

    hi all
    i am having problems with the submit button. once the submit button is clicked the values should be updated to an array of objects. it is doing this. the problem is i want the current frame to close once i click submit button. i have a GUI at the background and once i click something this frame appears asking for details for th user to input. but i want only the current form to close, not the whole progrmy code is shown below
    thanks in advance
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class TextForm extends JPanel {
    public JTextField[] fields;
    public MainInteractiveMap mainClass;
    public TextForm(MainInteractiveMap m)
    mainClass= m;
    public TextForm(String[] labels, char[] mnemonics, int[] widths, String[] tips)
    super(new BorderLayout());
    JPanel labelPanel= new JPanel(new GridLayout(labels.length,1));
    JPanel fieldPanel= new JPanel(new GridLayout(labels.length,1));
    add(labelPanel, BorderLayout.WEST);
    add(fieldPanel, BorderLayout.CENTER);
    fields= new JTextField[labels.length];
    for(int i=0; i< labels.length;i+=1)
    fields[i] = new JTextField();
    if (i<tips.length)fields.setToolTipText(tips[i]);
    if (i<widths.length)fields[i].setColumns(widths[i]);
    JLabel lab = new JLabel(labels[i], JLabel.RIGHT);
    lab.setLabelFor(fields[i]);
    if (i<mnemonics.length)lab.setDisplayedMnemonic(mnemonics[i]);
    labelPanel.add(lab);
    JPanel p = new JPanel(new FlowLayout(FlowLayout.LEFT));
    p.add(fields[i]);
    fieldPanel.add(p);
    public String getText(int i){
    return (fields[i].getText());
    public void printForm()
    String[] labels = {"Location","No of Bedrooms","No of Bathrooms", "Garage","last selling price","current selling price"};
    char[] mnemonics ={'L','B','b','G','L','C'};
    int[] widths = {15,1,1,4,9,9};
    String[] desc = {"Location","No of Bedrooms","No of Bathrooms", "Garage","last selling price","current selling price"};
    final TextForm form = new TextForm(labels,mnemonics,widths,desc);
    JButton submit = new JButton("Submit");
    submit.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e){
    String location;
    final int sellingPrice;
    final int numOfRooms;
    final int marketPrice;
    final int numOfBathrooms;
    final int numOfGarages;
    location=form.getText(0);
    sellingPrice=Integer.parseInt(form.getText(1));
    numOfRooms=Integer.parseInt(form.getText(2));
    marketPrice=Integer.parseInt(form.getText(3));
    numOfBathrooms=Integer.parseInt(form.getText(4));
    numOfGarages=Integer.parseInt(form.getText(5));
    mainClass.Testing(location);
    System.out.println(numOfGarages);
    System.exit(0);
    JFrame f = new JFrame("Input details of House");
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(form, BorderLayout.NORTH);
    JPanel p = new JPanel();
    p.add(submit);
    f.getContentPane().add(p, BorderLayout.SOUTH);
    f.pack();
    f.setVisible(true);
    regards

    you just need to change (at end of actionPerformed())
    System.exit(0);
    to
    [whateverFrame].dispose();
    easier to show a simple demo
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Testing
      public void buildGUI()
        JButton btn1 = new JButton("Open new Frame");
        final JFrame f1 = new JFrame("#1");
        f1.getContentPane().add(btn1);
        f1.pack();
        f1.setLocationRelativeTo(null);
        f1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f1.setVisible(true);
        btn1.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent ae){
            JButton btn2 = new JButton("Close/Return");
            final JFrame f2 = new JFrame("#2");
            f2.getContentPane().add(btn2);
            f2.pack();
            f2.setLocationRelativeTo(null);
            f2.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);//do not want to close with 'X'
            f1.setVisible(false);
            f2.setVisible(true);
            btn2.addActionListener(new ActionListener(){
              public void actionPerformed(ActionEvent ae){
                f2.dispose();
                f1.setVisible(true);
      public static void main(String[] args)
        SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    }

  • Problem with submit information

    dear all,
    i got problem with the javascript function:
    function fsubmit(){
    document.all.formSubmit.action = "\servlet\SubmitServlet"
    document.all.formSubmit.submit();
    ...onClick = 'fsubmit()'
    After i execute the function i got this message " Object doesn't support this property or method"
    it stop at "document.all.formSubmit.action = "\servlet\submitServlet"

    cscylam. Have you got this problem solve yet? I am running into this same problem and have try everything mention here. But still have not be able to solve it.
    On my mainpage.jsp I be able to do:
    document.forms[0].action="logout.jsp";
    document.forms[0].submit;
    and it worked fine.
    But in my secondpage.jsp, which was redirect by mainpage.jsp. This same codes:
    document.forms[0].action="logout.jsp";
    document.forms[0].submit;
    give me error: Object doesn't not support this method or property.
    Please help.

  • Problem with Submit statement

    Hi All,
    I have a problem with the usage of the submit statement.
    I have a report program, say report 'A'.
    In the report program 'A', I have a custom screen with number '9001'.
    In the screen 9001, of program A, there is a button to display ALV.
    In the PAI event, under module Module call_report, i am calling another report program say B, using the statement Submit B and return, when the button is clicked.
    In the report program B i have a select options. and a docking alv container in it.
    Flow of the program is:
    1. Run the program A.
    2. Select the button on screen 9001.
    3. Call the report program B.
    4. Enter a value in the select option and run the program B.
    5. Go back to program A by selecting back button.
    The problem is as at step 4.:
    Now, when i press Intervals button ( Arrow mark ) present beside the select option, my program B is getting executed and the list output is being shown.
    Kindly let me know what is the problem.

    you can very well use the submit procedure as suggested above or you also can do "leave to screen '9001' " for the back button.

  • Problem with Submit statement into print program for delivery

    Hi all,
    i got a problem with the SUBMIT statement that i put into a print program associated to a delivery output message.
    If i print the message by VL02N or VL71, everything works.
    But if i associate the output with RV56ABST, the SUBMIT instruction isn't accepted and i get the message
    "Processor ABAP: POSTING_ILLEGAL_STATEMENT"
    There is any solution to this situation?
    Why i cannot use the SUBMIT statement in this case?

    Hi Simone,
    you could try to do the operation in a separate task (call a function in starting new task). This will decouple your current process from the new task.
    Cheers,
    Stefan.

  • Problem with "Submit to SAP" button in Adobe Form

    Hello All,
    I have a problem with my Adobe form. The "Submit to SAP" button for some reason does not seems to work in the newer forms. Whenever I click on the button, no action is being triggered. However, when I load older version of the same form, the button will respond.
    Has anyone come across similar situation before ? Any suggestions/feedback will be greatly appreciated. Thank you.
    fromKwok Wei

    Hi Bhavik,
      I created different version of the forms (Eg: added new logo, additional table rows etc...) by using the save a copy function in adobe designer. Seems that the original one works but the later ones will no longer respond to the button.
      The submit action is also correctly specified in the property of the UI Element. Otherwise it will not work on any forms... is my understanding correct ?
    Thnaks
    from
    Kwok Wei

  • Problem with submit button in wweb dynpro abap

    hi all,
                we have problem in submit of our interactive form in web dynpro abap.
    my scenario.
                             on event submit we have to fetch data from database table and display the same.
    On click of the SUBMIT button for the first time it fetches data but when we change the input field and submit again it dsnt trigger the event(We need to double click only then event is triggered).
    Can anyone guide us on how to fetch the data at single click.
    Thanks and Regards
    Vinoth

    The form is open. I should have mentioned that I made sure to check that first.  The form was created by uploading an existing PDF file that I created from a MS Word file to Adobe FormsCentral. Once the form was completed, I had a coworker test it & it worked.  We sent the form out & I have received some back, but have also received reports of the form not working.  I downloaded the form to my computer & tested it using Adobe Acrobat 9.0 Standard.  I use a Windows environment on a Dell laptop.  The form does not work for me.

  • Problem with submit report for transaction LT23

    Hi,
    I want to submit report for transaction LT23 based on the double click on a field in the output of my report. I am using selection table to pass values. The problem is I have  something called dynamic selections. I am using some selection fields from the dynamic selection option. Can anyone tell me how do I pass the values in such a case?

    In your [submit|http://help.sap.com/abapdocu/en/ABAPSUBMIT.htm] statement in the [selection screen parameters|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm] use the [WITH FREE SELECTIONS|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#!ABAP_ADDITION_5@5@] option to pass dynamic selections
    NB: Use FREE_SELECTIONS_RANGE_2_EX to build the correct parameter texpr.
    Regards
    Raymond

  • Problem with submit button

    I have installed Acrobat 9 professional and have created a PDF with field codes embedded.  At the top of the last page, I created a button which sends the form and answers to an email account (mailto: command is used).  The form works beautifully for me but not for anyone else.  There is no protection or other specialized settings enabled.  I can fill it in and submit the form with either Reader or Acrobat Pro.  Any suggestions or ideas to solve this little problem would be greatly appreciated.

    If they are using Reader you must either enable Reader Rights or change the submission to data only (preferred). You did not say if the form was created in Acrobat or Designer. There are significant differences and you need to indicate which you used.

  • Problem with submit button - Acrobat/Reader

    I have created a simple fillable form with Adobe Acrobat XI Pro with a submit button, form posted to the web. The form/button works fine for me in Google Chrome, IE, and Safari (Windows 8, Outlook email client) but doesn't seem to work for users with only Adobe Reader (9 was tested using an older version of Windsows and Outlook). After completing the form successfully, they are returned the error message: "This operation is not permitted" when they attempt to submit their form using the submit button. I'm not sure what program is causing the problem. How do I fix this?

    You need to Reader-enable the form using Acrobat. Before Reader 11 was introduced, Reader was not able to save a fille-in form unless the document was enabled. Since the changes need to be saved in order to attach it to an email, this is necessary for previous versions. Do enable a form in Acrobat 11, select: File > Save as Other > Reader Extended PDF > Enable More Tools

  • Problem with submit email

    i have a problem when i want to submit an email with the button i need that the pdf that i submit can not be changed by another person.
    do you know the solution?

    Is your problem resolved?
    Let me know if not and I can email the code.

  • Problem with submit for spool number generation

    Hi All,
    I have a ALV report which downloads the output to pdf . I have a footer data in the END_OF_PAGE event which should be displayed for each page. It works fine if I take a  printout using the print option in the report output screen and generate a spool number the footer is getting printed.
    But when I use a submit to sap-spool....statement to generate the spool number the footer is not displayed.
    Any suggestions??

    Hi RAkesh,
    Are you using the FM 'REUSE_ALV_COMMENTARY_WRITE' for footer text or simple using the write statements.
    try with the both options, still problem provide the complete code.
    Regards,
    Satya.

  • Problem with SUBMIT in Background

    Hi,
        I want to pass a internal table data to 2nd program from 1st program. I am using SUBMIT 2nd program and i am getting results in foreground , i am not getting in back ground .
    will you face this sort of problem ever.
    Please help me .
    Thanks in advance .
    Balaji.

    Hi Balaji,
    Please check this sample code.
    DATA: number TYPE tbtcjob-jobcount,
          name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Problem with Submit Button in Adobe Forms Central

    I have a PDF form that I uploaded to Adobe Forms Central.  I created the fillable fields & the submit button in Forms Central.  I have several documents like this.  All have worked in the past.  Today on my latest file, the submit button doesn't always work.  I am getting some submissions, but some people have reported to me that the submit button does not work.  I tested it myself to see.  I had to create a Digital ID for myself, which seemed to work fine.  But when I click on submit, the form says "Submission Failed.  This form can no longer be submitted. Please contact the author."  I'm the author & don't know what the problem is.  Anyone know what the problem could be?

    The form is open. I should have mentioned that I made sure to check that first.  The form was created by uploading an existing PDF file that I created from a MS Word file to Adobe FormsCentral. Once the form was completed, I had a coworker test it & it worked.  We sent the form out & I have received some back, but have also received reports of the form not working.  I downloaded the form to my computer & tested it using Adobe Acrobat 9.0 Standard.  I use a Windows environment on a Dell laptop.  The form does not work for me.

  • Newbee,Having problem with submit button

    Hi All,
    I am very new to servlet.I am trying to delete record from my list which i am loading and showing from same servlet.It is compiling fine but when I press delete button it is not deleting the record.I don't know what's wrong with it? After delete happes i just want to see the list.
    please somebody help me.
    Here is my code:
    public class Delete extends HttpServlet
    private static final String title = "Delete Messages";
    private int load_count = 0; // to verify reloading
    private Exception initial_exception = null;
    private Connection cx = null;
    private ResourceBundle rb = null;
    private String table = null;
    private List messages = null;
    public void init()
    try {
    rb = ResourceBundle.getBundle( "Settings" );
    table = rb.getString("table");
    Common.load_driver( rb );
    catch (Exception x) { initial_exception = x; }
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    doGet(request,response);
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    HttpSession session = request.getSession();
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    if (initial_exception != null)
    out.println(initial_exception);
    return;
    messages = (List) session.getAttribute( "messages" );
    try {
    if (cx == null || cx.isClosed())
         cx = Common.get_connection( rb );
    if (messages == null)
         if (Common.DEBUG) System.out.println( "\n=> initial load of table" );
    messages = Common.getTable( cx, table );
    session.setAttribute( "messages", messages );
    catch(Exception x) { out.println("FIRST" + x); return; }
    out.println( "<html>"
              + "<head><title>" + title + "</title></head>"
              + "<body>"
              + Common.debug_display( request, load_count++ )
              + "<h3 align=center>"
              + title
              + "</h3>"
              + "<form action='..'>"
              + "<input type=submit value='top' />"
              + "</form>"
         String selected_index = request.getParameter("index");
         System.out.println("index=" + selected_index);
    if (messages.size() == 0)
    out.println( "<h4 style='color:red'>NO MESSAGES</h4>"
              +"</body></html>" );
    return;
    out.println( "<form>"
         + "<select name=index size=5 onchange='submit()'>\n"
         + Common.selection_list( messages, selected_index )
         + "</select>"
         + "</form>"
    if (selected_index != null)
         Message m = null;
    try {
    m = (Message) messages.get(Integer.parseInt(selected_index));
    catch(Exception x) { out.println("SECOND: " + x); return; }
    out.println( "<table>\n"
    + "<tr valign=top>\n"
    + "<td align=right>Creation:</td>\n"
    + "<td>"
    + "<input type=text onfocus='blur()' size=30 value="
    + Common.sgml_quote(Message.time2str(m.getCreation()))
    + ">"
    + "</td>"
    + "</tr>"
    + "<tr valign=top>\n"
    + "<td align=right>Subject:</td>\n"
    + "<td>"
    + "<input type=text onfocus='blur()' size=50 value="
    + Common.sgml_quote(m.getSubject())
    + ">"
    + "</td>"
    + "</tr>"
    + "<tr valign=top>\n"
    + "<td align=right>Body:</td>\n"
    + "<td>"
    + "<textarea onfocus='blur()' cols=50 rows=10>"
    + m.getBody()
    + "</textarea>"
    + "</td>\n"
    + "</tr>"
    + "</table>\n"
    + "<input type=submit name='action1' value='Delete'>"
    out.println( "</body></html>" );
    if (request.getParameter("action1") != null)
    Message m = null;
    String subject = request.getParameter("subject");
    String body = request.getParameter("body");
    try {
    String date = request.getParameter("creation");
    System.out.println( "\n=> date" + m.getCreation() );
    String sql_delete = "DELETE FROM" + messages + "WHERE creation = "+ Common.mysql_quote(m.getCreation());
    Statement st = cx.createStatement();
    st.executeUpdate( sql_delete );
    messages.remove( selected_index);
    session.setAttribute( "messages", messages );
    catch(Exception x) { out.println("SECOND" + x); return; }
    out.println( "<h4 style='color:red'>Message successfully deleted</h4>" );
    subject = body = null;
    out.println( "<html>"
    + "<head><title>" + title + "</title></head>"
    + "<body>"
    + Common.debug_display( request, load_count++ )
    + "<h3 align=center>"
    + title
    + "</h3>"
    + "<form action='..'>"
    + "<input type=submit value='top' />"
    + "</form>"

    I don't understand very well your code because it has no organization. Try to put all your code between a tag that is the word code inside brackets, and close that tag at the end of your code.
    For the code that I read, you're trying to get the parameters of a form that is in the same servlet. And the forms that you print didn't have an action. So, first of all, put an action on those forms, otherwise they will do noting, at least that you supply some javascript, which isn't the case. Later, don't think that you can call or continue the methods on a servlet just because you press a button which is printed in the same servlet.
    Nevertheless, put that code into brackets and we will try to help you better.
    Regards.

Maybe you are looking for

  • Is there a How to Use guide for iMovie10

    I have just updated from iMovie 11 and I'm bewildered. How to set up the Interface.  How to select a clip from an Event - move it to a Project etc, etc. iMovie Video Tutorials do not Include iMovie 10. Where to go from here?? I would appreciate  any

  • AC Adapter for GS60

    I just got my GS60 2PE 3K, and I was curious if anyone has purchased extra AC adapters for it. If so, what's the model number and where did you buy it from? I found one matching the stock adapter's part number here (ADP-150VB), but I don't know if th

  • Publishing single pages in iWeb

    If I publish to a folder in iWeb 2, prior to uploading via ftp, it looks like I have to publish the whole site even if I've only updated one page. Is there a way to merely publish to updates page(s) only? Thanks

  • BTE  issue

    Hi, I have applied BTE  1120 in Developement client also made entries in setting -->Products  and setting --> Process modules. But I can not see BTE entry in Test client.. what I need to do to solve this problem,... pls help Thank You, Archana

  • Function module to get Fiscal year/week

    Hi, I searched SAP forum but could not find specific answer to this question. I want to find Fiscal year week (YYYYWW) for a date using Fiscal year variant. Can you suggest some function module/method to get the info? E.g., if todays date is 06/23/20