CALL_NOT_FLUSHED error while opening word document proxy
Hello Gurus,
We are using DMS application for uploading word documents in SAP system.
We are using the following code to open a document from SAP database
CALL METHOD CONTROL->GET_DOCUMENT_PROXY
EXPORTING
DOCUMENT_TYPE = '207'
DOCUMENT_FORMAT = ''
IMPORTING
DOCUMENT_PROXY = PROXY
RETCODE = RETCODE.
IF RETCODE NE C_OI_ERRORS=>RET_OK.
EXIT.
ENDIF.
CALL METHOD PROXY->OPEN_DOCUMENT
EXPORTING
DOCUMENT_URL = DOC_URL
OPEN_INPLACE = 'X'
open_readonly = 'X'
protect_document = 'X'
IMPORTING RETCODE = RETCODE.
IF RETCODE NE C_OI_ERRORS=>RET_OK.
EXIT.
ENDIF.
Above code open a document proxy and with help of macros we are changing some of the variables in the document.
Problem is when we are trying to print this proxy with help of below code.
CALL METHOD proxy->print_document
EXPORTING
NO_FLUSH = ''
prompt_user = 'X'
IMPORTING
error = error
retcode = retcode .
In the above code if prompt_user parameter is passed then while execution a new window session is opened for printer selection but this methods gives an error as CONTROL_INTERNAL_ERROR. when i debugged it , it was giving error as CALL_NOT_FLUSHED.
But when we are commenting prompt_user as below
CALL METHOD proxy->print_document
EXPORTING
NO_FLUSH = ''
prompt_user = 'X'
IMPORTING
error = error
retcode = retcode .
While execution printer selection window is open in the same window and nor error is passed by the method.
And print comes.
Kindly suggest how CALL_NOT_FLUSHED error can be eliminated.
Thanks in Advance
Sahadev Abhyankar
Just try with below before printing & opening the document. Refer to the examples SAPREDIT*
Call Method cl_gui_cfw=>Flush
Exceptions
Others = 0.
Similar Messages
-
Error while opening office document
Hello Gurus!
I try to use word intergation in WebIC (CRM 5.0). In "Create lead" trunsaction (CL_CRM_IC_ABOXSAMPLE_CR_LEAD class) I have Attachment tab. When I click "Create document with template" buton I get "Error while opening office document" error. In IE settings ActiveX is on. What should I do to make it work?
Best regards,
Artur.Hello Artur,
Try this Note:
Note 606745 - CRM Content Management: Document does not open
It's not exactly for that issue but it may help.
Good Luck
Eli Steklov
Please Reward Points if it Helped -
Getting error while opening Excel document from SharePoint site
Hello All,
I am getting following error while opening Excel document from SharePoint site.
This issue appears when we open Excel document from Windows>> Run using below mentioned command:
Excel.exe "{File Name}"
If once I go to Excel back stage and browse for the SharePoint location, then this problem disappears.
I have a work around for this issue but main problem is that i do not have any work around when i need to open Exel document using Excel COM interop in C#.
Thanks,
Amit Bansal
Amit Bansal http://www.oops4you.blogspot.com/Hi Amit Bansal,
Thanks for posting in MSDN forum.
This forum is for developers discussing developing issues involve Excel application.
According to the description, you got an error when you open the document form SharePoint site.
Based on my understanding, this issue maybe relative to the SharePoint, I would like move it to
SharePoint 2013 - General Discussions and Questions forum.
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
Thanks for your understanding.
Regards & Fei
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. -
Error Message "Error while Opening the Document"
Hi Friends,
I have a problem while opening the SFP transaction and Clicking on the Layout Tab the SAP System is giving an error message saying "Error while Opening the Document".
I have tried testing on several systems like IDES, ERP, Retail systems. But it is giving me same error. Is this the problem with ADOBE LIVECYCLE DESIGNER?
And when I click on the Performance Assistant it has given me some information:
Error while opening document
Message no. SOFFICEINTEGRATION143
Diagnosis
An error occurred in the desktop application while opening a document.
Friends can you help me in solving this problem.
Thanking yoy in Advance
Pradeep GoliPradeep,
Maybe Live Cycle Designer has not been uninstalled correctly from your system. So goto the following lcaotions and remove the Designer folder if you find them:-
C:\Program Files\Adobe
C:\Documents and Settings\<your-username>\Application Data\Adobe\
Alternatively try installing Live Cycle Designer on some other machine in your network and see if you encounter the same error.
Similar thread for reference : Error - Adobe Live Cycle designer
Chintan -
Error while opening the document
Hi,
i av created the document.while i m trying to oopen the document in tcode :CV02N it s giving me a message as "40.960 bytes transmitted , Code page 0000"
Could me pls tel me what is this message and how to solve this..
Regards
BhanuHi,
Kindly elaborate is this error while opening original attached in DIR or?
If yes!
check in DC20-->whether data carrier is defined
check in DC30-->whether workstation application file is defined propelry or not.
Regards,
Seema Pilankar -
Credential Pop up while opening word document in SharePoint 2013
Hi
When I open office documents from SharePoint library, it is asking for credentials. Even if I put my credentials, pop up window will not go away. I have IE 11 and SharePoint 2013.
I have put this site in trusted site zone. User Authentication - Automatic logon with current user name and password.
I have clicked on Remember my credentials. I can see my saved credentials in credential manager.
The thing is, I was able to open word document without asking for password before. But recently, I have changed IE settings to be default level for some other reason, and since then it is asking me for credentials.
I looked online so many articles, but nothing has helped me yet.
Any help will be appreciated.
ThanksHi Cameron
Thanks for your response. Yesterday night, when I tried to open documents from sharepoint site from my home, it didn't ask me for credentials. I was using same laptop which I used in the office.
Again, today in the office, It started asking for credentials when I open office document.
The only difference is internet connection is different between my home and the office.
Not sure what could be the issue.
Thanks -
My pages is showing error while opening a document in microsoft word format. Please help
While trying to open documents in microsoft word format, pages is showing an error. It is unable to complete the task and is requesting me to reopen pages but then no response. However I am able to work on pages format. Please help.
thanksWhen you open a Word document in Pages, it is translated into the internal .pages document format — and you are no longer working in the original Word document format. This translation also occurs in reverse when exporting a document back to Word. When you open a Word document in Pages, if it has issues with the translation (missing font characteristics, other issues), it will open a warning dialog box and display these issues for you.
If however, you prefer to always work in the native Word document format, and not risk translation issues, then you should be using MS Word in Office for Mac 2011 with the latest update. -
OLE error when opening word document
Hi,
I have a form that allows update of word documents stored in blob fields in the database.
The form works fine. except that if I open and update a document that has a footer and then save the document back into the database without the footer, it is no longer possible to open it.
Can anyone help?
Sometimes I get FRM 40922 : An OLE error occurred 0x80004005
Otherwise when I click on the icon nothing happens.
Thank you
MichaelI can avoid this problem by leaving the footer and returning to the main document view before saving the document.
-
Error while opening GRPO document
Dear Experts,
I am using SAP B1 8.8 and SQL Server 2008 in Server and SAP B1 and SQL Server 2005 in Test System.
I have tested one scenario, In GRPO Document, Total amount should be calculated based on Unit price * 0.2812 * Net weight. In Test system it worked fine. But when i applied the same in Server, when i open the GRPO document i got an error message as " 1) [Microsoft] [SQL Server Na tive Client 10.0] Incorrect syntax near the keyword 'FOR'. 2) [Microsoft] [SQL Server Native Client 10.0] statement ' ' (NFN1) (s) Could not be prepared."
When i add the GRPO document, i get following error " 1) [Microsoft] [SQL Server Na tive Client 10.0] Incorrect syntax near the keyword 'FOR'. 2) [Microsoft] [SQL Server Native Client 10.0] statement 'Withholding Tax ' (OWHT) (s) Could not be prepared."
Please guide me solve this issue. I could not prepare or add GRPO document because of these errors.
Thanks in advance.
Raja.SHi
did you install the Native Client?
did you check the decimal places?
If you are using batch or serial numbers check the note 1507790
Kind regards.
Agustín
Edited by: Agustin Marcos Cividanes on Feb 14, 2011 9:21 AM -
Error While opening Excel documents in browser
Hi All,
I have few documents in my SharePoint 2010 and most
of them are excel documents.When the users are opening the excel work book in browser i am facing the error as below.Can any one help me how can I over come from this issue
Thanks,
Quality Communication Provides
Quality Work.
SidHello,
I assume that you have Excel installed in your computer.
So, I think that this error is a problem with your Internet Explorer configuration.
Try to open them with IE 32 bits.
Hope this helps. -
Getting error while opening document in SharePoint 2010
Hi,
I got the below error while opening a document in SharePoint library.
"The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document."
Please help me to resolve.
KrishnasandeepHi,
According to your post, my understanding is that you got the error while opening a document in SharePoint library.
The issue can occur when you have several different versions of Office installed on the same computer and you have
several different versions of the OWSSUPP DLL available which are not registered correctly.
To resolve this issue you should disable Microsoft SharePoint Foundation Support in any other version of Office installed on the machine and then repair Office.
For more information: you can refer to:
You get an error message when you open an Office file from SharePoint on a computer on which you installed more than one version of Office
In addition, please ensure that you are using Internet Explorer (32 bit) not the Internet Explorer (64-bit).
Please Verify the “Sharepoint OpenDocuments Class” addon is installed and enabled. If it is not reinstall Office.
Please refer to:
Solved: The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document.
And, if the Office tools can’t install correctly will also cause the error.
Here is a thread about this issue, you can check it. The replies include most of the possible reasons and gave the solutions.
http://social.msdn.microsoft.com/Forums/en-US/06a4943a-5150-44c5-ae6b-3354c85396f5/the-document-could-not-be-opened-for-editing-a-microsoft-sharepoint-foundation-compatible
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Error while opening the application help
Hello,
We are trying to open the application help from the R/3. It is giving
us the follwoing error.
This is linked to the knowledge warehouse server 6.20.
Error:
SAP Internet Knowledge Server
The IKS cannot display the page you asked for.
Please contact the administrator if this problem persists.
Additional infomation:
RFC Error: System exception raised, connection closed (SIW_IKS_VAR_GET)
RfcRc: <3>, ErrorInfo:
The confuguration looks fine as per the note # 381266.
The help is working fine previously.
Thanks in advance.
Best regards,
Madhav.Hi Arun,
Error due to incorrect installation of life cycle designer.
check the below links for solution.. ( same issue ).
Error Message "Error while Opening the Document"
Error - Adobe Live Cycle designer
Regards
Srinivas -
Getting error while opening transactions in a perticular queue
Hi All,
we had been experiencing this error for some days now. When we try to open any transactions in this queue we end up getting the below error:
"Access denied.
You may not have access to perform this task on the chosen person
or your session has timed out. (Try to log into the system again.)
I have complte access to this - so that should be an issue. When i try to open a transaction it is long time to process and then i end up with this error.
I heard in other post to minimise the search attributes for this and i did the same but it worked for some time and then again i am getting the same error.
Please suggest how to get rid of this. This is right now happening only to one single queue.Hi,
According to your post, my understanding is that you got the error while opening a document in SharePoint library.
The issue can occur when you have several different versions of Office installed on the same computer and you have
several different versions of the OWSSUPP DLL available which are not registered correctly.
To resolve this issue you should disable Microsoft SharePoint Foundation Support in any other version of Office installed on the machine and then repair Office.
For more information: you can refer to:
You get an error message when you open an Office file from SharePoint on a computer on which you installed more than one version of Office
In addition, please ensure that you are using Internet Explorer (32 bit) not the Internet Explorer (64-bit).
Please Verify the “Sharepoint OpenDocuments Class” addon is installed and enabled. If it is not reinstall Office.
Please refer to:
Solved: The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document.
And, if the Office tools can’t install correctly will also cause the error.
Here is a thread about this issue, you can check it. The replies include most of the possible reasons and gave the solutions.
http://social.msdn.microsoft.com/Forums/en-US/06a4943a-5150-44c5-ae6b-3354c85396f5/the-document-could-not-be-opened-for-editing-a-microsoft-sharepoint-foundation-compatible
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Got errors when trying to open word document with Office Web App Server and customized WOPI host
I am configuring the Office Web App Server with our ASP.NET MVC WOPI host based on this example. https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6. While both the OWA server and WOPI server has been set up and I can use Excel and PowerPoint
app to open and edit xls and ppt file now, there are problems opening word documents no matter I enable or disable the editing function of OWA server.
When I open a word document while enabling editing I got this error:
If I disable editing I got this message:
I have tried several file so I thought it is not the files' problem. Also I didn't find any exception in the log of OWA server.Hi Gary Jiang,
Thanks for posting in MSDN forum.
This forum is for developers discussing issues about
apps for Office.
Based on the description, it seems that you got an issue when you deploy the code sample. If I understood clearly, I suggest that you contact the author of the code sample from the "Q and A" tab.
Also if you have the question about WOPI, I suggest that you get more effective response from
Office
Protocols forum.
Regards & Fei
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. -
Hi all,
By using below code i am able to download word document file from html container. But before downloading i need edit these document to add Macro.
I am unable to open word document.
CREATE OBJECT G_HTML_CONTAINER
EXPORTING
CONTAINER_NAME = 'PDF'.
CREATE OBJECT G_HTML_CONTROL
EXPORTING
PARENT = G_HTML_CONTAINER.
* Convert xstring to binary table to pass to the LOAD_DATA method
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = LV_CONTENT
TABLES
BINARY_TAB = LT_DATA.
data_tab = LT_DATA ).
* Load the HTML
CALL METHOD G_HTML_CONTROL->LOAD_DATA(
EXPORTING
TYPE = 'application'
SUBTYPE = 'DOC'
IMPORTING
ASSIGNED_URL = LV_URL
CHANGING
DATA_TABLE = LT_DATA
EXCEPTIONS
DP_INVALID_PARAMETER = 1
DP_ERROR_GENERAL = 2
CNTL_ERROR = 3
OTHERS = 4 ).
* Show it
CALL METHOD G_HTML_CONTROL->SHOW_URL( URL = LV_URL
IN_PLACE = 'X' ).
Before file download i want edit the file for that i am using below class.
PROXY TYPE REF TO I_OI_DOCUMENT_PROXY.
by using (get_document_proxy) method getting proxy .
call method control->get_document_proxy
exporting
document_format = 'x'
document_type = 'Word.Document'
register_container = 'x'
importing
document_proxy = proxy
after these.
call method proxy->open_document
exporting
document_url = lv_url
open_inplace = 'x'
hear i m getting retcode as INTERNAL ERROR
can any one suggest me how to open document from html container.
Thanks and reagards
jogu yadavI got resolution
Thanks and regards,
Jogu yadav
Maybe you are looking for
-
Error when trying to change the look of a site collection
Hello everyone! I have a single-server on-premise installation of SharePoint 2013 and I noticed that you can change the way fonts, colors etc. are used on a site collection by selecting "Change the look" from the site settings. However when I browse
-
Hi, I was wondering, while having my macbook hooked up to an external monitor, is there anyway to prevent the computer from shutting down when the lid is closed? in windows there is the option "do nothing when lid is closed" is there such a thing in
-
I updated to Mountain Lion and Mail has lost all my RSS feeds. Where are they?
I updated to Mountain Lion and now Mail has lost all my RSS feeds. What happened and where are they?
-
OS Authentication in Solaris while using JDBC
hi, I am trying to Authenticate a user, who is already connected to the database from a simple java class. Here in this case i am using Oracle 10g. My query is : Authenticate the user from the Java program without providing the password. The OS that
-
Can't make a new folder on external drive
I want to copie a folder from my harddisk to an external disk. I can see the external disk in Finder, but when i click the menu to add a new folder it isn't highlighted, so i can't choose that option. i checked my account but i'am the only user. What