Spool Spreadsheet Formatting is not align

I have a program which excute a program f9 mode, then i select the output device, then select Format=X_65_200, then save into spool request, after the job finished, i see the graphical datalist in proper format.when i save to file as a spreadshheet i open the spreadsheet in excel, my align is not under separate column, its into single column.Is there anything in write statement to align or X-format or Line_size? please help this
REPORT fica_aging_report NO STANDARD PAGE HEADING
       MESSAGE-ID zccs LINE-SIZE 225 LINE-COUNT 65(1).
Heading -
FORMAT COLOR COL_HEADING INTENSIFIED OFF.
  ULINE.
  WRITE: /1(1)  '|',
        3(17) 'Business Area',
       22(13) 'District',
       37(4) 'Rate',
       43(16) '      <  30 Days',
       61(16) '      <  60 Days',
       79(16) '      <  90 Days',
       98(16) '      < 180 Days',
      115(16) '      < 365 Days',
      133(16) '      > 365 Days',
      151(17) '        Total Due',
      169     '|'.
  FORMAT RESET.
  ULINE.
Out put -
WRITE: /1(1)  '|',
            3(17) w_gsber,
           22(13) int_grandsummary-city2,
           37(14) int_grandsummary-tariftyp,
           43(16) ls_30ar,
           61(16) ls_60ar,
           79(16) ls_90ar,
           98(16) ls_180ar,
          115(16) ls_365ar,
          133(16) ls_over365ar,
          151(17) ls_total,
          169     '|'.

Users are entering special characters in the instructions to the signatory, and when the string is picked up into the custom email, the system is mis-translating the characters in the CLM.We suspect on the custom java mail util not setting up the MIME Type.
Any help would advise on this.

Similar Messages

  • Problems downloading spool lists to spreadsheet format

    Hi,
    When downloading spool lists to spreadsheet format, individual columns
    are not separated like lists created online.
    How can we solve this problem?
    (Notes 118692 and 650491 don't give any solution)
    Thanks in advance.
    Eduard

    Your subject header says you own CS5 but your message says CS5.5 so I assume you really want CS5.5.
    Download CS5.5 from http://prodesigntools.com/adobe-cs5-5-direct-download-links.html
    Follow the Very Important Instructions on that page first BEFORE you click the download links.
    Install then enter your serial number to license it.

  • Currency format and Right Align not working for messagetext in HGrid

    Hi
    We are dynamically enabling MessageTextinput inside HGrid region, it is Number type and when we set readonly to True it become left align, and currency format also not working, I tried the below various options but nothing is working.
    Option : 1
    OAMessageTextInputBean attribute = (OAMessageTextInputBean)webBean.findChildRecursive("Attribute"+i);
    attribute.setCurrencyCode("USD");
    Option :2
    OAWebBean amountDueBean2 = webBean.findChildRecursive("Attribute"+i);
    oracle.cabo.ui.validate.Formatter formatter2 = new OADecimalValidater("#,##0.00;(#,##0.00)","#,##0.00;(#,##0.00)");
    amountDueBean2.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter2);
    etc options we tried
    amountDueBean2.setAttributeValue(CURRENCY_CODE,formatter2);
    amountDueBean2.setAttributeValue(OAWebBeanConstants.CURRENCY_CODE,"USD" );
    Please help on this issue.
    We are using Jdeveloper 10.1.3.3.0.3
    TiA
    Babu

    Anatoli,
    Hello!
    I don't know if my situation is the same as yours, but after a lot of head-scratching, forum searching and template rebuilding, I finally figured out my problem.
    I had one column that no matter what I did kept appearing in Excel as text. I'd format it to Number in Excel and nothing. When trying to sum the column, Excel would not recognize any of the values as numbers. I even did the reformatting on the XML Word template to number, and the currency format that Adam mentions. Still no go. The $ and ',' appeared, but column still formatted as string.
    I just finally noticed Adam's mention of the 2 extra spaces at the end of the numbers and sure enough mine was doing the same thing. Take out the 2 spaces and voila! Number!
    Every time I redid my template in Word (07 and 03), I used the wizard. (Add-ins>Insert>Table>Wizard) walked through the steps, not really changing anything. Then I would preview and the spaces would be there. The column that I was having problems with was the last column of the table, which would get the text 'end G_ASSIGNED_CC' inserted in after the field name - separated by 2 spaces. Once I took out these two spaces, so the column now shows 'COSTend G_ASSIGNED_CC', it worked fine in Excel - all numbers.
    Hope that helps someone out there as I was having a heck of a time finding anything (solutions anyway) on this.
    Thanks,
    Janel

  • Text alignment "Justify" is not aligned in Crystal Viewer.

    Hi,
    I am having a text field in report like paragraph format in Detail section and I have setting the text alignment as u201CJustifyu201D. If I launch the report through dhtml viewer the text is not aligned in justify format, it is getting aligned as left alignment, but it is working properly while exporting to PDF and Design Preview panel.
    This problem is occurs in Crystal Report XI Release 2 and Crystal Report 2008 also.
    This has been already posted and the link is Text Alignment - Justification Problem
    Please help me to overcome this issue.
    Thanks in Advance.

    With CR 2008, make sure you are on SP4:
    SP4
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    SP4 MSI
    https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
    SP4 MSM
    https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
    If that does not help, please provide a link to screen shots of the issue.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Download SAP Report in Spreadsheet Format with automatic Save As selection

    Hi All,
    I'm using an Excel sheet that links up to SAP to grab some data off of QE03. Due to the nature of my data, I have to save the data into Excel/Spreadsheet format (aka this button )
    BUT, when you click that button it stops the script for a "Save As" screen, since it isn't a part of SAP. Since I have a macro immediately after the save that cuts the data, I need this to be fully automated and uninterrupted.
    Here is the script I have in excel:
    Dim SapGuiAuto
    Dim Apps
    Dim Connection
    Dim session
    Dim WScript
    Sub Master()
            With Sheets("Graphs")
            Call SAP
            Call QE03
            End With
    End Sub
    Sub SAP()
    If Not IsObject(Apps) Then
       Set SapGuiAuto = GetObject("SAPGUI")
       Set Apps = SapGuiAuto.GetScriptingEngine
    End If
    If Not IsObject(Connection) Then
       Set Connection = Apps.Children(0)
    End If
    If Not IsObject(session) Then
       Set session = Connection.Children(0)
    End If
    If IsObject(WScript) Then
       WScript.ConnectObject session, "on"
       WScript.ConnectObject Application, "on"
    End If
    End Sub
    Sub QE03()
    session.findById("wnd[0]").maximize
    session.findById("wnd[0]/tbar[0]/okcd").Text = "/nqe03"
    session.findById("wnd[0]").sendVKey 0
    session.findById("wnd[0]").sendVKey 4
    session.findById("wnd[1]/usr/tabsG_SELONETABSTRIP/tabpTAB005/ssubSUBSCR_PRESEL:SAPLSDH4:0220/sub:SAPLSDH4:0220/ctxtG_SELFLD_TAB-LOW[1,24]").Text = "123456"
    session.findById("wnd[1]/usr/tabsG_SELONETABSTRIP/tabpTAB005/ssubSUBSCR_PRESEL:SAPLSDH4:0220/sub:SAPLSDH4:0220/ctxtG_SELFLD_TAB-LOW[1,24]").SetFocus
    session.findById("wnd[1]/usr/tabsG_SELONETABSTRIP/tabpTAB005/ssubSUBSCR_PRESEL:SAPLSDH4:0220/sub:SAPLSDH4:0220/ctxtG_SELFLD_TAB-LOW[1,24]").caretPosition = 8
    session.findById("wnd[1]").sendVKey 0
    session.findById("wnd[1]/usr/lbl[1,1]").SetFocus
    session.findById("wnd[1]/usr/lbl[1,1]").caretPosition = 8
    session.findById("wnd[1]").sendVKey 2
    session.findById("wnd[1]/usr/lbl[1,3]").SetFocus
    session.findById("wnd[1]/usr/lbl[1,3]").caretPosition = 7
    session.findById("wnd[1]").sendVKey 2
    session.findById("wnd[0]/usr/ctxtQAQEE-VORNR").Text = "1234"
    session.findById("wnd[0]/usr/ctxtQAQEE-VORNR").SetFocus
    session.findById("wnd[0]/usr/ctxtQAQEE-VORNR").caretPosition = 4
    session.findById("wnd[0]").sendVKey 0
    session.findById("wnd[0]/mbar/menu[1]/menu[0]/menu[0]").Select
    session.findById("wnd[0]/tbar[1]/btn[40]").press
    session.findById("wnd[1]/tbar[0]/btn[8]").press
    session.findById("wnd[1]/tbar[0]/btn[37]").press
    End Sub
    I get stuck right at the last line, "session.findById("wnd[1]/tbar[0]/btn[37]").press" which opens the Save As dialog box. I've seen some similar topics around here, but I am honestly not too savvy at scripting and this is an Excel specific model, so does anyone have any advice?

    Hi,
    Why are you trying to use  that button?
    It's much easier to use simple its called "Local file" u can grab it by shortcut CTRL+SHIFT+f9...
    Another option is to use SAP functions:: put "%PC" to command field then enter, and you will get the window with option to save data in excel.
    Please find below some examples to download data to excel:
    'For STANDARD T-CODES like MB52
    'export to excel button
    Session.FindById("wnd[0]/tbar[1]/btn[45]").Press
    Session.FindById("wnd[1]/usr/subSUBSCREEN_STEPLOOP:SAPLSPO5:0150/sub:SAPLSPO5:0150/radSPOPLI-SELFLAG[1,0]").Select
    Session.FindById("wnd[1]/tbar[0]/btn[0]").Press
    Uname = CreateObject("WScript.Network").UserName
    Session.FindById("wnd[1]/usr/ctxtDY_PATH").Text = "C:\Users\" & uname & "\Desktop\"
    Session.FindById("wnd[1]/usr/ctxtDY_FILENAME").Text = "TEMP.xls"
    'rewrite
    Session.FindById("wnd[1]/tbar[0]/btn[11]").Press
    OPTION WITH "%PC"
    'save to TEMP
    session.findById("wnd[0]/tbar[0]/okcd").Text = "%pc"
    session.findById("wnd[0]").sendVKey 0
    session.findById("wnd[1]/usr/subSUBSCREEN_STEPLOOP:SAPLSPO5:0150/sub:SAPLSPO5:0150/radSPOPLI-SELFLAG[1,0]").Select
    session.findById("wnd[1]/tbar[0]/btn[0]").press
    session.findById("wnd[1]/usr/ctxtDY_PATH").Text = "C:\Users\" & Uname & "\Desktop\"
    session.findById("wnd[1]/usr/ctxtDY_FILENAME").Text = "TEMP.xls"
    session.findById("wnd[1]/tbar[0]/btn[11]").press
    Best,

  • Report 10.1.2.0.2 - DESFORMAT=spreadsheet - Report does not appear

    We use Report 10.1.2.0.2 - DESFORMAT=spreadsheet
    RDF Report try to appear for 1 second and then disappear.
    In the report there isn't image or particular object.
    There is only one grid from db table.
    The form coll the report with this procedure:
    PROCEDURE RUN_REPORT_OBJECT_PROC
    ( rep_fileobj VARCHAR2,
    rep_filename VARCHAR2,
    rep_server VARCHAR2,
    rep_desformat VARCHAR2,
    rep_desname VARCHAR2,
    rep_destype NUMBER,
    rep_paramlist PARAMLIST ) IS
    -- Local var
    rep_id REPORT_OBJECT;
    rep_message VARCHAR2(100);
    rep_status VARCHAR2(100);
    vjob_id VARCHAR2(100);
    choice NUMBER ;
    BEGIN
    -- Estrae il report_id
    rep_id := find_report_object(rep_fileobj);
    -- Impostazione parametri RUNTIME del report
    SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_SERVER,rep_server);
    SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_DESFORMAT,rep_desformat);
    SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_DESTYPE,rep_destype);
    -- SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_DESNAME,rep_desname);
    SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_FILENAME,rep_filename);
    -- Lancia RUN_REPORT_OBJECT con o senza lista parametri
    IF ( NOT Id_Null( rep_paramlist ) ) THEN
    rep_message := run_report_object( rep_id, rep_paramlist );
    ELSE
    rep_message := run_report_object( rep_id );
    END IF ;
    -- Attesa processo asincrono di generazione del report termini
    rep_status := 'RUNNING' ;
    WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    rep_status := report_object_status( rep_message );
    END LOOP ;
    -- Estrazione JOB_ID
    vjob_id := SUBSTR( rep_message, LENGTH( rep_server ) + 2, LENGTH( rep_message ) ) ;
    -- Visualizzazione report sul WEB
    IF rep_status = 'FINISHED' THEN
    web.show_document( '/reports/rwservlet/getjobid' || vjob_id ||
    '?server=' || rep_server, '_blank');
    ELSE
    message ( 'Creazione report fallita. Errore : ' || rep_status );
    END IF;
    END;
    and the parameter passed to the procedure:
    run_report_object_proc( 'MG_CAUSALI_MOV', :GLOBAL.rep_path_name||'\MG\mg_causali_mov_excel.RDF',
    :GLOBAL.REP_SERVER_NAME, 'SPREADSHEET', '', CACHE, pl_id ) ;
    The parameter :GLOBAL.... are correct: the PDF report run correctly.
    Where is the problem ?????
    The application server control show report SPREADSHEET terminated succesfully and
    in the report cache the htm file are present and is correct for Excel (we opened the fil ewith excel).
    Thanks in advance
    Umberto

    Hi dmars,
    report runs perfectly if I call it directly from Reports Server, from browser, using reports server URL.
    When I call it from the form, it opens Excel file, but it's just empty.
    As I understood, there is no way to call excel-compatible report wit run_report_object.
    Also, what I learned after browsing internet,- to get nice and neat excel report one has to start with making excel layout first, save it as HTML, open this file in Reports as web report and manually update the code with java script lines.
    So, as a matter of fact, SPREADSHEET format was sort of dead-end feature of Reports10G/9i.

  • Output is not aligning

    Hi,
    Can someone please tell me what I can do to make my output align correctly? I used Titanic and then Mission Impossible for the name of the DVD's and the output is all off. It's correct but not aligned right with the column headings.
    Thank you!!!
    import java.util.Scanner;
    import java.text.*;
    public class inventory
      public static void main(String[] args)
        //This will hold the product name
        String name;
        //This will hold the value number of products
        int numberofproducts;
        //Creates a Scanner object to read input
        Scanner input = new Scanner(System.in);
        //Creating a number format instance to make pay print with 2 decimal digits
        NumberFormat nf = NumberFormat.getInstance();
        nf.setMaximumFractionDigits(2);      ; ;
        //prompting user to enter number of products (array size)
        System.out.print("Enter the number of products:  ");
        numberofproducts = input.nextInt();
        //creating an array of products to store information in
        DVD[] productarray = new DVD[numberofproducts];
        //This will loop until the number of products is 0
        for(int j = 0; j < numberofproducts; j++)
            productarray[j] = new DVD();
          //prompting user to enter product name
          System.out.print("Enter the DVD Title:  ");
          input.nextLine();
          //reading user's input
          productarray[j].setName(input.nextLine());
          //prompting user to enter the product number
          System.out.print("Enter the product number for " + productarray[j].getName() + " :  ");
          //reading user's input
          productarray[j].setProductnumber(input.nextInt());
          //prompting user to enter the price per unit
          System.out.print("Enter the price per unit for " + productarray[j].getName() + " :  ");
          //reading user's input
          productarray[j].setPriceperunit(input.nextDouble());
          //prompting user for the number of units
          System.out.print("Enter the number of units " + productarray[j].getName() + " on hand: ");
          //reading user's input
          productarray[j].setNumberofunits(input.nextInt());
           //Calculating the Value of Invetory
          nextProduct.setValueofinventory(nextProduct.getPriceperunit() * nextProduct.getNumberofunits());
          grandTotal += nextProduct.getValueofinventory();
          productarray[i] = nextProduct;
          input.nextLine();
        }//end for loop
        //Displaying the Inventory
        System.out.println("Item #\tName\tProduct #\t# of Units\tUnit Cost\tTotal Cost");
        for(int j = 0; j < numberofproducts; j++)
            System.out.print((j + 1) + "\t" + productarray[j].getName() + "\t" + productarray[j].getProductnumber() + "\t\t");
            System.out.print(productarray[j].getNumberofunits() + "\t\t$" + nf.format(productarray[j].getPriceperunit()) + "\t\t$");
            System.out.println(nf.format(productarray[j].getValueofinventory()));
        }//end for loop
    System.out.println("The Value of the entire inventory is:  " + "$" + grandTotal );
      }//end main method
    }//end class inventory
    class DVD extends product
        private double valueofinventory;
        private double restockingfee;
        public DVD()
        }//end constructor
      //sets the valueofinventory variable plus a 5% restocking fee
      public void setValueofinventory(double valueofinventory)
            restockingfee = valueofinventory * .05;
        this.valueofinventory = valueofinventory * 1.05;
      }//end setValueofinventory
      //returns the valueofinventory value
      public double getValueofinventory()
          return valueofinventory;
      }//end getValueofinventory
      //returns the restockingfee value
      public double getRestockingfee()
          return restockingfee;
      }//end getRestockingfee
    }//end class DVD
    //This class will hold the information for the product
    class product
      //This will hold the product name
      private String name;
      //This will hold the values for product number, price of each unit, and number of units in stock
      private int productnumber, numberofunits;
      //This will hold the price of each unit
      private double priceperunit, valueofinventory;
        public product()
        }//end constructor
        //Sets the name variable
        public void setName(String name)
            this.name = name;
        }//end setName
        //returns the string value for Name
        public String getName()
            return name;
        }//end getName
        //sets the productnumber variable
        public void setProductnumber(int productnumber)
            this.productnumber = productnumber;
        }//end setProductNumber
        //returns the integer assigned to productnumber
        public int getProductnumber()
            return productnumber;
        }//end getProductnumber
        //sets the priceperunit variable
        public void setPriceperunit(double priceperunit)
            this.priceperunit = priceperunit;
        }//end setPriceperunit
        //returns the priceperunit value
        public double getPriceperunit()
            return priceperunit;
        }//end getPriceperunit
        //sets the valueofinventory variable
        public void setValueofinventory(double valueofinventory)
            this.valueofinventory = valueofinventory;
        }//end setValueofinventory
        //returns the valueofinventory value
        public double getValueofinventory()
            return valueofinventory;
        }//end getValueofinventory
        //sets the numberofunits variable
        public void setNumberofunits(int numberofunits)
            this.numberofunits = numberofunits;
        }//end setNumberofunits
        //returns the numberofunits value
        public int getNumberofunits()
            return numberofunits;
        }//end getNumberofunits
    }//end class product

    Java is not actually designed and developed for stand alone console application. So you cannot expect output in console as you thought. There may be third party utilities for your needs. Just google it. You can use your own logic to do this. It is not difficult. Anyhow I include this code here. This would be helpful I hope.
    public static String padAlign(String string, int fieldLength, char padding, boolean alignRight)
    int length = fieldLength - string.length();
    if (length <= 0)
    return string.substring(0,string.length());
    StringBuffer buffer = new StringBuffer(fieldLength);
    for(int i=0; i<length; i++)
    buffer.append(padding);
    if (alignRight)
    buffer.append(string);
    else
    buffer.insert(0,string);
    return new String(buffer);
    public static void main(String[] args)
    System.out.println(padAlign("Test",20,' ',true)+" "+padAlign("Test again",20,' ',true));
    System.out.println("--------------------|--------------------|");
    System.out.println(padAlign("Test",20,' ',false)+" "+padAlign("Test again",20,' ',false));
    }

  • Text not aligning right - too much space on top or bottom in tables

    Hi,
    I am in the process of learning DW myself and building my own website, but have run into problems putting my cv into a nice format.
    Here is the link:
    http://www.junjundesigns.com/cv.html
    First of all, in dw, it looks much different than it does when it loads in my firefox.
    The problem that I can't solve is how the text on the left in the body does not align to the top of the box, to equal height of the text in the right is.
    For example, I want "20047 Jul-Present" to begin at the same level/height as "Etam Clothing Company Ltd. - Designer Manager", and subsequently I want the next item "2007 Apr-Jul" to align to the top of "The Collection..." and so on.
    I checked the codes and I don't find any extra /p or br/ breaks, and tried putting more in and taking some out with the same results or just not what I want.
    Please help. Thanks!

    I have two suggestions:
    1. Vertically align your table cells to Top:
              <td width="172" valign="top" bgcolor="#0099FF"><p>2007 Jul-Present <br />Shanghai, China</p></td>
              <td width="684" valign="top" bgcolor="#0099FF"><p align="left"><strong>Etam Clothing Company..............
    2. Learn to lay your pages out with CSS instead of tables. You will have much more control with positioning elements on a page.

  • Paragraph format Transport and alignment

    Hi All,
    I have been working lately, on SAP Scripts and came across a strange situation when transporting the script layout to the Quality system. The Paragraph formats are not transported to the QA System.
    And also i need help in Alignment of the Net Price Values i.e., Decimal Values in the Right justified manner.
    Any help regarding the above mentioned queries is highly appreciated.
    Thanks,
    Kash

    Hi Kash,
    As the style that you have created for the SAP Script might not be transported properly or the request might have not transported to the QAS, check your request and try once again, and concept you have to understand here is style that you have created acts as a separate format which works after the assigning the style name to your script, you might have assigned but not transported to QAS.
    And coming to your decimals use Shift keyword and sort your issue.
    Cheers!!
    VEnk@

  • Problem : Spool Request 0 does not exist ..

    Hi, I have a report to be converted to PDF format and then download the pdf as a local file. The code are as below.
    My problem is each time i execute my program, it will show me a message saying "Spool request 0 does not exist". Then i wil have to delete that particular code (the code below), activate the program and then copy and paste back the code (the code below from elsewhere) and activate it again. The code i copied is exactly the same, nothing is changed. But i dont want to practice this method everytime i execute my program.
    What are the cause to this problem and how should i solve it ? Please advise me..
    Thanks.
    Extracted Code ****
    *&      Form  print_pdf
    FORM print_pdf .
    STRUCTURES
      DATA: mstr_print_parms LIKE pri_params,
            mc_valid(1)      TYPE c,
            mi_bytecount     TYPE i,
            mi_length        TYPE i,
            mi_rqident       LIKE tsp01-rqident.
    INTERNAL TABLES
      DATA: mtab_pdf    LIKE tline OCCURS 0 WITH HEADER LINE,
            mc_filename LIKE rlgrap-filename.
      CONCATENATE 'c:\EEOReport-' sy-datum '_' sy-uzeit '.pdf' INTO mc_filename.
    Setup the Print Parmaters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination    = space
          copies         = '1'
          list_name      = space
          list_text      = space
          immediately    = space
          release        = space
          new_list_id    = 'X'
          expiration     = '1'
          line_size      = 132
          line_count     = 65
          layout         = 'X_65_132'
          sap_cover_page = 'X'
          receiver       = 'SAP*'
          department     = ''
          no_dialog      = 'X'
        IMPORTING
          out_parameters = mstr_print_parms
          valid          = mc_valid.
      IF mc_valid <> space.
        NEW-PAGE PRINT ON PARAMETERS mstr_print_parms NO DIALOG.
        NEW-PAGE PRINT OFF.
      ENDIF .
    Make sure that a printer destination has been set up
    If this is not done the PDF function module ABENDS
      IF mstr_print_parms-pdest = space.
        mstr_print_parms-pdest = 'LOCL'.
      ENDIF.
    Explicitly set line width, and output format so that
    the PDF conversion comes out OK
      mstr_print_parms-linsz = 132.
      mstr_print_parms-paart = 'X_65_132'
    Find out what the spool number is that was just created
      PERFORM get_spool_number USING sy-repid
                 sy-uname
        CHANGING mi_rqident.
    Convert Spool to PDF
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid              = mi_rqident
          no_dialog                = space
          dst_device               = mstr_print_parms-pdest
        IMPORTING
          pdf_bytecount            = mi_bytecount
        TABLES
          pdf                      = mtab_pdf
        EXCEPTIONS
          err_no_abap_spooljob     = 1
          err_no_spooljob          = 2
          err_no_permission        = 3
          err_conv_not_possible    = 4
          err_bad_destdevice       = 5
          user_cancelled           = 6
          err_spoolerror           = 7
          err_temseerror           = 8
          err_btcjob_open_failed   = 9
          err_btcjob_submit_failed = 10
          err_btcjob_close_failed  = 11
          OTHERS                   = 12.
      CALL FUNCTION 'DOWNLOAD'
        EXPORTING
          bin_filesize = mi_bytecount
          filename     = mc_filename
          filetype     = 'BIN'
        IMPORTING
          act_filename = mc_filename
        TABLES
          data_tab     = mtab_pdf.
    ENDFORM.                    " print_pdf
    *&      Form  get_spool_number
    FORM get_spool_number  USING    P_SY_REPID
                                    P_SY_UNAME
                           CHANGING P_MI_RQIDENT.
    DATA: lc_rq2name LIKE tsp01-rq2name.
      SELECT * FROM tsp01 WHERE  rq2name = lc_rq2name
      ORDER BY rqcretime DESCENDING.
        P_MI_RQIDENT = tsp01-rqident.
        EXIT.
      ENDSELECT.
      IF sy-subrc NE 0.
        CLEAR P_MI_RQIDENT.
      ENDIF.
    ENDFORM.                    " get_spool_number

    Hi.. i've added this line
      submit (sy-repid) to sap-spool without spool dynpro
                                             spool PARAMETERS mstr_print_parms
                                             and return.
    added before
    *-- Find out what the spool number is that was just created
      perform get_spool_number using sy-repid
                 sy-uname
    It will keep going back to my selection-screen unless i click the back button. when i click on the back button it will only convert the pdf file and it can be converted succesfully. Is there any way where i can modify the code so that it wont return to the selection-screen again and again when i click one execute ??
    Please assist... i need this urgently.. thanks

  • Subcircuit pins do not align with grid and will not connect

    I have two identical subcircuit symbols.  One is just fine, but the other has pins that do not align with the MS grid, and one that will not even connect.  MS12.0.0.
    This one is fine:
    This one pins are off grid.  The circled one will not connect.
    Solved!
    Go to Solution.

    Hi,
    I have been experimenting a bit with this. One thing you can try is open the Symbol Editor, select the pin which is not connecting and then from the spreadsheet view, change the Shape to Zero-length Pin. Then try to see if you can connect the pin in the design. It will not appear as a line but you should still be able to connect to it.
    If this does not work, you can open a service request and we can try to see how to resolve the issue.
    Hope this helps.
    Regards,
    Tayyab R,
    National Instruments.

  • Spool file format

    Hi,
    I am trying to come up with a clean consistent spool file format. Right now when I set linesize in sqplus to 9999, the rows in my spool file are printed far apart. so for a small query result I end getting a long file. The linesize is what I want for sqlplus but not spooling. Anyone have settings that would fix this?
    Thanks.

    set trimspool on
    should trunc the lines on the last non blank character.
    Nicolas.

  • Tabs not aligning in cs6

    Have three lines of text formatted with tabs giving 4 columns of numbers, no tab on first column which is descriptions. Text has a paragraph indent. Using soft returns to carry tab attributes through paragraph. Also using 'indent to here' character on first line. Tabs do not align. Have to insert an additional tab in place of 'insert to here' for numbers to align. Previous versions did not have this problem. Anyone else encountered this?

    Judging from the tags on the original post, this is a Mac file,
    Oof. Yup, that'd be a Mac file. Bowie, it might be useful to do that even though you know it's a new file - you could tell us exactly which version of CS6 you are using, e.g. 8.0.1.406
    (Joel, it seems your tabs setup doesn't quite match that of Bowie.)
    You're right, Tom - I would have thought that the differences were insignificant.
    Either there is something that I am missing (I hammered this sample out in fifteen seconds, it's quite possible that it's still not an accurate recreation) or perhaps this issue is be platform-related. Also, I'd want to second Mike's suggestion here - is there any way you can post this file (or a file that recreates the issue without sharing any proprietary info) to something like Dropbox?

  • Apple Configurator Redemtion Codes Spreadsheet format

    I need to supply a spreadsheet for Apple Configurator with redemtion codes to a customer. The customer lives in a non-VPP country and is not able to use VPP to buy the licenses.
    Where can I find a description of the spreadsheet format used by Apple Configurator in order to generate the spreadsheet my self?
    A sample file would also be great.

    I've got support from Apple Germany. It seems to be a problem of version 1.1.2 of Apple Configurator and Mountain Lion 10.8.2
    As mentioned above I had the same problem using 10.7.4 and 10.7.5 and Configurator 1.1.2. Apple Germany sent me a different spreadsheet, where I've put my codes in and it worked. Strange but true.
    Other story, I bought 50 redeem codes, after installing 22 iPads it stopped, telling me that there are no more redeem codes left ?
    Good luck contacting Apple directly

  • XML Publisher report output in RTF format does not display full page

    Hi,
    We have one XML Publisher report, the output of report in RTF format is not getting displayed in Full Page in normal way (MS Word -->View menu --> Print layout) but we can see full page display when we do MS Word -->View menu --> Outline.
    Appreciate your valuable inputs on this.
    Is this a template issue or any profiles needs to be set.
    Thanks
    Vijay

    Do you have any header and footer on your template?
    If you have any header and footer then try to adjust it as of to display full page.
    Thanks
    Yasar

Maybe you are looking for