Property 'DocEntry' of 'Document' is read only

Hi all
I've this error on My B1SO to B1SO scenario
com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: Invoke of: GetBusinessObjectFromXML Source: Description: CServiceData::VerifyPropertyWrite failed; Property 'DocEntry' of 'Document' is read only
BUI meta document is standard : BIUMETA.B1.8.8_B1.8.8.xml
I've created my custom ObjectType Z.B1.8.8_SO copied by B1.8.8_SO standard SAp Object  :
so I've standard valuemapping Z.B1.2004_Doc (7 field)
and standard Key Policy 4 on keypath BOM/BO/Documents/row/DocEntry
I also tryed with keyplocy 2 but not run.
I don't know how to add query parameter
<QueryParams>
<DocEntry>
Value of the SO DocEntry
</DocEntry>
any idea ?

Hi
please look on below code and replace in yr atom0.xls
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:b1e="urn:com.sap.b1i.sim:b1event" xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:utils2="com.sap.b1i.bpc_tools.Utilities" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" bfa:force="" vpf:force="" jdbc:force="" rfc:force="" b1ie:force="" b1e:force="" xci:force="" sim:force="" utils2:force="">
     <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
     <xsl:param name="atom"/>
     <xsl:param name="sessionid"/>
     <xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role=&apos;S&apos;]"/>
     <xsl:variable name="vpSender" select="/vpf:Msg/vpf:Header/vpf:Sender/@Id"/>
     <xsl:variable name="vpObject" select="/vpf:Msg/vpf:Header/vpf:Sender/@ObjId"/>
     <xsl:variable name="vpReceiver" select="/vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./@handover=&apos;P&apos;]/@Id"/>
     <xsl:template match="/">
          <Msg xmlns="urn:com.sap.b1i.vplatform:entity">
               <xsl:copy-of select="/vpf:Msg/@*"/>
               <xsl:copy-of select="/vpf:Msg/vpf:Header"/>
               <Body>
                    <xsl:copy-of select="/vpf:Msg/vpf:Body/*"/>
                    <Payload Role="R" id="{$atom}">
                         <xsl:call-template name="transform"/>
                    </Payload>
               </Body>
          </Msg>
     </xsl:template>
     <xsl:template name="transform">
          <xsl:attribute name="pltype">xml</xsl:attribute>
          <xsl:variable name="PODocEntry" select="$msg/BOM/BO/Documents/row/DocEntry"/>
          <BOM>
               <BO>
                    <AdmInfo>
                         <Object>17</Object>
                         <Version>2</Version>
                    </AdmInfo>
                    <Documents>
                         <row>
                              <CardCode>KINGKEVIN</CardCode>
                              <DocDueDate><xsl:value-of select="$msg/BOM/BO/Documents/row/DocDueDate"/></DocDueDate>
                              <NumAtCard><xsl:value-of select="$PODocEntry"/></NumAtCard>
                              <Comments>Copy with B1iSN <xsl:value-of select="$PODocEntry"/></Comments>
                         </row>
                    </Documents>
                    <Document_Lines>
                         <xsl:for-each select="$msg/BOM/BO/Document_Lines/row">
                              <row>
                                   <ItemCode><xsl:value-of select="ItemCode"/></ItemCode>
                                   <Quantity><xsl:value-of select="Quantity"/></Quantity>
                                   <Price><xsl:value-of select="Price"/></Price>
                                   <Currency><xsl:value-of select="Currency"/></Currency>
                              </row>
                         </xsl:for-each>
                    </Document_Lines>
               </BO>
          </BOM>
     </xsl:template>
</xsl:stylesheet>
Thanks
Kevin

Similar Messages

  • Headquarter Error : Property 'DocEntry' of 'Document' is read only

    Hi All,
    I had followed "How to Build & Run a B12B1 Scenario" Documentation and until I created a biz package and activated successfully. But when I try to create a PO in the subsidiary system, It sends ok, but I get the following error in admin console > monitoring > error inbox under the headquarter :
    com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: Invoke of: GetBusinessObjectFromXML Source: Description: CServiceData::VerifyPropertyWrite failed; Property 'DocEntry' of 'Document' is read only
    Your help is appreciated.
    Hany

    Hi Hany,
    the error message tells you that the field DocEntry is a read-only property. That means this field must not occur in the receiver payload. The fields DocEntry, DocNum etc. will be created automatically by the receiving system.
    Please have a look at the SDK Help (DI Reference) according to your current version. There you will see which fields are read-only.
    Kind regards,
    Marcus

  • Display Word Document as read only in VI pannel

    In a VI pannel I put an Active X container with the IE browser to display Word documents.
    The document are displayed properly but I want not give the user the possibility to make changes while viewing.
    Is there a solution to do so?
    (The documents are read-only and can not be saved.)

    Why use an IE container to display Word documents? You can place a word document directly in the ActiveX container. This seems a better choice.
    If you wish to totally block user-input, you can place a transparent picture control over the display of the Word document.
    Another alternative would be to convert the word document to a PDF and show this in an AcviteX container.
    Shane.
    Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

  • Open a document in read only mode

    HI All,
    I created a panel in which we have
    edit box which shows the document path
    Browse button to allow a user to select an indesign document
    "Open read only" button.
    My requirement is that after selecting an Indesign document if user click to "OPen read only" button then it will opened selected document in read only mode.
    I will be highly thankfull to all community memeber if anyone can give me some hint to achieve this.
    Regards,
    Alam

    Alam,
    If you change the attributes of the file before opening it to read only the file will be opened as read only by Indesign. And then you could place a responder that could clear this read only flag when the file is being closed so that the permissions are restored to the original state.
    Manan Joshi
      - Efficient InDesign Solutions -
    MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • How to set only part of the document as "read-only"?

    Hi,
    I am using SharePoint 2010. I would like to set some of the columns as "read-only" while some of them are still editable. If I use Advanced Settigns>Item-Level Permissions, I can only set the whole document as "read-only".
    Is there a way I can do what I wannt?
    Thanks a lot!

    Hi,
     There is no OOTB way to set a column as read-only.  I think you want to make some of the fields as Read-Only in the EditForm.aspx. If so, then you can use the Javascript to do. 
    Add a Content editor webpart to the Editform.aspx page and place the javascript method to make a field read-only.
    You can use the _spBodyOnLoadFunctionNames.push("MakeReadOnly()") method to assocaite your method to the EditForm.
    Here are the links which will help you.
    http://dishasharepointworld.blogspot.in/2011/08/read-only-field-in-sharepoint.html
    http://nishantrana.wordpress.com/2009/01/30/read-only-field-in-sharepoint-editformaspx/
    http://www.jbmurphy.com/2010/06/01/how-to-make-a-field-in-a-sharepoint-edit-form-readonly/
    *******Don't forgot to MARK AS ANSWER / VOTE AS HELPFUL if it really helps************
    R.Mani http://rmanimaran.wordpress.com

  • Can't insert widget as document head read only

    When I try to insert my LIghtbox Gallery widget into my web page in CS5.5 I get the message
    "This widget requires code that must be inserted into the head of the doucment. Insertion cannot happen as the head of this document is read only"
    How do i turn read only off? Or is there any other way to insert it?
    Many Thanks

    Hello Jenny,
    if I understand you correctly, you should only call the widget you need and click "code wiew"
    From there you have to copy the entire source code into an empty DW file. So you can see how that works.
    You can add only the needed code into your file or you can do it all in reverse, by adding your website contents into the widget source code.
    Hans-Günter

  • Sharepoint 2010 Library - All documents are Read Only regardless of permissions and clicking edit

    Good afternoon all,
    I'm running out of places for me to find assistance on this issue, and am hoping you can help. We're running Sharepoint 2010 as our Intranet. Myself and the rest of the IT staff are administrators, and we're looking under a section that we're specifically
    in control of where we have documents for our use. One of the administrators reported that he wasn't able to open a document, and neither was I. This was an older spreadsheet that was never converted. I couldn't open it either, nor could I delete it or manipulate
    the entry in the library. I could open explorer and open the file that way, or download it through Chrome.
    I was able to remove the file, upconvert the file to .xlsx, and reupload it. Now myself and the users are able to open the file, but we can't manipulate it. In addition to this, it seems that any Office file that we attempt to open in Sharepoint opens up
    in Read Only. If we click Read Only, and hit Edit, it stays Read Only (once in a blue moon it allows us to edit it). If we hit edit it still says Read Only at the top.
    I'm not the most experienced at Sharepoint so any assistance would be greatly appreciated.
    Thanks!

    Hi,
    For your issue, try to get rid of the serviceDebug and serviceMetadata entries in the web application's web.config:
    <behaviors>
    <serviceBehaviors>
    <behavior>
    <serviceDebug includeExceptionDetailInFaults="true" />
    <serviceMetadata httpGetEnabled="true" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    For detailed information, refer to the following blog:
    http://nikcharlebois.sharepointspace.com/Blog/Lists/Posts/Post.aspx?ID=22
    Besides, here are similar issue posts, you can use as a reference:
    http://stackoverflow.com/questions/19164313/sharepoint-opens-documents-in-read-only-mode-for-users-with-office-2010
    https://social.technet.microsoft.com/Forums/office/en-US/a31ab681-b73a-4b20-8ac8-b80a8c8be59f/documents-in-sharepoint-2010-library-opening-as-readonly-for-all-users?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • [10.0.7 ESR] Temporary documents are read-only again, even with the "browser.helperAppsbrowser.helperApps.deleteTempFileOnExit" parameter set on "false". Why?

    We currently updated from the old 3.6 Firefox to the ESR version 10.0.7. Eversince we've used Firefox we've had a problem with documents being read-only when downloaded temporarily. But we've found the solution by finding the entry
    browser.helperAppsbrowser.helperApps.deleteTempFileOnExit
    in the about:config and setting it on false. Documents were writeable again, and the world was full of fluffy unicorns and rainbows.
    But that doesn't seem to be sufficient when using Firefox 10.0.7 ESR, since that entry is set but all our documents are read-only again. We checked that it is a Firefox issue by deactivating all add-ons to be sure, that it's the browser itself that makes that setting.
    What is the cause and how can we change it back to them being writeable again?
    Andrea

    While that may be best practice, it doesn't help in this case.
    We use a system that creates documents by using templates and filling datafields with individual values based on the case that is being worked on. These documents are saved in the system and are only displayed for information purpose.
    Still some of these documents have to be altered. The system offers this possibility by letting you edit the temp file and load it back up, so that the altered document is saved in the system. The document gets a unique file name in the temp folder which includes numbers so that the system can identify which document in the system should be overwritten by the altered version.
    Since the documents aren't meant to be on the local harddrive anyway but in the system, "save as..." is no real solution in this case.

  • Word 2010 document becomes Read-Only after saving it

    Hi,
    My Word 2010 document is becoming "Read Only" after saving it, for information my doucment is on the desktop . I searched on this forum and find a couple of solutions (deactivating auto saving, etc.) but it does not work at all. Any other ideas?
    Thanks,
    Sylvain.

    , I wonder why the docuemnt is becoming Read-Only when I am saving it on the Desktop...
    I've read articles and blogs of people arguing each side of whether you should use the Desktop as a storage folder and I really
    don't have anything substantial to add to either the pro or con side of the issue.
    However, what I know about Word is that it behaves a bit different and seems to have issues when you’re actively editing document that are stored
    on the Desktop.  I would speculate that the issue has something to do with the screen driver software.
    When you’re editing a document, Word is actually using something like a dozen or more temporary hidden files and some of these are stored in the
    same folder as the source document. If the source document’s folder is the Desktop, then there has to be interaction with the screen driver. 
    This interaction with the screen driver is one variable that makes the Desktop folder unique and possibly problematic and thus Word under certain conditions
    makes the file Read Only.
    Kind Regards, Rich ... http://greatcirclelearning.com

  • XL Reports - EXCEL msg -You can only open the document as Read Only

    READ ONLY notification from MS EXCEL when two people try to run the same XLR report at the same time.  Here is what is going on:
    u2022     Person A runs an XLR report (SAP client running on a Local Machine)
    u2022     Person B runs the same XLR report and now gets a MS message to the fact that u201CYou can only open the document as Read Onlyu201D
    Can two people run and save the same report at the same time? If so, what do we need to do to allow this?

    Can two people run and save the same report at the same time ?
    The answer is NO.  It is because Excel locked the file.  Only one active user can do write operation on the file.  All other users may open the file read only.
    Thanks,
    Gordon

  • Any difference in signature lock function, read-only field property, & signed tab "Mark as read-only

    Is there any real difference between
    1) simply setting a field to read-only in a custom script on the Signed tab of a signature field by:
    this.getField("field name").readonly = true;
    2) including the field in the "Mark as read-only: " list of fields on the Signed tab of a signature field
    and, 3) including the field in a call to the setLock() method of a signature field?
    As far as I can tell there isn't, but am I missing something? And if they are all the same, then since setLock() must execute in a priviledged context, it seems the harder way to get a read-only field.

    Hi Ron,
    It certainly sounds like you are on the right track.What version of Acrobat are you using, is it Pro or Standard, Mac or Win? I see where you mentioned the file was created in Acrobat X, but I'm not sure that the app that create the PDF file is the same version as the one you are using for editing.
    Steve

  • How to open office document in read only mode

    Hi,
    I've a library that contains Excel Documents. I've create an access group with read permission.
    A user belonging to this group can open a document in Excel, do changes and save back the document to the library. This is not what I want.
    I want to allow users to open the document but not save it back to the library. How can I do it?
    Best regards.

    To check at the document level...
    1) Navigate to the document library and choose a random document that a user in that group should have access to
    2) Go to "View Properties" of the document. Choose "Shared With"
    3) Than choose "Advanced"
    This will bring up the specific permissions for a specified document. 
    Also for a test, try creating another permission level for a test user. 
    1) go to "Site Settings" 
    2) Choose "Site Permission"
    3) In the ribbon choose "Permission Levels"
    4) Choose to "Add a permission Level"
    5) Give the level a name... and only give it the access to read. Add a test user and see if you still get the same results. If not than you have you fix.
    Let me know if this helps
    Thanks, Danny Hickman IT Support Specialist

  • In office 2013 xls file showing the document may be read only or encrypted

    Hi,
    I am using office 2013 home and business edition.
    I got an error while opening the file with .xls extension
    from my computer and the same file if i access from different pc
    it is accessible.
    Please help me it's very urgent........ 

    Hi,
    Do you get the whole error message like this:
    Excel cannot access filename.xls. The document maybe read-only or encrypted.
    If yes, and the files were stored in local disk, this might be happened because you are accessing a file which has read only permission or permission not set at all. Please go to properties of that particular file and uncheck the read only
    check box. if the box is not ticked, then tick and un-tick it and apply. This will replace the file permission.
    If the files were stored in network share, please try to remove the two files from the network share (copy them to your desktop). Open each file and save it and then copy them back to the network share.
    Hope it's helpful.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • GPO settings - documents in sharepoint 2007 sometimes open in read-only mode - needs IE reset to fix

    Hi,
    We've got an intranet running on SharePoint 2007.
    We also enforce alot of group policies to our users.
    But there is a problem that keeps reoccuring:
    On random moments, when a user tries to edit a document on any random document library in SP 2007, it gets opened in read-only mode.
    The only temporary fix we found for this is resetting the IE settings in Internet Options -> 'tab' advanced -> Reset IE settings... and pressing Reset.
    We think it is some GPO setting that we have malconfigured or forgot to configure and we hope that someone could point us  in a direction to troubleshoot or even solve this.
    Thanks in advance for reading and providing help.
    Inkendaal

    Hello,
    I also suspect that there might be issue with IE plug-in so could you confirm that? you can also tell su what plug-in you see in IE.
    You might also want to look at this similar threads:
    http://stackoverflow.com/questions/19164313/sharepoint-opens-documents-in-read-only-mode-for-users-with-office-2010
    http://social.technet.microsoft.com/Forums/windows/en-US/a0849e73-d347-4d12-8424-9d5bb6bfb004/all-office-files-from-sharepoint-are-opened-read-only?forum=w8itproappcompat
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Document Generation in MSA - Make Word Doc Read-Only or PDF Documents

    Hello,
    The mobile sales client comes with an Document Generation tool to fill Word Document Templates with SAP data on demand.
    Because of legal issues, we do not want to allow anyone to be able to modify the generated word document. Using the permission functionality of the word template is not working as it would prevent the Generator itself to fill in the data.
    Is there any option to set the created Document to "Read-only" after the generation is finished or to convert the Word document on fly to a PDF version?
    As I am not so experienced in VB I would appreciate any code examples.
    Regards,
    Andreas

    Hi,
    there are at least 2 different ways to implement your request:
    - before and after the word document is created you can start a word makro (which e.g. disables the document); this would be done in the method "TextGeneration" of the underlying BO, e.g. BOSALESDOCGEN. The code is quite simple, in earlier Word versions it was sth like
    WordObj.ToolsMacro sMacroname, 1
    - you can call any 3rd party SW to convert the doc file to pdf, similar to this thread
    [MSA "Cancel login" functionality;
    Regards,
    Wolfhard

Maybe you are looking for

  • How come someone else is receiving my icloud emails?

    I just found out that someone else is receiving my icloud emails. I tried to make a dinner reservation and gave my icloud email address, nothing turned up so I called them and they said that someone with the same name as me called 5 minutes before to

  • Can't switch between  fill and outline.

    Here's the problem: I'm on an iMac, new, trying to use illustrator CS5. after using CS3 for a few years. In CS5, if I draw a shape, flat, in the illustration, then try to give it an outline, or change the outline, or do anything with the outline, I c

  • Service Master Records Utilization

    Dear all, I am currently implementing service master records for my client who used to be having free text entry for services. As for the service master records, I have the following requirements: 1. Service master records will not be the lowest deta

  • Create a blog with coldfusion

    hi i am looking to create a blog on my website, and am thinking its best to put all my entries into a database, so I can allow for comments on entries etc.. However, I am aware that blogs often contain images and alternating design, and wondered how

  • Iphone will not come up on computer (itunes) when plugged in?

    I got my iphone a week ago. I was able to sync my iphone about 3 times with my computer. But now when I plug it into itunes it will stay charging on the iphone itself but NOTHING comes up on itunes. itunes does not pop up itself like it used to.  I h