BAPI_DOCUMENT_CREATE2 throws communication failure exception

Hello to all,
I want to upload a file in WebDynpro ABAP by placing a service call to BAPI_DOCUMENT_CREATE2.
But i am getting "communication failure" exception. Request your help on this issue.
<b>(RFC Exception COMMUNICATION_FAILURE with Message RFC destination Create document does not exist. Occurred)</b>
Code for this service call is as follows :-
METHOD EXECUTE2_BAPI_DOCUMENT_CREATE2 .
DATA: ls_doc    typE bapi_doc_draw2,
      ls_return typE bapiret2.
    key fields of the document
DATA: lf_doctype    typE bapi_doc_draw2-documenttype,
      lf_docnumber  typE bapi_doc_draw2-documentnumber,
      lf_docpart    typE bapi_doc_draw2-documenttype,
      lf_docversion typE bapi_doc_draw2-documenttype.
**.... Originals that are checked in simultaneously
DATA: "lt_files typE bapi_doc_files2 OCCURS 0 WITH HEADER LINE,
      lt_files type standard table of bapi_doc_files2,
      wa_lt_files like line of lt_files,
**.... Short texts
      lt_drat  typE standard table of bapi_doc_drat,
      wa_lt_drat like line of lt_drat,
**.... Object links
     "lt_drad  typE bapi_doc_drad OCCURS 0 WITH HEADER LINE.
     lt_drad  typE standard table of bapi_doc_drad,
     wa_lt_drad like line of lt_drad.
Allocate document data
ls_doc-documenttype    = 'DRW'.
ls_doc-documentnumber  = '4711'.
ls_doc-documentversion = '00'.
ls_doc-documentpart    = '000'.
ls_doc-statusextern   = 'AF'.
ls_doc-laboratory     = '001'.
Check in original 1 simultaneously in the SAP Database
REFRESH lt_files.
CLEAR lt_files.
wa_lt_files-storagecategory = 'DMS_C1_ST'.
wa_lt_files-docfile      = 'c:\original_acy.txt'.
wa_lt_files-wsapplication = 'TXT'.
APPEND wa_lt_files to lt_files.
declarations for context navigation
  DATA lo_element TYPE REF TO if_wd_context_element.
  DATA lt_elements TYPE wdr_context_element_set.
declarations for parameters
get all involved child nodes
get input from context
the invocation - errors are always fatal !!!
  DATA lv_rfc_error   TYPE c LENGTH 120.
  DATA lv_rfc_message TYPE string.
  CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
    DESTINATION  'Create document'
    EXPORTING
       documentdata =                    ls_doc
"      hostname =                        wd_this->hostname
"      docbomchangenumber =              wd_this->docbomchangenumber
"      docbomvalidfrom =                 wd_this->docbomvalidfrom
"      docbomrevisionlevel =             wd_this->docbomrevisionlevel
"      cad_mode =                        wd_this->cad_mode
"      pf_ftp_dest =                     wd_this->pf_ftp_dest
      pf_http_dest =                    'SAPHTTPA'
   IMPORTING
      documenttype =                    lf_doctype
      documentnumber =                  lf_docnumber
      documentpart =                    lf_docpart
      documentversion =                 lf_docversion
      return =                          ls_return
   TABLES
"      characteristicvalues =
"      classallocations =
      documentdescriptions = lt_drat
      objectlinks = lt_drad
"      documentstructure =
      documentfiles = lt_files
"      longtexts =
"      components =
    EXCEPTIONS
      system_failure =                    1   MESSAGE    lv_rfc_error
      communication_failure =             2   MESSAGE    lv_rfc_error.
error handling
  CASE sy-subrc.
    WHEN  1.
      lv_rfc_message = lv_rfc_error.
      RAISE EXCEPTION TYPE cx_wd_no_handler
        EXPORTING
          textid        = cx_wd_no_handler=>kind_rfc
          old_exception = `SYSTEM_FAILURE`
          rfc_message   = lv_rfc_message.
    WHEN  2.
      lv_rfc_message = lv_rfc_error.
      RAISE EXCEPTION TYPE cx_wd_no_handler
        EXPORTING
          textid        = cx_wd_no_handler=>kind_rfc
          old_exception = `COMMUNICATION_FAILURE`
          rfc_message   = lv_rfc_message.
  ENDCASE.
store output to context
ENDMETHOD.

Hi Abhishek,
This link may be helpful for you
Re: How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2)
Regards
Fahad Hamsa

Similar Messages

  • RFC call ended with "Communication Failure" exception (Function call failed; could not find the function

    Hi All,
    I am getting error while executing oDATA service from SAP Netweaver Gateway
    Error details:
    RFC call ended with "Communication Failure" exception (Function call failed; could not find the function
    I am using SAP NG 740
    Project is created in Gateway system using SEGW having Map to Datasource option used.
    in SPRO manage alias, I had seleted Local App option. Screen attached
    I had tried all troubleshooting like delete and add service and alias in "/IWFND_MAINT_SERVICE".
    but still getting same error for all service.
    Kindly advise.
    Regards
    Vivek

    Hello Vivek,
    Service builder would have also generated code for RFC Exception handling to catch exceptions raised when communication fails between your GW and BE for some reasons.
    Handling is done for 1. System Failure 2. Communication Failure & 3. Business Failure;
    Put a BP in your DPC or DP_EXT class where exception code is written to check what exactly is has caused communication failure.
    Check if that RFC is existing in that destination or not.
    For your reference  : Code would be something like this. Put BP here and check the problem.
    * Error and exception handling
    IF lv_subrc <> 0.
    * Execute the RFC exception handling process
       me->/iwbep/if_sb_dpc_comm_services~rfc_exception_handling(
         EXPORTING
           iv_subrc            = lv_subrc
           iv_exp_message_text = lv_exc_msg ).
    ENDIF.
    Go inside this method and check to get info on what has to be done to resolve issue.
    Check carefully what has gone wrong and fix it accordingly.
    No need of adding service & deleting as problem is not because of that.
    Regards,
    Ashwin

  • Communication Failure exception on adapter in Data Services

    Hi,
    I have been trying to get rid of this error but no matter what i do, i cannot resolve this.
    I am using Edge 3.1 Data services on a 2008 Windows server. And i'm trying to login to salesforce ans retrieve data. This has been working for well for the past year. No change whatsoever to either salesforce or on the server. All of a sudden i'm unable to connect according to the error. But when i check in salesforce, it shows a successful connection from the server. That just blew my mind.
    These are the parameters which might help understand my issue.
    service endpoint: https://www.salesforce.com/services/Soap/u/16.0
    - I changed the sercurity token from salesforce.
    - I changed the retry count to 200000 in the DBconfig file
    - Restarted the OS
    - Restarted the adapters.
    My Additional Java Launcher is -Xms64m -Xmx256m
    I dont have a proxy
    I'm at my wits end. And have no more solutions in my bag. I tried everything i could find in this forum. Any help would be greatly helpful.
    Also, the weirdest part is, When i right click on Datastore and "edit", i can enter the password and it saves the data with no error. I get the above error only when i "open"the Datastore.
    Hence, I am unable to execute any batch job. All jobs hang in place for 3 hrs or so and then finally fail. It doesnt even pass the first Dataflow.

    i am able to connect to salesforce from a browser. Even more surprising, when i right click on adapter and click edit , I can save it, meaning it does connect to salesforce and on Salesforce, i see a successsful login history from the server. But, it does not let me browse the metadata and also, when any job starts, it just gets stuck and teha adapter throws the java socket timeout exception.

  • Error in BPM: "COMMUNICATION FAILURE" during JCo call. Error opening an RFC

    hello experts
    i am receiving the above error incase of BPM scenario where i am having a Transform step and synchronous RFC step.
    i referred to the few threads discussing such problems and was trying to find whether my mapping is correct and i tested my mappings using my payload which looks good.
    When looked into the Mapping trace of the BPM "Show container" i found error ""COMMUNICATION FAILURE" during JCo call. Error opening an RFC connection" and it seems that when BPM is attempting to call interface mapping it is throwing this error.
    Thanks in advance.
    Regards
    rajeev

    hi,
    I think no problen with the mapping part,
    jco connection requird when xi try to stablish the connection with the adapter .
    please look the link provided.
    Setup and test SAP Java Connector outbound connection
    please also check the following parameter at the exchange profile
    com.sap.aii.rwb.server.centralmonitoring.r3.ashost
    com.sap.aii.rwb.server.centralmonitoring.r3.client
    com.sap.aii.rwb.server.centralmonitoring.r3.sysnr
    com.sap.aii.rwb.server.centralmonitoring.httpport
    these parameter must be given properly.
    if every thing is ok than and problem still exist than try to restart the system.
    for us after restarting its worked fine.
    regards,
    navneet

  • CRM Mobile Sales Application : HTTP Communication Failure ERROR

    Hi All,
    I am trying to build a CRM mobile application in the Windows mobile.
    the steps that we have followed are:
    1. Activated and generated the Standard CRM mobile software component MAS_SMARTPHONE_DMSCV
    2. Created the same Users in the CRM and DOE system
    3. Set up windows mobile simulator
    4. Created data in the CRM backend and performed initial download in the DOE.
    5. activated the distribution model rules in the Admin and monitoring portal
    6. and finally installed CRM mobile sales App in the Windows mobile,connected it to a device,and logged in to the CRM app from the simulator using the user and password created in step 2.
    A device is created on the Admin & monitorng portal as soon as we sync from the simulator but we are unable to see any data
    in the outbound queue.
    In the transaction SMQ2 we have found our device queue with an error saying *exception occured due to HTTP communication
    failure*
    Debuggin the queue we are able to find an error under the class CL_DOE_ESDMA_SOAP_HANDLER in the method
    PUSH_TO_DEVICE.
    As we are on new grounds we are not able to assess the problem. Does it have anything to do with ports.
    We are able to get see all the messages and the data while debuggin but while pushing it to the device there is a glitch.
    Please suggest with any solution to this or what might be the

    Hi Siva,
    Thank you for your reply.
    We have checked the ports that is concerning SUP it is 2000 we find it is active and open.
    We have also checked a  subscription monitoring table as suggested in a previous post [/community [original link is broken]
    threadID=1978692].
    we are getting a HTTP 110 error while debugging the queue of the device.
    While checking a monitoring we have found a log saying :
    Receive failed: client host = 10.116.158.208: com.sybase.djc.SystemException: HTTP: Post Message - HIOP Version not specified\nProbable cause: unexpected failure or abnormal shutdown of client application or client host
    Please suggest to  us what might might be the problem.
    Thanks,
    Krutheeka.

  • [repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(Transport error: Communication failure.

    Post Author: LeeCUK
    CA Forum: Authentication
    I have installed Enterprise XIR2 onto a Windows 2003 server and all services are running.I have installed the client on another windows 2003 server and I can connect to the console via the web.
    Firstly desktop intel would not work and gave me the error below, however a new entry appeared in my server dropdown with servername (.Net Portal) and after selecting this Desktop intell worked.
    When I try to run designer I dont get the extra server in the dropdown nor does it connect when tryped manually and gives me the same error I was getting for desktop intel.
    Im using enterprise authentication
    Has anyone figured this out please?
    The error im getting is below&#91;repo_proxy 13&#93; SessionFacade::openSessionLogon with user info has failed(Transport error: Communication failure.(hr=#0x80042a01)

    Post Author: jsanzone
    CA Forum: Authentication
    LeeCUK:
    The &#91;repo_proxy 13&#93; error seems to be a catch-all for BO in that I've worked with this software (XI R2) for 1 1/2 years now and each time I've encountered &#91;repo_proxy 13&#93; it has been for a different reason, thus, you're going to have to apply troubleshooting checks all over the place until you find the problem. In my particular case I just resolved my &#91;repo_proxy 13&#93; error I've been working on this week, and here was my scenario.  Our server in the lab died due to a hard drive failure, so we cut our losses and installed a new & more powerful server.  When the rebuild was done I could not connect from my laptop to the repository via Designer (good old &#91;repo_proxy 13&#93; error).  After much angst, etc, etc I found out that the servers in the CMC (/businessobjects/enterprise115/admin/en/admin.cwrwere"&gt;http://<server>/businessobjects/enterprise115/admin/en/admin.cwrwere) were all down except for one (even though CCM showed all servers "up").  When I went to start the servers in the CMC I was prompted for an account, and no matter what account I tried it won't work.  So I went back to the CCM servers and stopped them all, then changed the default account it was using from LocalSystem to the administrator account, restarted all servers in CCM, went back to CMC and noted that all servers were now up as well.  Then I went back to my laptop and used Designer and was able to successfully log in.  Thus, the end of my story, however, it seems that many &#91;repo_proxy 13&#93; errors have different beginning and endings.  For instance, a year ago I had the same &#91;repo_proxy 13&#93; error and brought it to BO tech support.  They determined that I had to uninstall my client from my laptop, clean out the registry for any references to BO keys, and remove the c:\program files \Business Objects  folder, then reinstall, and sure enough it worked in that case, but not in this case when I tried it again.  By digging deeper I found out the root cause to my current problem, and voila, I'm in!
    Good luck!

  • ValuePattern.SetValue Throws ElementNotAvailableException (Inner Exception of InvalidOperationException)

    I have a Wpf FrameworkElement derived control that offers a custom AutomationPeer:
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Windows;
    using System.Windows.Automation.Peers;
    using System.Windows.Automation.Provider;
    namespace TSystem.Content
    internal class MarkTopicElementAutomationPeer : FrameworkElementAutomationPeer, IValueProvider
    private static readonly Dictionary<string, TcsMarkStates> StringToStateMap = new Dictionary
    <string, TcsMarkStates>
    {"Positive", TcsMarkStates.Positive},
    {"Negative", TcsMarkStates.Negative},
    {"Neutral", TcsMarkStates.Neutral}
    #region Constructors
    public MarkTopicElementAutomationPeer(FrameworkElement owner) : base(owner)
    if (!(owner is MarkTopicElement))
    throw new ArgumentException("Owner must derive from MarkTopicElement");
    #endregion
    #region Automation Peer Overrides
    protected override string GetNameCore()
    StringBuilder name = new StringBuilder();
    name.AppendFormat("MarkTopicElement:{0}:{1}", OwnerAsElement.Caption, OwnerAsElement.ElementID);
    Topic parentTopic = OwnerAsElement.FindLogicalAncestorByType<Topic>();
    if (null != parentTopic)
    name.AppendFormat(":ParentTopic:{0}:{1}", parentTopic.GetType(), parentTopic.Instance);
    return name.ToString();
    public override object GetPattern(PatternInterface patternInterface)
    return patternInterface == PatternInterface.Value ? this : base.GetPattern(patternInterface);
    protected override AutomationControlType GetAutomationControlTypeCore()
    return AutomationControlType.ComboBox;
    protected override bool IsContentElementCore()
    return true;
    protected override bool IsControlElementCore()
    return true;
    #endregion
    #region IValueProvider Implementation
    public bool IsReadOnly
    get { return OwnerAsElement.ReadOnly; }
    public void SetValue(string value)
    OwnerAsElement.ChangeMarkState(StateFromString(value));
    public string Value
    get { return OwnerAsElement.MarkState.ToString(); }
    #endregion
    #region Helper methods
    private MarkTopicElement OwnerAsElement
    get { return (MarkTopicElement) Owner; }
    private static TcsMarkStates StateFromString(string value)
    TcsMarkStates state;
    return (StringToStateMap.TryGetValue(value, out state) ? state : TcsMarkStates.Neutral);
    #endregion
    However, when I try to access its implementation the ValuePattern:
    WpfComboBox mark = HistoryPage.UIEVSite234Window.UIHostedPageWindow.UIItemCustom.UIItemCustom11.StartedTopic.StartedJustPTA;
    var markElement = (AutomationElement) mark.NativeElement;
    ValuePattern pattern = (ValuePattern) markElement.GetCurrentPattern(ValuePattern.Pattern);
    pattern.SetValue("Positive");
    It throws this exception:
    Result Message: 
    Test method EVTCSTest.HistoryStartedTest.SetStartedToPositive threw exception:
    System.Windows.Automation.ElementNotAvailableException: Element not available ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
    Result StackTrace: 
    at UIAutomationClient.IUIAutomationValuePattern.SetValue(String val)
       at System.Windows.Automation.ValuePattern.SetValue(String value)
     --- End of inner exception stack trace ---
        at System.Windows.Automation.ValuePattern.SetValue(String value)
       at EVTCSTest.HistoryStartedTest.SetStartedToPositive() in c:\Development\zTest\EVTCSTest\EVTCSTest\HistoryStartedTest.cs:line 46
    Any ideas why this may be?  I know that the element is enabled and is not read only.
    One final update...I have confirmed that it is getting to my implementation of the read-only Value property of my automation peer.  However it doesn't seem to even be reaching my implementation of SetValue.
    Thanks,
    Kelly Hilliard

    Hi,
    Based on your description, I don’t think that the issue is really related to Coded UI test itself. Your issue is mainly on setting a value using ValuePattern.SetValue. I think it is more related to accessibility and automation. I noticed that you post a
    new thread on Windows Desktop Development for Accessibility and automation forum:
    http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/8c8f4566-22df-4944-ba57-13898dcec6be/valuepatternsetvalue-throws-elementnotavailableexception-inner-exception-of?forum=windowsaccessibilityandautomation#8c8f4566-22df-4944-ba57-13898dcec6be
    I am not an expert on accessibility and automation, I am sorry for that I can’t provide you something useful about ValuePattern.SetValue method’s usage. I think that community members on Windows Desktop Development for Accessibility and Automation forum
    will help you resolve this issue better.
    Thank you for your understanding and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Java.sql.SQLException: Communication failure during handshake.

    I'm troubled by this problem followed:
    the exception is decripted as:
    java.sql.SQLException: Communication failure during handshake. Message from server: "Unknown database 'cust'"
    I'm using JSP to access the MYSQL database. the database server has three databases:mysql,test,customer. my OS is win98. I can access the customer using "mysql -u root -p customer" in the command prompt.
    but when I runs the JSP, the error appears.
    the connection string is :
    private String protocol = "jdbc:mysql://localhost/customer?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
    if the connection string is :
    private String protocol = "jdbc:mysql://localhost/test?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
    or
    private String protocol = "jdbc:mysql://localhost/mysql?user=customer_f&password=151276&useUnicode=true&characterEncoding=8859_1";
    there's no problem.
    what is wrong ?
    I guess it's wrong with mysql's setting.
    please help me,lots of thks.

    It seems user root is the owner of 'customer' database. Can you use root to access 'customer' from JSP code?
    Another hint:
    Do you grant user customer_f privileges to 'customer' database when create 'customer'?
    with root access from mysql> prompt:
    mysql>grant all privileges on customer.* to customer_f@"localhost" identified by '151276';
    Then, user customer_f will have all privileges to access 'customer' either from prompt or JSP page.
    about Creating Users and Setting permission in MySQL
    see http://www.devarticles.com/content.php?articleId=134

  • Communication failure : RFC Destination SALV_WD_EXPORT_PDF does not exist

    Hi Experts,
    I have one standard ALV report in ABAP Webdynpro.
    When i try to print the ALV Report it gives Communication failure : RFC Destination SALV_WD_EXPORT_PDF does not exist.
    Can you give solution for this one.
    Regards,
    Sri

    Hi Sri
    Please go through this..
    /people/bv.pillai/blog/2007/01/09/webdynpro-abap-alv-print-versionpdf
    also Have a look this note SAP NOTE 918236; you will need help from basis.
    Cheers,
    Kris.

  • HT1338 when I try to print, I get this error message "Communications Failure: The computer is no longer able to communicate with your printer. " followed by intruictions to turn off the printer and check connections etc. I am using an HP Officejet 6500 70

    when I try to print, I get this error message "Communications Failure: The computer is no longer able to communicate with your printer. " followed by intruictions to turn off the printer and check connections etc. I am using an HP Officejet 6500 709e, connecter wirelessly

    I'm using a mac (OS X - snow leopord) and am printing over the network (wirelessly).
    HP Photosmart Premium Fax All in One - C410a
    I was only able to print one page and then both my printer and my computer would display an error message about the printer's inability to print.  Since then I've been able to resolve my specific problem.
    I
    1. uninstalled HP from my computer (checked to ensure that my printer was no longer visible in my printers and the HP Utility software was nowhere to be found), 
    2. grabbed the software/driver update from Aug, 2010,
    3. installed the Aug, 2010 update, and my problems seem to have been fixed.
    This is where I got my 2010 update from (obviously you should get the driver/software applicable to your OS and specific printer):
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-85379-1&cc=us&dlc=en&lc=en&...

  • Fatal: Communication Failure: The computer is no longer able to communicate

    I was printing some documents and was doing great, all of a sudden the printer stopped and started showing this message;
    +"fatal: Communication Failure: The computer is no longer able to communicate with your printer. Turn the printer off, check your printer connections and check for printer errors, and turn the printer back on."+
    (the printer is a HP Photosmart 7760).
    I've done everything I could think of to fix the problem but nothing (deleted the printer, re-added it, downloaded the new driver from the website, turned off and back on, re-started the computer) but then, I really really screwed things up when I went and deleted the "PrintJobMgr/Contents/MacOS/PrintJobMgr"
    Wow! How smart. Now I'm trying to restore that file. I've looked in the internet to see if it is available, I got it from a friend but it doesn't work..
    Please, can somebody tell me what can I do at this point.
    Oh, I forgot to mention that the printer is connected to my Airport Extreme Router.
    Help!
    Message was edited by: sakko
    Message was edited by: sakko

    It sounds like you need to do a reinstall to get the PrintJobMgr back. I don't think you can use Pacifist (versiontracker.com) to install this separately, but it might be worth a try.
    Reinstalling the PrintJobMgr should get you back to where you started. At this point, I would disconnect all the cables, turn off the printer, let it sit for a bit, then reconnect and power up the printer.
    Hope this helps.

  • Communication Failure: The computer is no longer able to communicate with your printer.

    Hello, I have a HP Officejet J6480 All-in-One printer.  When I try to print, I receive this error message:
    "Communication Failure: The computer is no longer able to communicate with your printer. Turn the printer off, check your printer connections and check for printer errors, and turn the printer back on."
     I am using a Mac PowerBook G4, OS v10.5.7.  I have tried the following:
    -- rebooted my Mac
    -- turned printer off/on
    -- rebooted wireless router
    -- tried to print using USB cable.
    I continue to receive the same error message. Helllllllllllllllp!!!!
    A couple of other things I need to mention:  I bought this printer in June and have been able to print just fine since purchasing
    this printer. As recently as Friday, July 3, I was able to print and printed 6 or 7 pages then.  This is CRAZY!!!!
    Thanks.
    Barb
    Message Edited by BarbNPhx on 07-05-2009 10:55 AM

    I'm using a mac (OS X - snow leopord) and am printing over the network (wirelessly).
    HP Photosmart Premium Fax All in One - C410a
    I was only able to print one page and then both my printer and my computer would display an error message about the printer's inability to print.  Since then I've been able to resolve my specific problem.
    I
    1. uninstalled HP from my computer (checked to ensure that my printer was no longer visible in my printers and the HP Utility software was nowhere to be found), 
    2. grabbed the software/driver update from Aug, 2010,
    3. installed the Aug, 2010 update, and my problems seem to have been fixed.
    This is where I got my 2010 update from (obviously you should get the driver/software applicable to your OS and specific printer):
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-85379-1&cc=us&dlc=en&lc=en&...

  • HP LaserJet M1212nf MFP Printer - Communication Failure with the scanner

    Dear all,
    May I kindly ask if there are any known resolutions in terms of a scanning issue with the HP LaserJet M1212nf MFP Printer?
    When it starts scanning the printer only scans the up to the 3rd or 4th page, it stops in the middle of the sheet and produces an error message stating the following: Communication Failure with the scanner.
    Are there any steps that may be followed in order to resolve the incident?
    Many thanks in advance.
    Best regards,
    Ryan

    Hi @Ryan_HP ,
    I see that you are experiencing a communication error during scanning of multiple pages. I would like to help, but I will need some more information to provide you with the correct steps to resolve this issue.
    If you are using Windows, download and run the Print and Scan Doctor. It will diagnose the issue and might automatically resolve it. Find and fix common printer problems using HP diagnostic tools for Windows?
    Temporarily turn off any Antivirus Software, just to rule out any interference.
    Try scanning again.
    What operating system are you using?
    How to Find the Windows Edition and Version on Your Computer.
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    How is the printer connected? (USB/Ethernet)
    What were the results when you ran the Print and Scan Doctor? (did it print or scan, any error messages)
    What scanning software are you using?
    Have a wonderful day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • MAC OSX 10.5.8 HP C7280 not printing - communication failure

    I have a Mac OSX 10.5.8 , It has been wirelessly connected to mt HPC7280 for a long time and prints perfectly up until today. The queue shows "printing" for a while but nothing prints and then I get this messege:
    "Communication Failure: The computer is no longer able to communicate with your printer. Turn the printer off, check your printer connections and check for printer errors, and turn the printer back on."
    Tried all troubleshooting on this page: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02205477&cc=us&dlc=en&lang=en&lc=en&product=320...
    Nothing seems to work. Any help would be greatly appreciated. Thanks.

    Let's reset the printing system:
    - Go to System Preferences > Print & Scan
    - Right (or control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - this will delete ALL of your printers!
    - Select the plus sign to re-add a printer. Select the Defualt tab on the top of the window. Look for the printer, select it and wait until the "Add" button becomes available. Click it.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • WPUMFactory.getUserFactory() throws null pointer exception

    Hi,
    I am trying to use KM API's to read files from KM repository. I am using the below code as mentioned in the blog: How to download KM documents using Web Dynpro Java
    Below is my code:
    IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
    com.sap.security.api.IUser sapUser = wdClientUser.getSAPUser();
    IUser epUser = WPUMFactory.getUserFactory().getEP5User(sapUser);
    However the line WPUMFactory.getUserFactory() throws null pointer exception. Can some one please help on why these happens as these seems to be the standard code to read a file from KM.
    Thanks.
    Regards,
    Ponraj M

    Hi Ponraj ,
    Instead of fetching the current logged on user , use the below line to set the resource context and see if it helps .
    com.sapportals.wcm.repository.IResourceContext resourceContext = ResourceFactory.getInstance().getServiceContext("cmadmin_service");
    cmadmin_service is a existing user that can be used to access KM resources .
    Regards
    Mayank

Maybe you are looking for