Script output getting suppressed when trying to send email

Hi,
I am having an existing report,part of code is given below.
*data processing.....
      itcpo-tdcovtitle =  z_text.             
      itcpo-tdgetotf   = 'X'.                 
      call function 'OPEN_FORM'               
         exporting                            
              device             = 'PRINTER'  
            form               = 'LAYOUTSET'
         importing                             
              result             = x_itcpp_sulph
         exceptions                            
              canceled           = 1           
              device             = 2           
              form               = 3           
              options            = 4           
              unclosed           = 5           
              others             = 6.          
Data processing ....and writing to script output
  perform entry(zvadin11) using returncode xscreen if found.
     call function 'CLOSE_FORM'         
          importing                     
                result   = x_itcpp_sulph
          tables                        
                otfdata  = otf1         
          exceptions                    
                unopened = 1            
                others   = 2.    
So the control will switch from existing report to another program namely zvadin11 and gives script output.
Now,in my current program i am trying to send script output through Email,for which i am converting script output to OTF data.Then sending the data through mail,using function modules 'SX_OBJECT_CONVERT_OTF_PDF' and 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
I am able to send the data through PDF attachment as required.But i am unable to see Script output.If i comment the OTF related code from open_form and close_form,i am able to see the script output,but i am not getting data into OTF internal table.
Can i get both the functionalities of seing the script output and also get OTF data for Email.
Can any one help me?
Thanks & Regards,
Seshagiri.M.
Intelligroup.

Hi Seshagiri,
Is yur code that sneds email before 'CLOSE_FORM'?
Regards,
Suresh Datti

Similar Messages

  • I keep getting the following message when trying to send email, email rejected by server because it does not allow relaying

    when trying to send emails on my Iphone i get the message
    email rejected by server because it does not allow relaying
    can anyone help me with this problem

    Go into Settings>Mail, Contacts, Calendars>your account>Outgoing mail ServerSMTP>Primary Server then turn Server ON and fill in both User Name +Passwordunder Outgoing Mail Server.

  • Getting invalid server certificate when trying to send email on Droid x

    getting invalid server certificate when trying to send email on Droid x.....

    There was a possible solution posted at http://community.vzw.com/t5/DROID-X-by-Motorola/Invalid-Server-Certificate/td-p/228300

  • Why do I get an error when trying to send email?

    When I try to email a photo directly from iPhoto, I get an error message that tells me that server is unable to identify email name and password. WHY?
    I verified and email address and password are correct>
    Also, I have listed to email addresses on my MAC a Gmail address and a Comcast (other) account, but when I click on stamp for email on my desktop it opens both mailboxes in one place. Is there a way to separate them.
    Any answer and help provided will be greatly appreciarted.

    Have you ever tried to access email via your iPhone in the past with this service? Has it ever worked? I'm looking at their support page and cannot find any information regarding access via a mobile device. I'm wondering since it is a satellite service that you cannot access their domain from cellular service. I'm not positive, but a search of their support page is not yielding much information.
    Also, the incoming server is not your problem. It is the outgoing server or SMTP. According to the settings, it should be smtp.everyone.net. It does not use SSL for the outgoing server, and the username is your entire email address and then your password.
    You should be able to use the information for the Mac mail that I found in this link. http://www.skybeam.com/support/helpful-guides/email-support/mac-mail/ If that doesn't work, I would call their support phone number and ask about using their mail on a mobile device.

  • Mail app closes when trying to send email

    I can receive mail ok, but when I try to send, it just closes the mail app and goes back to the home page.
    Any suggestions how I can get the mail app working properly again?
    Thanks

    Ah, yes... a common problem.  Relaying is when you are using email service A to send mail through, but your "from" address is another service.  Service A, if it's set up for this, will reject your email because you are trying to relay the email through them from an email address that is not theirs.  This is to prevent spammers from using their service even though they don't have an account with them.
    I suspect the service you are sending to is one on which you have a valid account, but you're sending "from" another address.  In such cases the relaying service may allow you to specify, in your email settings, your account and password, in which case it will accept your email and pass it through.

  • Smtp error when trying to send email

    Hi,
    We just moved and our airport network (connected to a T1) was working; however, now we cannot send email from either my ibook or my husband's pc when using Outlook or THunderbird, as we both get the same SMTP error. It does work when using webmail though. Everything else works fine -- any suggestions on how we can resolve this?
    Thank you!
    Evelyn

    This error is only caused when the SMTP Settings are typed in incorrectly.
    I suggest you do one of 2 things double check both computers and make sure that a comma has not been placed in instead of a period.
    If that isn't the case, Sometimes you may be required to delete the Account settings and start all over by creating a new account to activate your Mail. It isn't that unusual when first setting up a new Mail and account to have this glitch. So delete the Account and be sure you have everything written down form your Isp to create the new Account. It will be exactly the same as the one you deleted.
    Don

  • When trying to send email, I get error message, rejected by server

    Our companies webhosting and email are through Bluehost.  I have set up email on my iPhone and it receives email just fine, but when i try to send I get "recipient rejected by server" error.  How can I fix this.  i have tried everything i know to do.

    most of the time the problem is the settings of the out going server of your email account. Call your internet provideer and ask them for the right settings, or do a research on google for those

  • Getting exception when trying to send data to a server

    Hi all,
    I am working on to connect to a remote machine sendng data to remote machine and testing whether data is reaching to machine or not..but when i do it i get the following exception
    java.io.EOFException
    at java.io.DataInputStream.readUnsignedShort(Unknown Source)
    at java.io.DataInputStream.readUTF(Unknown Source)
    at java.io.DataInputStream.readUTF(Unknown Source)
    at Client.main(Client.java:37)
    and this is my code
    import java.net.*;
    import java.io.*;
    public class Client {
    public static void main(String[] args) {
    int serverPort = 8080; // make sure you give the port number on which the server is listening. 
    String address = "remotehost"; // this is the IP address of the server  computer.
      try { 
    Socket socket = new Socket(address, serverPort); // create a socket with the server's IP address and server's port. 
    System.out.println("Yes! I just got hold of the program.");
    // Get the input and output streams of the socket, so that you can receive and send data to the client. 
    InputStream sin = socket.getInputStream(); 
    OutputStream sout = socket.getOutputStream();
    // Just converting them to different streams, so that string handling becomes easier.
    DataInputStream in = new DataInputStream(sin);
    DataOutputStream out = new DataOutputStream(sout);
    // Create a stream to read from the keyboard. 
    BufferedReader keyboard = new BufferedReader(new InputStreamReader(System.in));
    String line = null; 
    System.out.println("Type in something and press enter. Will send it to the server and tell ya what it thinks."); 
    System.out.println();
    while(true) {
    line = keyboard.readLine(); // wait for the user to type in something and press enter.
    System.out.println("Sending this line to the server...");
    out.writeUTF(line); // send the above line to the server.
    out.flush(); // flush the stream to ensure that the data reaches the other end. 
    line = in.readUTF(); // wait for the server to send a line of text.
    System.out.println(" : " + line);
    System.out.println(); 
      } catch(IOException e) if any knows what's the problem please help me..
    Thanks

    We'll need a little more info. If you're doing anything like the following then there's a problem:
    File f = new File("demo.txt");
    The problem is that the demo.txt file is not in the current directory - it's in the rmi\compute directory.
    This should work but it's not recommended:
    File f = new File("c:\\rmi\\compute\\demo.txt");
    You should substitue File.separator for the "\\" chars.

  • I get "there are non ASCII characters in the local part of the recipient's address" when trying to send emails as BCC. email addresses are all good!

    I used to send out christmas greetings from my biz to groups of 20 customers, in BCC format. all addresses are good, but the emails don't get sent now because of the supposed ASCII problem.

    Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • #008 Error: Cleared history, cache & cookies, then restarted Firefox, but still get error when trying to send an e-mail.

    Using current version of Firefox.
    The problem seems to be confined to the e-mail I was trying to reply to. Sent a test msg. to another Gmail address & it didn't have a problem.

    By the way, the fact that the error does not occur in Safe Mode is interesting, as in normal mode Firefox may be checking the registry key related to Firefox extensions at startup. And that key would be a logical target for deletion of any references to malware. However, I've never seen a specific list of registry read/writes for Firefox startup, so that's just a guess.

  • E mail error when trying to send email

    I have an application that I want to send an email alert when there is an alarm condition. I have an email VI that works when run outside of my application. When I try to have my application load the VI into a form and run I get the following error:
    Error 26: occured at set cursor icon (icon pict).vi
    How can I fix this?

    Hi Ernie,
    Would you be able to provide more details on this issue.?  I am not quite sure what you mean by "have my application load the VI into a form."  Can you post your VI here or a screenshot?

  • Error message 5.0.0 invalid domain name  when trying to send email??

    I can receive emails but can not send out emails. I have contacted my IP several times and gone thru settings several times. We are all stumped. Problem started when we switched from dial up to high speed.

    Hello, and welcome to the Discussions.
    Are you running 10.1.x, as your OSX, as indicated by your listed info?
    Is the SMTP you are using as the Outgoing Server, the one provided by your ISP?
    Have you tried selecting None as the Authentication choice for the Outgoing Server, and entering no Username or Password? With some broadband providers, Mail can authenticate the SMTP by means other than a separate authentication step on the SMTP, and trying to do it again, will result in failure.
    Many ISP will say their SMTP must be authenticated, but some do recognize that some email applications, including Mail, can do this in a step that precedes the separate authentication, by Password of the SMTP. In Mail that step is only needed for those SMTP where the name must have the Username appended by the authentication action.
    More info, please.
    Ernie

  • How to clear "Contact Error" & "Undefined " when trying to send emails?

    quite often,when I try to send an email using the email address from my contact list, one of the following 2 message appears:
    "Contact Error" or "Undefined". Undefined shows me an address but will not let me use the address in the email. "CONTACT ERROR", does not show any addresses.I wen t to AOL and was told they were not the cause and try Firefox. How can I get rid of these messages once and for all. Thanks, LULU

    Check for hardware issues
    Related errors: 1, 3, 10, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1000, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    These errors mean that your device or computer may have a hardware issue that's preventing the update or restore from completing.
    Check that your security software and settings aren't preventing your device from communicating with the Apple update server.
    Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
    Confirm that your security software and settings are allowing communication between your device and update servers.
    If you still see the error message when you update or restore, contact Apple support.

  • Acrobat X hangs when trying to send email through Share panel

    When I try to send a pdf as an email under Mac OS X 10.6.4 and Acrobat X v. 10.0.1 (using the Share Panel button), the panel appears, is blank and now the Acrobat X application hangs. Have checked and verified the Mail client, used Onyx to correct permissions, etc. but to no avail. I cannot email a pdf from Acrobat X Mac.
    Anyone else experience this problem?
    Mac OS X 10.6.4, Acrobat X 10.0.1 on MBP 17"

    Hi Phillip;
    I quite understand the predicament. I have v.9.4.1 running on my Mac desktop (9.4.2 has a bug - really........) and the only reason I have 10.0.1 is for instructional purposes. It is getting harder to recommend upgrading with the increase in unpredictability of the application, despite being the de facto standard for electronic portable documents.
    Adobe would be well informed to listen and work with its clients to resolve  some of these issues. Many years ago, I did graduate work on human interface and icon recognition in operating systems. I can safely say that there are several substantial problems with this software's interface (icons with no possibility of adding labels for recognition - not tool tips but proper labelling). Tool Panel is a nice idea but poorly executed as you have to constantly open and close directories. And when in the Forms mode, you cannot expand the panel to properly see the field names in their entirety, etc, etc.
    Until Adobe addresses these shortcomings. more clients will pass on upgrading this application.
    Best regards.
    P

  • TS3276 error message when trying to send email

    On my Apple Iphone 3G, using Rogers as a cell provider, when an email came in and I tried to reply to it, it came up with an error message " A copy of this email has been placed in your outbox. The senders (me) address "[email protected]" was rejected by the server."
    I have checked all the settings and they are exactly the same as those on my computer mail settings. I can receive mail but cannot reply to this email.

    First unlock your caps lock key. Typing in all caps is inappropriate in online forums (considered shouting) and is hard to read.
    iPhoto>Preferences>General. Select the email program or how you wish to email photos from iPhoto.
    (There is an iPhoto forum for iPhoto questions).

Maybe you are looking for