CFMAIL not writing to spool

I am working on CFMX7 Enterprise Edition. The CFMAIL was
working perfectly fine until sometime ago. Now, the CFMAIL doesn't
work at all. Ran all customary checks and found that the .cfmail
files are not written in the spool folder at all. When i physically
place a .cfmail in the folder, the mail is being sent.
The problem is CFMAIL ignores to deposit mail messages in the
spool folder. I always use try/catch. No errors.
Did someone encounter similar issues?
Thanks
sentill

Forgot to mention. Spooling is ENABLED. While spooling is
disabled the mails are not sent/received.
Thanks

Similar Messages

  • Not generating a spool output in the background job

    Hi Team,
    I have an alv report and If I schedule the program using SM36 transaction it is not generating the spool ouput.
    If I run the same program in background mode when we use se38 and select execute in background in program menu and it works successfully and generates alv grid list in the spool output.
    But, user wants to schedule the job in sm36 and check the same output in spool. Please advise why it is not generating.
    Note:I am using the cl_salv_table=>factory method to generate the output.
    Thanks in advance,
    Sunil Kumar.

    This is not really an ABAP question and you might want to ask your Basis admin for assistance. But I believe that spool will not be generated if you don't specify print parameters for a step. When you define the step in SM36, make sure to specify the print parameters.

  • Not writing to file

    Hi,
    I have made a program that reads a string, converts it to bytes, then writes to a file.
    Well i got the first two working, but its not writing to file. I know it should work cos i have written to file on my previous tests, but when i used a FOR loop it stoped working. Do ya know why. Below is the code...
    for (int a = 0;a = bytes.length - 1;a++){
    of.write(bytes[a]);
    System.out.print(" " + bytes[a] + " : " + bytes.length);
    My friend told me to use bytes.length - 1 as it is meant to stop the OUTOFBOUNDS error.
    OK,
    my regards
    Below is the whole program, its a bit messy cos i got lots of old code that i have blocked.
    import java.io.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.lang.String;
    public class sender implements Runnable {
    int i= 0;
    String mes;
    int count =0;
    int b = 0;
    boolean yes = false;
    public static void main (String[] arguments) {
    Thread th = new Thread (new sender());
    th.start ();
    //sender();
    //while (true){}
    public void run() {
    try {
    Thread.sleep(100);
    } catch (InterruptedException e) {}
    String mesdialog = JOptionPane.showInputDialog(null,
    "Enter your message");
    mes = mesdialog.toString();
    try {
    //FileOutputStream of = new
    //FileOutputStream ("send.txt");
    FileWriter of = new
    FileWriter("send.txt");
    //BufferedReader in = new
    // BufferedReader(fr);
    //while (true){}
    int i = 66;
    boolean eof = false;
    int inChar = 0;
    //String inChar;
    byte[] bytes = mes.getBytes();
    /* < disable / enable
    do {
    int n=Integer.MIN_VALUE;
    try{
    n = Integer.parseInt(mes);
    } catch (NumberFormatException nfe){
    //inChar = n;
    if (inChar != -1) {
    byte outChar = (byte)inChar* ;
    //char outChar = (char)inChar ;
    of.write(outChar);
    System.out.println("" + outChar);
    //of.write(mes,0,20);
    } else
    eof = true;
    } while (!eof);//*/
    for (int a = 0;a = bytes.length - 1;a++){
    of.write(bytes[a]);
    System.out.print(" " + bytes[a] + " : " + bytes.length);
    while (!yes) {
    if (bytes[b] == 32 )
    yes = true;
    else {
    of.write(bytes);
    System.out.print(" " + bytes[b]);
    b++;
    //System.exit(0);
    //outfile.write(input);
    } catch (IOException e) {
    System.out.print("AAA ERROR");}

    your friend was obviously wrong.
    for (int a = 0;a = bytes.length - 1;a++){ // that does nothing
    of.write(bytes[a]);
    System.out.print(" " + bytes[a] + " : " + bytes.length);
    }the above "for" loop says :
    1:initialize a with 0;
    2:do loop while a=bytes.length(<-that's completely wrong. it should be
    a boolean expression);
    3:for each loop increment "a" by one.
    try this:for (int a = 0;a < bytes.length;a++){
    of.write(bytes[a]);
    System.out.print(" " + bytes[a] + " : " + bytes.length);

  • Ultra 10 not writing to path_to_inst

    Hello I have a Ultra 10 system, Solaris 8, 64-bit. I installed an Antares gigabit quad card and for some reason its not writing to the /etc/path_to_inst file. I installed the package and the package is showed doing a pkginfo. Issueing the command prtconf | grep ANTR it shows the instance numbers. Doing a reboot, the drivers becomes de-attached. In order to get the card to work properly I have to manually add the driver using /usr/sbin/add_drv -i. Has anyone had this problem with not being able to configured quad gigabit ethernet devices before. I installed two standard hme sun pci nics into the machine and they configured properly and wrote to path_to_inst file automatically. Please help.

    The problem you are having is probably a third party issue that will take either Antares or Sun to fix for you. There seems to be quite a few posts concerning these cards and I still have no practical experience of them :-(
    However, if you have a command process that works, just put it into your startup scripts and `bob's your uncle`, no more having to do it manually every time. I would probably configure your gig at the same time!

  • System is not generating a spool request for Dep.?

    Hi,
    When I am running a test run with 'planned posting run' system is not giving me any error but when I am executing it in a "repeat run" system comes up with a message
    "!! This processing can only be carried out as background processing !!
    But when I go to (Jobs Overview screen) see the spool request system is not generating the spool request and Please help me out what's wrong is happening and what shall I do.
    It is a new company code for the first time we are running the dep.
    Thanks in advance...
    Regards
    Nitin

    Dear Nitin,
    Refer Following threads
    fiscal year change has not yet
    AFAB - Not posting
    AFAB - Not posting
    Regards
    Saurabh

  • Metadata not writing to jpgs

    We keep all of our photos on a Windows Home Server 2011 shared folder.
    Previously, we kept all our photos in a WHS v1 shared folder and it did not exhibit these issues.
    The issue:
    Metadata not writing to jpgs
    We manage all our photos with Adobe Lightroom 3 and it is set to write metadata to a file immediately, which it does intitally or after a new import (We
    edit our photos with ratings first, which writes to the file).
    Any change after the first metadata write the "!" or "Up Arrow" appears and indicates that metadata has been changed externally.  Even after you select
    overwrite settings the "!" or "Up Arrow" stays.
    If we select a batch set of photos and right click and navigate to Save Metadata...Lightroom will try to write and finish, but none of the changes get
    applied to the photo.
    Metadata will write if we manually save metadata to each individual file, but the "!" or "Up Arrow" still appears.
    If the files are located on a local drive, Lightroom will continue to make metadata changes to the file.
    I feel this is a permissions issue.  Has anything regarding file permissions changed from WHS v1 to WHS 2011?
    Homegroup on WHS 2011 was turned on, but is now disabled. 
    Any thoughts on how Lightroom gain the proper permissions to keep writing to a file? 
    Also, since I turned off Homegroup there are permissions for a user Account Unknown.  Should this be there?

    LR is accessing the file system with the credentials of your user account - so the first step is to verify that your user account has the proper permissions on your WHS (usually FullControl on the share and Read, Write, Modify on NTFS permissions).
    I'm not familiar with WHS but I think Homegroup is the workgroup that hosts your user accounts - I would turn this back on then you should see the name of that Account Unknown user

  • Programme written in 6.1 is not writing to file in 7.0

    The programme written in 6.1 was designed to write data into file but i have installed labview 7.0 now and the same programme is not writing to file.

    Hi,
    Here is the detailed information.
    I am running this Labview VI for collecting data through a network analyser and controlling motion of motors through DAQ card. I have already run the cd of drivers given with Labview 7.0
    The exact subvi used for writing file is the hp8720 collect data. This thing has been installed in the Laptop with version 6.1 of Labview. What I have done is that I have taken the same programme and changed its algorithm in Labview 7.0 on a different comp and copied the file back. Then I installed labview 7.0 on the Laptop and tried running the new programme. But everything is working except the writing to file. Error handling has been put up and the message I get is Error reading/writing from/to file. Check file name.
    Kindly h
    elp out.
    Regards,
    Harshat

  • ODI not writing group by function for xmlagg

    Hi all
    i have a requirement to create xml file the query is in the target columns are follows
    first column deptno
    second column xmlserialize(content
    xmlagg(xmlelement("emp", xmlattributes(empno as "id", ename AS "name" )
    )) as nclob indent
    i expect the out put query as
    select deptno
            , xmlserialize(content
                 xmlagg(
                   xmlelement("emp",
                     xmlattributes(empno as "id", ename as "name")
                 as clob indent
       from scott.emp
       group by deptno ;but ODI is not writing group by for xmlagg instead the code generated is
    select deptno
            , xmlserialize(content
                 xmlagg(
                   xmlelement("emp",
                     xmlattributes(empno as "id", ename as "name")
                 as clob indent
       from scott.emp;can any one help me how to put group by for the column. it should automatically write group by for aggregate columns like max min. not in case of xmlagg.

    Hi
    changed my Ikm settings
    <%=odiRef.getGrpBy()%>
    replaced with
    <% out.print("GROUP BY " + odiRef.getColList("", "[EXPRESSION]", ",", "", "UD1")); %>
    marked deptno as UD1 and insert/update and it worked....

  • AICC Course Completions are not writing back to LSO

    We are on LSO 602 and we have both SCORM and AICC courses.  We have implemented the Single SCO Badi w/ the sample code that was provided.  This has helped solve the problem w/ the Single SCO completion progress, but we are having problems now w/ the AICC courses.
    AICC courses are not writing anything back to the LMS (we can see this through the API log while playing the courses in AE).  Now, when a student takes an AICC course in the portal, passes it, and confirms participation, they are followed up as Failed and Confirmed Participation.  The completion specification infotype specifies that 0% of the Learning Objects is required to pass the course. 
    This has made it unclear as to whether we can use the standard implementation of teh Single SCO Badi in conjunction with AICC courses.  
    Has anyone had success w/ AICC courses writing completion back to SAP LSO correctly?  And has anyone has success w/ AICC courses while the Single SCO Badi is implemented?
    Thanks!

    We do have the same problem. We implemented interface to a vendor for aicc courses and once course is completed they are sending as 100% completion to our CP but  SAP tables are not updated at all. Did you firgured it out what's the solution for your problem
    Srinivas
    Edited by: Srinivas on Mar 3, 2010 3:02 AM

  • Log4j not writing the llog file

    Hi
    I have a webapplication hosted on WAS,which is not writing the log file.Does anybody know the reason.?
    I have checked the log4j many times.it seems ok.as same file is working in another environment.
    Any help would be appreciated.
    Thanks
    Akash.

    Hi .the problem is solved.i changed the classloading as APPLICATION instead of MODULE in application.xml.
    Thanks.
    Akash.

  • Exit Function not writing data to InfoCube

    Hi All,
    I created a planning function where i have defined a exit function. This is just adding 5 KFs and storing that in another KF of the Infocube.
    When I execute that it gives me mesg that 11 records read, 0 of them changed and 0 generated. When i check the contents of the infocube I find nothing being changed.
    Can you please let me know why it is not writing it into infocube. I debugged and find the code in the function module getting executed and it is stopping at the break point but not writing to the infocube.
    An early response is appreciated.
    Tapan
    00 44 7951998123

    The code is given below. let me know if there is something wrong in this.
    FUNCTION Z_BPS_FGE01.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
    *"     REFERENCE(I_METHOD) TYPE  UPC_Y_METHOD
    *"     REFERENCE(I_PARAM) TYPE  UPC_Y_PARAM
    *"     REFERENCE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
    *"  EXPORTING
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
    *"  CHANGING
    *"     REFERENCE(XTH_DATA) TYPE  HASHED TABLE
    This example describes how to add a value to a keyfigure
      DATA:    ls_exitp TYPE upf_ys_exitp.
      DATA:    ls_mesg  TYPE upc_ys_mesg.
      FIELD-SYMBOLS:  <ls_data>  TYPE ANY.
    read first parameter
    if there is no parameter raise error message
      READ TABLE it_exitp INTO ls_exitp INDEX 1.
      IF sy-subrc NE 0.
      problem occured
        ls_mesg-msgty  = 'E'.
        ls_mesg-msgid  = 'upf'.
        ls_mesg-msgno  = '001'.
        ls_mesg-msgv1  = 'Exit-Parameter is missing.'.          "#EC NOTEXT
        APPEND ls_mesg TO et_mesg.
        exit.
      ENDIF.
      LOOP AT xth_data ASSIGNING <ls_data>.
    now <ls_data> points to a line of xth_data and can
    be used to reference each characteristic and/or
    keyfigure contained within.
      in the form 'modify_param_value' you can see how a keyfigure
      can be manipulated.
        PERFORM modify_param_value USING ls_exitp
                                   CHANGING <ls_data>
                                              et_mesg.
      ENDLOOP.
    ENDFUNCTION.
          FORM modify_param_value                                       *
    FORM modify_param_value USING ls_para TYPE upf_ys_exitp
                         CHANGING xs_data TYPE any
                                  lt_mesg TYPE upc_yt_mesg.
      DATA: ls_mesg  TYPE upc_ys_mesg.
      DATA:    lw_target type f.
      FIELD-SYMBOLS: <ZTACSPND> TYPE ANY,
                     <ZPOSFEE>  TYPE ANY,
                     <ZLISTFEE> TYPE ANY,
                     <ZFEAFEE>  TYPE ANY,
                     <ZDISFEE>  TYPE ANY,
                     <ZTOTFIX>  TYPE ANY,
                     <struct>   TYPE ANY.
    <ls_data> and therefore xs_data contains two structures
    1.  S_CHAS : Characteristics
    2.  S_KYFS : key figures
    choose second structure which contains the keyfigures
      ASSIGN COMPONENT 'S_KYFS' OF STRUCTURE xs_data TO <struct>.
    choose the keyfigure
      ASSIGN COMPONENT 'ZTACSPND' OF STRUCTURE <struct>  TO <ZTACSPND>.
      ASSIGN COMPONENT 'ZPOSFEE'  OF STRUCTURE <struct>  TO <ZPOSFEE>.
      ASSIGN COMPONENT 'ZLISTFEE' OF STRUCTURE <struct>  TO <ZLISTFEE>.
      ASSIGN COMPONENT 'ZFEAFEE'  OF STRUCTURE <struct>  TO <ZFEAFEE>.
      ASSIGN COMPONENT 'ZDISFEE'  OF STRUCTURE <struct>  TO <ZDISFEE>.
      ASSIGN COMPONENT 'ZTOTFIX'  OF STRUCTURE <struct>  TO <ZTOTFIX>.
    was the assignment succesful?
      IF sy-subrc = 0.
    now <ratio> points at the first key figure, which can be
    manipulated if you manipulate the field-symbol <ratio>
    ls_para-chavl contains the parametervalue
       <ratio> = <ratio> + ls_para-chavl.
    Sum up all five fixed spend InfoObjects and copy the value into another InfoObject ZTOTFIX,
    If the five InfoObjects are empty (zero) then do not copy any thing into the total fixed spend field.
        clear : lw_target.
        lw_target = <ZTACSPND> + <ZPOSFEE> + <ZLISTFEE> + <ZFEAFEE> + <ZDISFEE>.
        IF lw_target  > 0.
    *break-point.
          <ZTOTFIX> =  <ZTACSPND> + <ZPOSFEE> + <ZLISTFEE> + <ZFEAFEE> + <ZDISFEE>.
        ENDIF.
      ELSE.
      problem occured
        ls_mesg-msgty  = 'E'.
        ls_mesg-msgid  = 'upf'.
        ls_mesg-msgno  = '001'.
        ls_mesg-msgv1  = 'Can not assign component.'.           "#EC NOTEXT
        APPEND ls_mesg TO lt_mesg.
      ENDIF.
    ENDFORM.                    "modify_param_value

  • Background process not writing to file

    Hi,
    i am encountering a problem when a process is started under root in background.The application is not writing the Information to the file.
    But when i start the same application from a telnet session it works fine
    Any solution to the problem
    regds
    subbu

    your friend was obviously wrong.
    for (int a = 0;a = bytes.length - 1;a++){ // that does nothing
    of.write(bytes[a]);
    System.out.print(" " + bytes[a] + " : " + bytes.length);
    }the above "for" loop says :
    1:initialize a with 0;
    2:do loop while a=bytes.length(<-that's completely wrong. it should be
    a boolean expression);
    3:for each loop increment "a" by one.
    try this:for (int a = 0;a < bytes.length;a++){
    of.write(bytes[a]);
    System.out.print(" " + bytes[a] + " : " + bytes.length);

  • Xfa.resolveNode is not writing values to the last line

    Hi,
    I have an issue with the xfa.resolveNode function, i have added at comment //
    at below coding at the line where the issues is occuring, please advise what can be done in order to make the loop works and enter the loop for the last line.
    Any help/comment is highly appreciate!
    FormQuoteNotification.bdyMain.frmTableBlock.tblTable.rowTableSection.rowTableItem.colNetV alue::initialize - (JavaScript, client)
    var rowCount = tblTable._rowTableSection.count;
    var rowNo = new Array(rowCount);
    var i = 0;
    var j = 0;
    var k = 0;
    var comboType = new Array(rowCount);
    var comboPrice = new Array(rowCount);
    var productID = new Array(rowCount);
    var finalType = new Array();
    var finalPrice = new Array();
    var finalRow = new Array();
    var datasum = 0.000;
    for(i=0; i<rowCount; i++){
    rowNo[i] = xfa.resolveNode("tblTable.rowTableSection["+i+"]").rowRemarkRow.frmItem.txtLine.rawValue;
    productID[i] = xfa.resolveNode("tblTable.rowTableSection["+i+"]").rowRemarkRow.frmItem.txtProduct.rawVal ue;
    comboPrice[i] = xfa.resolveNode("tblTable.rowTableSection["+i +"]").rowRemarkRow.frmItem.frmNetValue.decNetValue.rawValue;
    comboType[i] = xfa.resolveNode("tblTable.rowTableSection["+i+"]").rowRemarkRow.frmItem.txtCombo.rawValue ;
              for(j=0; j<rowCount; j++){
                    if(j==(rowCount-1)){ // to check if this is the row before the last one
                        if(comboType[j]== comboType[j-1]){
                         finalType[k] = comboType[j];
                         datasum += parseFloat(comboPrice[j]);
                            finalPrice[k] = datasum;
                        else{
                         if(comboType[j] == null || comboType[j] == ""){
                          finalType[k] = "NotCombo";
                          datasum += parseFloat(comboPrice[j]);
                          finalPrice[k] = datasum; 
                          finalRow[k] = rowNo[j];
                          k=k+1;
                          datasum = 0.000;
                         else{finalType[k] = comboType[j];}
                    else{
                        if(comboType[j]== comboType[j+1]){
                            finalType[k] = comboType[j];
                            datasum += parseFloat(comboPrice[j]);
                            finalPrice[k] = datasum; 
                             if(finalRow[k] == "" || finalRow[k] == null){
                              finalRow[k] = rowNo[j]; 
                        else{
                         if(comboType[j] == null || comboType[j] == ""){
                             datasum += parseFloat(comboPrice[j]);
                          finalType[k] = "NotCombo";
                          finalRow[k] = rowNo[j];
                          k=k+1;
                          datasum = 0.000;
                         else{                      
                          finalPrice[k] += parseFloat(comboPrice[j]);
                              k=k+1;
                             datasum = 0.000;
    if(finalType[0] != null && finalType[0] != ""){
    for(var n=0; n<rowCount; n++){
    for(var m=0; m<rowCount; m++){
    //at this line, for the last row, even it is matching the if statement, the script is not entering for the last match of loop.
    //example, if rowCount = 2, when m=1, n=1, and the if statement is matching, , but it is simply not displaying the "XXX" for the line of n=2
    if(xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colCombo.rawValue == finalType[m]
       && xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colCombo.rawValue != ""
       && xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colCombo.rawValue != null)
        xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colProduct.rawValue = "XXX";
        //display comboprice
        if(xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colLine.rawValue == finalRow[m] &&   xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colCombo.rawValue == finalType[m]){
         var pricetodisplay = finalPrice[m].toFixed(3)+ " KWD";
         xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colNetValue.rawValue =   pricetodisplay ; 
           if(xfa.resolveNode("tblTable.rowTableSection["+n  +"]").rowTableItem.colNetValue.rawValue == null || xfa.resolveNode("tblTable.rowTableSection["+n  +"]").rowTableItem.colNetValue.rawValue == " " || isNaN(xfa.resolveNode("tblTable.rowTableSection["+n  +"]").rowTableItem.colNetValue.rawValue)){
               this.rawValue = null;

    Wouldn't this be better posted in a developers forum? This forum is for Using an iPad, not writing programs for one.

  • RSPO_LOCAL_PRINT - not store in spool ?

    Hello,
    RSPO_LOCAL_PRINT MF print in local printer but don't pass on the spool...
    Do you know similar MF rthat pass on spool ?
    tks,
    Roberto.

    Hi!
    I have the same problem than you. With te fm rspo_local_print the order is not strored in spool.
    Did you remembre how you solved that problem?
    Thanks
    Ana

  • Application debug not writing ....

    Database 11.2.0.2
    IBM AIX 6.1
    A new core banking application is being implemented. It is still at Testing phase. We are facing the problem of application debug not writing, or writing intermittently. Has anyone faced this or similar issue ...
    The database is installed on AIX server. On this server there is a directory created for this debug. And debug files are generated in this directory when the application guys work on database.
    Application guys frequently complain it is not writing.
    There are no errors on database alert logs, everything looks normal.
    Can anyone give me an idea how to resolve this....

    875719 wrote:
    Database 11.2.0.2
    IBM AIX 6.1
    A new core banking application is being implemented. It is still at Testing phase. We are facing the problem of application debug not writing, or writing intermittently. Has anyone faced this or similar issue ...
    The database is installed on AIX server. On this server there is a directory created for this debug. And debug files are generated in this directory when the application guys work on database.
    Application guys frequently complain it is not writing.
    There are no errors on database alert logs, everything looks normal.
    Can anyone give me an idea how to resolve this....Sometimes my car doesn't start. Can you give me an idea how to resolve this?
    The only thing you've really told us is that this system is running on an AIX. You haven't said a thing about the mechanism whereby this "application debug" is supposed to "write".
    So I say the solution is "42".

Maybe you are looking for

  • Want to open a new browser window and display the html file in locale disk.

    Hi, I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.

  • Premiere and Encore CS4 crashes and issues on Toshiba Laptop

    I have a Toshiba Qosmino Laptop, 4 GB ram, Windows XP Sev pac 3, Nvida Gforce 7300 video. new 7500 RPM Hard drive The two programs that crash all the time are Premiere and Encore CS4 Premiere will start some times and sometimes not. I've tried a new

  • Cannot open hyperlinks in excel

    I created hyperlinks to files in other folders on my computer, then later added some more. When I tried to open the new ones I received an error message, then I tried opening the old ones and received error message for those as well.  What is the pos

  • Using Mac OS 10.6 Server as Desktop

    Are there any advantages? disadvantages? I want MySQL and I want it the +Apple way.+

  • Where used list for planning variable

    Hi I have one variable in a  planning area. Can I find where it is used..? in which planning function or layout? Is there anything like "where used list " for variables in BPS. Thanks for your replies. Nandita