Submit command

ii have 2 fields  tanum tapos
in the first screen the mark is in tanum
after i enter data to tanum tapos i make submit and the mark is in tapos
i want him in <b>tanum</b>
like in lt11
what the solution

Hi !
The code construction "SUBMIT.... " only works if:
- The called program has to be a REPORT
- Every data the called report needs can be given via
  PARAMETER-ID to the transaction
- No other action then "pressing F8" is neccesery on the entry screen
If ther's an input to do that is NOT on the entry screen "SUBMIT...." will not work here !!
In these cases you'll have to work with "CALL TRANSACTION .... using bdcdata".
(See Code-Online-Help for that command)
Regards
Rainer
Some points would be nice if that helped....

Similar Messages

  • Reg Submit command

    I have used the submit command  in my program as follows:
    SUBMIT rbdapp01 WITH SELECTION-TABLE rspar_tab EXPORTING LIST TO
    MEMORY  AND RETURN.
    This is working fine. But I want the updated values present in the program rbdapp01 populated in my internal table.
    i.e in the program rbdapp01 the idoc status is changed from 64 to 53. I want this new status to be updated to my internal table. How can I do that? Please do help me.

    Hi you always free the memory id as
    FREE mEMORY ID <NAMEOF ID>
    and refresh the itab.

  • Doubt in SUBMIT command

    Hi,
      I am calling rvv50r10a program in my report using submit command. I created a variant in the selection screen of rvv50r10a. Now I want Deliv.creation date to have space for both low and high value. Am not able to save the high value as SPACE in the variant. How to make the high value as space.
    Please advice.
    Regards,
    Vanathi

    Have a look at the following code and put space as high and low value in the range table for delivery creation date. Instead of creating a variant try doing it as in the following code.
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    JOBNAME = JOBNAME1
    IMPORTING
    JOBCOUNT = JOBCOUNT1
    EXCEPTIONS
    CANT_CREATE_JOB = 1
    INVALID_JOB_DATA = 2
    JOBNAME_MISSING = 3
    OTHERS = 4.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
    SUBMIT RHALEINI
    WITH SELECTION-TABLE RSPAR_TAB1
    WITH PCHOTYPE EQ 'P'
    WITH PCHPLVAR EQ '01'
    WITH PCHZTR_D EQ 'X'
    WITH RCVPRN EQ S_PART
    VIA JOB JOBNAME1 NUMBER JOBCOUNT1
    AND RETURN.
    IF SY-SUBRC EQ 0.
    WRITE / TEXT-A00.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    JOBCOUNT = JOBCOUNT1
    JOBNAME = JOBNAME1
    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
    INVALID_TARGET = 8
    OTHERS = 9.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Submit command in configuration of apple tv

    After entering my password during apple tv setup, I cannot move to the submit command under the password

    Well, I got the answer to my question from apple support. Nicole told me a common problem is that the right arrow must be repeatedly pressed in order to advance to the submit command. The down arrow was the logical choice but that never worked. Nor did the right arrow unless you repeately pressed it. So all is well now.

  • SUBMIT COMMAND ERROR

    Dear All,
    I am using submit command with selection screen parameters of the called program and making a spool out of it and then converting spool output to pdf and sending it on through mail. While running the program in Development client it gives the full output but when I run it in Quality client it is not giving the output . I debugged it and found out that when submit command returns the output in development it gives the full output but in quality it is not giving the output . I have executed the called program separately with the same parameters it is running fine but not with submit command.
    Regards,
    Amber Bhatia

    Here is the code where i am using Submit Command .
    *opening a job to be send to spool
      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 the created job with selection parameters
        SUBMIT HINCEDT0 TO SAP-SPOOL
                        SPOOL PARAMETERS PRINPAR
                        WITHOUT SPOOL DYNPRO
                        WITH PNPXABKR = P0001-ABKRS
                        WITH PNPPERNR = PERNR-PERNR
                        WITH PNPBEGDA = PN-BEGDA
                        WITH PNPENDDA = PN-ENDDA
                        WITH PNPABKRS = P0001-ABKRS
                        WITH FORMULAR = 'ZJK9'
                        VIA JOB NAME NUMBER NUMBER
                        AND RETURN.
      ENDIF.
      IF SY-SUBRC = 0.
    *closing the job which was send earlier
        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.
    I am executing the program HINCEDT0 using the above parameters ..
    Regards,
    Amber Bhatia

  • How to run batch programs using SUBMIT command without any interaction need

    Hello ABAP gurus,
    I have created a batch program in SE38 which calls many other SE38 Programs (Reports).
    I have used the command SUBMIT to call the sub programs. There are about 15 sub programs that this main batch program is calling.
    It works fine, but after calling each subprogram it stops and I have to manually click on 'Back Button' in green on the sap screen to run the next program in the list. Like this I have to do 15 times to run all the programs in the batch.
    Is there a way to avoid this manual intervention and make the program run all the sub programs on its own.
    Your feedback will be highly appreciated.
    Thanks
    Ram

    Thanks Sampath for the response.
    Yes I am using the option "AND RETURN". So it is coming out of each sub program, and it is at this stage it waits for me to click on 'backward green arrow' to continue to the next.
    Here is the code I have used
      SUBMIT Z_AS_BI_F0005_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_DIVISION_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_COMPANY_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_EXTRACT WITH  S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BRANCH_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BUS_UNIT_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_ADDRESS_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_PMT_TERMS_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_REGION_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_TERRITORY_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
    Any other suggestions or feedback will be appreciated.
    Tks
    Ram

  • HT3176 How do you use the submit command?

    HOw do I use the Apple TV remote to submit after typing?

    You can use Runtime.exec to execute other processes from Java. You'll want to read this though:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Possible to Modify Submit Commands?

    I am a new user to Adobe products.  Currently I am working in Adobe Acrobat 9 Professional.  I am in the process of creating a multi page form for users to complete & email back to myself and other department members in my group.  The forms include fill in data fields and the document has been saved to extend features to Adobe Reader users.  Is it possible to include different submit fields throughout the same document?  For example, can a submit button be added for pages 1 to 2 where only that portion of the document is emailed to specific members of our department and not others.  We would also want to create a different submit button for pages 3 to 4 to go to a different email distribution listing & include only those pages and not the first two.  Presently, the forms are saved as separate documents, but we would like to merge into a single document since there is duplicate data that users have to enter.
    Also, I noticed that when users select the submit button the document is attached to an email & is removed from their screen.  If multiple submit buttons are a possibility, can the document continue to remain on the user's screen to allow them to finish & submit the remaining portions of the form?
    Thank you for any help you can offer.

    You cannot do what you want. To get that level, you are better off placing the form on a website (No worries about number of instances being used, extended rights limit you to 500 instances). With a properly written script the information from the pdf file can import the information from the fields and either sent to the appropriate people or inputted into a database which people can then query. You can restrict who sees what in the database. This is the best way to handle forms that have information that must be used by different people.

  • Submit command in BSP

    i m using submit repname.....exporting list to memory in my BSP page..then using write_list / disply_list  i want to disply the exported abaplist .
    But write_list / display_list doesnt work in layout..
    can not display screen with plugins is the error.
    please give me a solution on this...
    My aim is to call a ABAP report program from a bsp and display the results.

    Hi Seshadri,
    please have a look at the following thread:
    Re: Conversion ABAP Report to BSP Application
    The answer given by Thomas Jung is important for your problem.
    Regards,
    Rainer

  • Problem Submit command

    Hi All,
    I am calling the standard report in the fumctiom module using submitt command. After that one i am using LIST_FROM_MEMORY  after that i am using below function module
    CALL FUNCTION 'LIST_TO_ASCI'
    TABLES
    listobject = list_tab
    listasci = txtlines.
    But in the table txtlines i am getting the report output but some fields are not coming in  txtlines  table. For example  original report giving 45 fields in the output but in txtlines table i am getting 20 fileds only.
    Please tell me how to solve this issue.

    It is solved .

  • Submit command in WD How?

    Hi,
    I have this code it is possible to use it in WD.
    SUBMIT YER00268 TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                        SPOOL PARAMETERS V_LOC_MSTR_PRINT_PARMS
                        WITH SELECTION-TABLE INT_SELTAB
                        AND RETURN.
    and if not, how i can change it to run in WD, Reply
    BR,
    Ali

    Hi Ali,
    Sorry to say SUBMIT does not work from the webdynpro ABAP. So you have to take a different approach, i.e to write a Function Module that in effect contain source to do exactly what
    SUBMIT YER00268 TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    SPOOL PARAMETERS V_LOC_MSTR_PRINT_PARMS*
    * WITH SELECTION-TABLE I_INT_SELTAB*
    AND RETURN.*
    intends to do.
    Greetings
    Prashant

  • SUBMIT command;  for print dialog box-how to pass parameter here?

    Hi Gurus,
    I am calling a report from another report. Inside report_2 i am using,
    When i execute report2, i get a PRINT DIALOG BOX
    Here i need to enter the output device name. and again excute.
    I am not able to automate this in my program. Could you suggest?
    Through F1 help, i found the screen_field name(of the output device parameter) to be 'SFPOUTPAR-DEST'
    and i enter default output device 'PDEST'
    where do i give this?
    and also, after this, i need to do a 'Print Preview' action and see if file is opening up.
    Can i automate these actions?
    I am using:
    rspar_line-selname = 'SFPOUTPAR-DEST'. // the output device parameter name
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-low = 'PDEST'. // PDEST is the default value i want to pass
    APPEND rspar_line TO rspar_tab.
    Then i do, (inside report 2....)
    SUBMIT report_1
    WITH SELECTION-TABLE rspar_tab
    AND RETURN.
    Its not working... i just get the print dialog box(without values being defaulted)
    How do i proceed?
    Thanks,
    Rashmi

    Hi
    You can do the following way.
      data :  lv_pri_params     like pri_params,
              lv_user_name      type char16,
              lv_user_name0     like tbtcjob-authcknam.
      lv_user_name  = sy-uname.
      lv_user_name0 = sy-uname.
      call function 'LOAD_PRINT_PARAMETERS'
           exporting
                key            = lv_user_name
           importing
                out_parameters = lv_pri_params
           exceptions
                error_occured  = 1
                others         = 2.
      if sy-subrc <> 0 or lv_pri_params-pdest is initial.
        select single padest into lv_pri_params-pdest from tsp03.
      endif.
      submit report1
        with selection-table rspar_tab
                 destination             lv_pri_params-pdest
                 copies                  lv_pri_params-prcop
                 list name               lv_pri_params-plist
                 immediately             space
                 keep in spool           'X'
                 new list identification 'X'
                 line-count              lv_pri_params-linct
                 line-size               lv_pri_params-linsz
                 sap cover page          lv_pri_params-prsap
                 cover page              lv_pri_params-prbig
                 without spool dynpro
                 user lv_user_name
                 and return.
    Reward Points, if it is useful.
    With Regards
    Raja.
    Edited by: Ravindra Raja on Jun 24, 2008 4:15 PM

  • How to pass Function code to Submit or Call transaction command

    Hi
    I have to call a report in an other report, But the problem is when i call the report through submit command i need to skip the initial screen and display an other screen. the other screen is not next screen. It  display after clicking a button on main screen.
    Is there any way to pass Function code to submit command. submit command code is as under
    SUBMIT ZADR0056
                  WITH P_AUFNR = '7000052' AND RETURN...
    Regards
    Ammad

    Hi,
       It is not possible to pass function code with submit. alternatively you can work with CALL TRANSACTION with BDCDATA.
    Or as a work arround way you can modify your code i.e check for function code or an dummy parameter which can be passed by SUBMIT statement.
    Check below code..
    Report ztest1.
    submit ZTEST2 WITH P2 = 'X' AND RETURN.
    Report ztest2
    SELECTION-SCREEN:
        PUSHBUTTON 2(10)  but1 USER-COMMAND cli1.
    PARAMETERS P2 TYPE C NO-DISPLAY. " no need to display
    AT SELECTION-SCREEN.
    IF SY-UCOMM = 'CLI1' OR P2 IS NOT INITIAL.
    message 'Button clicked' type 'S'.
    ENDIF.
    Regards,
    Ravi.

  • SUBMIT Question, HEEELLLLPPPP!!!!!!!!!!

    Hey Guys,
    Here is my problem.  I have an ABAP program that has a selection screen and  creates a report in a ALV format.  When I double click one of the lines on the report, a new program is called using the SUBMIT command with a RETURN, this new program also has a selection screen and then produces a generic looking report.  My problem is that when I hit the back button, I am taken back to the selection screen of my called program, and then when I hit the back button again, I am taken back to the ALV report from the calling program, and then when I hit the back button again I am taken to my selection screen from the calling program.  Is there anyway that I could just hit the back button one time and go directly back to the original selection screen with the original values still contained?  Any suggestions would be appreciated.

    Hi,
    Are you using VIA SELECTION-SCREEN..If so ..try removing it..
    And
    After the SUBMIT AND RETURN..
    give...
    LEAVE TO SCREEN 0..
    Thanks,
    Naren

  • Submit Code not working in Background processing

    Hi All,
    I have a requirement to create delieveries based on the Sales Order through transaction VL04 (RV50SBT1).  Essentially, the program takes selected sales orders, determines the shipping point and creates deliveries immediately.  I believe that the code below is correct as it works when my program is run in the foreground; however, when I run my program in background, SM37 gives an error "Fill in all required entry fields."  The only mandatory field in VL04 is the Shipping Point (VSTEL) which is being successfully populated. 
      SUBMIT rv50sbt1  AND RETURN
                      WITH vstel = ls_vbap-vstel
                      WITH s_ledat BETWEEN '20091231' AND '99991231'
                      WITH samml = 'X'
                      WITH anzei = ' '.
    Similar code to this is working in other custom developments that I have done; however, those programs only submit to programs without mandatory fields.  Am I doing something wrong?  Is it not possible to use the Submit command if a field is mandatory in the program you are submitting to?  Any help you can give would be greatly appreciated.  Thanks.
    John

    Hi Guys,
    Yes, I am certain VSTEL is populated.  I created a very simple program to ensure that the values would be there and it still didn't work in background.  In this case, I pass one sales order that I know has a shipping point (in my case the VSTEL is populated with US01) via a parameter.  In debugging, I found that the value is correctly passed. 
    Here is the test program I created.
    data: ls_vbap type vbap.
    PARAMETERS: pa_vbeln TYPE vbeln.
      SELECT SINGLE * INTO ls_vbap FROM vbap
        WHERE vbeln = pa_vbeln.
      SUBMIT rv50sbt1  AND RETURN
                      WITH vstel = ls_vbap-vstel
                      WITH s_ledat BETWEEN '20091231' AND '99991231'
                      WITH samml = 'X'
                      WITH anzei = ' '.
    John

Maybe you are looking for

  • Send a remuneration statement (paystub) as a PDF attachment by e-mail

    Hi, Does anybody send to their employees remuneration statement (paystub) as a PDF attachment by e-mail? Could you please share the method that you using for it and advice why you choose this method? I need to analyse at least two options: u2022     

  • Clean my mac, is it good or bad

    Hi, I have seen the software clean my mac some say it's good, some say it's bad, can you tell me if it's good or bad, thanks.

  • WLC & WCS - who was logged in...

    Hello, I need to know which users used our wireless lan on sunday. To connect to the wlan they have to type in the wpa2 networkkey and then authenticate with username and password (web authentic.). I could not find a logfile with this informations. W

  • How do I Open word document looking EXACTLY like it did when last closed?

    How do I open a word document looking like it did when I closed it? In the same shape, position on screen, size etc?

  • XI- file

    Hello..   In RFC-XI-File scenario.... I created a Biz system with  following S/W components.... SAP ABA 640,SAP BASIS 6.40,SAP BW 3.50,SAP GUI FOR ,WINDOWS 6.20,SAP IGS 6.40,SAP STARTUP FRAMEWORK 6.40 XI ADAPTER FRAMEWORK 3.0,XI ADAPTER FRAMEWORK COR