Follow up to document with error
Hi
is it possible to create follow up document to document with error?
CRM blocks it.
eg. I have sales order in CRM from R/3 without person responsible in Partners tab.
I would like to create Correction document.
How can I do it?
Regards
Radek
not found
Similar Messages
-
Excise duty document with error code-15- table /BEV2/EDMSE after posting.
Hi Experts,
is created in STO process
Hi,
We are facing the problem in stock transport from plant to plant regarding Excise duty document which can be seen in table /BEV2/EDMSE after posting.
Steps involved in process
1) Creation of PO(STO) ME21N-
2) Creation of outbound delivery and post goods issue- VL10B
3) Posting of GRN goods receipt - MIGO
4) Creatin of excise invoice path is - User menu---> Logistics --->Materials Management --->Excise Duty --->Tools ---> Limted document selection (/BEV2/EDT7)
We are facing problem in creation of excise document , Error is coming while posting and document not getting posted.
Error is -
1 document items processed: 1 tax-relevant, 1 of them rejected
Message no. /BEV2/EDMESS1017
Diagnosis
1 material documents were processed.
1 of them were identified as being tax-relevant. They were updated. This involves 1 items that were rejected.
Procedure
Check and edit the rejected document items by means of the function Rejected documents.
If we check the Rejected documents you will find the error as -
Error 15 GI posting not yet processed/has been rejected
If we check the sucessful posted document with problem document in table /BEV2/EDMSE you will find the stock ledger number field is blank, may be because of this the tax value is not getting calculated.
Please guide to solve the problem.
regards,closed
-
Mail.App shows me an rtx document with errors, then opens.
This happens upon restarting the iMac. What email address do I use to send Apple the rtf document of my MacMail issues?
Hello, Edward and thank you for your note.
I read through the thread you mentioned and it seems that people are having a lot of problems with the iCloud clients, so we're not alone, but the unique issue in my case is the failing email address vs. the working perfectly email address.
After reading your message tonight, I tried my setup again with the preferred Apple ID (the one without the "." between the names), and for the first time ever, IT WORKS. Mail app configured the servers both send and receive as p01-smtp.mail.me.com and p01-imap.mail.me.com. For the first time, I'm able to send and receive into the Mail app, create mailboxes, move messages into and out of mailboxes, keep Sent messages, etc.
I had a 50-minute support chat with MobileMe support via ExpressLane on Monday afternoon. They couldn't resolve my issue but passed me on to escalation. I was told to expect to get an email from advanced support by this afternoon, but none has arrived. However, so far tonight -- and I will check again tomorrow several times before declaring victory -- it looks like something has been fixed on the Apple end to make things work.
I will report back after I do some additional testing tomorrow to make sure the fix is real and is solid...and before I let my friend, the new Mac user, know the good news.
Regards,
Mike -
Report RPTARQPOST - Document status with error
Hi,
We are using report RPTARQPOST to post the leave requests to infotype 2001.
But we are having many records posted in infotype 2001, with the workflow status "Completed", but with the Document status "Error". What does that mean? What can cause this document status?
Thanks in advance for your help.
Best regards,
Sónia GonçalvesReports Server Queue Status is as follows
The report terminated with error:
REP-110: File Testbill.rdf cannot be opened. REP-1070: An error occurred while opening or saving a document. REP-0110: File Testbill.rdf cannot be opened. .
By the way, i tried making the reports path length in registry very short as suggested by numerous people. But, nothing worked so far. -
premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden." Installation in German Language on WIN7 professional 64bit, Samsung SSD. What can I do to run that program?
Jurgen Freund
Premiere Elements 12 on Window 7 64 bit. What video card/graphics card does your computer use - AMD Radeon?
I have found this YouTube video on the subject of Error 126 with details for resolving the problem.
How to fix the ERROR 126 when you open OpenGL programs - YouTube
The link was contributed in an old 2013 thread here by the ID danneomarre (see post 6 of the following thread)
LoadLibrary failed with error 126: cant find the required
Please let us know if that worked for you.
Thank you.
ATR
Add On...When all is OK and working, please update 12 to 12.1 Update using an opened project's Help Menu/Update. -
WORKAROUND: "A document with the name 'vnd.ms-excel' is already open"
I'm posting this in the hope that it might help someone else (or that someone else might suggest a better solution)...
I'm using the technique described in the Integrating Oracle Reports in Oracle Forms Services Applications white paper. Basically, this means using RUN_REPORT_OBJECT to generate a report, and then navigating to a URL of the form...
http://<host>/reports/rwservlet/getjobid<n>?server=<name>...to show it.
I had the requirement that some reports (with DESFORMAT=DELIMITEDDATA) needed to open in Excel, so for these reports I added the MIMETYPE command to the URL, so that it was of the form:
http://<host>/reports/rwservlet/getjobid<n>?server=<name>&mimetype=application/vnd.ms-excelThis appeared to work, but only for one report at a time. I could generate one report this way, and when I navigated to its URL, the report would be displayed by Microsoft Excel within a new browser window as expected. However, if I left the browser window open, then generated a second report and navigated to its URL, a new, empty browser window was displayed, but a "Microsoft Excel" message box appeared with the following message:
A document with the name 'vnd.ms-excel' is already open. You cannot open two documents with the same name, even if the documents are in different folders.
To open the second document, either close the document that's currently open, or rename one of the documents.
When I chose OK (the only button), the message box closed, but the new browser window remained empty.
If Excel was already running to begin with, the message box was obscured behind other windows, and the new browser window remained empty and appeared to never finish loading (because it was waiting for a response from the message box). The message box only appeared if I explicitly navigated to Excel (for example, using the taskbar). When I chose OK, a "File Download" dialog appeared, followed by a message box that reported the following:
Microsoft Excel for Windows has encountered a problem and needs to close. We are sorry for the inconvenience.
When I closed this message box, Excel shut down.
I could not find this documented anywhere, but it appears as if Excel interprets the text after the last "/" in the URL as the file name. In my case, this was the same text every time (specifically "vnd.ms-excel"), which caused problems because Excel does not allow you to open two files with the same name.
My workaround was simply to add the "JOBNAME=/<n>" command (where <n> is the job ID) to make the text after the last "/" unique (at least in my case). In other words, by using a URL of the form...
http://<host>/reports/rwservlet/getjobid<n>?server=<name>&mimetype=application/vnd.ms-excel&jobname=/<n>...I was able to avoid the problem. For example, for job ID 123, the URL would be...
http://<host>/reports/rwservlet/getjobid123?server=<name>&mimetype=application/vnd.ms-excel&jobname=/123...and Excel would interpret the file name as "123".
Hope this helps.Thanks for posting, this solution worked!
-
Photomerge Panorama fails with error 126
I am using Photoshop Elements 9 and have uninstalled and reinstalled the software. I have applied all updates to bring the Organizer to 9.0.3.0. When I select file, then new, then Photomerge Panorama, I receive the following message: LoadLibrary failed with error 126: The spcified module could not be found.
Hello,
I read your post and really you have done a great job this is the best way to fix error 126 but i have something to recommend you to same fixing of these type of errors someone recommend me to visit http://www.error126.com this site when i visit this it attract me and i get all that fixing tools which i want to find from this site its really good for my PC i hope you also check this and get good benefit.
Thanks -
Error when opening document with ECL control: INVALID_DATA
Hi Gurus,
I've tried to search the net for this problem but could not find anything and I'm stuck now.
Description:
we're using ECL to view attached documents (to POs etc.) which are stored through ArchiveLink on the content repository.
when we try to open this document, time-to-time we get following error:
Error when opening document with ECL control: INVALID_DATA
Message no. SDV004
by time-to-time I mean that when we try to open same attachment again it opens successfully (sometimes we need to re-open it 3-4 times to get it)
what we've tried is to enlarge timeout for HTTP protocol (tx SMICM, from former 30 to actual 60) but only effect we got is that we're waiting for the error longer time
It will be really great if anybody of you guys can give me an advice where the problem can be or where should I look and what to check
Thanks,
DavidHi Christoph,
thanks for tip, unfortunately this was already flagged, currently settings are:
for Display Settings:
yes - include ECL control
use HTML control
empty - maximum viewer wait time
(do you think that setting some value for this could help)
yes - deactivate generic object services in viewer
no - doc display as dialog box
yes - deactivate data provider cache
Storage Settings:
yes - always copy document class from document type
yes - permit multiple assignment
Thanks,
David -
Updating a document with category metadata using updateDocument(): error!
I have studied the sample code and the API docs, and I feel pretty sure I am coding it according to the docs, but I cannot successfully update a document with category metadata. I always get a MetaDataSchemaInvalid exception.
My process goes like this:
1. Upload a new file, creating a new document publicobject.
2. Create a CATEGORY_DEFINITION with all the metadata name/value pairs I wish to write.
3. Call FileManager.updateDocument() with this CATEGORY_DEFINITION.
My process differs from the docs in that I am first uploading the document, and then adding the metadata as a second step. I want to get it working this way to make my system more modular. I do not want to make my upload method dependent upon metadata attributes, and vice versa.
Step 1 is working fine. The document is being uploaded to the right folder. Good to go.
Step 3 is where I get the error. If the error is my fault, then it must be a result of what I do in step 2. The structure of my CATEGORY_DEFINITION must be messed up.
Here is my code for creating the CATEGORY_DEFINITION. The Document class is my own entity that encapsulates the binary data for a document, as well as the metadata attributes that are to be assigned to the document once it is uploaded into Content Services. We don't need to worry about where the data comes from. Just assume the raw data is correct.
public NamedValue[] newCategoryAttributeDefinition(Document document, String categoryDisplayName) throws WebserviceClientException {
/* Get the category attribute name-value pairs as a 2-D array. */
Map metadataMap = document.getMetadataParser().getAttributeNameMapping();
List categoryDefinitionAttributeList = new ArrayList();
for(Iterator i = metadataMap.entrySet().iterator(); i.hasNext();) {
Map.Entry entry = (Map.Entry)i.next();
String name = "CUSTOM_" + (String)entry.getKey();
Object value = entry.getValue();
if(value != null) {
categoryDefinitionAttributeList.add(new Object[] { name, value });
Object[][] categoryDefinitionAttributeArray = new Object[categoryDefinitionAttributeList.size()][];
int index = 0;
for(Iterator i = categoryDefinitionAttributeList.iterator(); i.hasNext();) {
Object[] value = (Object[])i.next();
categoryDefinitionAttributeArray[index++] = value;
/* Create the NamedValue tree that describes this category's attribute values. */
Long categoryId = new Long(getCategoryClassId(categoryDisplayName));
NamedValue[] categoryAttributeDefinition = WebserviceUtils.newNamedValueArray(new Object[][] {
{ Options.CATEGORY_ID, categoryId },
{ Options.CATEGORY_DEFINITION_ATTRIBUTES, WebserviceUtils.newNamedValueArray(categoryDefinitionAttributeArray) }
NamedValue[] categoryDefinition = WebserviceUtils.newNamedValueArray(Options.CATEGORY_DEFINITION, categoryAttributeDefinition);
return categoryDefinition;
And below is the resulting CATEGORY_DEFINITION, as seen in a jdb debugger.
-- The OPT.CATEGORY_ID value is equal to the ID column in ODMV_SCHEMACATEGORY, otherwise known as the category class id.
-- My OPT.CATEGORY_DEFINITION_ATTRIBUTES tree for this document has the 4 attributes that I want to set. The category has more than these 4 attributes; I am not populating every attribute. None of the attributes are required, and all are editable. I don't need to include every attribute in my CATEGORY_DEFINITION, even if the values are null, do I? Also, all the attribute names start with "CUSTOM_", which I believe is necessary - right?
-- I am setting only the OPT.CATEGORY_ID and OPT.CATEGORY_DEFINITION_ATTRIBUTES. Am I missing some other required attribute?
http-8888-Processor5[1] http-8888-Processor5[1] dump categoryDefinition
categoryDefinition = {
instance of oracle.ifs.fdk.NamedValue(id=2562)
http-8888-Processor5[1] dump categoryDefinition[0]
categoryDefinition[0] = {
name: "OPT.CATEGORY_DEFINITION"
value: instance of oracle.ifs.fdk.NamedValue[2] (id=2559)
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[0]
categoryDefinition[0].value[0] = {
name: "OPT.CATEGORY_ID"
value: instance of java.lang.Long(id=2558)
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[0].value.toString()
categoryDefinition[0].value[0].value.toString() = "60068"
http-8888-Processor5[1] dump categoryDefinition[0].value[1]
categoryDefinition[0].value[1] = {
name: "OPT.CATEGORY_DEFINITION_ATTRIBUTES"
value: instance of oracle.ifs.fdk.NamedValue[4] (id=2570)
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[1].value[0]
categoryDefinition[0].value[1].value[0] = {
name: "CUSTOM_From"
value: "SA"
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[1].value[1]
categoryDefinition[0].value[1].value[1] = {
name: "CUSTOM_Footer Number"
value: "PRM 34-318"
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[1].value[2]
categoryDefinition[0].value[1].value[2] = {
name: "CUSTOM_To"
value: "PROJECT TEAM"
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
http-8888-Processor5[1] dump categoryDefinition[0].value[1].value[3]
categoryDefinition[0].value[1].value[3] = {
name: "CUSTOM_Subject"
value: "Riverside Energy Resource Center Meeting Minutes-Internal"
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2564)
class$oracle$ifs$fdk$NamedValue: instance of java.lang.Class(reflected class=oracle.ifs.fdk.NamedValue, id=1975)
After building this CATEGORY_DEFINITION, I go on to attempt an update to the document with this information. Here is the method I call. I always fall into the catch(), and the error dump follows the code snippet. Unfortunately, the error doesn't tell me a lot about what's wrong. That's why I am asking for help in spotting any conspicuous errors in my CATEGORY_DEFINITION.
public Item addCategoryToDocument(Item documentItem,
NamedValue[] categoryDefinition)
throws WebserviceClientException {
FileManager fileManager = getWebserviceClient().getFileManager();
Item documentItemWithCategory = null;
try {
documentItemWithCategory = fileManager.updateDocument(documentItem.getId(), categoryDefinition, null);
} catch(Exception e) {
throw new WebserviceClientException("Could not update document with category definition.", e);
return documentItemWithCategory;
http-8888-Processor4[1] http-8888-Processor4[1] dump e
e = {
detailedErrorCode: "ORACLE.FDK.AggregateError"
errorCode: "ORACLE.FDK.AggregateError"
exceptionEntries: instance of oracle.ifs.fdk.FdkExceptionEntry[1] (id=2691)
info: null
serverStackTraceId: ""
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2694)
class$oracle$ifs$fdk$FdkException: instance of java.lang.Class(reflected class=oracle.ifs.fdk.FdkException, id=1972)
org.apache.axis.AxisFault.log: instance of org.apache.commons.logging.impl.Log4JLogger(id=2695)
org.apache.axis.AxisFault.faultCode: instance of javax.xml.namespace.QName(id=2696)
org.apache.axis.AxisFault.faultSubCode: null
org.apache.axis.AxisFault.faultString: "ORACLE.FDK.AggregateError:ORACLE.FDK.AggregateError"
org.apache.axis.AxisFault.faultActor: null
org.apache.axis.AxisFault.faultDetails: instance of java.util.Vector(id=2698)
org.apache.axis.AxisFault.faultNode: null
org.apache.axis.AxisFault.faultHeaders: null
org.apache.axis.AxisFault.class$org$apache$axis$AxisFault: instance of java.lang.Class(reflected class=org.apache.axis.AxisFault, id=1928)
java.rmi.RemoteException.serialVersionUID: -5148567311918794206
java.rmi.RemoteException.detail: null
java.lang.Exception.serialVersionUID: -3387516993124229948
java.lang.Throwable.serialVersionUID: -3042686055658047285
java.lang.Throwable.detailMessage: null
java.lang.Throwable.cause: null
java.lang.Throwable.stackTrace: instance of java.lang.StackTraceElement[76] (id=2699)
http-8888-Processor4[1] dump e.exceptionEntries[0]
e.exceptionEntries[0] = {
detailedErrorCode: "ORACLE.FDK.MetadataSchemaInvalid"
errorCode: "ORACLE.FDK.MetaDataError"
id: 348018
info: null
serverStackTraceId: ""
__equalsCalc: null
__hashCodeCalc: false
typeDesc: instance of org.apache.axis.description.TypeDesc(id=2705)
class$oracle$ifs$fdk$FdkExceptionEntry: instance of java.lang.Class(reflected class=oracle.ifs.fdk.FdkExceptionEntry, id=1973)
}1 – For an existing document, how do I determine what category instances have been applied to it and their attribute values
FdkSession session = …;
// Consider we have an existing item myDoc of type document
Item myDoc = …;
CommonManager cm = Managers.getCommonManager(session);
AttributeRequest[] requestedAttributes = new AttributeRequest[]
// The Categories associated with this Document, if any
new AttributeRequest(Attributes.CATEGORIES,
// sub attributerequest
new AttributeRequest[] {
// the actual attributes name/values for the category instance – returns a namedvalue array
new AttributeRequest(Attributes.CUSTOM_ALL,null),
// the actual category class for the category instance – returns an item
new AttributeRequest(Attributes.CATEGORY_CLASS_OBJECT,null)
myDoc = cm.getItem(myDoc.getId(), requestedAttributes);
log(myDoc); /* output could look like:
(Item) 14385 DOCUMENT sample3.doc
requested attributes ...
CATEGORIES (Item[])=
(Item) 14387 CATEGORY
requested attributes ...
CUSTOM_ALL (NamedValue[])=
CUSTOM_14352=true (Boolean)
CUSTOM_14353=Internal Only Pending Review (String)
CATEGORY_CLASS_OBJECT (Item)=
(Item) 14354 CATEGORY_CLASS 5044-14351
This means, that for document sample3.doc, we have 1 instance of a category object applied to it.
The category object instance has id 14387. The instance is of a category class object type 14354. The instance has two attributes with internal names CUSTOM_14352, and CUSTOM_15353. The values of these attributes are of type Boolean and String respectively.
2 - How do I update an attribute value of an existing category instance applied to an item
FdkSession session = …;
// Consider we have an existing item myDoc of type document
Item myDoc = …;
.. perform code along the lines of that shown in step1 above to determine existing category instance info on the document ..
FileManager fm = Managers.getFileManager(session);
NamedValue[] categoryInstanceAttributes = new NamedValue[] {
// use the internal attribute name for all attributes
new NamedValue("CUSTOM_14352", Boolean.FALSE),
new NamedValue("CUSTOM_14352", "Company Confidential")
NamedValue[] categoryDef = new NamedValue[] {
// the category instance that we are updating
new NamedValue(Options.UPDATE_CATEGORY_ID,new Long(14387)),
// the updated values of the category instance
new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, categoryInstanceAttributes)
NamedValue[] documentDef = new NamedValue[] {
new NamedValue(Options.CATEGORY_DEFINITION, categoryDef)
requestedAttributes = ...
myDoc = fm.updateDocument(myDoc.getId(),documentDef,requestedAttributes) ;
3 – For a document item X, what is the associated category configuration which could include
a) what are the category objects I can apply on it (either explicitly restricted by way of ALLOWED_CATEGORIES on the folder configuration, or any site/domain category by way of ALLOW_ALL_CATEGORIES)
b) is there any attribute overrides
c) is there any enforced categories
FdkSession session = …;
// Consider we have an existing item myDoc of type document
Item myDoc = …;
CommonManager cm = Managers.getCommonManager(session);
AttributeRequest[] categoryObjectAttributes = new AttributeRequest[]
// What is the category object class name
new AttributeRequest(Attributes.CLASS_NAME,null),
// What is the category classobject display name
new AttributeRequest(Attributes.DISPLAY_NAME,null),
// get attributes inherited and introduced by category object
new AttributeRequest(Attributes.METADATA_ATTRIBUTES,
new AttributeRequest[]
// Attribute internal name
new AttributeRequest(Attributes.ATTRIBUTE_NAME,null),
// Attribute display name
new AttributeRequest(Attributes.DISPLAY_NAME,null),
new AttributeRequest(Attributes.ATTRIBUTE_TYPE,null),
new AttributeRequest(Attributes.ATTRIBUTE_DEFAULT,null),
new AttributeRequest(Attributes.ATTRIBUTE_ENUMERATION,null),
new AttributeRequest(Attributes.ATTRIBUTE_REQUIRED,null),
new AttributeRequest(Attributes.ATTRIBUTE_SETTABLE,null),
new AttributeRequest(Attributes.ATTRIBUTE_UPDATEABLE,null),
new AttributeRequest(Attributes.ATTRIBUTE_HIDDEN,null),
new AttributeRequest(Attributes.ATTRIBUTE_PROMPTED,null),
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDEABLE,null),
AttributeRequest[] overrideAttributes = new AttributeRequest[]
// id of the attribute to be overridden
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_ATTRIBUTE,null),
// id of the category class object to which this attribute override applies
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_CATEGORY_CLASS,null),
// new default value
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_DEFAULT,null),
// should attribute now be prompted
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_PROMPT,null),
// is the attribute now required
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_REQUIRED,null),
// can instances of this attribute have there value updated
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_SETTABLE,null),
AttributeRequest[] requestedAttributes = new AttributeRequest[]
// what is the category configuration for the item
new AttributeRequest(Attributes.CATEGORY_CONFIGURATION,
new AttributeRequest[]
// Is the category configuration enabled
new AttributeRequest(Attributes.CONFIGURATION_ENABLED,null),
// Can the category configuration be overridden or is it final
new AttributeRequest(Attributes.CONFIGURATION_FINAL,null),
// What are the required categories for the category configuration and associated attribute information
new AttributeRequest(Attributes.REQUIRED_CATEGORIES,categoryObjectAttributes),
// Can any categories in the site be utilized
new AttributeRequest(Attributes.ALLOW_ALL_CATEGORIES,null),
// or .. are we restricting the categories to only the following
new AttributeRequest(Attributes.ALLOWED_CATEGORIES,categoryObjectAttributes),
// are there any attribute overrides on category object attributes for this category config?
new AttributeRequest(Attributes.ATTRIBUTE_OVERRIDES,overrideAttributes)
log(cm.getItem(myDoc.getId(), requestedAttributes); /*
If ALLOW_ALL_CATEGORIES is set to true, any category in the domain can be utilized that is not abstract. To determine these, the domain item has a property CATEGORY_CLASSES that returns all category objects in the domain. It also has a property ROOT_CATEGORY_CLASSES which returns just the top level categories (those that have no custom category superclass). You would create a sub AttributeRequest[] checking for CLASS_ABSTRACT when requesting the appropriate categories attribute from the domain.
If ALLOW_ALL_CATEGORIES is set to false, the applicable categories objects that can be utilized on items contained in the folder is determined by the items contained in the ALLOWED_CATEGORIES attribute of the category configuration.
Finally, the REQUIRED_CATEGORIES attribute list the category items that must be applied to all new items added to the folder.
4 – How do I manually apply an instance of a category to an existing item
FdkSession session = …;
// Consider we have an existing item myDoc of type document
Item myDoc = …;
.. use techniques in step3 above to determine what category objects that you planning to apply to the document ..
.. if the category configuration on the item has ALLOW_ALL_CATEGORIES set to true, you can use any category in the system
.. otherwise, you must use a category defined in the allowed categories list
.. the code here is essentially the same as step2 above
.. you must utilize internal attribute names, and specify the id of the category class object
FileManager fm = Managers.getFileManager(session);
NamedValue[] categoryInstanceAttributes = new NamedValue[] {
// use the internal attribute name for all attributes
new NamedValue("CUSTOM_14352", Boolean.FALSE),
new NamedValue("CUSTOM_14352", "Company Confidential")
NamedValue[] categoryDef = new NamedValue[] {
// the id of the category object class for which this new category will be an instance of
new NamedValue(Options.CATEGORY_CLASS_ID,new Long(14354)),
// the updated values of the category instance
new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, categoryInstanceAttributes)
NamedValue[] documentDef = new NamedValue[] {
new NamedValue(Options.CATEGORY_DEFINITION, categoryDef)
requestedAttributes = ...
myDoc = fm.updateDocument(myDoc.getId(),documentDef,requestedAttributes);
// Note – it is possible for one to peform creation, updating, and deletion of various category instances for an existing item in the fileManager updateDocument call!
// you simply supply multiple Options.CATEGORY_DEFINITIONs to the fm.updateDocument call along with any Options.REMOVE_CATEGORY_IDs 5 – How do I specify a category instance when creating a new item
FdkSession session = …;
.. use techniques in step3 above to determine what category objects that you planning to apply to the new document ..
.. you get the category configuration information from the destination folder!!!
Item destinationFolder = …;
CommonManager cm = Managers.getCommonManager(session);
AttributeRequest[] requestedAttributes = new AttributeRequest[]
// what is the category configuration for the item
new AttributeRequest(Attributes.CATEGORY_CONFIGURATION,
destinationFolder = cm.getItem(destinationFolder.getId(),requestedAttributes);.. if the category configuration on the folder item has ALLOW_ALL_CATEGORIES set to true, you can use any category in the system
.. otherwise, you must use a category defined in the allowed categories list
.. the code here is essentially the same as step2 above, just we are using createDocument and document definitions now
.. you must utilize internal attribute names, and specify the id of the category class object
FileManager fm = Managers.getFileManager(session);
NamedValue[] categoryInstanceAttributes = new NamedValue[] {
// use the internal attribute name for all attributes
new NamedValue("CUSTOM_14352", Boolean.FALSE),
new NamedValue("CUSTOM_14352", "Company Confidential")
NamedValue[] categoryDef = new NamedValue[] {
// the id of the category object class for which this new category will be an instance of
new NamedValue(Options.CATEGORY_CLASS_ID,new Long(14354)),
// the attribute values for this new category instance
new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, categoryInstanceAttributes)
String destinationFile = "sample.doc";
requestedAttributes = new AttributeRequest[]
new AttributeRequest(Attributes.URL,null)
Item docDef = fm.createDocumentDefinition(new NamedValue[]
new NamedValue(Attributes.NAME, destinationFile),
},requestedAttributes);
String defURL = ... // get URL from document definition
doFileUpload(...) // upload file using http put to defURL
NamedValue[] documentDef = new NamedValue[] {
new NamedValue(Options.USE_SAVED_DEFINITION,new Long(docDef.getId())),
new NamedValue(Options.DESTFOLDER, new Long(destinationFolder.getId())),
// specify character set if appropriate
new NamedValue(Attributes.DOCUMENT_CHARACTER_SET,"ISO-8859-1"),
// specify language if appropriate
new NamedValue(Attributes.DOCUMENT_LANGUAGE,"ENGLISH"),
// apply category instance information
new NamedValue(Options.CATEGORY_DEFINITION, categoryDef),
requestedAttributes = ...
Item doc = fm.createDocument(documentDef,null, requestedAttributes);
// Note – it is possible for one to peform creation of multiple category instances on a document at the same time
// you simply supply multiple Options.CATEGORY_DEFINITIONs to the fm.createDocument call
// Note – that if a folder has a category configuration containing required categories, and you do not specify
// all applicable category definitions on createDocument, you will receive an FdkException along the lines of
// missing metadata. You can catch this exception, and retry the createDocument call supplying the valid category definition(s). -
I can't open any pdf documents with Adobe Reader XI...get an error that "Adobe has stopped working" then it closes. Is this an Adobe issue, Microsoft issue, or security issue?
Thank you! That seemed to do the trick. Don't think I'd ever have figured that one out!!
From: pwillener <[email protected]>
To: Sharon Atkins <[email protected]>
Sent: Monday, February 16, 2015 9:47 PM
Subject: I can't open any pdf documents with Adobe Reader XI...get an error that "Adobe has stopped working" then it closes. Any suggestions?
I can't open any pdf documents with Adobe Reader XI...get an error that "Adobe has stopped working" then it closes. Any suggestions?
created by pwillener in Adobe Reader - View the full discussionSince you mention Microsoft, I assume that you are on Windows. Can you open Reader by itself? If so, try disabling Protected Mode Edit . If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7201334#7201334 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7201334#7201334 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" Start a new discussion in Adobe Reader by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624. -
Error 'cannot cancel document with a down payment that was drawn to invoice
Error 'cannot cancel document with a down payment that was drawn to invoice. We need to void a check and are getting this message. We also get message when trying to cancel the outgoing payment. The AP Down payment is closed, and the AP invoice is also closed. Is there a way to 'undraw' the down payment on the AP invoice? How can this be voided? Any guidance would be greatly appreciated. Thanks.
Hi,
Check the following thread
Re: Down payment invoice
Can not void a check win paid from a down payment invoice
Re: Cancel down payment
*Close the thread if issue solved.
Regards
Jambulingam.P -
#404 says Firefox can't open a book markd due to trying to open with error document?
Tired to open bookmark tab,"This journey" on my computer MAC with server FireFox. I've opened it at a hundred times before. It says this server does not recognize it due to trying to open it with error document. How to fix it please
Apparently the default in yosemite (compared to what I was used to in Leopard) is to HIDE the library folder. So I didn't think the path above existed.
Access hidden library files | Mac OS 10.7 and later.
The default view of the ~/Library folder is hidden. So while hidden you can't navigate to the activation.dat file in a finder window.
You can either "GO TO FOLDER ~/LIBRARY" or just make it visible permanently.
You do this by entering within Terminal the following command and press Return:
chflags nohidden ~/Library
Now you will see ~/Library. (~ is shorthand for your login username for the linux naive).
This resolved the immediate issue (of E_ACT_NOT_READY). But as seen in other postings, ADE 4.0 crashed after loading a acsm file. I downgraded to ADE 3.0 and life is good again. It all used to work with my old system running ADE 2.0 and leopard. -
Shopping Cart Follow On Documents Display Error
Hi,
We have implemented SRM extended classic scenario.
Sometimes after a shopping cart is approved and a PO is created in the follow on documents the status for PO is shown as "Awaiting Approval" or PO created with error.
The PO is successfully replicated in the backend and goods receipt and invoicing has also taken place successfully for that PO, but the status in the shopping cart
--> follow on documents is either "Awaiting Approval" or PO created with error.
How do we rectify this error.Hi John,
Pls see my reply in the foll thread:
The SCs in status Approved but Awaiting Approval
BR,
Disha.
Pls reward points for useful answers. -
SAP DMS : Error when opening document with ECL control: INVALID_DATA
We are receiving following error while try to view .FAX file through SAP Document viewer
"2D viewer - Unable to opend Document"
"Error when opening document with ECL control: INVALID_DATA"
Appreciate your quick effort.
Thanks,
Sam.Yes, We have checked in both ways, I have also followed other threads on the same issue
But not able to find the solution for the issue. We are facing the issue when we are using files scannned by Kodak Scanner i1420 in tiff format.
But If I will attach any other tiff files from directory then It can viewed through SAP Document Viewer.
I appreaciate your help in this regards.
Thanks,
Sam, -
Hi,
I'm getting the below error for reports.
The report terminated with error:
REP-110: File test2. cannot be opened. REP-1070: An error occurred while opening or saving a document. REP-0110: File test2. cannot be opened. .
When checked Environment using url 'http://host:port/reports/rwservlet/showenv?server=your_repserver_name"
found below
==================================================
Reports Servlet Environment Variables 11.1.1.4.0
Security Mode Non-secure
HTTP Environment Variables 11.1.1.4.0
SERVER_NAME 09.14.4.41
SERVER_PORT 8888
SCRIPT_NAME /rwservlet
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE undefined
GATEWAY_INTERFACE undefined
SERVER_PORT_SECURE undefined
ACCEPT image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
REQUEST_METHOD GET
REMOTE_HOST test-wam-app
REMOTE_ADDR 09.14.4.41
REMOTE_USER undefined
AUTH_TYPE undefined
PATH_INFO showenv
QUERY_STRING server=RptSvr_test-wam-app_wamtest
PATH_TRANSLATED undefined
CONTENT_LENGTH undefined
CONTENT_TYPE undefined
AUTHORIZATION undefined
USER-AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3; MS-RTC LM 8)
REMOTE_IDENT undefined
REFERER undefined
Oracle Reports Services - Servlet Environment Variables Select to jump to the top of the page Return to Top
KeyMapFile /u03/apptest/FMW_11.1.1/user_projects/domains/WamTest/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/cgicmd.dat
DBAUTH /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwdbauth.htm
SYSAUTH /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwsysauth.htm
server rep_wls_reports_test-wam-app_wamtest1
DIAGNOSTIC yes
ERRORTEMPLATE /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwerror.htm
SERVER_IN_PROCESS yes
COOKIEEXPIRE 30
ENCRYPTIONKEY reports9i
DIAGHEADTAGS undefined
DIAGBODYTAGS undefined
HELPURL undefined
RELOAD_KEYMAP undefined
IMAGEURL http://09.14.4.41:8888/reports/rwservlet
SINGLESIGNON no
Oracle Reports Services - Server and Engine Environment Variables Select to jump to the top of the page Return to Top
PATH /u01/wamtest/FMW_11.1.1/apphome/jdk/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/jdk/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/java/jdk1.6.0_23/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
DISPLAY
LD_LIBRARY_PATH /u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/../lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/native_threads:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/lib:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/native_threads:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/lib:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/opmn/lib:/u01/wamtest/FMW_11.1.1/apphome/lib
ORACLE_HOME /u01/wamtest/FMW_11.1.1/apphome
TNS_ADMIN /u01/wamtest/FMW_11.1.1/instance1/config
NLS_LANG AMERICAN_AMERICA.WE8ISO8859P1
USER_NLS_LANG
RW /u01/wamtest/FMW_11.1.1/apphome/reports
REPORTS_PATH /u01/wamtest/FMW_11.1.1/apphome/reports/templates:/u01/wamtest/FMW_11.1.1/apphome/reports/samples/demo:/u01/wamtest/FMW_11.1.1/apphome/reports/integ:/u01/wamtest/FMW_11.1.1/apphome/reports/printers:/u01/wamtest/FMW_11.1.1/instance1/reports/fonts:/u01/wamtest/FMW_11.1.1/apphome/reports/templates:/u01/wamtest/FMW_11.1.1/apphome/reports/samples/demo:/u01/wamtest/FMW_11.1.1/apphome/reports/integ:/u01/wamtest/FMW_11.1.1/apphome/reports/printers:/u01/wamtest/FMW_11.1.1/instance1/reports/fonts:
REPORTS_TMP /tmp
REPORTS_TAGLIB_URI /WEB-INF/lib/reports_tld.jar
java.class.path /u01/wamtest/FMW_11.1.1/apphome/reports/jlib/rwrun.jar
sourceDir
tempDir
useDataCache
ignoreDataParameter
=========================================================================
ORACLE_HOME is on mount point u03, checked config.properties but no mention of mount point /u01.
Dont know from where /u01 came. Could you please help me re configuring the env pointing to /u03.
Reports server is up though without any issues.
Regards,
DjayEnsure that the report name is correct. Also ensure that the report exist in REPORTS_PATH environment variable. Otherwise run the report including the reports path.
E.g.
report=<reports directory>/test2.rdf
Maybe you are looking for
-
I had an iphone 4 on Sprint. I switched to Verizon and purchased a 5S. Kept the same phone number and affiliated the new phone to my existing icloud ID. How do I remove the old device from my icloud ID?
-
Excise invoice date should be equal to GR Posting date in MIGO (Part1 cap.)
Hi, My client wants to have a date validation of "Excise invoice date should always be equal to GR Posting date" in MIGO (Part1 capturing)" whenever they do Goods receipt for excisable transactions. As per SAP standard the system will display an erro
-
Presets folder gone in the develop module
I seems to have lost my Preset area in the Develop module. I have tried to make a new preset, still cant see them, and all I had are not showing. Anyone know why this would be? Thanks Sandy
-
How can I dowlaod update version iOS 5 to my iPhone if I already downloaded iOS 6?
I would like to go back to the version of my iPhone I hd when I bought it. The iOS 5. How can I get that back on my phone?
-
To Upgrade or Not To Upgrade (From External Hard disk to Internal Hard Disk
Hi, need some advise here. Currently I have a External Hard Disk (320GB) connect with my IMac with Internal Hard Disk of standard 80GB.It is ok just that have to power on/off the External Hard Disk. It is very common that I forgot to power on the Ext