How to add a SPACE as suffix to the last field in the downloaded text file?

Hi Experts,
By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
fine.
example current record1 : 010001                      354.999            26.000
here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
thanq

Sorry...Typo error...Too many in the last few days -:(
Wanted to say AFTER -:)
Do it like this...
FIELD1 TYPE XXX,
FIELD2 TYPE XXX,
FIELD3 TYPE XXX,
SPACE(1) TYPE C,
That way you should end with...
26.000+SPACE
Greetings,
Blag.

Similar Messages

  • Want to display a space after last field in the output txt file

    hi
    I want to display a space after last field in the output txt file which is generaed by my program on utility server the last field lengyt we have defined is four and in database it is of three characters and requirement is to disppaly the last fourth field as space in the output file w hich is not shown as the txt file automatically gets closed at the third place as it is the last field in the record and ind atabase records are of therss char only but user wants to display this fourth position in the notepad output file as space ( which is last field in the output file)
    eg
    name house  street country
    record output coming in file
    ram   h3      street3  thn      now this thn which is last field the notepad get closed at thn only
    i want to display one space in last field for the whole of output file
    ie ram      h3   street3  thn(space)
        sham   h4  street4   sgp(space)  so on......
    we need to show this space in the output file as blank
    regards
    Arora

    hi Atish
    i am using
    loop at gt_sagadr_outtab into wa_sagadr_outtab
    move wa_sagadr_outtab-country to wa_sagadr_text+223(226).
    endloop
    in this last field ie country i need to display the last 226 as blank as only country key is two char in database so the last space is not shown
    i am not unsing the fM as tolb by  you
    and afterwards
    i am usning
    Concatenate 'Sagadr_' sy-datum sy-uzeit '.dat' into gv_filename_sagadr.
    CALL FUNCTION 'FILE_GET_NAME'
      EXPORTING
      CLIENT                        = SY-MANDT
        LOGICAL_FILENAME              = gc_lfile
        OPERATING_SYSTEM              = SY-OPSYS
        PARAMETER_1                   = gc_param1
        PARAMETER_2                   = gc_send
        PARAMETER_3                   = gv_filename_sagadr
      USE_PRESENTATION_SERVER       = ' '
      WITH_FILE_EXTENSION           = ' '
      USE_BUFFER                    = ' '
      ELEMINATE_BLANKS              = 'X'
      IMPORTING
      EMERGENCY_FLAG                =
      FILE_FORMAT                   =
        FILE_NAME                     =  gv_filepath_sagadr
    EXCEPTIONS
      FILE_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.
    and lastly
    open dataset gv_filepath_sagadr for output in text mode encoding default.
        if sy-subrc eq 0.
         loop at gt_sagadr_text into wa_sagadr_text.
         transfer wa_sagadr_text to gv_filepath_sagadr.
         endloop.
        endif.
       close dataset gv_filepath_sagadr.
        if sy-subrc = 0.
        message S002 with gv_filepath_sagadr. "Files & created on Application server
        endif.
    SO NOT SURE WHERE TO USE THE CODE AND HOW

  • [Solved] How To Add Blank Space In Prompt With zsh

    How can I get zsh to show the full directory path I'm in, instead of just my hostname?
    Last edited by shoober420 (2014-07-31 16:53:51)

    You should be able to just add a space in your prompt. Can you post the prompt you have now?
    Have a look at https://wiki.archlinux.org/index.php/Color_Bash_Prompt
    PS1='[\u@\h \W]\$ '
    The prompt goes between the ' ' - the last two characters are $ and a space. Try doing something similar.

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • I am unable to find instructions on how to add a bookmark. I don't want it on the toolbar

    I am unable to find instructions on how to add a bookmark. I don't want it on the toolbar but just in the list of bookmarks. I've tried every which way to search for this information but without success.
    Thanks,
    D Lapp
    Email: <[email protected]>
    I removed the email address. It is not needed on the forum to send you replies. The forum is public and indexed by search engines. You may reinstate the email address if you wish. You may also choose to display the email address publicly in your profile use [/users/edit] ->''Make my email public: ''[] ~J99

    If you want to bookmark the current page, you can use the keyboard shortcut Ctrl+d to add the bookmark.
    If you prefer to type the address, or you need to bookmark a page that is not displayed, right-click an existing bookmark on the Bookmarks menu (or in the folder where you want to add the bookmark) and choose New Bookmark.
    Is that what you're looking for?

  • If I add a row to my spreadsheet, how do I get the footer cell to show the last amount in the table automatically?

    Balance Forward
    $0.00
    Date
    Code
    Check Number
    Transaction/Description
    Deposit
    Withdrawl
    Ending Balance
    I am able to set up the Ending Balance to show the value of the cell right above it as long as I dont need anymore rows. If I add a row the value of the ending balance is stuck on the row or rows above the newly addd ones. All of my other formulas contiune on when a row is added, Is there a formula that can be added so that when a row is added the ending balance value moves to the last cell in the row?

    Cobb425 wrote:
    Thank you badunit for your responses and help. Jerrolds formula worked for me a little bit better for what I was looking to do. Thank you again for your help
    Whatever works best for you. Jerry's formula assumed your table might not be totally full, that there might be empty rows at the bottom.  Mine assumed there were no empty rows; it gave the value of the cell directly above it, as you asked. With Jerry's formula, be sure you enter your data in order by date or keep it sorted that way to ensure you get the correct "Ending Balance".  If your last row does not have the most recent date, the formula will return the balance from a different row.
    I don't see the advantage in Jerry's "Balance Forward" formula over the simpler one I provided.

  • How do I delete apps when I cannot get the red x, I cannot update the iPad because of lack of memory space. I heard it was a bug in the last version of the op.system, any ideas?

    I cannot update the iOS because of lack of memory (3.5 GB required). The apps cannot be deleted because I cannot get them red x in memory management or when they shake for reorganization. I heard this was a bug in the last update of the op. system. So what is the process?

    From where did you hear this..?
    Lockie555 wrote:
    I heard this was a bug in the last update of the op. system.
    DELETING APPS
    Touch the app and hold your finger down until all the apps start to jiggle. You will see a circled "x" in the upper left corner. Tap it to delete an app. When done press the Home button.
    You cannot delete any pre-installed iOS app.
    If there is No 'X' on any apps you have Downloaded... then check in Restrictions...
    Settings > General > Restrictions
    Understanding Restrictions  >  http://support.apple.com/kb/HT4213
    Lockie555 wrote:
    I cannot update the iOS because of lack of memory (3.5 GB required).
    Alterrnatively you can update using iTunes on the computer you usually sync with.
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch
    NOTE:
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • How to add user defined F4 help for s LDB field?

    Hi,
         I am using PNPCE Logical Database for a program using the standard HR report category. But I want to have my own restricted F4 help for a particular field.Is it possible to override the standard LDB search help? I tried doing it , but I am getting a syntax error .
    Mahesh

    Hi Mahesh,
    I don't think so that you can attach a User defined F4 help in a standard LDB.
    What I would suggest is that you copy the standard LDB into Z LDB from SE80.
    Then go to the selection screen of the LDB and either try and attach a F4 help by writing the code in it OR
    Hide the field where you want to attach the F4 help with the keyword Exclude(you will have to check on the exact keyword).
    And add the same field in the selection screen of the report and define the F4 help.
    Do not forget to attach the Z LDB to your report by going to the Attributes.
    Please refer to the code below for attaching a generic F4 help to a select options:
    report zrich_0001 .
    data: begin of ihelp occurs 0,
    field type char10,
    ftext type char50,
    end of ihelp.
    data: a_field(20) type c.
    select-options s_field for a_field.
    initialization.
    ihelp-field = 'A'.
    ihelp-ftext = 'Description A'.
    append ihelp.
    ihelp-field = 'B'.
    ihelp-ftext = 'Description B'.
    append ihelp.
    ihelp-field = 'C'.
    ihelp-ftext = 'Description C'.
    append ihelp.
    at selection-screen on value-request for s_field-low.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
    retfield = 'FIELD'
    dynprofield = 'S_FIELD'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    value_org = 'S'
    tables
    value_tab = ihelp.
    start-of-selection.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • 10G-Form: How to add Email-id to the To: field in the Outlook?

    I am using 10G DB + 10G Form Builder.
    I've 'email_item' field in table where I am storing email-ids.
    I m displaying 'email_item' field and 'Send_Email_button' in the form.
    I want to add (copy) the exact email-id that has been displayed on the form to the To: field in the Outlook.
    Means whatever Email got displayed in the 'email_item' field, I want to add this Email automatically.
    I do not want to type manually the email-id of the person in the To: field of the Outlook like I am using rt. now as:
    WHEN-BUTTON-PRESSED trigger code=
    WEB.SHOW_DOCUMENT ('mailto:hard_coded_value_of_email?subject=Testing%20Email: &body=Please%20check............');
    Pl help me.
    Gaurav

    Hi,
    For getting the email ID you can write a java code using the Iuser Interface. Have look to the following:
    public class UseremailID extends AbstractPortalComponent
    public void doContent(
    IPortalComponentRequest request,
    IPortalComponentResponse response)
    try
    IUserFactory userfactory = UMFactory.getUserFactory();
    IUserSearchFilter userfltr = userfactory.getUserSearchFilter();
    userfltr.setMaxSearchResultSize(5000);
    ISearchResult userResult = userfactory.searchUsers(userfltr);
    while (userResult.hasNext())
    response.write("<table border=0>\n");
    String uniqueid = (String) userResult.next();
    IUser user = userfactory.getUser(uniqueid);
    //IRole role = rolefactory.getRole(uniqueid);
    response.write("<tr><td bgcolor=Red>"+ user.getDisplayName()+ "</td></tr>\n");
    response.write("<tr><td bgcolor=Green>"+ user.getEmail()+ "</td></tr>\n");
    response.write("</table>\n");
    response.write("
    \n");
    catch (Exception e)
    for analyzing the error you just need to check the log file at your server. Visit the following path:
    <Your_SAP_Drive> :/usr/sap/<your_System_Name>/jc00/j2ee/cluster/server0/log/
    There you can view the .trc file. Open that file and look for the error or the Stack trace in that.
    i think it may help you

  • BIP eBusiness Suite Dates - How to include the last day of the month?

    How can I get my report to include the last day of the month 'without' forcing my users to enter the non-intuitive first of the next month as a parm?
    I have a report that will generally be run for a month but can be run for any pair of dates representing the first and last date to be included in the report.
    When we pass the dates from Oracle Apps to the report it is truncating the date to midnight. This results in the last date entered 'NOT' being included in the report as the second date is marked as "midnight". When I attempt to simply add "=1" to the end date it fails due to formatting issues in apps (only). I have gotten this to work on our Enterprise edition server that we use for testing (only) but it fails in our apps environment.
    In APPs we input the date in the format "01-AUG-2007", and this is how it shows in the parm line before the report is submitted as well as in the "View Details" after the report is executed: http://home.swbell.net/grog1//work/req_details_5607586.jpg
    However it is odd in that we in the "View Log" entry it shows the date formatted as "2007/08/01 00:00:00": http://home.swbell.net/grog1/work/view_log_5607586.jpg
    Even odder is that under diagnostics, "View XML" the date is formatted third way as: "2007/08/01 00:00:00.0" (note it now includes tenths of a second): http://home.swbell.net/grog1/work/view_xml_5607586.jpg
    This of course makes it difficult to perform conversions and calculations on the date in the SQL.
    Is APPs doing some sort of 'timestamp' conversion?
    How can I get my report to include the last day of the month 'without' forcing my users to enter the non-intuitive first of the next month as a parm?
    Any feedback is appreciated,
    Scott

    No. The problem/error occurs long before the data is formatted into xml for presentation to the format template.
    The error occurs in the SQL in the 'data' template when I attempt to add a day to the date. It either does not like the implicit conversion with the "+1" and then the use of the "between" with another date or if I attempt to manually convert it has problems with the format mask.
    Scott

  • I was given an assingment, but have no idea where to begin. The assingment is to create a text file using notepad with all of my digital inputs and some how make those imputs show up on my digital indicators on my control pannel

    I was given an assingment, but have no idea where to begin. The assingment is to create a text file using notepad with all of my digital inputs and some how make those imputs show up on my digital indicators on my control pannel.
    When it was explained to me it didn't sound to hard of a task, I have no LabVIEW experience and the tutortial sucks.

    StevenD: FYI, I did NOT give you the one star rating. I would never do that!
    StevenD wrote:
    Ow. Someone is grumpy today.
    Well, this is an assignment, so it is probably homework.
    Why else would anyone give HIM such an assigment, after all he has no LabVIEW experience and the tutorials are too hard for him?
    This would make no sense unless all of it was just covered in class!
    This is not a free homework service with instant gratification.
    OK! Let's do it step by step. I assume you already have a VI with the digital indicators.
    "...but have no idea where to begin".
    open notepad.
    decide on a format, possibly one line per indicator.
    type the document.
    close notepad.
    open LabVIEW.
    Open the existing VI with all the indicators.
    (are you still following?)
    look at the diagram.
    Who made the program?
    Does the code make sense so far?
    Is it a statemachine or just a bunch of crisscrossed wires?
    Where do you want to add the file read?
    How should the file be read (after pressing a read button, at the start of the program ,etc.)
    See how far you get!
    Message Edited by altenbach on 06-24-2008 11:23 AM
    LabVIEW Champion . Do more with less code and in less time .

  • I found how to delete a series from my ipad, but it still won't download the last episode of the new series I am trying to have.  What have I done wrong?

    I found how to delete a series from my ipad, but it still won't download the last episode of the new series I am trying to have.  What have I done wrong?

    What is the GarageBand version that your friend is using?
    If it is GarageBand '11, version 6.0.5, you can buy GarageBand '11 as a boxed retail version with the iLIfe '11 bundle, e.g. from Amazon.
    Then you can upgrade GarageBand '11 to 6.0.5, using this upgrader from the Support page:
                     GarageBand 6.0.5
    GarageBand 6.0.5 will work well with your system.  But if your friend is using the newest GarageBand 10, this will not help. Then ask your friend to send you audio files for each track, so you can recreate the project from the audio.  Or your friend could also use GarageBand '11 for the projects you want to share, that will run well in all newer MacOS X versions, even with GarageBand 10.0 installed on the same system.
    -- Leonie

  • How to get the last day of the payroll period

    Hi all,
    I need to get the last day of the payroll period e.g. last day of Jan 2007 is 31 Jan 2007. Can anyone suggest as to how to get it?
    Thanks,
    Madhu

    T549S contains the payroll periods with pay date.  T549Q contains the begin and end dates of the payroll period.
    You can select from the appropriate table (or from both depending on your given data) to get the end date of the period.
    Hope that helps.
    Mary

  • How to get the last day of the previous month

    Hello Team,
    If  my input date is today , then i need to find out the last day of the previous month for the same.
    Can someone help me  to find out .. how can this be done.
    Regards,
    Ravi

    Hi,
    Try the below code.
         // get a calendar object
        GregorianCalendar calendar = new GregorianCalendar();
        // convert the year and month to integers
        int yearInt = Integer.parseInt(year);
        int monthInt = Integer.parseInt(month);
         int dayInt = Integer.parseInt(day);
        // adjust the month for a zero based index
        monthInt = monthInt - 1;
        // set the date of the calendar to the date provided
        calendar.set(yearInt, monthInt, dayInt);
        int day = calendar.getActualMaximum(GregorianCalendar.DAY_OF_MONTH);
        return Integer.toString(day);
    Regards
    Venkat

  • How to print a label in the last page of the report

    Hi, I have a report af bottom page I trid to put a label, the label is in the margin, but when I change the print condition send me a error, illegal print condition, how can I print this label only in the last page at the botton of the page
    Thanks

    Herbe,
    You can do this using format trigger
    Please see the building reports manual / Tutorial for details
    at http://otn.oracle.com/docs/products/reports/content.html
    Thanks
    The Oracle Reports team

Maybe you are looking for

  • Quick Look no longer works with AVI files.

    Hi For some reason, quicklook no longer looks inside avi files. I get a black screen and audio, but no visual. This is a recent problem, nothing has changed on my system other than itunes 9 being installed. AVI files worked fine with quicklook but ha

  • Report without Parameter form

    I would like to generate report without Parameter form being displayed.How to do?

  • Pricing list - Retail

    Hi all, For pricelist pricing i have maintained the following settings, WB02 merchandise catagory level pricelist is activated Maintained PB00 pricelist condition record(Sales org/dc/pricelist condition table) Basic data retail(IMG) Distribution chai

  • Enable Telnet in MAC OS X Lion

    How do you enable Telnet Server in Lion? I need to be able to telnet to 127.0.0.1 and it says connection refused when I try it.

  • Imported photos have distortions in black areas

    I've imported several photos from my scanner as well as from online. When placing them in iMovie, I notice during playback the photos have distortions and marks in most areas that are black. Is there a way to fix this problem? Thanks for your help.