Unable to modify

Hi Forum,
I couldnt able to modify the database table using the following code. Please help me out.
METHOD onactioncopy_selected_rows .
  DATA:  wd_node TYPE REF TO if_wd_context_node,
         ls_node1 TYPE ig_componentcontroller=>element_node1,
         lt_node1 TYPE ig_componentcontroller=>elements_node1,
         lt_node2 TYPE ig_componentcontroller=>elements_node2,
         wa_temp  TYPE REF TO if_wd_context_element,
         lt_temp  TYPE wdr_context_element_set.
  wd_node = wd_context->get_child_node( name = 'NODE1' ).
  CALL METHOD wd_node->get_selected_elements
    RECEIVING
      set = lt_temp.
  wd_node = wd_context->get_child_node( name = 'NODE2' ).
  LOOP AT lt_temp INTO wa_temp.
    CALL METHOD wa_temp->get_static_attributes
      IMPORTING
        static_attributes = ls_node1.
    APPEND ls_node1 TO lt_node1.
    CLEAR ls_node1.
  ENDLOOP.
  wd_node->bind_table( new_items = lt_node1 ).
Modify <dbtable> from table lt_node1.
ENDMETHOD.

Hi Mallika,
As how I had said earlier. You had earlier created 2 other threads for the same issue & I had even provided the solution in there. You haven't changed the status of any and have re-opened a fresh thread just to follow up the same issue. Try look at those earlier threads of yours you already have the solution in there. If in case you have any queries you should try continue with the same thread & not start new threads like in here. The moderator would lock up your thread if he becomes aware of this.
[modify table|modify table]
[modify table|modify table]
Regards,
Uday

Similar Messages

  • Unable to modify embedded Excel spreadsheet

    Unable to modify embedded Excel spreadsheet
    I am having problems with 2 Xcelsius files.  When I open them and try to change the tab name, the embedded Excel spreadsheet is coming up that it is protected, but I have never put a password on these 2 files.
    The following pop-up message appears - "Workbook is protected and cannot be changed".
    Please advise.
    Thanks,
    Neil.

    HI Neil
    Assuming your using Xcelsius 2008, have you tried exporting the spreadsheet (Data > Export), check the exported workbook for passwords and then re-imported the spreadsheet back into your model?
    Regards
    [Charles|http://www.reportex.co.uk/xc_waterfallchart.html]

  • No icons on google toolbar. I just get a blank toolbar with nothing on it. unable to modify/reset. reinstall did not volve the issue.

    no icons on google toolbar. I just get a blank toolbar with nothing on it. unable to modify/reset. reinstall did not volve the issue.
    Cannot click on gmail icon, google maps icon, ect... there is just a blank bar and you can do nothing.

    Do you have the latest version of the Google Toolbar?
    '''7.1.20110512W''' is the latest, as far as I know.

  • I am unable to modify template properties

    Hello,
    I have noticed that I am unable to modify properties of my template. The "Template Properties"  menu is disabled.
    I made a basic html page and saved as template, by thinking that my template is not proper.
    But nothing change
    What migth be reason for this strange situation in CS5 and the any solution?
    Thanks

    Of course I have editable regions.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <!-- TemplateParam name="OptionalRegion1" type="boolean" value="true" -->
    <!-- TemplateBeginEditable name="head" -->head<!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <!-- TemplateBeginEditable name="EditRegion1" -->EditRegion1<!-- TemplateEndEditable -->
    <!-- TemplateBeginIf cond="OptionalRegion1" --><!-- TemplateBeginEditable name="EditRegion3" -->OptionalRegion1<!-- TemplateEndEditable --><!-- TemplateEndIf -->
    </body>
    </html>
    I am trying to change OptionalRegion1 property to enable/disable

  • Unable to Modify DB_block_Size for OWB installation

    We are try to install OWB server on oracle DB server in windows xp professional, at the time of installation oracle suggests to increase db_block_size from 8192 to at least 16k for better performance. We are unable to modify the same thru Console or enterprise manager in INIT file since it is disabled or even we tried with multiple options but no use.
    Can you please help us ASAP & let us know if any clarification required.

    Your advice is completely incorrect in any currently supported version of Oracle.
    SQL> select name, value
      2  from gv$parameter
      3  where name like '%cache_size';
    NAME                           VALUE
    db_cache_size                  0
    db_2k_cache_size               0
    db_4k_cache_size               0
    db_8k_cache_size               0
    db_16k_cache_size              0
    db_32k_cache_size              0
    db_keep_cache_size             0
    db_recycle_cache_size          0
    client_result_cache_size       0
    9 rows selected.
    SQL>

  • Unable to modify database

    hi,
    i'm unable to perform the following operations:
    unarchive a repository
    create a new repository
    create a new repository from schema
    duplicate repository
    i'm getting the error "unable to modify database".
    I have tried restarting the MDM server but the problem persists.
    This problem has never occured before. Has someone faced this issue before? if yes then could you kindly provide the cause and resolution?
    I'm on SP05 patch2 HF1 (build 5.5.42.57). MDM is running on Oracle.
    Thanks in advance
    SwarnaDeepika
    Edited by: SwarnaDeepika on Apr 15, 2008 11:11 AM

    Hi Swana,
    <Unable to Modify Datbase>
    This error occurs due to a problem with the database on which MDM server is seated.
    You can try one of these options to correct this problem:
    - Check the oracle data base Listener configuration
    - Stop and start the oracle service from the system on which it is installed.
    Start->Program->oracle->
    - After doing this stop and start the MDM service.
    - Then try performing the above activities.
    It should work.I had faced the similar error.
    Hope it helps
    Kindlt reawrd points if found useful
    Thanks
    Simona

  • I am unable to modify calendar events

      I have set up my Google account to sync with Calendar but I am unable to modify events. I tried to update an even t but the event reverted and lost the updated information after a molment.

    Permissions – Reset Home Folder (includes 10.6.8)
    Permission Issues - Troubleshooting
    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • Unable to Modify Resource Notes and Roles Responsibility in 8.2

    hi there
    I am unable Unable to Mopendify Resource Notes and Roles Responsibility in 8.2. Whenever i click modify it just open new window with some option of font and other on top ribbon but in the main pane i am not able to write down any thing
    any suggestion

    Did you go to the Resources page itself?
    Try going to resources page from Enterprise-Resources and then select the resource then Modify, subsequently in the window opened you should be able to enter the text. It should work it because am also using V8.2 itself.

  • Unable to modify ANY C2S configurations

    New BM3.8 server. Trying to set up VPM C2S services.
    When I try to modify any DEFAULT or NEW Client to Site configurations, I get this error message when I click on OK. Unable to add any new traffic or authentication rules.
    The Client To Site Service was modified partially. The Failed Items:
    One or More Traffic Rules.

    Truthfully, I tried many things and not sure what fixed it but I know I did follow the Console One steps in TID 10089619
    I also make my VPN (BM) server that Master of the partition that this VPN(BM) server resided in. I really believe this solved the problem.
    Bill
    >>> On 11/12/2007 at 7:18 PM, in message <[email protected]>, Scott<[email protected]> wrote:
    How did you fix this problem? I have the same problem but with the authentication rules.
    Thanks
    "Bill Swisher" <[email protected]> wrote in message news:[email protected]...
    I got it fixed finally.
    >>> On 10/29/2007 at 4:36 PM, in message <[email protected]>, Bill Swisher<[email protected]> wrote:
    Narrowed the problem to seeing this on the console logger screen when I click on OK to save the C2S rule. Not sure what to try next.
    Error:VpnConfig - RuleHandler:createNewRule method
    com.novell.admin.common.exceptions.UniqueSPIExcept ion: (Error -604) An object class that does not exist in the Directory is being referenced by a utility.
    I Ran NBMSCHCK.NLM from this server with no problems.
    Found this TID # 10098678 that is my exact error, but can't figure what else to try to fix it.
    TID says:
    cause
    The server was migrated from nw6 to nw65 and nbm 3.7 to nbm 3.8. During the migration, the server failed to communicate with the master of the partition, causing DS to be in an inconsistence state. This files above showed that server was missing some bordermanager classes, need them to add the value from imanager, causing the java exception.
    fix
    Once DS has been fixed and back to a stable state, re extend the bordermanager schema in one of this ways:
    1. Using the new NBMSCHCK.NLM, included on the beta support pack bm38sp4 ( Bordermanager version 3.8.4)
    2. Using console one and following TID 10089619
    I Ran NBMSCHCK.NLM from on this server from the BM3.8SP5 directory with no problems.
    I do remember during my BM install that said I didn't have privileges to extend the schema but the above check says everything is OK.
    >>> On 10/18/2007 at 9:31 AM, in message <[email protected]>, Bill Swisher<[email protected]> wrote:
    New BM3.8 server. Trying to set up VPM C2S services.
    When I try to modify any DEFAULT or NEW Client to Site configurations, I get this error message when I click on OK. Unable to add any new traffic or authentication rules.
    The Client To Site Service was modified partially. The Failed Items:
    One or More Traffic Rules.

  • Unable to modify share permissions by command

    Hi Folks,
    Im trying to modify my existing share permissions by the net share command, but im unable to complete it.
    NET SHARE
    sharename
              sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
                                   [/USERS:number | /UNLIMITED]
                                   [/REMARK:"text"]
                                   [/CACHE:Manual | Documents| Programs | BranchCache | None]
              sharename [/USERS:number | /UNLIMITED]
                        [/REMARK:"text"]
                        [/CACHE:Manual | Documents | Programs | BranchCache | None]
              {sharename | devicename | drive:path} /DELETE
              sharename \\computername /DELETE
    Is there any suggestion how can this be accomplished by a cmd session?
    Cheers, Alan.

    Hi Alan,
    You can use the subinacl command below to modify share permissions.
    subinacl.exe /share "TheShare" /grant=<Domain>\<UserOrGroup>=<Permission>
    For more detailed information, please see:
    SubInACL (SubInACL.exe)
    https://www.microsoft.com/en-us/download/details.aspx?id=23510
    Dive Deep with SubInACL
    http://redmondmag.com/articles/2008/03/01/dive-deep-with-subinacl.aspx
    Please Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Data Maintenance view exist - but unable to modify data in SM30.

    Dear all,
    Had created a customized table, with "Display/Maintenance Allowed". Table maintenance is also generated. So data in the customized table can now be maintained via SM30 in the Development server.
    However, when the customized table is transported into Testing server -- when attempting to modify the table in SM30,
    an info message pop up stating "Client 003 has status not modifiable". With that, could not maintain the table directly.
    Kindly shed so light on the matter above.
    Thanks in advance.

    Your table maintenace generated is flaggedas 'Standard recording routine' - check in - table maintenance -> 'Dialog data transport details'.
    If you want to allow to maintain in QA or in Prod box please set the flag to 'no, or user, recording routine' .

  • Unable to modify Report using JRC alone

    Hi
    I am trying to modify the report generated thru Crystal reports 2008 programmatically using JRC.
    I dont see any API in com.crystaldecisions.reports.sdk.DataDefController to modify filters,groups,parameters,sort objects and summaries.
    I could find Controller API to modify the above in com.crystaldecisions.sdk.occa.report.application package part of RAS SDK which requires RAS to be installed.
    WIll it be possible to modify report using JRC alone?
    because when i use com.crystaldecisions.sdk.occa.report.application.ReportClientDocument class to open a report, it thorws
    ReportSDKServerException: There is no server specified exception.
    and i am not sure what need to set for ReportClientDocument.setReportAppServer()
    Pls help me .

    Hi,
    Thanks for your help.
    I am getting the below  exception when I am trying to open a report programmatically using  com.crystaldecisions.reports.sdk.ReportClientDocument.
    oReportClientDocument.open(reportName, 0);
    I am not sure how to resolve this issue.
    I have even created a new rpt file. I am getting the same exception/
    I could open this report directly thru Crystal Reports.
    12/16/10 16:19:57:376 IST] 10c3f2a6 WebGroup      E SRVE0026E: [Servlet Error]-[The document is being opened.]: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The document is being opened.---- Error code:-2147215349 Error code name:docNotReady
    Error code:-2147215349 Error code name:docNotReady
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.a(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.if(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.stopping(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.close(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.close(Unknown Source)
         at com.crystaldecisions.reports.sdk.ReportClientDocument.close(Unknown Source)
         at org.apache.jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:389)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(
    Pls help me.
    Edited by: D.Sangeetha on Dec 16, 2010 12:33 PM

  • Unable to modify maintenance view to accommodate new field

    I have a database table for which I have created a maintenance view so that the fields can be edited.
    Now, I modified my database table and added one more
    field to it. I similarly added this new field in my view and
    activated everything. But the new field is not appearing in
    the "view" contents and neither from se54/sm30.
    Can anybody help me with this?
    I want this new field to appear in my already existing view.

    Goto SE54 and carry out the following steps:-
    1) Enter the name of the table or view.
    2) Choose Generated objects.
    3) Choose Create/Change. You go to the generated objects maintenance screen.
    4) Choose Change. A screen of reasons for changes appears.
    Select option(s) and choose Continue.
    The new field will appear in the view.

  • Unable to modify a XML node which is a SimpleType using a Typed XML field.

    Hello,
    I have an XSD schema that uses SimpleTypes.  When I attempt to modify a node in an Schema typed XML field, which has a schema using simpletypes, I receive the error:  XQuery [modify()]: The value is of type "xs:string", which is not a
    subtype of the expected type "<anonymous>"
    To reproduce the problem use the following information:
    SCHEMA:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:ns1="http://testschema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" targetNamespace="http://testschema" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
    <xs:element name="Test">
    <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="SAPCode">
    <xs:annotation>
    <xs:documentation>Customer Number for Delivery Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="OrganizationName">
    <xs:annotation>
    <xs:documentation>Name of Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="AttentionTo" minOccurs="0">
    <xs:annotation>
    <xs:documentation>Attention to Recepient for the delivery</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150" fixed="false"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address2" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address3" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="City">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="StateProvince">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PostalCode">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Country">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Phone" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="EmailAddress" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    The T-SQL That produces the error:
    DECLARE
    @vx_Test xml (CONTENT [dbo].[Test]),
    @vs_ShipToAttentionTo NVARCHAR(50)
    SET
    @vx_Test = N'<ns0:Test xmlns:ns0="http://testschema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ns0:SAPCode>1234567890</ns0:SAPCode>
    <ns0:OrganizationName>Test Org</ns0:OrganizationName>
    <ns0:AttentionTo>Test Person</ns0:AttentionTo>
    <ns0:Address1>123 Main Street</ns0:Address1>
    <ns0:City>Test City</ns0:City>
    <ns0:StateProvince>IL</ns0:StateProvince>
    <ns0:PostalCode>12345</ns0:PostalCode>
    <ns0:Country>US</ns0:Country>
    </ns0:Test>'
    SET
    @vs_ShipToAttentionTo = 'New Attention To'
    SET @vx_Test.modify('declare namespace ns0="http://testschema";
    replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo")');
    -- This would be how I would reference it if I was modifiying the XML in a typed XML column in a table.
    WITH XMLNAMESPACES('http://testschema' AS ns0)
    UPDATE TestItems
    SET TestXML.modify('replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo")')
    SELECT @vx_Test
    How can I make this work.  In this example I am using a typed XML variable, but I really want to do this in a table update.
    Thanks,
    Kent

    Try the change below.  What I did was to create a named simple type for the AttentionTo node.  Here is my understanding (based on this working).  Because you have a simpleType the node cannot accept just any string, it has to be a string of
    the type in the simpleType.  That simpleType has no name (thus anonymous). 
    What I did was to create a named simpleType and used that simpleType as the type for the AttentionTo element.  Then in my XQuery, I cast the value to the name of that type (AttentionToType in my example).
    CREATE xml schema collection Test as '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:ns1="http://testschema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" targetNamespace="http://testschema" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
    <xs:element name="Test">
    <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="SAPCode">
    <xs:annotation>
    <xs:documentation>Customer Number for Delivery Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="OrganizationName">
    <xs:annotation>
    <xs:documentation>Name of Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="AttentionTo" minOccurs="0" type="ns1:AttentionToType">
    <xs:annotation>
    <xs:documentation>Attention to Recepient for the delivery</xs:documentation>
    </xs:annotation>
    </xs:element>
    <xs:element name="Address1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address2" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address3" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="City">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="StateProvince">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PostalCode">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Country">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Phone" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="EmailAddress" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:simpleType name="AttentionToType">
    <xs:restriction base="xs:string">
    <xs:maxLength value="150" fixed="false"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:schema>';
    go
    DECLARE
    @vx_Test xml (CONTENT dbo.Test),
    @vs_ShipToAttentionTo nvarchar(50)
    SET
    @vx_Test = N'<ns0:Test xmlns:ns0="http://testschema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ns0:SAPCode>1234567890</ns0:SAPCode>
    <ns0:OrganizationName>Test Org</ns0:OrganizationName>
    <ns0:AttentionTo>Test Person</ns0:AttentionTo>
    <ns0:Address1>123 Main Street</ns0:Address1>
    <ns0:City>Test City</ns0:City>
    <ns0:StateProvince>IL</ns0:StateProvince>
    <ns0:PostalCode>12345</ns0:PostalCode>
    <ns0:Country>US</ns0:Country>
    </ns0:Test>'
    SET
    @vs_ShipToAttentionTo = 'New Attention To'
    SET @vx_Test.modify('declare namespace ns0="http://testschema";
    replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo") cast as ns0:AttentionToType?');
    -- This would be how I would reference it if I was modifiying the XML in a typed XML column in a table.
    WITH XMLNAMESPACES('http://testschema' AS ns0)
    UPDATE TestItems
    SET TestXML.modify('replace value of (/ns0:Test[1]/ns0:AttentionTo)
    with sql:variable("@vs_ShipToAttentionTo")')
    SELECT @vx_Test
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

  • Unable to modify any documents from sharepoint

    We are using Office 2007 and WSS3.0 whenever I try to open a document from sharepoint I get the following error as shown in the image.
    Link to access the image:
    http://imageshack.us/photo/my-images/148/officesharepointerror.jpg/
    I can upload documents to sharepoint but cannot edit them.
    I have repaired and reinstalled Office 2007 to no avail. I am not a Sharepoint admin so I cannot perform any administrative changes to the Sharepoint site. I have a contributor role to the Sharepoint site.
    Can anyone help?

    Hi,
    Not exactly the same error we had here, but users were able to upload docs, but not edit. Re-ran the webfldrs.msi and it fixed the issue. If your error is affecting everyone, then this may not be your fix.
    Unable to edit Documents in SharePoint
    Error
    User get s the following error message
    “a problem occurred while connecting to the server” if the problem continues, contact your administrator
    Solution
     Well it worked today for Jo Mallett, when all the windows updates, profile rebuilds and office installs didn’t, and this fix took no more than about 1 minute to implement.
    It is not uncommon for the web folders / WebDAV support in Windows XP to just stop working for no apparent reason.
    You can usually reinstall the original Web Folders support by finding and executing
    webfldrs.msi with specific options.
    webfldrs.msi is probably in one of your system directories. It is easiest to search for it (remember to set advanced search options to include system and hidden folders). When you find the program (it’s a normal Microsoft install package) launch it, then
    do these steps:
    Click “Select Reinstall Mode”
    Uncheck “Repair all detected reinstall problems”.
    Check “Force all files to be reinstalled, regardless of checksum or version”.
    Check “Verify that required user registry entries are present”.
    Check “Verify that required machine registry entries are present”.
    Check “Validate shortcuts”.
    Press OK
    Click REINSTALL
    Normally no reboot is required.
    Now the web folder client should have been restored as it was shipped.
    If you previously installed Software Update for Web Folders (KB907306) from the Microsoft site, you may have to install it again.
    Mike
    Kind Regards Mike

  • Unable to modify text in lower section of a completed page in PAGES

    I am unable now to edit text in the lower sixth of a page in a multipage Pages document.
    If the cursor is activated higher up the page then moved downwards - letter by letter - using the > arrow key it is possible to achieve the objective.
    The cursor will not appear in the lower sixth of the page just by clicking the mouse in the normal pattern.
    Also, text within a "text box" now disappears as the box is moved into the lower sixth of a page! It reappears as the box is moved back up the page!
    How do I sort these problems out? Earlier in the multipage project I was having no problems.

    Sheena
    What version of Pages are you using?
    What else is in the document? Tables? Or is this actually in a table?
    It sounds like there is an object with Text Wrap on in the place where you are having problems:
    Menu > View > Show Layout/Invisibles
    Peter

Maybe you are looking for

  • CoreDuo Mini not going to sleep

    Sorry for the cross-post - still in the process of getting familiar with posting here and the message below got posted under displays... After installing the latest firmware 1.01 on my Intel CoreDuo Mini it no longer goes to sleep although the screen

  • Problem with Latin Characters while transferring to the file

    Hi, I want to transfer the data to the file. But the problem i m facing is latin characters get converted to unwanted characters. If i use FM 'SCP_REPLACE_STRANGE_CHARS', it converts latin to english. But i want latin to be latin itself. Please help.

  • OID Resource Access Descriptors in Forms and Reports

    Dear Colleage, In my Forms application (Oracle Application Server 10g (version 9.04), I call Reports from certain Forms. I have have SSO activated in both Forms and Reports. I have also defined two RADs (Resource Access Descriptors) in the OID called

  • The review process

    Does anybody here know that if your app is in review they find all the issues they want you to correct or simply stop at the first one they find? It occurred to me that if they simply stop at the first one they find then it could be a very long proce

  • Install command syntax issue in jcop tool

    Hello there, I want to implement pin concept in my applet, as i read about this ,i think i need to Bind the USER_PIN over install command , till now i am using install command like- install -i a0010203040506070809  -q C9#() a00102030405060708 a001020