Property Read Only

Hello, I would like to change "contenttype" property for document in my programm, but when I doing this Exception raise:
ResourceException---com.sapportals.wcm.repository.PropertyReadOnlyException:
Read-only property: {http://sapportals.com/xmlns/cm}contenttype
I look over over all folder above this file, and everywear Read Only checkbox is unmarked and everyone group have full rights.
What is this?
(EP6.0 SP9)

Not sure how to define "extended information about the CR Object Model", but there is the following:
[CR 2008 developer library|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm]
[API reference|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
[Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
Samples:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
https://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples
Re. margins, see the KB [1313082 - Printer Margin Settings set in the Crystal Reports Designer not respected in VS .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333313333333033383332%7D.do].
A while back I did a fair bit od playing with this and the code as bellow worked fine:
ReportDocument myReport = new ReportDocument();
myReport.Load(....rpt");
PageMargins myMargin = new PageMargins();
myMargin = myReport.PrintOptions.PageMargins;
myMargin.topMargin = 240;
myMargin.bottomMargin = 240;
myMargin.rightMargin = 240;
myMargin.leftMargin = 240;
myReport.PrintOptions.ApplyPageMargins(myMargin);
- Ludek

Similar Messages

  • Why is URLResource url property read-only?

    Why is URLResource url property read-only?

    We didn't have a reason to make it writeable.  Typically it's set in the constructor and never needs to change.  Do you have a case where you want to change it and creating a new URLResource isn't possible?

  • JS CS3: Is a property read only? How to find out...

    Hello all,
    I found out about the x.reflect.properties object and find it very helpful in my current project.
    Now I know how to find out about the properties of a dynamically given object :)
    But here's the rub: is there any better way to find out if I can actually change one of those properties (i.e. whether it is not "read-only") other than just to try {} catch(){} it?
    Thank you
    Gerald

    [email protected] wrote:
    > Hello all,
    >
    > I found out about the x.reflect.properties object and find it very helpful in my current project.
    >
    > Now I know how to find out about the properties of a dynamically given object :)
    >
    > But here's the rub: is there any better way to find out if I can actually change one of those properties (i.e. whether it is not "read-only") other than just to try {} catch(){} it?
    From the JS Tools Guide
    ReflectionInfo.type (String)
    The type of the reflected element. One of:
    readonly: A Read only property.
    readwrite: A read-write property.
    createonly: A property that is valid only during creation of an
    object.
    method: A method.
    for photoshop scripting solutions of all sorts
    contact: [email protected]

  • Dynamically set Property (Read-Only,Changeable...) of an attribute

    Hi,
    I have a requirement to change an attributes display to 'READ-ONLY' on a specific condition during CREATE or EDIT operation.
    I have written the following lines of code to achiveve the same, but i get an error :-
    data : lr_prop    TYPE REF TO if_genil_obj_attr_properties.
    if cond1 =  true.
    lr_prop->set_property_by_name( iv_name = 'PROBABILITY' iv_value = if_genil_obj_attr_properties=>read_only ). --> error-line
    endif.
    Can you please suggest what's gone wrong?
    Thanks
    Dedeepya

    But GET_I* is called before DO_PREPARE_OUTPUT, and the variables in GET_I* are not recognized in DO_PREPARE_**...
    Current Code :-
    GET_I_PROBABILITY
    *CALL METHOD SUPER->GET_I_PROBABILITY
    **  EXPORTING
    **    iterator    =
    *  RECEIVING
    *    RV_DISABLED =.
      DATA :   lr_btopporth TYPE REF TO cl_crm_bol_entity,
               lv_read      TYPE crmt_genil_attr_property,
               lv_phase     TYPE string, lv_process TYPE string,
               current      TYPE REF TO if_bol_bo_property_access,
               property     TYPE REF TO cl_crm_bol_entity.
    IF iterator IS BOUND.
        current = iterator->get_current( ).
      ELSE.
        current = collection_wrapper->get_current( ).
      ENDIF.
         IF current->is_property_readonly( 'PROBABILITY' ) = abap_false. "#EC NOTEXT
            CALL METHOD current->get_property_as_value
              EXPORTING
                iv_attr_name = 'CURR_PHASE'
              IMPORTING
                ev_result    = lv_phase.
            CALL METHOD property->get_property_modifier
              EXPORTING
                iv_attr_name = 'PROBABILITY'
              RECEIVING
                rv_result    = lv_read.
          ENDIF.
    DO_PREPARE_OUTPUT
    *CALL METHOD SUPER->DO_PREPARE_OUTPUT
    **  EXPORTING
    **    iv_first_time = ABAP_FALSE
      DATA : lr_btadminh  TYPE REF TO cl_crm_bol_entity,
             lv_process TYPE string.
      CALL METHOD lr_btadminh->get_property_as_value
        EXPORTING
          iv_attr_name = 'PROCESS_TYPE'
        IMPORTING
          ev_result    = lv_process.
    IF ( lv_process EQ 'ZPPT' AND lv_phase = 'ZA' ) OR ( lv_process EQ 'ZPT2' ).
    *    lv_read = lr_btopporth->get_property_modifier( 'PROBABILITY' ).
        IF lr_prop->get_property_by_name( 'PROBABILITY' ) EQ if_genil_obj_attr_properties=>changeable.
          "-- <ZPPT-> Business/Affaire> "-- <ZPT2-> Prospection>  "-- <ZA-> Finale>
          lr_prop->set_property_by_name( iv_name = 'PROBABILITY' iv_value = if_genil_obj_attr_properties=>read_only ).
        ENDIF.
      ENDIF.

  • To make table cell as read-only based on some condition

    Hello ABAPers,
    I have a requirement to make the cell in the table of a Web Dynpro component read-only. There are 4 fields in the Table of a view which is mapped to the Context attribute, i.e. function, Number, Description etc. When the value of the Field 'Function' is
    '0000016', I have to make the Number field as READ-ONLY(non-editable).
    As suggested in SDN forums, I have created the sub-node to the main node in Context and added an attribute 'READ_ONLY'. I have made the cardinality as 1:1. I have also created the Supply Function Method(ZREADONLY) for sub-node that I have created and also set the context binding to the Read only property of the field 'Number' in the View Layout.
    PFB the coding I have done in supply function method for setting the read-only attribute for the number field, but it is not working. Could anyone let me know what is the change I have to make this work?
    DATA ls_parent_attributes TYPE wd_this->element_partner_h.
    DATA l_partner LIKE ls_parent_attributes-partner _fct
    Constants c_parent LIKE ls_parent_attributes-partner_fct VALUE '000016'.
    DATA ls_zread_only TYPE wd_this->element_zreadonly
    parent_element->get_static_attributes(
       IMPORTING
              static_attributes = ls_parent_attributes).
    CLEAR l_partner.
    l_partner = ls_parent_attributes-partner_fct.
    IF l_partner = c_partner.
        ls_zread_only-readonly = abap_true.
         node->bind_structure(
         new_item = ls_zread_only
         set_initial_elements = abap_true ).
    ELSE.
        CLEAR ls_zread_only-readonly.
        ls_zread_only-readonly = abap_false.
        node->bind_structure(
         new_item = ls_zread_only
         set_initial_elements = abap_false ).
    ENDIF.
    Thanks for your time!
    Regards,
    M M Jaffer

    Hi,
    the solution is quite simple.
    Bind the property reaonly in the layout editor to the property readonly of the context-attribute.
    Therfore you have to click at the binding button of the celleditor of the property read-only.
    Then you select the  radiobutton in front of Bind to the property of the selected Attribute and choose Property R.
    In you coding you have to fo the following in case you do that after binding the itab to the context:
    node->bind_table( .... ).
    data lt_elements type wdr_context_element_set.
    lt_elements = node->get_elements( ).
    LOOP at lt_elements into element.
    element->get_attribute(
          exporting
            name = 'PARTNERFCT'
          importing
            value = lv_partnerfct
      if lv_partnerfct eq c_partner.
        call method lo_el_position->set_attribute_property
          exporting
            attribute_name = 'PARTNERFCT'
            property       = element->e_property-required
            value            = 'X'.
      else.
        call method lo_el_position->set_attribute_property
          exporting
            attribute_name = 'PARTNERFCT'
            property       = element->e_property-read_only
            value            = ''.
      endif.
    endloop.
    Of corse you have to modify the coding and i didn´t checked the syntax, baut this should help.
    Best regards, Matthias

  • Problem when I make Read Only Property True

    Dear Members,
    I have an OAF Page on which I have the below two items:
    1/ item1
    2/ item2
    These two items are message input text items and these two items will always have some value.
    To meet one of my requirement, I am making the READ ONLY property of these two items to TRUE in processRequest method of page CO using PPR Concept. After this when I am trying to access the values of these two parameters in processFormRequest method using pageContext.getParameter method I am getting the Null Pointer Exception error.
    Kindly please help me in resolving the above error.
    Note: I have created a transient variable hdr1Trans and attached this variable to the both the items i.e., item1 & item2
    Code in my processRequest method is as follows:_
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject pvo = (OAViewObject)am.findViewObject("pprPVO1");
    pvo.setMaxFetchSize(0);
    Row newRow = pvo.createRow();
    pvo.insertRow(newRow);
    OAViewObject vo = (OAViewObject)am.findViewObject("Headers_VO1");
    String status="";
    status=vo.getCurrentRow().getAttribute("Status").toString();
    if(status!=null && !("".equalsIgnoreCase(status)))
    if(status.equalsIgnoreCase("IN PROCESS"))
    pvo.getCurrentRow().setAttribute("hdr1Trans",Boolean.TRUE);
    else if(status.equalsIgnoreCase("NEW"))
    pvo.getCurrentRow().setAttribute("hdr1Trans",Boolean.FALSE);
    Code in my processFormRequest method is as follows:_
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String headerId ="";
    System.out.println("test-1");
    String item1=pageContext.getParameter("item1").toString();
    String item2=pageContext.getParameter("item2").toString();
    I am getting the NPE error when I am trying to access a record with status value IN PROCESS.
    Once I make the read only property to TRUE for both the above 2 items and after that if iam trying to access their value using pageContext.getParameter Iam getting this error.
    Kindly please help me in resolving this error.
    Many thanks in advance.
    Best Regards,
    Arun Reddy D.

    Arun,
    When you set item as readonly field, it will always show null when you will use pageContext.getParameter("<itemID>").
    If there is a VO attached with these items eg- item1, item2 then you can get the value using below code
    OAViewObject vo = (OAViewObject)am.findViewObject("<Some Vo>");
    String item1=(String) vo.getCurrentRow().getAttribute("<Attribute Name>");Regards,
    Gyan

  • How to set the read only property for dynamic ALV column

    Hi All,
    I have built one dynamiv ALV and I have one name column inside that ALV for which I have to set read only property based on two column fields that exist in the same ALV,say IS_SP and IS_CORP of type boolean.
    If any one of the flag is 'X',i have to make that name column as display only and
    If both flag are not set,it should be displayed as ediatable column.
    I have written one method as INIT_ALV which gets called when ALV is loaded.
    Code is as  follows:
      lr_column_settings ?= wd_this->alv_all_roles.
      lt_columns = lr_column_settings->get_columns( ).
    LOOP AT lt_columns INTO ls_column.
    CASE ls_column-id.
       WHEN <NAMECOLUMN>. "name column which should be editable/display
    Create Input Field
            CREATE OBJECT lr_uie_input_field_ro
              EXPORTING
                value_fieldname = ls_column-id.
         ls_column-r_column->set_cell_editor( lr_uie_input_field_ro ).
        After this,I have to set the read only property based on IS_SP and IS_CORP values,
              CALL METHOD lr_uie_input_field_ro->set_read_only_fieldname
              EXPORTING
                *value = 'IS_SP' or 'IS_CORP'
    ENDLOOP.
    I dont want to use cell variants also.
    Help me to achieve this.
    Thanks and Regards,
    Divya

    Divya - I have done it in the past following these documents. Please read it and try it it will work.
    Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement) 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
    thanks!
    Jason PV

  • How and Where to change ESS payslip property as READ only Mode

    Hi,
      We are SAP ECC5.0 and using EP6 for ESS payslip. We have a problem
    launching ESS payslip for those employees who have Acrobat Editor and
    Reader installed. One can actually change the payslip information via
    Acrobat Editor when click onto PRINT button.
    However, for those without Acrobat Editor installed in the PC, we do
    not have such problem. Please advise how to resolve this.
    Was told to change ESS payslip property as READ only Mode. Unable to find this in the configuration setting.
    Thanks.

    You may further look at the following help link:
    http://help.sap.com/saphelp_nw04/helpdata/en/97/ccfc3f0ac2c642e10000000a1550b0/frameset.htm
    If it helps, pl do reward.
    Thanks
    Narasimha

  • Jsp-comp error saying tag-property is read only

    Hi!
    Running oc4j 1.0.2.2 on win2000.
    When I try to access a jsp I get a "error parsing jsp-page",
    saying:
    Property 'numberofitems' of
    bean/tag 'bg.taglib.campaign.CampaignListTag' is read only
    Is there anyone that can explain...?
    stubbs follow...
    class:
    public class CampaignListTag extends ListTag {
    public int doStartTag() {
    return(EVAL_BODY_TAG);
    public int getNumberofitems(){
    return super.getNumberofitems();
    public void setNumberofitems(String NumberOfItems){
    super.setNumberofitems(NumberOfItems);
    jsp-call:
    <%@ taglib uri="taglib" prefix="bg" %>
    <bg:CampaignList numberofitems="12">
    tag-declaration:
    <tag>
    <name>CampaignList</name>
    <tagclass>bg.taglib.campaign.CampaignListTag</tagclass>
    <bodycontent>JSP</bodycontent>
    <attribute>
    <name>numberofitems</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    regards
    .../Andreas

    Hi,
    How many machines are effected by this problem?
    I've seen someone suggested you disable add-ins, does this work? To eliminate the influence by add-ins, we can also start Outlook in Safe Mode to test:
    Press Win + R, type "outlook.exe /safe" in the blank box, press Enter.
    If the issue persists, please switch the account to work in Online Mode:
    Go to Account Settings -> Double click on the account -> Uncheck "Use Cached Exchange Mode" -> Next -> Finish.
    You will need to restart Outlook to work in Online Mode.
    Now please check if this issue persists when you select the contact in Step 6. I suggest you do this so since in Cached Mode Outlook uses the Offline Address Book, and in Online Mode Outlook uses Global Address List directly. If it works fine in Online Mode,
    probably the OAB is corrupted and I suggest you go to C:\Users\username\AppData\Local\Microsoft\Outlook, find the Offline Address Books folder and delete it. Outlook will generate a new one when it starts next time in Cached Mode, let's see if it fixes the
    issue.
    Regards,
    Melon Chen
    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.

  • OracleCommand.Transaction property is read only

    Does anyody know what's wrong with this:
    VB Code:
    Imports Oracle.DataAccess.Client
    Dim oraCn As New OracleConnection(ConString)
    Dim oraCmd1 As New OracleCommand(oraString1, oraCn)
    Dim oraTrans As OracleTransaction
    oraTrans = oraCn.BeginTransaction(IsolationLevel.ReadCommitted)
    oraCmd1.Transaction = oraTrans --> gives me error said that the property is read only
    Does anyone know how to solve this issue?
    Thanks in advance

    Hi,
    Access rights are proper. In fact, I am using Admin ID with full access.
    Regards,
    Kapil

  • 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

  • WD ALV  read only property

    Hi,
    Is there a read only property for the cell editor in the ALV table?
    (I prefer it to the enabled/disabled) visually.
    Many thanks!

    CL_SALV_WD_UIE_INPUT_FIELD

  • [svn:fx-3.x] 13374: Expose a public read-only property httpService on HTTPOperation.

    Revision: 13374
    Revision: 13374
    Author:   [email protected]
    Date:     2010-01-08 07:43:33 -0800 (Fri, 08 Jan 2010)
    Log Message:
    Expose a public read-only property httpService on HTTPOperation. HTTPOperation.service will still return null as a consequence of an old design decision (HTTPService does not extend AbstractService), but a warning is now logged to inform the user that they should use HTTPOperation.httpService to access the containing service.
    Doc notes: Please explain that if a standard HTTPService is used, the event.target on the ResultEvent from this service is an instance of HTTPOperation, and users can access the originating HTTPService with event.target.httpService. (see bug for use-case)
    Bugs: SDK-24775
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24775
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as

    For a TwoWay binding to work the source property must have public setter and an anonymous object (like the one your select new LINQ query creates) has not.
    But since you are binding to the Text property of TextBlocks you could just remove Mode=TwoWay from the bindings in the ItemTemplate of the ListBox:
    <TextBox Name="txtOrderID" Text="{Binding Path=OrderID,Mode=OneWay}" Margin="5,0,10,0" Width="30"/>
    <TextBlock Text="Order Date:" TextAlignment="Right" Width="80"/>
    <TextBlock Name="txtOrderDate" Text="{Binding Path=OrderDate,StringFormat={}{0:MM/dd/yyyy}}" Margin="5,0,10,0" Width="75"/>
    <TextBlock Text="Required Date:" TextAlignment="Right" Width="80"/>
    <TextBlock Name="txtRequiredDate" Text="{Binding Path=RequiredDate,StringFormat={}{0:MM/dd/yyyy}}" Margin="5,0,10,0" Width="75"/>
    There is no reason to bind TwoWay to a TextBlock.
    Hope that helps.
    Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • 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

  • How to Enable/Disable MessageTextInput Read Only property in PFR?

    Dear All,
    When i click on a submit button i need to enable/disable the Read only property of MessageTextInput item.
    Can any one tell me how to do this?
    I am executing the code
    if (pageContext.getParameter("EnableBT") != null) {
    OAMessageTextInputBean beanEmployeeIdCL = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("EmployeeIdCL");
    beanEmployeeIdCL.setReadOnly(false);
    When i used the above code in Process Form Request method it is showing developer mode exception in run time as we can call the above code only in Process Request form.
    Request to please help regarding this.
    Thanks & Regards,
    CAK

    CAK,
    You need to make use of Partial Page Rendering (PPR) & SPELL. Modifying the bean property in PFR is not supported in OAF.
    Refer - PPR section of Devguide for more.
    Regards
    Gyan

Maybe you are looking for

  • TS1369 itunes no longer sees my devices. But I can still see them in windows. Please help

    itunes no longer sees my devices. But I can still see them in windows. Please help

  • Photosmart 7350

    HP Photosmart 7350 will not print color with my new MAC OSX 10.9.4. Tried loading printer driver but get the message that Power PC applications no longer supported. Does this mean I need to get a new printer to work with my MAC. 

  • What is table schema name?

    Hi, I was looking at DatabaseMetaData::getColumns() while searching for a way to get a table's column names and I run into these ugly params catalog and schemaPattern. Of course nowhere on the sun's site could I find a definition of these terms altho

  • Finding deleted files

    my computer was put on new, but the files (photos) weren´t saved. Is there a possibility to "refound" the photos?

  • Default sample size?

    Hi all, what is the default sampling percentage or size for gathering statistics? and where is this parameters stored? (how to display this value?) thanks andrew Kain