Error in submit statment

Hi,
  In my pgm if i use like this
      SUBMIT pgm
       TO SAP-SPOOL IMMEDIATELY ''
    WITHOUT SPOOL DYNPRO
       VIA JOB name NUMBER number
      AND RETURN    .
the submit stmt is working fine but i use the Fm job_submit like mentioned below its not working fine.Its throwing the sy-subrc as 3.My requirment is to it shouldnt return any value so have to make use of the FM only.What is the reason for the error and how to get rid
CALL FUNCTION 'JOB_SUBMIT'
  EXPORTING
    authcknam                         = sy-uname
    jobcount                          = number
    jobname                           = name
   LANGUAGE                          = SY-LANGU
   report                            = pgm
EXCEPTIONS
   BAD_PRIPARAMS                     = 1
   BAD_XPGFLAGS                      = 2
   INVALID_JOBDATA                   = 3
   JOBNAME_MISSING                   = 4
   JOB_NOTEX                         = 5
   JOB_SUBMIT_FAILED                 = 6
   LOCK_FAILED                       = 7
   PROGRAM_MISSING                   = 8
   PROG_ABAP_AND_EXTPG_SET           = 9
   OTHERS                            = 10
t

At first you mast open the job by calling the function 'JOB_OPEN' like below
  CALL FUNCTION 'JOB_OPEN'
    EXPORTING
  DELANFREP              = ' '
  JOBGROUP               = ' '
      JOBNAME              = name
  SDLSTRTDT              = NO_DATE
  SDLSTRTTM              = NO_TIME
  JOBCLASS               =
   IMPORTING
     JOBCOUNT               = number
CHANGING
  RET                    =
   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.
  ENDIF.
SUBMIT pgm
TO SAP-SPOOL IMMEDIATELY ''
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN .
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = sy-uname
jobcount = number
jobname = name
LANGUAGE = SY-LANGU
report = pgm
EXCEPTIONS
BAD_PRIPARAMS = 1
BAD_XPGFLAGS = 2
INVALID_JOBDATA = 3
JOBNAME_MISSING = 4
JOB_NOTEX = 5
JOB_SUBMIT_FAILED = 6
LOCK_FAILED = 7
PROGRAM_MISSING = 8
PROG_ABAP_AND_EXTPG_SET = 9
OTHERS = 10
t

Similar Messages

  • Calling a Report Program In Web Dynpro Using Submit statment

    Hi all,
             Can any one suggest how can i call a report program form Web Dynpro using Submit statment. I tried to call it its showing Field symbols not defined error. Is their any other ways to call Report in a Web Dynpro?. I have posted the error message when i tried using SUBMIT ZRR AND RETURN CONTROL
    Field symbol has not yet been assigned.
    The error occurred on the application server mnghcmsap_HRS_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Form: CHECKBOX_OUT of program SAPLKKBL
    Form: GEN_LINE_OUT of program SAPLKKBL
    Form: DATA_OUT_SIMPLE of program SAPLKKBL
    Form: LIST_OUTPUT_NEW of program SAPLKKBL
    Form: FIRST_LIST_DISPLAY of program SAPLKKBL
    Module: LIST_DISPLAY of program SAPLKKBL
    Function: K_KKB_LIST_DISPLAY of program SAPLKKBL
    Method: PRINT_BACKEND of program CL_GUI_ALV_GRID===============CP
    Method: SET_TABLE_FOR_FIRST_DISPLAY of program CL_GUI_ALV_GRID===============CP
    Form: PBO of program SAPLSLVC_FULLSCREEN
    Edited by: VINMANO on Jul 22, 2009 2:54 PM

    HI,
    Its possible to call report program from Web dunpro...
    chk out dis link,
    calling report(se38) in webdynpro abap
    By the way are using field symbol anywhere and left it unassigned?
    Thanks,
    Divya.S

  • Submit Statment inside Loop - Problem in display O/P

    Hi All,
              Iam Using Submit statment inside the Loop with Return , when the first line in the loop completes the O/P gets display and the Second line is not processed and get in O/P.Can any one let me know why this problem occurs?...
    Regards,
    Veera

    when You submit for a report it starts a parallel process and it is O/P then if you are doign it in loop it may be over writing the existing O/P that may be the reason you are not seeing the out put properly as it is written across different internalk sessions

  • Submit statment

    hi guys,
    I am calling a report program from another report program using
    SUBMIT statment
    the calling program(1st program) returns 3 statment like
    1st table updated
    2nd table updated
    3rd table updated
    the three statements which returns from the 1st program is simply a write statement in the 1st program
    when i am using the submit statment like this in the 2nr program
    submit '1stprogram' with sel_screen in int_table and return.
    it return correctly(3 statements) and stops after the satament.
    i also need to do some process aftet the statment and then only i need to print the (3)statement in the 2nd program
    i want that 3 statment to be printed in the 2ndprogram..
    How can i do this using submit statement?
    Regards
    senthil

    hi,
    try this addition of Submit statement
    ... EXPORTING LIST TO MEMORY
    Effect
    This addition stores the basic list for the program accessed in the ABAP Memory. It can only be used together with the addition AND RETURN.
    The list is stored in the ABAP Memory as an internal table of the row type ABAPLIST, ABAPLIST being a structured data type in the ABAP Dictionary.
    The calling program can access the list stored once program access is completed, using function modules belonging to the function group SLST.
    The function module LIST_FROM_MEMORY loads the list from the ABAP Memory to an internal table of the row type ABAPLIST.
    The function module WRITE_LIST inserts the content of an internal table of the row type ABAPLIST in the current list.
    The function module DISPLAY_LIST displays the content of an internal table of the row type ABAPLIST in a separate list screen.

  • Unable to register error: Ajax submit failed: error =403, Forbidden

    I am trying to complete the eprint registration for the first time I turned on a printer.  When I get to the logon page and enter my credentials I immediately receive the error "Ajax submit failed: error =403, Forbidden" which happens so quickly that I don't think my POST is even getting to the server.  I tried with IE9, firefox 14.0.1 and chrome 21.0.1180.  I have no problem loading other web pages or browsing the web.

    This question comes up quite a bit here.  Others have suggested that clearing your browser history and cookies then rebooting allowed them to logon or create an account.  For me that does not work and I've tried 3 different HP laptops and 2 to 3 web browsers on each of those 3 laptops and still no joy. 
    I supposedly already have an account but I can't even reset the password on it.  When I go to the password reset page and enter my email address it says "you need to enter your email address" even though I just did that.  I never see any password reset email.
    I can't logon so I can use the 'contact an expert' service.  HP has really painted me into a corner on this one.
    Logging on really should not be this difficult.  Resetting a forgotten password also should be simple.  This has been terrible customer experience.  Zero stars!!!

  • I am trying to set up eprint i keep getting this error ajax submit failed: error = 403, forbidden

    I just recieved my new HP Photosmart 5514e all in one printer & I am trying to set up eprint i keep getting this error ajax submit failed: error = 403, forbidden what does this mean? How do I fix it ? 
    Thank you

    Hi,
    Please try clearing your browser's cache, and try again.  If that does not work, try using a different browser.
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Error in "submit rmmmbest with ms_matnr-low = wa_matnr-low and return"?

    Hi
    Experts pls show me the solution for this error
    Error in "submit rmmmbest with ms_matnr-low = wa_matnr-low and return"?
    i have found error an during  extended syntax check for above statement . i.e3., ms_matnr-low is not a parameter or a select-option in report rmmmbest
    If anybody face this problem please tell me the solution.
    thanks in advance

    Hi Sitaram,
    The selection for material number is programmed with a select-option called MS_MATNR. Although you can see only MS_MATNR-low you should still fill an internal table with the same linetype as MS_MATNR and then use SUBMIT rmmbest with MS_MATNR = <your internal table>.
    e.g.
      DATA:
         zlt_matnr_range TYPE RANGE OF matnr,
         zls_matnr_line    LIKE LINE of zlt_matnr_range.
    zls_matnr_line-sigm  = 'I'.
    zls_matnr_line-option = 'EQ'.
    zls_matnr_line-low = wa_matnr-low.
    APPEND zls_matnr_line to zlt_matnr_range.
    SUBMIT rmmmbest WITH ms_matnr = zls_matnr_range.
    Regards,
    John.

  • Can't sign up for eprintcenter-I get this error ---Ajax submit failed: error = 403, Forbidden

    Bought my 6700 printer yesterday.  Set it all up, prints fine.  Got the print out that tells me to go to the eprintcenter.com and "sign up and enter your printer code." 
    Every time I enter any information, I get this error code:  Ajax submit failed: error = 403, Forbidden
    I've tried entering my personal email, the eprint email--in short I've tried everything and can't register for an account so I can customize my printer email address, etc.  Can some one help?

    Tifmel,
    I do apologize that you are having this issue. If you are still having this issue, I would suggest using a different web browser (i.e. internet explorer, google chrome, mozilla firefox). There are more that are available but those are just a few examples. I sure hope you can get everything worked out. Thanks again!!!!
    Feel free to repost if you have any further questions, comments, or concerns.
    If I have SOLVED your issue, please feel free to provide KUDOS and make sure you mark this thread as SOLUTION PROVIDED!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Eprint login error: Ajax submit failed: error = 403, Forbidden.

    Why do I keep getting this error when trying to log in  to eprint website to manage my printer: Ajax submit failed: error = 403, Forbidden.

    Hi,
    Please perfer the following the check.
    1. Try to view the site in a different web browser to see if that's the issue. Normally, Internet Explorer, Google Chrome, Firefox, and Safari all display the website properly. Try one or two of those (other than the one you've been using) and it should do the trick.
    2. If that doesn't work, try resetting Internet Explorer's default settings by clicking "Tools" (on the top menu bar), "Internet Options" (usually at the bottom of that list), "Advanced" (far-right tab), and "Reset" (towards the bottom-right of that box). After resetting the defaults, try viewing the ePrint Settings area again.
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Error "Ajax submit failed: error =403, Forbidden" when trying to sign up

    Hi,
    I am trying to sign up for eprint, but get this error when ever I try to create an account "Ajax submit failed: error =403, Forbidden" Does anyone have any ideas.
    thanks,
    Bob

    If you are experiencing this issue through the desktop browser, if available, try downloading the mobile app and see if you still experience issues signing up. Another recommendation is to try a different browser (Firefox, Chrome, etc) after restarting your machine.
    Hope this helps!
    Help the community by marking this post as a solution if it solved your issue!.
    If my post helped you in any way, please click the blue KUDOS star under my name! It would mean a great deal.

  • ImportData error blocking submit

    We are using the ImportData component to push revised XML back into a pdf (document form) that contains multiple digital signatures.  The new data in the xml is showing up in the pdf when the form moves to the next user in the workflow, however, once there, the form is no longer able to be submitted.  The submit button (using workspace) is visible, but nothing happens when it is clicked.  It is also triggering a validation error on a phone number field that is blank when the submit button is clicked, but when the phone number is entered (or already exists), it still fails to submit.
    System is running LC with SP3 on Windows 2008
    This is the error that was showing up in the log:
    2009-11-10 14:14:15,977 WARN  [com.adobe.idp.common.errors.exception.IDPLoggedException] UserM:GENERIC_WARNING: [Thread Hashcode: 438313862] | [AuthenticationManagerBean] errorCode:12809 errorCodeHEX:0x3209 message:AssertionId [38C68A3A-FCC0-601D-ED57-BDACFE2094E3] is not valid. This may be due to sso session corresponding to the passed id has expired
    2009-11-10 14:14:30,965 INFO  [com.adobe.livecycle.formdataintegration.server.FormData] ALC-FDI-001-307: Processing importData operation on source document 1411372404.
    2009-11-10 14:19:12,599 INFO  [com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl] ServiceRegistryImpl:stop(PR, 1.6)
    2009-11-10 14:20:00,036 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException in method: public abstract java.util.ArrayList com.adobe.edc.server.businesslogic.license.LicenseManager.findAllPrincipalKeys(com.adobe. edc.server.businessobject.EDCContext,java.util.Date) throws com.adobe.edc.server.errors.exception.EDCServerSystemException:
    com.adobe.idp.common.errors.exception.IDPSystemExceptionorigin: | [com.adobe.idp.storeprovider.jdbc.DBStatement] errorCode:12290 errorCodeHEX:0x3002 message:execute query failure(select top 1000  * from EDCPRINCIPALKEYENTITY where EDCPRINCIPALKEYENTITY.lastRollover < ?) chainedException:com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed.chainedExceptionMessage:The connection is closed. chainedException trace:com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed.
    Any ideas?

    Hi Richard,
    I am having the same error message you mentioned below
    u201CError Blocking in Purchase order in backed. Contact the system Admin.u201D
    As you suggested, I would like to try to delete the entry in table BBP_DOCUMENT_TAB However I don´t have authorization to do it. How can I do it?

  • SQL Query Updateable Report Error on Submit

    I'm using AppX version 2.0.0.00.49 and have modified a standard SQL report into an updateable report that modifies the value of a single column. When I submit the page, I receive this error:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "A1C24045A4B826FBB8E8D7CB176F7B41", item checksum = "B31829463D576B930C07388D06AE91D8"., update "BNELSON"."TWP_REG_STU_ATT" set "REG_ATT_ID" = :b1
         Error      Unable to Process Absences
    The table is being updated only - no create or delete, and the report elements of Tabular Form Element contain the info to point to this table and its primary key. The sql query does link to several related tables to display their related items.
    Any pointers as to what I should look for as a cause?

    Chris,
    I created a new page with a tabular form update using just the single table with all DML types (Add, Delete, Save), and for all fields.
    Ran the page and tried modifying a field on one row and saved - result,
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01407: cannot update ("BNELSON"."TWP_REG_STU_ATT"."ATT_DT") to NULL, update "BNELSON"."TWP_REG_STU_ATT" set "REG_ATT_ID" = :b1, "STU_ID" = :b2, "ATT_DT" = :b3, "PERIOD" = :b4, "CLASS_DAY_TYP" = :b5, "TCHR_ATT_CD" = :b6, "TCHR_ID" = :b7, "CRSE_ID" = :b8, "CREATE_DT" = :b9, "CREATED_BY" = :b10, "UPDATE_DT" = :b11, "UPDATED_BY" = :b12, "SCH_ID" = :b13, "TCHR_UPDATE_DATE" = :b14 where "REG_ATT_ID" = :p_pk_col
         Error      Unable to process update.
    OK
    Tried adding a new row with the same results basically -
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400: cannot insert NULL into ("BNELSON"."TWP_REG_STU_ATT"."ATT_DT"), insert into "BNELSON"."TWP_REG_STU_ATT" ( "REG_ATT_ID", "STU_ID", "ATT_DT", "PERIOD", "CLASS_DAY_TYP", "TCHR_ATT_CD", "TCHR_ID", "CRSE_ID", "CREATE_DT", "CREATED_BY", "UPDATE_DT", "UPDATED_BY", "SCH_ID", "TCHR_UPDATE_DATE") values ( :b1, :b2, :b3, :b4, :b5, :b6, :b7, :b8, :b9, :b10, :b11, :b12, :b13, :b14)
         Error      Unable to process update.
    OK      
    Field ATT_DT had valid date values in both scenarios (12-DEC-06), so why would it be attempting to put a null in both update and insert modes?

  • Missing Expression Error When Case Statment is used as field

    I have tried to write an expression that will calculate how many days ago a request was submitted and return a user defined value if the calculation falls within the criteria in the case statment. The SQL View for the Query I am using is shown below:
    SELECT A.F_POSN_REQUEST_ID, A.F_REQ_ECP_STATUS, TO_CHAR(A.REQUEST_DTTM,'YYYY-MM-DD-HH24.MI.SS."000000"'), TO_CHAR(A.F_REQ_ST_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'), TO_CHAR(A.F_REQ_ECP_ST_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'), TO_CHAR(A.F_REQ_ECP_PROC_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'), CASE WHEN(sysdate - TO_DATE(SUBSTR( TO_CHAR(A.F_REQ_ST_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'),1,16),'YYYY-MM-DD-HH24.MI'))>60 THEN '>60' ELSE(CASE WHEN(sysdate - TO_DATE(SUBSTR( TO_CHAR(A.F_REQ_ST_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'),1,16),'YYYY-MM-DD-HH24.MI')) >30 AND <=60 THEN '30 - 60' ELSE(CASE WHEN(sysdate - TO_DATE(SUBSTR( TO_CHAR(A.F_REQ_ST_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'),1,16),'YYYY-MM-DD-HH24.MI'))>=15 AND <=30 THEN '15 - 30' ELSE(CASE WHEN(sysdate - TO_DATE(SUBSTR( TO_CHAR(A.F_REQ_ST_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'),1,16),'YYYY-MM-DD-HH24.MI'))<15 THEN 'Less Than 15' ELSE NULL END)END)END)END))
      FROM PS_F_POSN_REQUEST A
      WHERE A.F_REQ_ECP_STATUS IN ('I','O','P')
      GROUP BY  A.F_POSN_REQUEST_ID,  A.F_REQ_ECP_STATUS,  TO_CHAR(A.REQUEST_DTTM,'YYYY-MM-DD-HH24.MI.SS."000000"'),  TO_CHAR(A.F_REQ_ST_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'),  TO_CHAR(A.F_REQ_ECP_ST_DT,'YYYY-MM-DD-HH24.MI.SS."000000"'),  TO_CHAR(A.F_REQ_ECP_PROC_DT,'YYYY-MM-DD-HH24.MI.SS."000000"')When I try to run the query I get Message=ORA-00936: missing expression (50,380)
    Any suggestions you could provide to help me clear this error would be greatly appreciated.
    Edited by: 992737 on Mar 8, 2013 9:07 AM

    Hi,
    Welcome to the forum!
    I think you want something like this:
    CASE
        WHEN  a.f_req_st_dt < TRUNC (SYSDATE) - 60  THEN  '>60'
        WHEN  a.f_req_st_dt < TRUNC (SYSDATE) - 30  THEN  '30.1-60'
        WHEN  a.f_req_st_dt < TRUNC (SYSDATE) - 15  THEN  '15.1-30'
        WHEN  a.f_req_st_dt < TRUNC (SYSDATE)       THEN  '15 or less'
    ENDNested CASE expressions aren't needed very much. Each WHEN clause is evaluated only if all the ealier ones have failed. For example, when testing to see if a row is in the 301.-60 range above (that is, the 2nd WHEN clause), there's no need to see if the difference is greater than or equal to 60; it wouldn't be evaluating that clause if the 1st WHEN condition was TRUE.
    This assumes that a.f_req_st_dt is a TIMESTAMP or DATE; either datatype can be compared with DATEs, such as SYSDATE-60, so there's no need to conevert them to strings, and then convert them back into DATEs.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Simplify the problem as much as possible. Show only the parts that you don't already know how to do.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}
    Never write, let alone post, unformatted code. Indent the code to show the exent and structure of clauses (SELECT, FROM, etc.), and complex expressions (such as CASE). The forum FAQ explains how to use \ tags when posting formatted text on this site.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Catching an error in SUBMIT Statement

    Hi,
    I am using SUBMIT (REPORT) and RETURN.
    How to catch an error when there is one in the  REPORT Program that i am calling.

    hi
    Calling Programs
    If you need to program an extensive application, one single program can become very complex. To make the program easier to read, it is often a good idea to divide the required functions among several programs.
    As well as using external modularization, in which you store procedures in special non-executable ABAP programs like function groups, you can also call independent programs from within an ABAP program.
    The following ABAP statements allow you to start an executable program or transaction. You can either exit the calling program, or have the system return to it when the called program finishes running.
    Executable Program
    Transaction
    Call without return
    SUBMIT
    LEAVE TO TRANSACTION
    Call with return
    SUBMIT AND RETURN
    CALL TRANSACTION
    You can use these statements in any ABAP program. For example, while processing a user action in the output list of an executable program, you might call a transaction whose initial screen is filled with data from the selected list line.
    The event LOAD-OF-PROGRAM is triggered each time a program is called. If a corresponding event block is defined in the framework program, it is executed once before the first other processing block is executed.
    An interesting remark at this point is that each execution of an executable program actually has a SUBMIT statement as its source. When you enter the program name in a transaction like SE38 or SA38 and choose Execute, a SUBMIT statement occurs in the transaction. Technically speaking, therefore, executable programs have the attribute of being able to be called using SUBMIT, although their principal characteristic from a useru2019s point of view is that they are started in the foreground.
    Memory Organization in Program Calls
    The first ABAP program in a session on the application server opens its own internal session (roll area) within the main session. All externally-called procedures run in the same internal session as the calling program, that is, the main program and working data of the procedure are loaded into the same memory area in the internal session.
    When you call an executable program or a transaction, the system opens a new internal session for each program. Here, there are two possible cases: If the second program does not return control to the calling program when it has finished running, the called program replaces the calling program in the internal session. The contents of the memory of the calling program are deleted. If the second program does return control to the calling program when it has finished running, the session of the called program is not deleted. Instead, it becomes inactive, and its memory contents are placed on a stack. The system can open up to 9 further internal sessions in external program calls.
    As well as executable programs and transactions, dialog modules also open a new internal session. Dialog modules were previously used for modularizing screen sequences.
    Program Calls and SAP LUWs
    An SAP LUW is a logical unit consisting of dialog steps, whose changes are written to the database in a single database LUW. There are various bundling techniques that you can use to ensure that all of the database updates belonging to an SAP LUW are made in the same single database LUW.
    Externally-called procedures do not open a new SAP LUW.
    However, when you start a new executable program or transaction, a new SAP LUW starts. Database updates belonging to these programs are collected in their own database LUW. If the new program does not return control to the calling program, the SAP LUW of the old program concludes when the new program is called. If, on the other hand, the new program does return control to the calling program, the new SAP LUW runs parallel to the SAP LUW of the calling program.
    No new SAP LUW is opened when you call a dialog module. Bundling techniques in a dialog module add the database updates to the database LUW of the calling program. You may sometimes need to call a transaction that runs in the same SAP LUW as the calling program. One technique for doing this is to use the existing transaction as a dialog module. To do this, you need to create a new dialog module with the same main program and initial screen as the transaction. Transactions that are used both as transactions and as dialog modules must be programmed to obey certain rules. For further information, refer to Calling Screen Sequences.
    The fact that an external program shares (or does not share) the SAP LUW with its caller has special consequences if the program calls update-task functions or uses COMMIT WORK. For further information, refer to Special LUW Considerations.
    syntax:
    SUBMIT REPORT01     VIA SELECTION-SCREEN     USING SELECTION-SET 'VARIANT1'     USING SELECTION-SETS OF PROGRAM 'REPORT00'     AND RETURN.

  • Regarding error messages &submit

    Hi have a customised transaction zc10 which is a report with the selection screen. if we enter the fields
    and execute it will update co01 record by record manualy. previously this is executed record by record and
    it displays error messages.but now i have written a cal transaction for this zc10 so that all the reocrds
    can be updated but now i want to get the error messages to be diplayed by new program which are being displayed
    when zc10 is executed how can i write the submit and get those error messages of zc10  into my new program???

    Hi,
    use
    EXPORT it_messages TO MEMORY ID 'MEMORY_ID'.
    SUMBMIT PGM2. in the first program. (bdc program.).
    in second program.
    IMPORT it_messages FROM MEMORY ID 'MEMORY_ID'.
    Guru.

Maybe you are looking for

  • OpenSQLException

    Hello, Iu2019m getting the exception: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException is thrown by the pooled connection: com.sap.sql.log.OpenSQLException: Connection object com.sap.sql.jdbc.direct.DirectConnection@6ba10

  • Error Message When Editing Photo Library

    When I am cleaning up my iphoto library, such as rotating or deleting files, I get the following message every time that I edit or delete a photo or range of photos: "An error occurred while trying to save your photo library. Some recent changes may

  • Adobe Illustrator CC 2014 update failed

    Since the day I download Illustrator CC 2014, I could not update my software. Every times I tried to update the software, the update failed. The detail as shown in the attachment. I need help on this problem. Thank you

  • Print the Check information in the AP pay check only in first page

    Hi All, I am using embedded BI publisher to develop RTF template. I have a requirement, I have to print a AP Pay check using BI publisher desktop tool. At present I am printing the invoice lines and then printing the check info in the last page. But

  • Regarding configuration of 3rd party JMS queues

    Can any one please help me in configuration of 3rd party JMS queues. Thanks, Bharath