How to add trailing blanks

Dear All
I have a small problem. I have a variable QMTXT of length 40 but in the output the string stored is of lenghth 30 to 38 only. Now I am getting data inside a TEXT file and becaue of automatic concatenating my next field of NUMC type is not getting properly in file.
It's position shifts as per the lenghth of the QMTXT field. Kindly let me know how can I let the field QMTXT have fixed length added with spaces up to 40 characters so that my next field will also be at fixed place
Amol

Hi All
I have pasted the output below. I have also used the
MLFN. DT DESCRIPTION OF THE NOTIFICATION IN TEXT BRKDN.DURATION
20050102 FATTAL ERROR DACK GAIN LARGE            9168.72
20050102 TAIL STOCK  NOT OPERATED            9143.53
20050102 GUAGE PROBLEM  SIZE NOT OK.            9143.08
20050103 AUTO CYCLE NOT WKG.            9135.80
20050103 auto cycle not working            9131.67
20050104 linear indexing not working            9111.20
20050104 AUTO CYCLE INTRUPT FREQUENTLY            9104.60
I have also used the internal table here but still the problem persists.
Part of my code which creates this file is below.
    CONCATENATE 'NOTFN.NO' 'EQUP.NO' 'LOCN.' 'MLFN. DT' 'DESCRIPTION OF THE NOTIFICATION IN TEXT' 'BRKDN.DURATION'
                 INTO str1 SEPARATED BY space.
    MOVE str1 TO i_mail-line.
    APPEND i_mail.
    CLEAR i_mail.
    APPEND i_mail.
    LOOP AT it_jest.
      WRITE it_jest-auszt TO auszt LEFT-JUSTIFIED.
      CONCATENATE it_jest-qmnum it_jest-equnr it_jest-stort it_jest-ausvn it_jest-qmtxt auszt
      INTO i_mail-line SEPARATED BY space.
      APPEND i_mail.
      CLEAR it_jest.
    ENDLOOP.
regards
Amol

Similar Messages

  • Html tags - how to add a blank line

    Hi there,
    can anyone tell me how to add a blank line into a page using one of the html tags ?
    thanks,
    Malcolm.

    You can use the <br> tag for a line break. Also   for space.
    Regards,
    Arun

  • How to add first blank entry in messageChoice

    I have a messageChoice that's populated entirely from the associated model (which happens to be a backing view/sql table). The only items that show in the list are populated records from my view/table. This is sufficient for create / edit forms, where I must have a value for the field that this messageChoice binds to. But it is problematic on the UIX Search Form component, because I need a blank entry in my messageChoice, so if the user creates new search criteria, it doesn't automatically take the first value in the list as part of the filter.
    How can I add a blank first option in my messageChoice when the messageChoice is bound to a model backed by a view?
    Thanks.
    Brad

    http://www.oracle.com/technology/products/jdev/tips/mills/null_list_entry.html

  • How to add a blank entr in dropdown list...??

    Hi all,
    I want to add a blank entry along with the datas into a drop down list for some purpose.
    Can anyone please sugeest how to do this task.
    Thanks in advance,
    Sekhar

    Hi,
    I think the blank value in a filter is same as showing All, and not only the rows which has value blank. Nevertheless both can be achieved as below.
    "Blank Value to show everything in Table as if no filter provided"
    value-key = '*'.
    value-value = 'All'.             " This will show up the text as All and work as if no filter is given and it will show all.
    APPEND value to set.
    "Blank Value to show the rows which has the value as space"
    value-key = space.
    value-value = 'None'.             " This will show up the text as None and work as if filter is given to show value as space
    APPEND value to set.
    Hope this help!
    Regards
    Vineet

  • Disorganized forums (with bonus of how to add a blank page in acrobat)

    Gee wiz these forums are disorganized.
    Hey adobe, want to see how a forum should be organized? Then go to any of the bazillion websites that are set up on a hierarchy and EASILY searchable within a topic, instead of the convoluted mess that you have here.
    Here is another answer to "how to a add a blank page" to a doc in acrobat.
    Since it has already been "answered" (how absurd is that) I am posting it here, in hope that someone can find it because THIS solution is no where else on the web as far as i can tell.
    Option click & drag a page to duplicate it then delete the page contents with the “touch up object” tool. then duplicate the page to your hearts content. note you will need to remove password if any first.
    .

    I've been usin acrobat since Version 4. Currently have last updated version 9.
    Just recently made some pdfs. The last time I did a multipage PDF has been a while (but still after version 9).
    But in order to see a full 8.5x11 page I had to do the dot trick I spoke of, there has to be some type of content even if same color as background, more than halfway down the page in order for it to show as a full page, you do nothing if it even creates one, shows as a half page or less.
    And if you want it to look professional, you type either in middle or just bellow middle, the words:
    THIS PAGE INTENTIONALLY LEFT BLANK
    set color to a pale gray (as shown above). I've seen PDF Manual for software using this.

  • How to add extra blank space in xml

    I open the xml file in notepad I get this
    <XXON_EXT_BANK_ACCOUNT_NAME>創名聯合會計師事務所                                        </XXON_EXT_BANK_ACCOUNT_NAME>
    But when I open the xml file in html format the blank space is gone.
    How can I add extra blank space in xml?

    Hi
    Why do you need the extra space for?
    This difference in display that you see between your browser and notepad/notepad++
    will not affect your generated report.
    Bogdan 

  • How to add a blank line in configurat​ion file

    Hi,
    I would like to add an empty / blank line in my configuration file. (.ini file) as below:
    [H1]
    key1=1
    [H2]
    key2=2
    I don't have any idea on how to add the empty/blank line.
    Could anyone help me on this? 

    In case you do not have such luxury, like me... 
    This example VI show an alternative way of inserting empty line/ space between sections of a configuration file...
    PS1: Note that Additional Empty Element is intentionally added to create/ add empty line/ space between sections... 
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFFCT_CFIO_example add empty line between sections.vi ‏64 KB

  • How to add a blank row into a datatable

    i hava adatatable which contains the datas from database.i need to add a new data so that i need a blank row which contain the same number of columns in the existing datatable.
    Pls Help..

    sorry i am a beginner in jsf..
    In the crud Example i saw a code in MyCrudBean.java.i wrote the code like that but the same stage only one row is coming i cant add n items .
    * Department.java
    * Created on Nov 22, 2007, 4:43:12 PM
    package datatable;
    import Item.DeptDatabase;
    import com.sun.rave.web.ui.appbase.AbstractPageBean;
    import com.sun.webui.jsf.component.Body;
    import com.sun.webui.jsf.component.Form;
    import com.sun.webui.jsf.component.Head;
    import com.sun.webui.jsf.component.Html;
    import com.sun.webui.jsf.component.Link;
    import com.sun.webui.jsf.component.Page;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.FacesException;
    import javax.faces.component.html.HtmlDataTable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    public class Department extends AbstractPageBean {
    Connection con = null;
    PreparedStatement StmtRateSel = null;
    ResultSet rs = null;
    private List<DeptDatabase> list = new ArrayList();
    private int addCount = 1;
    private HtmlDataTable myDataTable;
    private static final int DEFAULT_TABLE_ROWS = 10;
    // <editor-fold defaultstate="collapsed" desc="Managed Component Definition">
    * <p>Automatically managed component initialization. <strong>WARNING:</strong>
    * This method is automatically generated, so any user-specified code inserted
    * here is subject to being replaced.</p>
    private void _init() throws Exception {
    private Page page1 = new Page();
    public Page getPage1() {
    return page1;
    public void setPage1(Page p) {
    this.page1 = p;
    private Html html1 = new Html();
    public Html getHtml1() {
    return html1;
    public void setHtml1(Html h) {
    this.html1 = h;
    private Head head1 = new Head();
    public Head getHead1() {
    return head1;
    public void setHead1(Head h) {
    this.head1 = h;
    private Link link1 = new Link();
    public Link getLink1() {
    return link1;
    public void setLink1(Link l) {
    this.link1 = l;
    private Body body1 = new Body();
    public Body getBody1() {
    return body1;
    public void setBody1(Body b) {
    this.body1 = b;
    private Form form1 = new Form();
    public Form getForm1() {
    return form1;
    public void setForm1(Form f) {
    this.form1 = f;
    // </editor-fold>
    * <p>Construct a new Page bean instance.</p>
    public Department() {
    public void deptsave() throws SQLException{
    connection();
    StmtRateSel      = con.prepareStatement("execute prcPnsDepartmentIns");
    rs = StmtRateSel.executeQuery();
    con.close();
    @Override
    public void init() {
    // Perform initializations inherited from our superclass
    super.init();
    // Perform application initialization that must complete
    // before managed components are initialized
    // TODO - add your own initialiation code here
    // <editor-fold defaultstate="collapsed" desc="Managed Component Initialization">
    // Initialize automatically managed components
    // Note - this logic should NOT be modified
    try {
    _init();
    } catch (Exception e) {
    log("Department Initialization Failure", e);
    throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
    // </editor-fold>
    // Perform application initialization that must complete
    // after managed components are initialized
    // TODO - add your own initialization code here
    * <p>Callback method that is called after the component tree has been
    * restored, but before any event processing takes place. This method
    * will <strong>only</strong> be called on a postback request that
    * is processing a form submit. Customize this method to allocate
    * resources that will be required in your event handlers.</p>
    @Override
    public void preprocess() {
    * <p>Callback method that is called just before rendering takes place.
    * This method will <strong>only</strong> be called for the page that
    * will actually be rendered (and not, for example, on a page that
    * handled a postback and then navigated to a different page). Customize
    * this method to allocate resources that will be required for rendering
    * this page.</p>
    @Override
    public void prerender() {
    * <p>Callback method that is called after rendering is completed for
    * this request, if <code>init()</code> was called (regardless of whether
    * or not this was the page that was actually rendered). Customize this
    * method to release resources acquired in the <code>init()</code>,
    * <code>preprocess()</code>, or <code>prerender()</code> methods (or
    * acquired during execution of an event handler).</p>
    @Override
    public void destroy() {
    * <p>Return a reference to the scoped data bean.</p>
    * @return reference to the scoped data bean
    protected SessionBean1 getSessionBean1() {
    return (SessionBean1) getBean("SessionBean1");
    * <p>Return a reference to the scoped data bean.</p>
    * @return reference to the scoped data bean
    protected RequestBean1 getRequestBean1() {
    return (RequestBean1) getBean("RequestBean1");
    * <p>Return a reference to the scoped data bean.</p>
    * @return reference to the scoped data bean
    protected ApplicationBean1 getApplicationBean1() {
    return (ApplicationBean1) getBean("ApplicationBean1");
    private void connection() {
    try{
    Context ctx = new InitialContext();
    System.out.println("context"+ctx);
    if(ctx == null )
    throw new Exception("Boom - No Context");
    DataSource ds = (DataSource)ctx.lookup("BiteRiteJNDI");
    if (ds != null) {
    con = ds.getConnection();
    System.out.println("connnn"+con);
    catch(Exception e)
    {System.out.println(e);}
    public void addDataItem() {
    while (addCount-- > 0) {
    DeptDatabase myNewDataItem = new DeptDatabase();
    //myNewDataItem.setEditMode(true);
    list.add(myNewDataItem);
    //log(myDataList);
    // Reset counter and go to last page.
    addCount = 1;
    // log(myDataList);
    // Reset counter and go to last page.
    //addCount = DEFAULT_ADD_COUNT;
    pageLast();
    System.out.println("in add itm");
    // list.add(new DeptDatabase());
    public List getListtt(){
    return list;
    public HtmlDataTable getMyDataTable() {
    if (myDataTable == null) {
    myDataTable = new HtmlDataTable();
    myDataTable.setRows(DEFAULT_TABLE_ROWS);
    return myDataTable;
    private static void log(Object object) {
    System.out.println("bejoy"+new Exception().getStackTrace()[1].getMethodName() + ": " + object);
    public void pageLast() {
    System.out.println("in Page last");
    int count = myDataTable.getRowCount();
    System.out.println("count"+count);
    int rows = myDataTable.getRows();
    System.out.println("rows"+rows);
    if (rows != 0) { // Prevent ArithmeticException: / by zero.
    System.out.println("not equals zero");
    myDataTable.setFirst(count - ((count % rows != 0) ? count % rows : rows));
    log(new Integer(myDataTable.getFirst()));
    public void setListtt(List<DeptDatabase> list) {
    this.list = list;
    * CRUD table: set datatable.
    * @param myDataTable The datatable.
    public void setMyDataTable(HtmlDataTable myDataTable) {
    this.myDataTable = myDataTable;
    jsp
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Document : Department
    Created on : Nov 22, 2007, 4:43:11 PM
    Author : Administrator
    -->
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <webuijsf:page binding="#{Department.page1}" id="page1">
    <webuijsf:html binding="#{Department.html1}" id="html1">
    <webuijsf:head binding="#{Department.head1}" id="head1">
    <webuijsf:link binding="#{Department.link1}" id="link1" url="/resources/stylesheet.css"/>
    </webuijsf:head>
    <webuijsf:body binding="#{Department.body1}" id="body1" style="-rave-layout: grid">
    <webuijsf:form binding="#{Department.form1}" id="form1">
    <h:dataTable binding="#{Department.myDataTable}" id="myDataTable" value="#{Department.listtt}" var="dataItem">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Departments"/>
    </f:facet>
    <h:inputText value="#{dataItem.department}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="StockItem"/>
    </f:facet>
    <h:inputText value="#{dataItem.stockItem}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="StockUnit"/>
    </f:facet>
    <h:inputText value="#{dataItem.stockUnit}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="MaxStock"/>
    </f:facet>
    <h:inputText value="#{dataItem.maxStock}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="MinStock"/>
    </f:facet>
    <h:inputText value="#{dataItem.minStock}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="ReorderLevel"/>
    </f:facet>
    <h:inputText value="#{dataItem.reorderlevel}"/>
    </h:column>
    </h:dataTable>
    <h:commandButton action="#{Department.addDataItem}" value="Add"/>
    </webuijsf:form>
    </webuijsf:body>
    </webuijsf:html>
    </webuijsf:page>
    </f:view>
    </jsp:root>
    i dont know wats the problem??
    pls send a sample code to add n items

  • How to add a blank row in a report structure ?

    Hi,
    I have a report which uses a structure in both the rows and the columns. It also using cell definitions to define some cells in the report.
    What I want to do is to format the report a bit more and insert a blank line at various points in the row structure.
    Can this be done and if so how?

    Are you creating report on InfoCUbe or ODS?
    Are you aware of any characteristics for which value will never be ZERO in the Dataprovider?
    If yes, then remove the formula and create the selection with description .(dot) and restrict that characteristics by #. That would pullout space for all the KFs.
    - Danny

  • How to add a blank black screen ?

    Hi all,
    In FCE4, I can create a blank black screen, I think the effect was slug.
    But how do we do that in FCP X ?
    Thanks

    to use the position tool press P, and then press A again to go back to the normal tool.
    Alternatives:
    1. You can also right click and replace an existing clip with a gap by selecting "replace with gap"
    2. You can insert a Solid>Custom clip from the media generator on the right.

  • How to add a Blank row ?

    Hello Experts
    I probably have a very simple question - but i just need to kno :
    What is an option if i want to leave a blank row as a seperator between data sets in my report output ?
    I have to report on the portal and this would be a BI 7.0 Query.
    Please suggest
    Regards
    Shweta

    well - I was looking for an option to use the query designer to do this. so i created a structure in the rows and added a Key figure to it and after that i wanted to blank out the values by using cell definition and saying hide results there.
    However ; i see some issues here
    1. the cell definition box on my query is grayed out - any idea why ?
    2. what if i want to add key figures in columns - since i am using them in a structure in the rows - i can not use them in columns - but actually - i will want key figs in columns - so then the alternative that i am using is not feasible - so what can i do then ?
    I don't think i will use WAD or web template.
    what do you suggest ?
    Regards
    Shweta

  • How to add a blank (black screen) to beginning of project?

    I want to add a black screen to the beginning of a project ... so that when I hit play button, a few seconds elapse before the first clip appears. I tried adding time to the transition before my first clip and making it 5 or more seconds, but the program reverts back to the default 2sec.

    Alternatively, I just add a title to the beginning but have no text in it. You can adjust the length as long as you want and add a transition into your film.

  • How to add a blank line/return!

    So simple, it would seem, and yet I can't find a way to do this in adobe acrobat!
    All I want to do is stick a blank line in the pdf, a return. At the moment the text reads like this?
    "jskdbvjkls\bvj\s
    skjfdbvjkashbvgkj
    askjfnvlkasjnvskjdn"
    akfgnvlkasfdnvgkangfdhnsdfgnsfgmnsfmjndfhmjdgfhmjgfhm
    I would like it to read like this:
    "jskdbvjkls\bvj\s
    skjfdbvjkashbvgkj
    askjfnvlkasjnvskjdn"
    akfgnvlkasfdnvgkangfhmxfhgmnxfhmxgfhmgfxhmghmghm
    The narrow text is a poem (in the middle of some prose) and I'd like there to be a space between the end of the poem and the start of the explanation. However, they each seem to be inside different boxes(?) and if I press return to create a blank line, the last line of the poem overlaps with the first line of the prose. I've struggled with this for ages, but can't find a way to do it. Can somebody set me free from this incredibly annoying frustration? 

    This type of edit should not be performed in the PDF.  You need to edit the
    original file and then create a new PDF.
    If you can't do that then either export it or try to move all the text
    "boxes" you see. There's no other way of doing it.

  • How to add blank page to existing Document In Adobe Dc

    how to add blank page to existing Document In Adobe Dc Pro

    Hi thashrifs16749461,
    You can add a blank page using Adobe Acrobat DC by following the below instructions :-
    1) Open your existing pdf document in Acrobat DC.
    2) Choose the 'Organize Page' option form the Tools pane on the right as shown below in the screen shoot.
    3) Now at the top you will see all the tools to Organize the page, Click on 'Insert' & select 'Blank Page' from the drop-down to insert blank pages.
    *Shortcut : If you are using windows computer you can use ' Shift+Ctrl+T ' key to insert blank pages.
    In case if you experience any issue or have any query please let us know. We will be happy to help you.
    Regards,
    Aadesh

  • How can I add a blank value in a standard drop down list

    Hello,
    I have a requirement to add a blank value into the standard drop down list of for i.e. the search criteria
    "created on" -> (values are: yesterday/today/last week etc).
    The problem is, that this field has always the default value "yesterday" but our customer wants to have a blank field as default.
    Can anybody provide me steps how can I add this blank value ?
    Many thanks in advance

    Hi Bernard,
    thanks for your reply.
    Its for quotation.
    Could you give me still some further detail steps, please ?
    Many thanks
    Andreas

Maybe you are looking for

  • HT1923 I Tunes and Windows 8.1

    Just moved to Windows 8.1 from 7- what a bad decision I Tunes worked easily and perfectly under 7 I have Windows Media Player installed. I have a large library of Operatic arias under composer, performer etc. I can open them with difficulty but it th

  • Oracle XQuery performance issue in XMLType column

    Dear All, As for oracle I'm using oracle 11g to measure the performance. I'm using data from XMark project which is a >100MB data of XML for bencmarking purposes. I make a table that contains an XMLType column and upload the data into that column, af

  • Windows 7 - Net Use LPT Issue

    Hello TechNeter, I have a small network running with a DOS legacy invoice application with a shared DOT printer connected to a Windows 08 server. This script is triggered once the computers started: net use LPT2 /delete net use LPT2 \\ServerName\Prin

  • Viewing/fonts of documents changed after 9.1 download

    I have many pdf documents that look totally different now, almost unreadable. The font or something has changed after I downloaded the newest version. What do I do to get back to normal?? I am writing my PhD dissertation, and cannot even read my save

  • Lead Management - CRM 5.0

    HI gurus, I have 4 questions: 1. What is the lead user exit (if it exists)? 2. What is the correct mapping for CRMXIF_ORDER_SAVE associated to "status" field? 3. What is the table which contains texts (description or note)? 4. How can I valorize new