SUBMIT works in one server and fails in another!!

Dear All,
I have the following SUBMIT statement that works in one server perfectly and fails in another with SY-SUBRC 8 [ Error in job scheduling (JOB_SUBMIT) ].  
SUBMIT riaufk20 EXPORTING LIST TO MEMORY AND RETURN WITH SELECTION-TABLE seltab.
Below is the entire program. Any idea why this is happening ?
Thanks in advance,
Rajesh
""Local interface:
*"  IMPORTING
*"     VALUE(P_AUART) LIKE  DIAUFK-AUART
*"  TABLES
*"      T_OUTPUT STRUCTURE  ZLINE
  DATA: i_list LIKE abaplist OCCURS 0 WITH HEADER LINE.
  DATA: BEGIN OF i_list_conv OCCURS 1,
          line(256),
        END OF i_list_conv.
  DATA: BEGIN OF i_order OCCURS 0,
          aufnr LIKE aufk-aufnr,
        END OF i_order.
  DATA: seltab     TYPE TABLE OF rsparams,
        seltab_wa  LIKE LINE OF seltab.
  RANGES: r_aufnr FOR aufk-aufnr.
  DATA: v_lines TYPE i.
  MOVE: 'AUART'  TO seltab_wa-selname,
        'S'      TO seltab_wa-kind,      " SELECT-OPTION
        'I'      TO seltab_wa-sign,
        'EQ'     TO seltab_wa-option,
        p_auart  TO seltab_wa-low,
        ' '      TO seltab_wa-high.
  APPEND seltab_wa TO seltab.
  SUBMIT riaufk20 EXPORTING LIST TO MEMORY AND RETURN WITH SELECTION-TABLE seltab.
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = i_list
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
  LIST_INDEX               = -1
  WITH_LINE_BREAK          = ' '
IMPORTING
  LIST_STRING_ASCII        =
   TABLES
     listasci                 = i_list_conv
     listobject               = i_list
   EXCEPTIONS
     empty_list               = 1
     list_index_invalid       = 2
     OTHERS                   = 3
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  DATA: v_text1(20).
  LOOP AT i_list_conv.
    IF sy-tabix GT 3.
      SPLIT i_list_conv-line AT '|' INTO v_text1 i_list_conv-line.
      SPLIT i_list_conv-line AT '|' INTO v_text1 i_list_conv-line.
      SPLIT i_list_conv-line AT '|' INTO i_order-aufnr i_list_conv-line.
      APPEND i_order.
      CLEAR  i_order.
    ENDIF.
  ENDLOOP.
  DESCRIBE TABLE i_order LINES v_lines.
  DELETE i_order INDEX v_lines.
  REFRESH seltab.
  CLEAR   seltab_wa.
  REFRESH i_list.
  REFRESH i_list_conv.
  SORT i_order.
  LOOP AT i_order.
  MOVE: 'AUFNR'  TO seltab_wa-selname,
        'S'      TO seltab_wa-kind,      " SELECT-OPTION
        'I'      TO seltab_wa-sign,
        'EQ'     TO seltab_wa-option,
        i_order-aufnr  TO seltab_wa-low,
        ' '     TO seltab_wa-high.
  APPEND seltab_wa TO seltab.
  ENDLOOP.
  SUBMIT riafvc20 WITH SELECTION-TABLE seltab EXPORTING LIST TO MEMORY AND RETURN VIA SELECTION-SCREEN.
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = i_list
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  CALL FUNCTION 'LIST_TO_ASCI'
EXPORTING
  LIST_INDEX               = -1
  WITH_LINE_BREAK          = ' '
IMPORTING
  LIST_STRING_ASCII        =
   TABLES
     listasci                 = i_list_conv
     listobject               = i_list
   EXCEPTIONS
     empty_list               = 1
     list_index_invalid       = 2
     OTHERS                   = 3
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  t_output[] = i_list_conv[].
ENDFUNCTION.

Rajesh,
Whatever parameters  you are using in submit statement  check those things are available in other server or not.
Regards,

Similar Messages

  • Look at drafts on one server and publish on another

    Can an administrator review drafts on one server (say a testing server) but publish them to a different server?  If so how do you set that up?
    Thanks,
    Liz

              RMI, EJB or CORBA, etc, since your beans become remote objects. Of course, you
              can create your own protocol to achieve this, like serialize your Java beans on
              one server, transmit the bytes through your request/response protocol and deserialize
              them.
              [email protected] (Prasad Ajinkya) wrote:
              >Hey all!!
              >I am starting out on JSP, Java, et al and during my work I came across
              >a doubt...here goes,
              >
              >Can I have JSP pages on one server and my beans which I invoke in my
              >JSP pages on another server??
              >I am using Tomcat and jdk 1.3,
              >If this is possible what changes do I have to make in the config file
              >of Tomcat?? or is there a better method to achieve this??
              >
              >Many Thanx in advance!
              >
              >Regards,
              >Prasad A.
              

  • Events working on one server and not the other

    We have a development and a production server for LC. I have events working on the development server that accept parameters.
    The services were deployed to the production server and the following error occured:
    2010-05-04 09:14:04,203 ERROR [STDERR] May 4, 2010 9:14:04 AM com.adobe.idp.scheduler.callback.ServiceCallbackHandler execute
    SEVERE: Exception thrown while calling back a DSC componentINVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
    2010-05-04 09:14:04,203 INFO  [org.quartz.core.JobRunShell] Job Asynchronous.SWR.RAAC.RequestSendEmail:12729788401870.18563775243350922 threw a JobExecutionException:
    org.quartz.JobExecutionException: java.lang.Exception: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
    [See nested exception: java.lang.Exception: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. ]
        at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:102)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: java.lang.Exception: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
        at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:101)
        ... 2 more
    Caused by: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
        at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown Source)
        at com.adobe.idp.event.xml.XMLGenerator.createElement(XMLGenerator.java:500)
        at com.adobe.idp.event.xml.XMLGenerator.createEventDataDocument(XMLGenerator.java:293)
        at com.adobe.idp.event.content.EventContent.createEventDataXML(EventContent.java:173)
    I took the xml from the production service and ran it through the development server, it worked fine.
    Any idea as to where to start the troubleshooting?
    Cheers,

    It would seem that when the LCA we created to be pushed to production, the event template XSD did not get rolled up. So when the LCA was deployed, there was no definition for the event.
    What would cause this? Do you have to select another option when creating the LCA? Do you have to re-define the template after the LCA is deployed?
    Further information would be greatly appreciated.

  • Email notification works for one email address fails for another

    Hi,
    I have OEM 10.2.0.3 - one email address works fine, but another fails with message
    [email protected]: Test failed with message: "E-mail Address is invalid: Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay"
    Now the weired thing is, that using the same SMTP gateway, I can send emails ok to this address via outlook etc.
    Anyone any ideas ? The xxxxxxxxxx in the address is actually a mobile number, but, as I say, it IS valid.
    Cheers

    Thanks for the reply, however, this is what I dont understand.
    The SMTP server is the same one I use for our email, ie, it is our exchange server, and from outlook, I am able to send email
    to the same address that is failing with EM. I'm not aware I need any authentication, or how it would need authentication only
    for external accounts ?
    you are correct howver, that it is an external account, and the same test fails for any external account. I'm just not sure how to fix this ?
    A manual session connecting to the SMTP server is as follows
    telnet smtp_server_name.com.au 25
    Trying 192.168.6.2...
    Connected to smtp_server_name.com.au (192.168.6.2).
    Escape character is '^]'.
    220 smtp_server_name.com.au Microsoft ESMTP MAIL Service ready at Fri, 5 Sep 2008 15:38:00 +1000
    helo
    250 smtp_server_name.com.au Hello [192.168.6.15]
    mail from: [email protected]
    250 2.1.0 Sender OK
    rcpt to: [email protected]
    550 5.7.1 Unable to relay
    quit
    221 2.0.0 Service closing transmission channel
    Connection closed by foreign host.
    $

  • My prog works in one comp and doesnt in another

    I had been getting the ArrayIndexOutOfBoundsException across a body of my program and I had handled this exception with try and catch; now it does give me the result but not the desired one as it had been displayed in my lecturer's computer. I dont know whats wrong. Please help; I have my assignment deadline this 25 th Jan.

    Thank you for ur reply;
    The codes that is erring are as follows;
    public static void main(String args[])
    try {
    Seq Sequences=new Seq(); // Seq-object containing the two Sequences
    int score=0; // the score for an alignment
    int gap_cost=1; // chosen gapcost
    //readSequences(args[0],Sequences); // to read the two Sequences from a file
    // declaration of F-matrix and traceback-matrix
    int [] [] f_matrix = new int [Sequences.Seq1.length()+1][Sequences.Seq2.length()+1];
    char [] [] traceback_matrix = new char [Sequences.Seq1.length()+1][Sequences.Seq2.length()+1];
    initFmatrix(f_matrix,Sequences); //initiate the F-matrix
    // filling F matrix and store traceback information (for students to implement)
    // useing either iterative solution or recursive solution
    score=fillMatrix_iterative(f_matrix,traceback_matrix,Sequences,gap_cost);
    /* score=fillMatrix_recursive(f_matrix,Sequences.Seq1.length(),Sequences.Seq2.length(),
    traceback_matrix,Sequences,gap_cost);
    printFmatrix(f_matrix,Sequences); // F-matrix to standard output
    System.out.println("Matrix value is: "+score+"\n");
    printTracebackmatrix(traceback_matrix,Sequences); // traceback-matrix to standard output
    // derive and print resulting alignment to standard output
    printAlignment(traceback_matrix,Sequences);
    }catch (ArrayIndexOutOfBoundsException e) {
    System.err.println("Caught ArrayIndexOutOfBoundsException: "
    + e.getMessage());

  • SSIS package works on one machine and gives conversion error on other machine

    Hi All,
    I have 150 + packages, I am fetching data from Oracle (11g) and loading in SQL Server. My problem is all the packages works fine on one machine whereas some of the packages give error "cannot convert between unicode and non-unicode string data types"
    on other machine. Please note I have implemented data conversion in all the relevant packages and I have used SSDT for the migration.
    My question is why the packages are working on one machine and not on another machine? How can I fix the issue without changing the packages (as it works on one machine) and where should I look for the problem?
    Thank you for your help!!

    One more observation, the machine on which all the packages are working reads char, varchar, nvarchar and nchar data type from source as DT_WSTR whereas on other machine it reads as DT_STR and DT_WSTR.
    Can you check the datatyype mapping definition file under
    <installationdrive>\Program Files\Microsoft SQL Server\110\DTS\MappingFiles
    and see if two systems have any difference in file contents for Oracle to SSIS mapping?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Auto To working for one material and not working for other material

    Hi,
    Hope everybody is doing fine.
    I have configured the auto TO. Its working fine for one material and not working for the other material. I checked the material master and wm 1,2 views have the same fileds / values. What could be wrong?
    I didn't setup the back ground processing job. Is that is affecting it?
    thanks for any help.
    regrads,
    KHAN

    Thnaks,
    You are right but then what could be wrong? Its working for one material and not working for otehr material? Any clue?
    Appreciate your time charlie

  • Firefox stop to work in one time,and i have to restart all because ff dont wor when i try to change page with mouse

    firefox stop to work in one time,and i have to restart all because ff dont wor when i try to change page with mouse

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your 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")

  • Airplay works for one user but not for another on the same machine

    I have the problem where airplay works for one user but not for another and both users are on the same machine.  For the user where it does not work, everything appears normal, it's just that there is no sound being transmitted.  I have tried restarting the Airport express, restarting iTunes, repairing disk permissions.  Any ideas about what can be done to resolve this?

    my /etc/group:
    root::0:root
    bin::1:root,bin,daemon
    daemon::2:root,bin,daemon
    sys::3:root,bin
    adm::4:root,daemon
    tty::5:
    disk::6:root
    lp::7:daemon
    mem::8:
    kmem::9:
    wheel::10:root,hans,ibm,gast
    ftp::11:
    mail::12:
    uucp:x:14:
    log::19:root
    locate:x:21:
    smmsp::25:
    http::33:
    games::50:
    network:x:90:
    video:x:91:
    audio::92:ibm,gast
    optical::93:hal
    floppy:x:94:hal
    storage:x:95:hal
    scanner:x:96:
    power:x:98:
    nobody::99:
    users::100:gast
    dbus:x:81:
    hans:x:1001:
    vboxusers:x:108:hans
    policykit:x:1002:
    hal:x:82:
    kvm:x:78:
    nx:x:85:nx
    avahi:x:84:
    camera:x:97:
    gdm:x:1003:
    gast:x:1004:

  • Transfer files from One server(Solaris OS) to another server(Solaris OS)

    Hi,
    I want to Transfer files from One Server(Solaris OS) to another Server(Solaris OS) on private network through ftp and after transferring the files i want to delete these files from first server.
    How can i do that ?
    thanks

    http://commons.apache.org/net/

  • Click on link in one portlet and open in another portlet

    how do you click on link in one portlet and open in another portlet?

    Hrmm... This is a IBM Question..
    Officially this is a meaningless buzzword promoted by IBM. Portals are some sort of Servlet but IBM incapable of explaining how they differ from ordinary Servlets. Some speculate they are used to present a webpage with many services on it such as a search engine, and news that come from diverse sources. The user is able to dynamically configure the contents and layout of the page much like Netscape home pages
    I don't understand what yhour asking..
    I am assuming you want to call another servlet (portlet)? That would be absurd to do .. You let the HTTP request and XML file to deal with the response of the portlet

  • How do you take pictures from one library and put in another library??

    How do you take pictures from one library and put in another library??

    Options:
    1. Export from iPhoto A to the Finder, then import to iPhoto B
    This gets the photo over, but no versions, no edit history and not all the metadata
    2. Use iPhoto Library Manager
    This gets everything: versions, edit history and all the metadata.
    Regards
    TD

  • How to set cookie value in one page and retrieve in another page using setA

    How to set cookie value in one page and retrieve in another page using setActionListener?
    I have tried with following code srcpage.jspx->destpage.jspx
    srcpage.jspx
    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
    var="emp" rows="#{bindings.EMPView1.rangeSize}"
    first="#{bindings.EMPView1.rangeStart}"
    emptyText="#{bindings.DepartmentsView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="EmployeeName" sortable="false"
    headerText="Cookie Testing">
    <af:commandLink text="#{emp.EmployeeName}" action="success">
    <af:setActionListener from="#{emp.EmployeeName}"
    to="#{cookie}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    espage.jspx
    <af:outputText value="Test Cookie Value: #{cookie}"/>
    ,Here Test Cookie Value prints the following instead of its original String value
    {JSESSIONID=javax.servlet.http.Cookie@7da288, oracle.uix=javax.servlet.http.Cookie@399f62}
    I have passed employee name "Robert" to cookie in srcpage.jspx,but it prints "JSESSIONID....." instead of "Robert" in destpage.jspx
    Thanks in advance
    Kalee

    Hi,
    "cookie" is a reserved name. If you want to write to a session scope attribute called "cookie" then you have to call #{sessionScope.cookie}. If you want to use EL to set and read from cookies then you will have to use
    #{cookie.cookieName}
    Note that #{cookie} writes to and returns a map
    check this: http://www.informit.com/articles/article.aspx?p=30946&seqNum=7
    Frank

  • I run Tiger OSX on one MacBook and SnowLeopard on another. Photos were downloaded from Tiger to SnowLeopard, and now iPhoto won't open on the Tiger Mac. Will upgrading iPhoto fix this problem?

    I run Tiger OSX on one MacBook and SnowLeopard on another. Photos were downloaded from Tiger to SnowLeopard, and now iPhoto won't open on the Tiger Mac. Will upgrading iPhoto fix this problem?

    What matters is the version of iPhoto you have on the different machines. Can you tell us what they are, and what exact error message you get.
    Regards
    TD

  • HT3819 i have all my itunes on one computer and have brought another and need to transfure all my exsisting music to this new computer, how do i do this? please help.

    I have all my itunes on one computer and have brought another and need to transfer all my music etc to new one, how do i do this? please help its doing my head in!

    Hey allen72,
    Thanks for the question. I understand you wish to transfer your iTunes library to a new computer. There are a few different options for doing so, the following article provides more information:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    Thanks,
    Matt M.

Maybe you are looking for

  • Can I store iTunes songs onto the iPod by using it as a HDD?

    Hello. I would like to know if I can store iTunes songs onto the iPod but not as a nMP3 player but as an external HDD. For example, suppose I load 1000 songs onto my iPod to listen to, could I take those same 1000 songs and store them as well? 80 GB

  • BADI CRM_ISA_BASKET_ITEMS adding a new item

    In B2C Webshop, we are trying to use badi CRM_ISA_BASKET_ITEMS to, depending on what is in the customer's shopping basket, add an additional item to the basket.  We are trying to do this on the ABAP side.  I have started by adding the item in method

  • Best-selling ColdFusion Author Ben Forta Keynotes at AFPS 2010

    Ben Forta is Adobe Inc.'s Director of Platform Evangelism and has over two decades of experience in the computer industry in product development, support, training, and marketing. He is the author of the best-selling ColdFusion Web Application Constr

  • Both macs sync, just not with eachother?

    I have three macs. Two sync, but recently one is not syncing with the others. In accounts/advanced the two can not see the lone one and vice versa. (used only for iCal) Any suggestions any one? Thanks.

  • Blue screen, random graphical glitches early 2011

    Hi all, I have a MacBook Pro early 2011, which recently had to have the hard drive replaced for 190 dollars because it failed diagnostics at the Genius Bar, out of warranty surprise, surprise. Anyway upon receiving my computer back today, literally 1