GUI_DOWNLOAD not writing BOM for UTF-8

We are using the following code to produce an Excel Spreadsheet. But the parameter WRITE_BOM is not working - SAP does not write a byte-order mark to the file. The result is that Excel does not open the file correctly. When we add the BOM manually in UltraEdit the file opens correctly.
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
      filename              = 'C:\export.xls'
      filetype              = 'DAT'
      trunc_trailing_blanks = 'X'
      write_field_separator = 'X'
      codepage              = '4310'
      write_bom             = 'X'
    TABLES
      data_tab              = gt_textsi
    EXCEPTIONS

Please check the function help:
Short Text
     If set, writes a Unicode byte order mark
Description
     If data is written in a Unicode codepage, at the top of the file the
     respective byte order mark (BOM) is included.
     Unicode - Little Endian codepage 4103, binary values 'FFFE'
     Unicode - Big Endian codepage 4102, binary values 'FEFF'
     UTF-8 codepage 4110, binary values 'EFBBBF'
     Note: Microsoft Excel supports Unicode data only if they have been
     written in Unicode - Little Endian format.

Similar Messages

  • Xfa.resolveNode is not writing values to the last line

    Hi,
    I have an issue with the xfa.resolveNode function, i have added at comment //
    at below coding at the line where the issues is occuring, please advise what can be done in order to make the loop works and enter the loop for the last line.
    Any help/comment is highly appreciate!
    FormQuoteNotification.bdyMain.frmTableBlock.tblTable.rowTableSection.rowTableItem.colNetV alue::initialize - (JavaScript, client)
    var rowCount = tblTable._rowTableSection.count;
    var rowNo = new Array(rowCount);
    var i = 0;
    var j = 0;
    var k = 0;
    var comboType = new Array(rowCount);
    var comboPrice = new Array(rowCount);
    var productID = new Array(rowCount);
    var finalType = new Array();
    var finalPrice = new Array();
    var finalRow = new Array();
    var datasum = 0.000;
    for(i=0; i<rowCount; i++){
    rowNo[i] = xfa.resolveNode("tblTable.rowTableSection["+i+"]").rowRemarkRow.frmItem.txtLine.rawValue;
    productID[i] = xfa.resolveNode("tblTable.rowTableSection["+i+"]").rowRemarkRow.frmItem.txtProduct.rawVal ue;
    comboPrice[i] = xfa.resolveNode("tblTable.rowTableSection["+i +"]").rowRemarkRow.frmItem.frmNetValue.decNetValue.rawValue;
    comboType[i] = xfa.resolveNode("tblTable.rowTableSection["+i+"]").rowRemarkRow.frmItem.txtCombo.rawValue ;
              for(j=0; j<rowCount; j++){
                    if(j==(rowCount-1)){ // to check if this is the row before the last one
                        if(comboType[j]== comboType[j-1]){
                         finalType[k] = comboType[j];
                         datasum += parseFloat(comboPrice[j]);
                            finalPrice[k] = datasum;
                        else{
                         if(comboType[j] == null || comboType[j] == ""){
                          finalType[k] = "NotCombo";
                          datasum += parseFloat(comboPrice[j]);
                          finalPrice[k] = datasum; 
                          finalRow[k] = rowNo[j];
                          k=k+1;
                          datasum = 0.000;
                         else{finalType[k] = comboType[j];}
                    else{
                        if(comboType[j]== comboType[j+1]){
                            finalType[k] = comboType[j];
                            datasum += parseFloat(comboPrice[j]);
                            finalPrice[k] = datasum; 
                             if(finalRow[k] == "" || finalRow[k] == null){
                              finalRow[k] = rowNo[j]; 
                        else{
                         if(comboType[j] == null || comboType[j] == ""){
                             datasum += parseFloat(comboPrice[j]);
                          finalType[k] = "NotCombo";
                          finalRow[k] = rowNo[j];
                          k=k+1;
                          datasum = 0.000;
                         else{                      
                          finalPrice[k] += parseFloat(comboPrice[j]);
                              k=k+1;
                             datasum = 0.000;
    if(finalType[0] != null && finalType[0] != ""){
    for(var n=0; n<rowCount; n++){
    for(var m=0; m<rowCount; m++){
    //at this line, for the last row, even it is matching the if statement, the script is not entering for the last match of loop.
    //example, if rowCount = 2, when m=1, n=1, and the if statement is matching, , but it is simply not displaying the "XXX" for the line of n=2
    if(xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colCombo.rawValue == finalType[m]
       && xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colCombo.rawValue != ""
       && xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colCombo.rawValue != null)
        xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colProduct.rawValue = "XXX";
        //display comboprice
        if(xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colLine.rawValue == finalRow[m] &&   xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colCombo.rawValue == finalType[m]){
         var pricetodisplay = finalPrice[m].toFixed(3)+ " KWD";
         xfa.resolveNode("tblTable.rowTableSection["+n+"]").rowTableItem.colNetValue.rawValue =   pricetodisplay ; 
           if(xfa.resolveNode("tblTable.rowTableSection["+n  +"]").rowTableItem.colNetValue.rawValue == null || xfa.resolveNode("tblTable.rowTableSection["+n  +"]").rowTableItem.colNetValue.rawValue == " " || isNaN(xfa.resolveNode("tblTable.rowTableSection["+n  +"]").rowTableItem.colNetValue.rawValue)){
               this.rawValue = null;

    Wouldn't this be better posted in a developers forum? This forum is for Using an iPad, not writing programs for one.

  • Proposals are not getting generated for BOM items in MD50

    Hi Gurus,
    I have maintained strategy 50 in MRP for header material , Item category gp as LUMF & maintained consumption parameters in material master .
    For dependent requirements i have maintained BOM for production & sales usage, Strategy is blank as it is customer specific component , Item category gp is NORM , individual requirements i.e 1 in MRP 4 view.
    MRP type is PD in both materials.
    When i run a MRP thru' MD50 after getting customer order.
    it is not planning my dependent requirements i.e. proposals are not getting generated for dependent requirements (BOM materials).
    Please let me know the solution.
    Thanx in advance
    Regards,
    Nagraj Vasmate

    try to use strategy 20

  • Error: Error writing stream: Could not find prefix for namespace:

    Hi all,
    I am getting this error while doing topdownAssemble using WSA. The error seems as if the name space definitions do not have proper prefixs, but I have prefixes for all the name spaces.
    Any idea what else might be causing the problem ?
    Thanks,
    --venkat
    + java -jar /opt/oc4j_extended_101310/webservices/lib/wsa.jar -topDownAssemble -wsdl parlayx_third_party_call_service.wsdl -unwrapParameters false -className oracle.sdp.parlayx.ThirdPartyCallImpl -input classes -output gen -ear dist/tpcall.ear -mappingFileName src/ThirdPartyCallService-java-wsdl-mapping.xml -packageName oracle.sdp.parlayx -fetchWsdlImports true -debug
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_service.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_service.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    Error: Error writing stream: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults
    Error writing stream: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults: java.io.IOException: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeAttValFromQName(WSDLWriterImpl.java:660)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeFault(WSDLWriterImpl.java:577)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeOperation(WSDLWriterImpl.java:563)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writePortType(WSDLWriterImpl.java:422)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:186)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:93)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:83)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutWSDL(WSDLImportLocalizer.java:637)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutTo(WSDLImportLocalizer.java:568)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:278)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:162)
    at oracle.j2ee.ws.tools.wsa.Assembler.topDownAssemble(Assembler.java:828)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:320)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:169)
    at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:83)
    at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:48)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:95)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:83)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutWSDL(WSDLImportLocalizer.java:637)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutTo(WSDLImportLocalizer.java:568)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:278)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:162)
    at oracle.j2ee.ws.tools.wsa.Assembler.topDownAssemble(Assembler.java:828)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:320)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:169)
    at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:83)
    at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:48)

    HI,
    Seems known issue. I would suggest to raise an Service Request with the test case.
    GD,
    Ashish

  • What causes "report could not be opened for writing . . ." message

    "This report could not be opened for writing.  Any changes must be saved to a new file."  The version is CR 2013 SP1.  Win 7 Pro.  I'm new to CR and can't figure out why I get this error.  I've verified all Windows permissions.  It's an SAP error message - not a Windows message.  Thanks in advance.
    rd

    Hi Rd,
    Per SAP Note 1911880, this has been identified as a Bug in CR 2011. Since CR 2013 is just a rebranded version of the same tool, the SAP Note should apply to CR 2013 as well.
    For CR 2013, the issue has been resolved in FP3. I would suggest you to upgrade to the highest available version for CR 2013 and see if it works.
    Another workaround could be to right-click the CR Designer exe > Run as Administrator > Log-in with Admin credentials > try opening the report.
    -Abhilash

  • ODI not writing group by function for xmlagg

    Hi all
    i have a requirement to create xml file the query is in the target columns are follows
    first column deptno
    second column xmlserialize(content
    xmlagg(xmlelement("emp", xmlattributes(empno as "id", ename AS "name" )
    )) as nclob indent
    i expect the out put query as
    select deptno
            , xmlserialize(content
                 xmlagg(
                   xmlelement("emp",
                     xmlattributes(empno as "id", ename as "name")
                 as clob indent
       from scott.emp
       group by deptno ;but ODI is not writing group by for xmlagg instead the code generated is
    select deptno
            , xmlserialize(content
                 xmlagg(
                   xmlelement("emp",
                     xmlattributes(empno as "id", ename as "name")
                 as clob indent
       from scott.emp;can any one help me how to put group by for the column. it should automatically write group by for aggregate columns like max min. not in case of xmlagg.

    Hi
    changed my Ikm settings
    <%=odiRef.getGrpBy()%>
    replaced with
    <% out.print("GROUP BY " + odiRef.getColList("", "[EXPRESSION]", ",", "", "UD1")); %>
    marked deptno as UD1 and insert/update and it worked....

  • PR's are raised for components(PM2 Secondary Packing) are not in BOM

    Dear Gurus
    It was found that PR's are raised for components(PM2 Secondary Packing) are not in BOM
    after MRP run. In MRP4 view of the material (Material type  ZVER  Primary Packaging material) i found that :
    <u>SLoc MRP indicator#       </u>                 
    Reorder point 0   & Replenishment qty    0
    Can u pls explain how to solve this problem??
    Ragesh pk

    Hi Ragesh,
    Do u mean to say after the MRP run for header material, PR is created for Components which are defined in  Header material BOM, if so
    1.Please check Dep requirements created along with PR for components, this ill give pegged requirement (Source header Material).
    or
    use where used list to find out header material list inwhich , the component has included as BOM item.(CS15)
    or
    The component may be a followup material for another component.
    Please try and come back
    Regards
    pradeep
    Regards
    pradeep

  • XMP file "system.xmp" could not be opened for writing

    hai
    i am trying to download OpenSPARCT1 code on to the kit. i am working on linux platform .upto bit gereration it is o.k. but after that in the DV guide it is given like this "Right-click on the microblaze_0_boot loop application and select “Mark to initialize BRAMs.”,and when i am doing this it is showing the msg asXMP file "system.xmp" could not be opened for writing'.If anybody know the reason please send me.

    Hi Rd,
    Per SAP Note 1911880, this has been identified as a Bug in CR 2011. Since CR 2013 is just a rebranded version of the same tool, the SAP Note should apply to CR 2013 as well.
    For CR 2013, the issue has been resolved in FP3. I would suggest you to upgrade to the highest available version for CR 2013 and see if it works.
    Another workaround could be to right-click the CR Designer exe > Run as Administrator > Log-in with Admin credentials > try opening the report.
    -Abhilash

  • TP_domain_bd1.pfl could not be open for writing(invalid argument)

    Dear All,
    I have configure new the transported domin (STMS) and getting an error
    TP_domain_bd1.pfl could not be open for writing(invalid argument)
    Please suggeest how to salove this problem and i can see this flie there.
    Regards,

    Hi,
    Did you configure the STms Porperly.
    Did you Distribut the System
    overview -> extras->press distrIbute and activate
    Set the Transdir path in the new system
    Check the domain controller system is accessiblefrom this system especially
    (/sapmnt/trans) and should have read,write permissions
    SAP user IDs:
    SIDadm
    SAPServiceSID
    These IDs must be able to have full control of \sapmnt.
    Thanks Rishi Abrol

  • Super BOM for not KMAT materials

    Hi Gurus
    I have a client requirement to maintain the BOM for finished product as a Super BOM even though the material is not KMAT material. Super BOM has got KIT materials. Based on this customer requirement only certain materials which goes in to finished product are get selected and should check the availbility of those components and it should create a planned orders and purchase reqn After MRP run.
    My question is how the KIT materials are maintained in BOM?
    how the materials get selected while creating a Sales order w/o usinf Variant configuration?
    Does all the super BOM materials get consumed after the production confirmation?
    Quantum.

    Hi,
    What do you mean by KIT materials.
    By the way you can still maintain material as Configurable w/o selecting material type as KMAT.
    Just you need to do is select material type  FERT / HALB as applicable and then maintain material is configurable check box ticked in Basic Data 2 View in material master.
    Pls revert with more details.
    Regards,
    Tejas

  • Method GUI_DOWNLOAD not creating CRLF at end-of-each-line of output

    Hello SDN Community,  has anyone experienced CL_GUI_FRONTEND_SERVICES=> GUI_DOWNLOAD not putting the CRLF at end of exported lines?  This can be seen when you view the output file in notepad (the file contents wrap) or an editor with hex view enabled  (0A0D).
    I have tried running an ABAP that runs this method and on some people's laptop's the file wraps and on others the file is formatted (as would be expected) as per the CRLF's. 
    My understanding is that the GUI_DOWNLOAD method should provide the CRLF's.   And on my laptop (running Vista and SAP ECC 6.0 back-end) it wraps the output because there are no CRLF's in the file.
    Your experiences would be appreciated.
    Thank you,
    Dean Atteberry.

    Thank you, Alejandro, for your comments.  I am using two systems - on one it works and on the other it does not.
    The one that works is an SAP ECC 6.0 where the CL_GUI_FRONTEND_SERVICES class has a Last Change date of 03.07.2006.
    The one do not work is SAP ECC 6.0 where the CL_GUI_FRONTEND_SERVICES class has a Last Change date of 07/08/2009.
    If I look at the code in GET_PLATFORM, it is verry different between the two systems.
    On the one that works, it executes following code and platformID has value of '5'.  This later used to assign the correct value for CRLF variable which is used to concatenate to end of records  (value is '0A0D').
    ELSE.
    *     SAP GUI for Windows
          IF ACTIVEX IS NOT INITIAL.
    * returns Windows Platform
    * VER_PLATFORM_WIN32s             0
    * VER_PLATFORM_WIN32_WINDOWS      1       (Win95/98)
    * VER_PLATFORM_WIN32_NT           2
            CALL METHOD HANDLE->CALL_METHOD
              EXPORTING
                METHOD     = 'GetWindowsPlatform'
                P_COUNT    = 0
                QUEUE_ONLY = ' '
              IMPORTING
                RESULT     = platformID
              EXCEPTIONS
                OTHERS     = 1.
            IF SY-SUBRC <> 0.
              RAISE CNTL_ERROR.
            ENDIF.
    On the one that does not work, it executes following code.  In the debugger, when control comes back from CL_GUI_CFW=>FLUSH call, I can see the PLATFORMID variable change to '15'.  This is moved to M_PLATFORM and ultimately is used later in a case statement to assign the appropriate value to CRLF variable. 
    HOWEVER, THERE IS NO "WHEN 15" statement in the CASE statement - IT ONLY GOES UP TO '14'.   Because of this, no value is assigned to the CRLF variable and when subsequently this variable is concatenated to the output line, there is no CRLF (0A0D) at the end of the line.  Because the CRLF variable is blank.  [see coding snippets at end-of-note]
    Is there an better place than General ABAP forum to discuss this?  Possibly this item might benefit from the attention of SAP developers?
    Following are code snippets illustrating findings from debugging...
    This shows the FLUSH statement that causes '15' to appear in the PLATFORMID variable.
    IF bPLATFORMEX = ABAP_TRUE.
            CALL METHOD HANDLE->CALL_METHOD
              EXPORTING
                METHOD     = 'GetPlatformEx'
                P_COUNT    = 0
                QUEUE_ONLY = ' '
              IMPORTING
                RESULT     = PLATFORMID
              EXCEPTIONS
                OTHERS     = 1.
            CALL METHOD CL_GUI_CFW=>FLUSH
              EXCEPTIONS
                CNTL_SYSTEM_ERROR = 1
                CNTL_ERROR        = 2
                others            = 3.
            IF SY-SUBRC <> 0.
              RAISE CNTL_ERROR.
            ENDIF.
            MOVE PLATFORMID TO M_PLATFORM.
    This shows the method GET_LF_FOR_DESTINATION_GUI, where you can see that values only go up to 14.  [look in attributes for CL_GUI_FRONTEND_SERVICES to see attribute values]
    CASE PLATFORM_ID.
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_WINDOWSXP.   <---- this is '14'
            MOVE CL_ABAP_CHAR_UTILITIES=>CR_LF TO GUI_CRLF.
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_NT50.
            MOVE CL_ABAP_CHAR_UTILITIES=>CR_LF TO GUI_CRLF.
         <...lines snipped...>
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_TRU64.
            MOVE CL_ABAP_CHAR_UTILITIES=>NEWLINE TO GUI_CRLF.
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_OS2.
            MOVE CL_ABAP_CHAR_UTILITIES=>NEWLINE TO GUI_CRLF.
          WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_UNKNOWN.
            RAISE CNTL_ERROR.
        ENDCASE.
      ENDIF.
      MOVE GUI_CRLF TO LINEFEED.
    This shows the FORM put_char_linebuffer you can see CRLF being concatenated to output line...
    prc_column_idx = prc_column_idx + 1.
        ENDWHILE.
        CONCATENATE prc_encoded_string prc_encoded_crlf
          INTO prc_encoded_string IN BYTE MODE.
      ENDIF.
    * Add data lines
      LOOP AT par_data_tab ASSIGNING <f_data_tab>.
        PERFORM put_char_linebuffer USING <f_data_tab>
                                          par_write_field_separator
                                          par_trunc_trailing_blanks
                                          par_col_select
                                          par_col_select_mask
                                          par_write_lf
                                          strDecimal
                                          strDatFormat
                                          par_dat_mode
                                          par_trunc_trailing_blanks_eol
                                    CHANGING converter
                                             prc_encoded_string.
        IF par_write_lf IS NOT INITIAL.
    *     Add CR to line.
          CONCATENATE prc_encoded_string  prc_encoded_crlf
              INTO prc_encoded_string IN BYTE MODE.
        ENDIF.
      ENDLOOP.
    * Write BOM if requested and Unicode encoding
      CLEAR prc_bom_string.

  • [Error ORABPEL - 10900]... : Can not find definition for element 'process'

    Hi,
    When I try to deploy a bpel process using JDeveloper I'm having the following xml parse error:
    Error(21):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 21 of "file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel", XML parsing failed because file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel<Line 21, Column 63>: XML-24538: (Error) Can not find definition for element 'process'.
    [Potential fix]: Fix the invalid XML.
    I don't understand why... Any idea?

    Ok.
    This is my BPEL code. The sapattern tags are from a program that is generating part of the code. The JDeveloper doesn't show any error, I only get the error when I try to deploy.
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="CriarProjectoSA"
    targetNamespace="http://xmlns.oracle.com/CriarProjectoSA"
    suppressJoinFailure="no"
    xmlns="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns4="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:ns7="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://schemas.oracle.com/xpath/extension"
    xmlns:ns6="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns11="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns9="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns1="http://xmlns.oracle.com/ValidacaoProjectos"
    xmlns:ns3="http://www.nerga.pt" xmlns:ns2="http://tempuri.org/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ns10="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns8="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <!--Generated by Telelogic System Architect on 05/01/2007 11:06:18 by easm-->
    <sapattern>
    <guid>41207640-d934-480f-902a-b3764f3d9c9f</guid>
    </sapattern>
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="ns4:CriarProjectoSA"
    myRole="CriarProjectoSAProvider"/>
    <partnerLink name="NergaIS" partnerLinkType="ns2:ServiceSoap_PL"
    myRole="ServiceSoap_Role" partnerRole="ServiceSoap_Role"/>
    <partnerLink name="ValidacaoProjectos"
    partnerLinkType="ns1:ValidacaoProjectos"
    myRole="ValidacaoProjectosRequester"
    partnerRole="ValidacaoProjectosProvider"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>3111d1af-0b31-4d02-b3fc-73d14ce95405</guid>
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    </sapattern>
    </partnerLinks>
    <variables>
    <variable name="outputVariable"
    messageType="ns4:CriarProjectoSAResponseMessage"/>
    <variable name="inputVariable"
    messageType="ns4:CriarProjectoSARequestMessage"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2503e820-3add-4cd1-bbc5-5cc5fff57090</guid>
    <guid>8bcc3532-46b7-4e88-816f-72ecdaee76ab</guid>
    </sapattern>
    <variable name="invocaVP_initiate_InputVariable"
    messageType="ns1:ValidacaoProjectosRequestMessage"/>
    <variable name="recebeVP_onResult_InputVariable"
    messageType="ns1:ValidacaoProjectosResponseMessage"/>
    <variable name="InvocaAdicionarProjecto_InputVariable"
    messageType="ns2:AdicionarProjectoSoapIn"/>
    <variable name="InvocaAdicionarProjecto_OutputVariable"
    messageType="ns2:AdicionarProjectoSoapOut"/>
    </variables>
    <sequence>
    <receive name="recebeTemplate" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="inputVariable" createInstance="yes">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>68e62379-55ac-48eb-b681-aee8f5a7696d</guid>
    </sapattern>
    </receive>
    <scope variableAccessSerializable="no" name="ValidarExigências"
    joinCondition="False">
    <faultHandlers>
    <catchAll>
    <assign name="assignInvalid">
    <bpelx:append>
    <bpelx:from expression="concat(ns8:getVariableData('inputVariable','payload','/ns3:Template/ns3:Projecto/ns3:Observacoes'), string('Projecto inválido!!'))"/>
    <bpelx:to variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:Observacoes"/>
    </bpelx:append>
    </assign>
    </catchAll>
    </faultHandlers>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <sequence name="ValidarExigências" joinCondition="False">
    <assign name="assignVPIn">
    <copy>
    <from variable="inputVariable" part="payload"/>
    <to variable="invocaVP_initiate_InputVariable" part="payload"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <invoke name="invocaVP" joinCondition="False"
    partnerLink="ValidacaoProjectos" portType="ns1:ValidacaoProjectos"
    operation="initiate"
    inputVariable="invocaVP_initiate_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>f3bc9c04-f4d2-4e96-acc8-7a6c88a8ced5</guid>
    </sapattern>
    </invoke>
    <receive name="recebeVP" joinCondition="False"
    partnerLink="ValidacaoProjectos"
    portType="ns1:ValidacaoProjectosCallback" operation="onResult"
    createInstance="no" variable="recebeVP_onResult_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    <guid>1eba96a8-330a-4e4d-a14b-cdf6641fa614</guid>
    </sapattern>
    </receive>
    <assign name="assignVPOut">
    <copy>
    <from variable="recebeVP_onResult_InputVariable" part="payload"/>
    <to variable="inputVariable" part="payload"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <scope variableAccessSerializable="no" name="AdicionarProjecto"
    joinCondition="False">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <sequence name="InvocarISAdicionarProjecto" joinCondition="False">
    <assign name="assignIS">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:NomeProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:nome"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:TipoProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:tipo"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <invoke name="InvocaAdicionarProjecto" joinCondition="False"
    partnerLink="NergaIS" portType="ns2:ServiceSoap"
    operation="AdicionarProjecto"
    inputVariable="InvocaAdicionarProjecto_InputVariable"
    outputVariable="InvocaAdicionarProjecto_OutputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>76519bd3-c506-4c79-8190-8ff09abdd27d</guid>
    </sapattern>
    </invoke>
    </sequence>
    </scope>
    <assign name="assignOutput">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="devolveProjecto" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="outputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>0dbefef0-3d04-4356-abbc-b291ea40d256</guid>
    </sapattern>
    </reply>
    </sequence>
    </process>

  • .v2.XMLParseException:Can not find definition for element 'descriptor'

    I am getting the following error, while running 'empps.jsp' ...when executing the tutorial given at
    ERROR Details:
    500 Internal Server Error
    javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: Error getting property 'employees' from bean of type jsftoplink.model.EmployeesClient: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.XMLMarshalExceptionException Description: An error occurred unmarshalling the documentInternal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.platform.xml.XMLPlatformExceptionException Description: An error occurred while parsing the document.Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'class-descriptor-type'     at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.java:501)     at emps.jspService(_emps.java:629)
    Pls help me in resolving this issue.

    I am still gettng the same error. The xml file is now
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="" ID="568945">
    <FIRSTNAME>Arnold</FIRSTNAME>
    <LASTNAME>McEriccson</LASTNAME>
    <ADDRESS>
    <LINE1>31, Nomadic Avevnue</LINE1>
    <LINE2>Pasadena Clove</LINE2>
    <CITY>WoolTown, MT</CITY>
    <ZIP>45263</ZIP>
    </ADDRESS>
    <BIRTHDATE>1967-08-13</BIRTHDATE>
    </CUSTOMER>
    The xsd file is:
    <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="FIRSTNAME" type="xs:string"/> <xs:element name="LASTNAME" type="xs:string"/> <xs:element name="ADDRESS"> <xs:complexType>
    <xs:sequence>
    <xs:element name="LINE1" type="xs:string"/> <xs:element name="LINE2" type="xs:string"/> <xs:element name="CITY"/>
    <xs:element name="ZIP" type="xs:int"/> </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="BIRTHDATE" type="xs:date"/> </xs:sequence>
    <xs:attribute name="ID" type="xs:double"/> </xs:complexType>
    </xs:element>
    </xs:schema>
    There seems to be something fairly obvious that i am missing.

  • How do i use MIB-2 for writing MIB for my application?

    I want to use the existing MIB-2 to write MIB variable for my application. The application is energy metering.So How do i use MIB-2 for writing MIBs for my application?
    Santosh Chavan
    IIT MADRAS.

    For others who do not know what an MIB is, here is link that shows some more information:
    http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/snmp.htm .   A quick Google of MIB did not turn up any useful information, but looking for SNMP quickly found this link. 
    It really turns out that I am not the person to help.
    It turns out that I am not the person to help, but I always want to know more as I may have a similar problem later.  I know from personal experience that it is easy to use a term commonly in a company or industry but have no one out side of that industry understand.  I was asking if that was such a term (hopefully with a little humor).  I'm sorry if my joke fell flat.
    I hope that you get an answer,
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • How can I keep lion from generating .DS_Store files on windows network partitions, but not disable it for all network partitions?

    How can I keep lion from generating .DS_Store files on windows network partitions, but not disable it for all network partitions?  I am fimilar with changing the setting for all network partitions(defaults write com.apple.desktopservices DSDontWriteNetworkStores true), but that is undesirable when I connect my laptop to my home network. A preferable solution would be where I could control the writing of these files based on disk format (NTFS vs HFS+).

    Go to MacUpdate or CNET Downloads and search for ds_store. There are numerous utilities for preventing them from being transferred to Windows systems.

Maybe you are looking for

  • Microsoft Exchange Apple Mail not automatic

    While use Microsoft Exchange for gmail my Apple Email address mail server will not sync automatic. If I not choice Microsoft Exchange so my Apple Email Mail Service will sync automatic? Am I right?

  • Brighten Quicktime movie in slide

    Is there anyway to brighten a quicktime movie that is set in a slide? The adjust window does not work with a movie that has be inserted and quick time will let you adjust brightness, but not save the movie with the adjustments. Any ideas would be wel

  • Out Of Memory Error Help Please

    Hey Folks Need some help here big time, i'm after creating a teaching aid, i'm trying to run it to complete a full systems test and i'm getting an error java.lang.OutOfMemoryError Any ideas Sorry now if i'm not in the right forum, is it my computer o

  • Rebuilding iTunes Library File

    I have been using iTunes since the beginning and would like some feedback about the itunes Library file. I have been using the same iTunes Library file since the beginning of the program and as my library grows and the version upgrades continue to mo

  • Filter with first 2 char of field

    Hi All, I am creating a budget report, in that program i want to get data start with 'KS' in my internal table i have object no all object no are different, i want start with 'KS' object no... so which syntex i use in report can you please guide me.