title: ABAP Output More Then 255 Characters
body: <p>We have an abap program that runs in the background and calls out to a web service.  Recently we have been getting errors from the web service.  Unfortunately we are only able to see the first 255 characters of this error, and we would like to see the entire stack dump (comes from a C#.net web service).</p>
  
  <p>Function module:</p>
  
  <pre><code>"call out to web service code goes here    
  IF jobid CS 'Success'.
        EXIT.
   ELSEIF jobid CS 'Error'.
       error_string = jobid.
       EXIT.
    ELSEIF jobid IS INITIAL.
        error_string ='NULL Value Returned'.
        EXIT.
    ELSE.
      CONCATENATE 'Unknown Error' jobid INTO error_string SEPARATED BY ':' IN CHARACTER MODE.
    ENDIF.
  </code></pre>
  
  <p>The program then checks the error_string</p>
  
  <pre><code>IF error_string IS INITIAL. 
  
     WRITE: / jobid.   
   ELSE.
    PERFORM send_mail.
    WRITE: / error_string.
  ENDIF.
  </code></pre>
  
  <p>Once an error is logged we would like to go back to the Spool and view the entire error message (this will be a large XML message from web server 2000+ characters).<br>
  Is this possible?</p>
  
  <p>EDIT:
  error_string TYPE string.
  Program and function module are zprograms written in house.  Program is called as ABAP process in SAP BW process chain to trigger action from web server.</p>