Problem download data with trailing blanks using gui_download

Hi All,
      I am using SAP 4.6C. I have requirement to download data with trailing
blanks.But i am not succeeded fully to acheive my requirement.I want to
download data to be in the below format.
Eg: 'T000000070600000004000000003593593                                               '
I want to download data with different blanks of each record.
For example in 1 line 18, 2nd line 25, 3rd line 22.
I already used Hexa notation value '09'. But it is showing only 7 at once. I have
added 3 times this field but it is showing 21. How i can i add extra space?
I tried to move ' ' spaces also. It does't wotk. I have tried concatenate with ' ' and
separared by ' ' also but no use.
I have passed all possible parameters to GUI_DOWNLOAD FM.
say  write_field_separator         = ' '
write_lf    = 'X'
trunc_trailing_blanks    = ' '
trunc_trailing_blanks_eol     = ' '
Could please tell me some one had faced same problem earlier. It is very urgent.
Is there is any class attribute in SAP 4.6C?
( like cl_abap_char_utilities in 4.7 )
Thanks in Advance.
Basha

Try :
CONCATENATE  XXXX space RESPECTING BLANKS.
Of course you must retain these parameters :
trunc_trailing_blanks = space
trunc_trailing_blanks_eol = space
Hope this helps

Similar Messages

  • Problem while downloading data to text file using GUI_DOWNLOAD FM

    Hi,
    When we download the data using the GUI_DOWNLOAD FM into the text file tab delimeted(table is built dynamically),
    Its coming in this format as shown below
    Field1  Fileld2  Field3
    1     2      3
    However I want it in this way
    Field1  Fileld2  Field3
    1          2         3
    Could someone please let me know how to achieve this?

    Do something like this:
    concatenate field1 field2 field3 into lv_outx "(data of sufficient length, type c)
    separated by gc_tab.  "Horizontal tab constant created as note above
    condense lv_outx no-gaps.  "squeeze out extraneous spaces but beware if you have text with spaces...drop the no-gaps.
    append lv_outx to my_internal_table.  "table with a single field type char, sufficient length
    open dataset  datasetname...
    loop at my_internal_table into ls_internaltabstructure.
      transfer internaltabstructure-outx to datasetName [length if needed].
    endloop.

  • I have been having problems downloading apps with my cellular data. I try installing apps from the app store and when it starts loading it just stays loading for a while but all of a sudden it loads all the way and then it restarts It goes back to waiting

    I have been having problems downloading apps with my cellular data. I try installing apps from the app store and when it starts loading it just stays loading for a while but all of a sudden it loads all the way and then it restarts. It goes back to waiting

    https://discussions.apple.com/message/19584729#19584729

  • Is anyone else having problems downloading apps with the new iOS 7?

    Is anyone else having problems downloading apps with the new iOS 7?

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If no joy...
    Reset all settings
    Settings > General > Reset > Reset all Settings.
    This will return all iDevice settings to factory defaults... you will not lose any data.... But you will have to re-enter all of the device settings.

  • How can I  get System dates  with time scheduler using threads

    how can I get System dates with time scheduler using threads.is there any idea to update Date in my application along with system Date automatic updation...

    What the heck are you talking about and whatr has it to do with threads?
    Current time: System.currentTimeMillis. Date instances are not supposed to be updated.

  • Problem downloading music with itunes match

    I have a problem downloading music with iTunes Match. Specifically i have two discs that can't be downloaded and i'm no able to find a solution.
    Does anyone have the same problem?
    Thanks!
    Ale

    Hi,
    Can you give more details? Are the tracks in your iTunes library. What is the source of the music? What is the iCloud status of the tracks.
    Jim

  • Downloading two different text files using gui_download

    Hi Folks,
    I have two internal tables.itab1 and itab2.Generally in  most cases I have to download only the data in itab1 as a text file using Gui_download.In some cases if a particular condition is satisfied I need to download both itab1 and itab2 data as two different text files using gui_download.To achieve this I had called the gui_download twice as I have to pass two different internal tables.
    But I am getting only itab1 textfile and not itab2 textfile.
    In the selection screen I am giving the path as c:\..
    Kindly let me know where I am going wrong.
    K.Kiran.

    Hi
    You keep the both files in a ITAB and in the loop of that Itab use GUI_DOWNLOAD to download the two files
    data: begin of itab,
              file like rlgrap-filename,
            end of itab.
    In initialization event
    put the two files into this ITAB.
    loop at itab
    call function gui_download.
    endloop.
    check like this
    Regards
    Anji

  • Problem storing date in MS Access using JSP

    Hi all,
    Can anyone please help me storing date in MS Access using Java i am getting errors. I think it is probably because MS Access take "date/month". I am entering a string with date and month example
    1st October as "0110". I don't know how to enter a date in MS Access.
    Here is my code.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <%@page import="java.io.*"%>
    <%@page import="java.sql.*"%>
    <HTML>
    <HEAD>
    <TITLE>  </TITLE>
    </HEAD>
    <BODY>
    <%
       String emplno = request.getParameter("emplno");
       String date = request.getParameter("date");
       String proposal = request.getParameter("proposals");
       String network1 = request.getParameter("network");
       String suppassociates = request.getParameter("suppasso");
       String intmngt = request.getParameter("intmgt");
       String client[] = request.getParameterValues("client");
       String client1= request.getParameter("client1");
       String clientunit[] = request.getParameterValues("clientunit");
       String clientunit1=request.getParameter("clientunit1");
       int staffid = Integer.parseInt(emplno);
       double proposalunit=Double.parseDouble(proposal);
       double suppliersunit=Double.parseDouble(suppassociates);
       double networkunit=Double.parseDouble(network1);
       double internalmgtunit=Double.parseDouble(intmngt);
       Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
       Connection con = DriverManager.getConnection("jdbc:odbc:finalmp" );
       String activities= "INSERT INTO StaffActivities (StaffID,Date,ProposalUnit,NetworkingUnit,SuppliersAssociatesUnit,InternalMGTUnit) VALUES (?,?,?,?,?,?)";
       PreparedStatement pstmt = con.prepareStatement(activities);
       pstmt.setInt(1,staffid);
       pstmt.setString(2,date);
       pstmt.setDouble(3,proposalunit);
       pstmt.setDouble(4,suppliersunit);
       pstmt.setDouble(5,networkunit);
       pstmt.setDouble(6,internammgtunit);
       pstmt.executeUpdate();
       //String emplno="hello";
       //String entered_date="hello";
       //int access_date=0;
       //int user_date=0;
       if(pstmt!=null)
         pstmt.close();
       if(con!=null)
         con.close();
    %>  
    </BODY>
    </HTML>

    i hope this can help you
    public static String convertToISOFormat(Date dateTime) {
            // ISO Format: 'YYYY-MM-DD HH:MM:SS'
            String returnValue = fillLeft(String.valueOf(dateTime.getYear()+1900), 4,
                    '0')
                    + "-"
                    + fillLeft(String.valueOf(dateTime.getMonth()+1), 2, '0')
                    + "-"
                    + fillLeft(String.valueOf(dateTime.getDate()), 2, '0')
                    + " "
                    + fillLeft(String.valueOf(dateTime.getHours()), 2, '0')
                    + ":"
                    + fillLeft(String.valueOf(dateTime.getMinutes()), 2, '0')
                    + ":" + fillLeft(String.valueOf(dateTime.getSeconds()), 2, '0');
            return returnValue;
        }

  • Problem in data loading in 0PM_DS05 using data source 0PM_MEASUREMENT

    Hi Gurus,
    I have to load data in OPM_DS05 ODS using 0PM_MEASUREMENT data source.
    Now the problem what I am facing is, there is a field equipment number which was there in data source but not mapped to infoobject then I mapped that field
    EQUNR(R3 field) to 0EQUIPMENT(BI infobject) after this  when I try to load data error is comming and when I check the dump I understand that there is some routine written in update rules which refers master data of 0EQUIPMENT thus what I got is I have to load master data first then the ODS but when I load master data then request is not comming in the ATTRIBUTES 0EQUIPMENT.
    I am using 0EQUIPMENT_ATTR data source to load data to 0EQUIPMENT.
    Please help me out from the situation what should I do and also suggest whether it is necessary to load master data for 0EQUIPMENT.
    Your efforts will be appreciated.

    Hi,
    in generally it is always a good idea to load the master data first. In your case there are still some questions.
    a) did you activate the master data after loading?
    b) what kind of short dump are you getting while loading the transactional data?
    c) what is the routine doing?
    I guess your loading issues are more related to the routine than anything else.
    regards
    Siggi

  • HT1349 I'm having problems downloading apps to my iPad using wifi at a McDonalds.  The apps all stay in a"waiting" mode.  I can't delete them or get them to install.  This is the second time that this has happened.  Advice?

    I am having problems downloading apps while using wifi in a public setting.  The apps will show up on my screen and say "waiting".  They will not install.  I can't even delete them from my screen.  This has happened before and I had to reset my iPad to factory settings.  I hope I don't have to do this again.  Any advice?

    Well, typically one of the fixes that I would suggest is to try to delete the waiting icons. WIFi in a public places like McDonalds, Starbucks, B&N, etc. is not the greatest and I would avoid those places for downloading and updating apps. But I do realize that not everybody has access to Wifi in their homes.
    These are all things that have worked at one time or another for other users. Hopefull one of them will work for you. Just ignore whatever does not apply or anything that you have already tried.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • Problem posting data with HttpsConnection

    Hi,
    I am currently having problems posting data using a HttpsConnection.
    I am setting the setRequestMethod to HttpConnection.POST and then using the openDataOutputStream method.
    I will post my code when I get home for reference.
    Background to my problem - I am trying to use the declarative security features of J2EE to authenticate a mobile user.
    I am firstly firing a HttpsConnection from the mobile device to a protected resource on the app server. I grab the JSessionId from the Set-Cookie http header of the response and post a second request to the j_security_check and provide the refer http header to the protected resource - this simulates exactly what happens on a browser (I used a Http monitor tool to confirm this). However, I need to pass the j_username and j_password as body of the https request. This doesn't seem to work because the server displays my access denied at this point - as if it hadn't received the crednetials
    However, just to confirm my technique works I subsituted the post request for a get request to j_security_check and passed the j_username and j_password as request params in the URL. This worked fine and I got a 302 response 'temporily moved' which I then handle by simply making a further request for the original resource - this time it serves back the resource because I am authenticated.
    Anyway that sets the scene - so the problem definitely appears to be posting data using an HttpsConnection.
    Any help would be greatly appreciated
    Rgds,
    David

    Hi,
    Here is my code relating to the above problem:
    httpsConn = (HttpsConnection)Connector.open("https://127.0.0.1:8443/ebank/j_security_check");
                httpsConn.setRequestMethod(HttpConnection.POST);
                httpsConn.setRequestProperty("referer", "https://127.0.0.1:8443/ebank/main/mainMenu.xml");
                httpsConn.setRequestProperty("cookie", cookieValue);
                httpsConn.setRequestProperty("location", url);
                httpsConn.setRequestProperty("User-Agent",
                    "Profile/MIDP-1.0, Configuration/CLDC-1.0");
                httpsConn.setRequestProperty("Content-Language",
                    "en-gb");
    String credentials = "j_username=EB0001&j_password=240589";
                httpsConn.setRequestProperty("Content-Length",""+credentials.length());
                DataOutputStream os = httpsConn.openDataOutputStream();
                os.writeUTF(credentials);
    ....Thanks,
    David

  • Export data in ANSI format using GUI_DOWNLOAD

    Hi,
    Please find below the issue description.
    We have a program that exports txt file which inturn is uploaded in a 3rd party system.
    Before upgrade, we were getting the txt file in ANSI format. (The program uses GUI_DOWNLOAD without any code page and file type is ASC)
    After upgrading the system to ECC 6, the program was modified to consider the code page 4103. But the txt file is in Unicode Format. (file type used in GUI_DOWNLOAD is ASC). As the 3rd party system is accepts only ANSI format, we manually change the format in windows and then upload.
    Please suggest.
    Regards,
    Senthil G.

    use class CL_ABAP_CONV_OUT_CE
    2) or use obn application server
      open dataset file for output in  legacy  text mode code page p_code.
    (for codepage look  in tabele TCP00!)
    grx
    A.
    Edited by: Andreas Mann on Nov 8, 2010 11:23 AM

  • Problem sending data with HTTPS  using client authentication.

    Hi,
    I�m tryingto send a message to a secure server using for this client certificate, apparently if I make a GET of "/" (server root) , everything works fine (authentication, and data received), from the moment that I try to ways send data to the "/pvtn " directory i obtain the following error.
    This is a sample of the code i�m using:
    import com.sun.net.ssl.KeyManagerFactory;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.net.Socket;
    import java.security.*;
    import java.security.GeneralSecurityException;
    import java.security.Principal;
    import java.security.PublicKey;
    import java.util.Collection;
    import java.util.Date;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    import javax.security.cert.*;
    import javax.security.cert.X509Certificate;
    public class Test
    public static final String TARGET_HTTPS_SERVER = "mymachine.mydomain.pt";
    public static final int TARGET_HTTPS_PORT = 443;
    public static void main(String[] args) throws Exception
    System.setProperty("javax.net.ssl.trustStore","/certificados/truststore.txt");
    System.setProperty("javax.net.ssl.trustStorePassword","trustpwd");
    System.setProperty("javax.net.ssl.keyStore","/certificados/truststore.txt");
    System.setProperty("javax.net.ssl.keyStorePassword","trustpwd");
    java.security.Security.removeProvider("SunJSSE");
    java.security.Security.insertProviderAt(new com.sun.net.ssl.internal.ssl.Provider(),2);
    KeyManagerFactory kmf= KeyManagerFactory.getInstance("SunX509", "SunJSSE") ;
    //Socket
    SSLSocket jsslSoc = (SSLSocket) SSLSocketFactory.getDefault().createSocket(TARGET_HTTPS_SERVER, TARGET_HTTPS_PORT);
    String [] ciphers = jsslSoc.getSupportedCipherSuites() ;
    //// Select the ciphers you want and put them.
    //// Here we will put all availabel ciphers
    jsslSoc.setEnabledCipherSuites(ciphers);
    //// We are creating socket in client mode
    jsslSoc.setUseClientMode(true);
    //// Do SSL handshake
    jsslSoc.startHandshake();
    // Print negotiated cipher
    System.out.println("Negotiated Cipher Suite: " + jsslSoc.getSession().getCipherSuite());
    System.out.println("");
    X509Certificate[] peerCerts = ((javax.net.ssl.SSLSocket)jsslSoc).getSession().getPeerCertificateChain();
    if (peerCerts != null)
    System.out.println("Printing server information:");
    for(int i =0; i < peerCerts.length; i++)
    System.out.println("Peer Certificate ["+i+"] Information:");
    System.out.println("- Subject: " + peerCerts.getSubjectDN().getName());
    System.out.println("- Issuer: " + peerCerts[i].getIssuerDN().getName());
    System.out.println("- Version: " + peerCerts[i].getVersion());
    System.out.println("- Start Time: " + peerCerts[i].getNotBefore().toString());
    System.out.println("- End Time: " + peerCerts[i].getNotAfter().toString());
    System.out.println("- Signature Algorithm: " + peerCerts[i].getSigAlgName());
    System.out.println("- Serial Number: " + peerCerts[i].getSerialNumber());
    else
    System.out.println("Failed to get peer certificates");
    try
    Writer out = new OutputStreamWriter(jsslSoc.getOutputStream(), "ISO-8859-1");
    //THIS WAY WORKS FINE
    out.write("GET / HTTP/1.1\r\n");
    // HERE COMES THE TROUBLES
    //out.write("GET /pvtn?someparameter=paramvalue HTTP/1.1\r\n");
    out.write("Host: " + TARGET_HTTPS_SERVER + ":" + TARGET_HTTPS_PORT + "\r\n");
    out.write("Proxy-Connection: Keep-Alive\r\n");
    out.write("User-Agent: SSL-TEST \r\n");
    out.write("\r\n");
    out.flush();
    BufferedReader in = new BufferedReader(new InputStreamReader(jsslSoc.getInputStream(), "ISO-8859-1"));
    String line = null;
    while ((line = in.readLine()) != null)
    System.out.println(line);
    finally
    jsslSoc.close();
    the ssl log until sending the GET is
    main, WRITE: SSL v3.1 Handshake, length = 36
    main, READ: SSL v3.1 Change Cipher Spec, length = 1
    main, READ: SSL v3.1 Handshake, length = 36
    Plaintext after DECRYPTION: len = 36
    0000: 14 00 00 0C 71 AB 40 CC 6C 33 92 05 E9 69 4B 8F [email protected].
    0010: D1 77 3F 6E 3C DB F0 A0 B7 9C CF 49 B6 6D C8 17 .w?n<......I.m..
    0020: 7E 03 52 14 ..R.
    *** Finished, v3.1
    verify_data: { 113, 171, 64, 204, 108, 51, 146, 5, 233, 105, 75, 143 }
    %% Cached client session: [Session-1, SSL_RSA_WITH_RC4_128_SHA]
    [read] MD5 and SHA1 hashes: len = 16
    0000: 14 00 00 0C 71 AB 40 CC 6C 33 92 05 E9 69 4B 8F [email protected].
    Negotiated Cipher Suite: SSL_RSA_WITH_RC4_128_SHA
    When i send the GET
    Plaintext before ENCRYPTION: len = 247
    0000: 47 45 54 20 2F 70 76 74 6E 3F 41 30 33 30 3D 4D GET /pvtn?A030=M
    main, WRITE: SSL v3.1 Application Data, length = 247
    main, READ: SSL v3.1 Handshake, length = 24
    Plaintext after DECRYPTION: len = 24
    *** HelloRequest (empty)
    %% Client cached [Session-1, SSL_RSA_WITH_RC4_128_SHA]
    %% Try resuming [Session-1, SSL_RSA_WITH_RC4_128_SHA] from port 3535
    *** ClientHello, v3.1
    RandomCookie: GMT: 1131988975 bytes = { 45, 113, 241, 212, 81, 255, 244, 169, 74, 41, 160, 227, 197, 210, 155, 211, 47, 237, 18, 179, 238, 47, 28, 86, 30, 253, 157, 253 }
    Session ID: {208, 18, 243, 174, 216, 156, 80, 201, 121, 136, 63, 162, 31, 196, 186, 95, 193, 143, 238, 172, 173, 79, 64, 219, 17, 149, 14, 138, 53, 95, 18, 96}
    Cipher Suites: { 0, 5, 0, 4, 0, 9, 0, 10, 0, 18, 0, 19, 0, 3, 0, 17, 0, 2, 0, 1, 0, 24, 0, 26, 0, 27, 0, 23, 0, 25 }
    Compression Methods: { 0 }
    [write] MD5 and SHA1 hashes: len = 105
    Plaintext before ENCRYPTION: len = 125
    main, WRITE: SSL v3.1 Handshake, length = 125
    main, READ: SSL v3.1 Handshake, length = 94
    Plaintext after DECRYPTION: len = 94
    *** ServerHello, v3.1
    RandomCookie: GMT: 1131991620 bytes = { 205, 194, 212, 113, 37, 213, 41, 13, 60, 142, 135, 68, 17, 78, 227, 251, 176, 211, 133, 203, 153, 173, 153, 195, 93, 7, 87, 123 }
    Session ID: {108, 85, 45, 208, 104, 124, 209, 24, 247, 113, 156, 134, 28, 154, 75, 198, 64, 181, 167, 9, 149, 223, 162, 21, 225, 32, 168, 31, 190, 48, 241, 195}
    Cipher Suite: { 0, 5 }
    Compression Method: 0
    %% Created: [Session-2, SSL_RSA_WITH_RC4_128_SHA]
    ** SSL_RSA_WITH_RC4_128_SHA
    [read] MD5 and SHA1 hashes: len = 74
    main, READ: SSL v3.1 Handshake, length = 3154
    Plaintext after DECRYPTION: len = 3154
    *** Certificate chain
    stop on trusted cert: [
    Version: V1
    Subject: CN=GTE CyberTrust Global Root, OU="GTE CyberTrust Solutions, Inc.", O=GTE Corporation, C=US
    Algorithm: [MD5withRSA]
    Signature:
    [read] MD5 and SHA1 hashes: len = 3134
    main, READ: SSL v3.1 Handshake, length = 479
    Plaintext after DECRYPTION: len = 479
    *** CertificateRequest
    Cert Types: RSA, DSS,
    Cert Authorities:
    [read] MD5 and SHA1 hashes: len = 455
    *** ServerHelloDone
    [read] MD5 and SHA1 hashes: len = 4
    0000: 0E 00 00 00 ....
    *** Certificate chain
    *** ClientKeyExchange, RSA PreMasterSecret, v3.1
    Random Secret: { 3, 1, 19, 223, 230, 65, 59, 210, 10, 69, 239, 178, 185, 5, 52, 57, 44, 160, 163, 239, 85, 64, 173, 16, 132, 234, 33, 228, 0, 8, 134, 52, 20, 190, 196, 15, 205, 35, 169, 39, 14, 160, 143, 74, 210, 74, 43, 181 }
    [write] MD5 and SHA1 hashes: len = 141
    Plaintext before ENCRYPTION: len = 161
    main, WRITE: SSL v3.1 Handshake, length = 161
    SESSION KEYGEN:
    PreMaster Secret:
    .CONNECTION KEYGEN:
    Client Nonce:
    Server Nonce:
    Master Secret:
    Client MAC write Secret:
    Server MAC write Secret:
    Client write key:
    Server write key:
    0000: FE 94 DF 4C 1A 9F FA CE 0C E9 A6 DB 31 53 E5 FD ...L........1S..
    ... no IV for cipher
    Plaintext before ENCRYPTION: len = 21
    0000: 01 0D 16 E6 49 18 36 AF E1 52 9C 2F 72 EE CA DF ....I.6..R./r...
    0010: 41 71 68 30 06 Aqh0.
    main, WRITE: SSL v3.1 Change Cipher Spec, length = 21
    *** Finished, v3.1
    verify_data: { 243, 49, 247, 150, 113, 86, 182, 125, 244, 163, 245, 243 }
    [write] MD5 and SHA1 hashes: len = 16
    0000: 14 00 00 0C F3 31 F7 96 71 56 B6 7D F4 A3 F5 F3 .....1..qV......
    Plaintext before ENCRYPTION: len = 36
    0000: 14 00 00 0C F3 31 F7 96 71 56 B6 7D F4 A3 F5 F3 .....1..qV......
    0010: 1A 7C 8F D9 51 CB 6F 47 2A 7C 90 81 20 EE 97 64 ....Q.oG*... ..d
    0020: FF 47 35 CA .G5.
    main, WRITE: SSL v3.1 Handshake, length = 36
    main, SEND SSL v3.1 ALERT: warning, description = close_notify
    Plaintext before ENCRYPTION: len = 22
    0000: 01 00 F0 F4 AC 3C B2 DE 95 98 0E B4 ED B1 24 3B .....<........$;
    0010: 54 6C 8B DC F3 1F Tl....
    main, WRITE: SSL v3.1 Alert, length = 22
    java.net.SocketException: Connection aborted by peer: socket write error
         void java.net.SocketOutputStream.socketWrite(java.io.FileDescriptor, byte[], int, int)
              native code
         void java.net.SocketOutputStream.write(byte[], int, int)
              SocketOutputStream.java:96
         void com.sun.net.ssl.internal.ssl.OutputRecord.a(java.io.OutputStream)
         void com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(com.sun.net.ssl.internal.ssl.OutputRecord)
         void com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush()
         void com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(com.sun.net.ssl.internal.ssl.HandshakeMessage$Finished)
         void com.sun.net.ssl.internal.ssl.ClientHandshaker.c()
         void com.sun.net.ssl.internal.ssl.ClientHandshaker.a(com.sun.net.ssl.internal.ssl.SunJSSE_o)
         void com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(byte, int)
         void com.sun.net.ssl.internal.ssl.Handshaker.process_record(com.sun.net.ssl.internal.ssl.InputRecord)
         void com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(com.sun.net.ssl.internal.ssl.InputRecord, boolean)
         void com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(com.sun.net.ssl.internal.ssl.InputRecord)
         int com.sun.net.ssl.internal.ssl.AppInputStream.read(byte[], int, int)
         int java.io.InputStream.read(byte[])
              InputStream.java:91
         int java.io.InputStreamReader.fill(char[], int, int)
              InputStreamReader.java:173
         int java.io.InputStreamReader.read(char[], int, int)
              InputStreamReader.java:249
         void java.io.BufferedReader.fill()
              BufferedReader.java:139
         java.lang.String java.io.BufferedReader.readLine(boolean)
              BufferedReader.java:299
         java.lang.String java.io.BufferedReader.readLine()
              BufferedReader.java:362
         void Teste3.main(java.lang.String[])
              Teste3.java:109
    Exception in thread main
    Debugger disconnected from local process.
    Process exited with exit code 1.
    One more thing if if make the same thing via browser (https://mymachine.mydomain.pt/pvtn?someparameter=somevalue) and works fine too (obviously i pre installed the client certificate in the browser and choose the certificate when the pop up show up)
    It seems like the handshaking fails when i send data to /pvtn...
    Regards,
    Paulo.

    I amhaving the another problem very similar, I am struggling with client authentication with IIS 5.0, and receiving the 'Remote Host closed the connection' error.
    Is there any help me in this. I truly apprecaite it
    Thanks

  • Downloading data with field lables as headerline

    Hello ABAP gurus,
    i have a report, if i excute it, 10 files will be downloaded from standard tables and from ztables.
    i am using below method to download the data
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD.
    Now my client wants  all  downloaded files should display with field lables as respect to data and separate by semicolon.
    example format is:
    name;age;address
    A       25    MUMBAI
    B       24     CHENNAI
    this is my problem, please help me.It is very urgent.
    Regards
    Mahesh

    mahesh,
    my advice is first fetch all the field names of the DB tables and Ztables using the DD03L table. This table has all the field names and their positions of all the DB tables & Ztables. Concatenate each table's field names based on their positions into a single line with the field seperator and append this record as the first record to its corresponding internal table. Now send this table to GUI_DOWNLOAD....If you want more info, Please ask....

  • Problem downloading files with Linksys E4200

    I have been using my router (Linksys E4200v1) with no problem for the last 6 months, but suddenly in the last couple of weeks the problem started, every time I download a file through my router it gets corrupted, however when I download it directly through the modem it download just fine.
    I tried to reset the router and used it as a bridge but the problem is still there.
    Any ideas how to fix this?
    Solved!
    Go to Solution.

    Hi Raman91,
    I am assuming that you are downloading a large file. The router inspects each data that goes inside the network. If the file is too big, the router might have a hard time processing it. To prevent this from happening, you can lower down the MTU size in the router settings. It would cut big chunks of data into pieces that the router could easily process. If you are using a cable connection, lower it down to 1450. If it is DSL, lower it down to 1392.
    How to change MTU

Maybe you are looking for

  • Safari 8.0.2 will not launch after a crash

    Safari quit unexpectedly (when I tried to download a photo app), got pop up window asking me to select restart which I tried and it just keeps popping back up and won't restart.  Tried the "hold down the shift key" and nothing.  I've restarted and it

  • Locking cell references in Pages 2 tables... "$" works...

    One thing I haven't found any documentation on (I'll admit, it might be there, I just haven't yet found it) is that you can lock cell references in Pages 2 using "$", so that when you auto fill a column or row, it won't automatically change a particu

  • MACBOOK PRO 15" i7 SUPER SUPER SLOW, HEATING UP

    Hello, I currently have a Macbook Pro 15" Processor : 2.6GHZ Core i7 Memory: 8GB 1600 MHz DDR3 recently updated to 10.9.2 I have been having problems with regards to crashing applications and programs, as well as ridiculously slow processing, and fre

  • Publishing multiple .swf files to play continuously

    I have used a program called Camtesia that publishes its presentations in Shockwave (or .flv) formats. I have a 3 MB presentation that I am supposed to deploy to my company's website, where we are "encouraged" to keep media files under 500 KB. In con

  • Need WHMIS information for Design Jet 130nr

    I believe the fan seized overnight so the the unit got quite hot. When we walked in this morning, there was a horrible smell. For safety's sake, we need to find out exactly what gases were emitted. Please point me in the right direction. Thank you.