How to get Spaces in notepad while i download..??

Hi,
I'm downloading data into a notepad.
      FS_OUTPUT+281(28)  = FS_BSEG_ADD-WRBTR.
      FS_OUTPUT+388(30) = '                              '.
      APPEND FS_OUTPUT TO T_OUTPUT.
I'm able to download the the file but the issue is when i see the cursor of notepad it end's at 310th position as from 310 it is spaces. I want the cursor to end at 419. How can i achieve this i'm using GUI_DOWNLOAD to download the file.
Regards
VENk@

Hi
I probably you're placing the sign of end of line twice:
- One in your record
- One by method for dowload (it's set by default)
Delete the option of method:
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
  EXPORTING
*    BIN_FILESIZE              =
    FILENAME                  = 'C:\text.txt'
*    FILETYPE                  = 'ASC'
*    APPEND                    = SPACE
*    WRITE_FIELD_SEPARATOR     = SPACE
*    HEADER                    = '00'
*    TRUNC_TRAILING_BLANKS     = SPACE
     WRITE_LF                  = SPACE      "<-------------It has to be equal to space
Max

Similar Messages

  • How to get ALL validate-errors while insert xml-file into xml_schema_table

    How to get all validate-errors while using insert into xml_schema when having a xml-instance with more then one error inside ?
    Hi,
    I can validate a xml-file by using isSchemaValid() - function to get the validate-status 0 or 1 .
    To get a error-output about the reason I do validate
    the xml-file against xdb-schema, by insert it into schema_table.
    When more than one validate-errors inside the xml-file,
    the exception shows me the first error only.
    How to get all errors at one time ?
    regards
    Norbert
    ... for example like this matter:
    declare
         xmldoc CLOB;
         vStatus varchar
    begin     
    -- ... create xmldoc by using DBMS_XMLGEN ...
    -- validate by using insert ( I do not need insert ;-) )      
         begin
         -- there is the xml_schema in xdb with defaultTable XML_SCHEMA_DEFAULT_TABLE     
         insert into XML_SCHEMA_DEFAULT_TABLE values (xmltype(xmldoc) ) ;
         vStatus := 'XML-Instance is valid ' ;
         exception
         when others then
         -- it's only the first error while parsing the xml-file :     
              vStatus := 'Instance is NOT valid: '||sqlerrm ;
              dbms_output.put_line( vStatus );      
         end ;
    end ;

    If I am not mistaken, the you probably could google this one while using "Steven Feuerstein Validation" or such. I know I have seen a very decent validation / error handling from Steven about this.

  • How to get file from server while click on link

    Hi,
    i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
    following is the Destination url that i gave for the item.
    /u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
    please tell me how to get file from server while click on link.

    Ok I got your requirement now.
    If you are getting file names from view attribute then you should not be adding destination URI property for the link.
    Instead you can use OADataBoundValueViewObject API.
    Try below code in your controller processRequest method:
    I am assuming that you are using classic table.
    Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
    OATableBean tableBean =
    (OATableBean)webBean.findChildRecursive("<table item id>");
    OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    Regards,
    Sandeep M.

  • How to get full file path while uploading a file in flex Applications

    How to get full file path while uploading a file in flex applications.
    FileReference Object is giving file name and other details but not the actual path.
    Is there any workaround to to get the file path?.
    Thanks

    Why not ask in the Flex forum; it is more likely that someone over there knows.

  • How to get back music lost while syncing to itunes?

    how to get back music lost while syncing to itunes?

    If the music you lost during the sync process is no longer on the iPod, in your iTunes library, or in a backup elsewhere, I'm afraid you are out of luck.
    You may be able to redownload any lost purchases via iCloud (pending you live in a country where iCloud has gone live).
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    B-rock

  • How to get space between two values in a single cell of a table.

    hello,
            how to get space between two values in a single cell of a table.
    thanks a lot.
    kailash.

    sorry i got the answer.

  • Does anybody know how to get rid of icudt49.dll without downloading itunes? please help!!

    Does anybody know how to get rid of icudt49.dll without downloading itunes. I have run norton utilities througth but it does not take care of this problem.

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • How to get space after a letter section in the Index

    Hi
    I've created an index successfully from multiple InDesign documents and brought it into the document. Struggling to work out how to get a space to appear between the end of one letter section (eg 'A' entries) and next section (eg 'B' entries). Trying to avoid using 'space before' on the paragraph style as this will probably make a gap before the 'A' entry. Any ideas?
    Thanks
    Alex

    Have worked it out - ended up trying the 'space before' on the paragraph style for index titles and this sorted it with no space before the first title

  • How to get spaces

    for some of the fields in output table i need to send spaces instead of values.
    for eg:
    now i am sending values can any one please suggest how to send spaces istead of values for the following output table
    MOVE: GT_AFRU-AUFNR TO GT_OUTPUT-AUFNR,
    GT_AFRU-ERNAM TO GT_OUTPUT-ERNAM,
    GT_AFRU-ERSDA TO GT_OUTPUT-ERSDA,
    GT_AFRU-ERZET TO GT_OUTPUT-ERZET,
    i tried in this way but iam getting an error
    MOVE:   GT_OUTPUT-AUFNR = ' ',
            GT_OUTPUT-ERNAM = ' ',
            GT_OUTPUT-ERSDA = ' ',
            GT_OUTPUT-ERZET = ' '.
    please its urgent.

    Hi,
    do like this..don't use move statement.
    GT_OUTPUT-AUFNR = space,
    GT_OUTPUT-ERNAM = space,
    GT_OUTPUT-ERSDA = space,
    GT_OUTPUT-ERZET = space.
    append gt_output.
    Regards,
    nagaraj

  • Need to know how to free space so that I can download a movie?

    I am trying to free storage space but no matter what i do I am not able to do so. I have 64 g on my iPad air, it that I don't have enough storage space to download a movie I have already purchased. It directs me to settings to manage storage but I can't figure out how to free more storage

    How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
    http://support.apple.com/kb/HT5772http://support.apple.com/kb/HT5772
    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwnhttp://tinyurl.com/85w6xwn
    How to Remove “Other” Data from iPhone, iPad and iPod Touch
    http://www.igeeksblog.com/how-to-remove-other-data-from-iphone/http://www.igeeksblog.com/how-to-remove-other-data-from-iphone/
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6/7, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
     Cheers, Tom

  • Anyone know how to get elements 13 to install following download?

    The files download seems to have worked and I can see them in the destination folder on C:/, yet the software isn't activating automatically and Windows 7 doesn't recognize the file extension.  Any idea on how to get around this, without going through the entire download a second time?

    There should be an executable file (.exe) that accompanied the download that you will use to process the zipped file.

  • Anyone know how to get back the icons in that download tab?, Anyone know how to get back the icons in that download tab?

    My icons in that download files thing is gone. Anyone know how to get it back? Thanks!
    http://i1179.photobucket.com/albums/x385/Claused/ScreenShot2013-03-31at114810PM_ zpsae5a9824.png

    You could try booting into your Recovery partition (holding down the Command and R keys whilst booting) and use Disk Utility to verify and, if needed, repair your hard drive. If everything seems to be OK, you can reinstall OS X - just a 'fresh' install, it won't hurt your data (though it's always a good to backup your data) and it may fix the problem.
    Clinton

  • TS1424 how to get a refund on a movie download that won't work

    This is rediculous!! I downloaded a movie and it won't work on one computer.  So I downloaded it on my laptop (which is under the same Id, same house everything!) and while the download completed I CANT WATCH IT!!  I want my money back.  To add to this frustration I can't contact anyone to help with this issue.  I have to go on this forum.  I want a refund.  Forget the movie. This is stupid.

    Click Support at the top of this page, then click the link under Contact Us.

  • How to get the user input while server is waiting for client's message

    I have a server/client program (using sockets)
    I used a thread to let a server always waiting for client's request, but how should I found that
    there is no message pass to server from client.
    public void run(){
    while (true){
    Socket server = serverP.accept();
    ObjectInputStream inFromClient = new ObjectInputStream(server.getInputStream());
    inMessage = (Message)inFromClient.readObject();
    System.out.println("Deadlock may occurred, please enter your command: ");
    BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
    String command = inFromUser.readLine();
    The server is waiting for the inMessage that is passed from multiple clients. But if the server
    received no message after some time, it will assume something is wrong (eg, there is a
    deadlock), then it will ask the user to input the command to execute the method.
    If I put
    "System.out.println("Do you want to take Snapshot: ");
    BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
    String command = inFromUser.readLine();"
    inside the while loop, it will keep asking user to enter the input when every time the client
    connect to the server. But I want to ask the user to enter the command only when the server
    can't get the response from clients.
    How should I do?
    Please help.

    Your statement:
    Socket server = serverP.accept();
    it will block until Server receive connect request from client.
    So, what u can do is, create a seperate Thread which check if server is idle (no client connect to it) for a certain time.
    public class xxxxx extends Thread {
    public void run(){
       (new WatcherThread()).start()
       while (true){
       Socket server = serverP.accept();
       WatcherThread.acceptFlag();  
       ObjectInputStream inFromClient = new ObjectInputStream(server.getInputStream());
       inMessage = (Message)inFromClient.readObject();
       Do something with client request ...
       I suggest you to create a WorkerThread for
       each client request.
       For example:
       new (WorkerThread(inMessage)).start();
       This way, your server thread will immediately serve
       the next client request ASAP.
    public class WatcherThread extends Thread {
       private static accept = false;
       public static void acceptFlag() {
            flag = true;
       public void run() {
           while(true) {
               try { sleep(10000); } catch (Exception ex) { }
               if (!accept) { // never accepted after 10000 msecs
                  ... do your System.in here ...
               flag=false;          
    }The idea is, your server notify WatcherThread if a client connect. WathcerThread runs at seperate thread. It waits for 10000 msecs and check if Server ever gets connect request from server. If it doesn't then you can do your System.in, otherwise, it will wait for 10000 again..
    FYI, next time, please use [ code ] and [ / code ] to format your code. It discourage me to read plain whole-left-aligned code like yours.
    See: http://forum.java.sun.com/features.jsp#Formatting
    rgds,
    Alex

  • How to get list of FMs while creating Contact Person from User Admin Link

    Hi Experts,
    We are implementing SAP ECommerce for my SAP ERP. In one of our requirements, we need to develop MASS UPLOAD program which will take input as Contact Person's first name, last name, address and authorization details and create new Contact Person as it is done through User admin link.
    To develop above tool, I want to trace all the Function Modules which are called while creating new Contact Person from User admin link.
    Please provide your inputs on how I can get the trace of FMs.
    Thanks,
    Keya

    Hi Keya,
    For a B2C eCommerce solution, you are looking at FMs BAPI_CUSTOMER_CREATEFROMDATA1 and ISA_USER_CREATE and the table USAPPLREF which holds the reference to the customer and user.
    To get the FMs called, you would have to do a session trace during B2C user registration / B2B user creation from UME. You could search this forum on a 'how-to' for doing a session trace or lookup the development and extension guide that provides a lot of useful information.
    Cheers,
    Ashok.

Maybe you are looking for