BAPI_REL_GETRELATIONS when objectid-objkey is multi-part ???

BAPI_REL_GETRELATIONS takes an importing parm OBJECTID of type bapiborid.
In the bapiborid structure, obkkey is a char 70 field:
OBJKEY     SWO_TYPEID     CHAR     70
So when my BO is "DRAW" with a complex multi-part key consisting of
DOKAR     DOKAR     CHAR     3
DOKNR     DOKNR     CHAR     25
DOKVR     DOKVR     CHAR     2
DOKTL     DOKTL_D     CHAR     3
how do I specifiy objkey within objectid?
Do I just concatenate dokar, doknr, dokvr, and doktl into objkey ?????
Please advise.
Thanks.

hi use
data: test(3) type c value 'test',
        test1(5) type c value 'test',
        test2(6) type c value 'test',
         test3(7) type c value 'test',
        test4(40) type c .
concatenate test test1 test2 test3 into test4  .
       write:/ test4 .
if zeros need use the conversion exits

Similar Messages

  • Creating a cfhttp multi part form post for google docs upload

    Hey all,
    If you saw my last thread, you know I am working with google docs and uploading documents to it. Well I got basic document uploading working, but now I am trying to include meta data. Google requires you to include the metadata with the actual file data and seperate them by using a multi part form upload. I don't know exactly the process for doing so, but they have a handy code snippet of the desired results at
    http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#UploadingDoc s
    So I am basically trying to mimic that payload, however I am continually getting an error stating that there are no parts in a multi part form upload.
    <errors xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>InvalidEntryException</code><internalReason>No parts detected in multipart message</internalReason></error></errors>
    to be exact. I am not really sure what I am doing wrong here. I figure it is one of two things, either I am not including the actual data in the payload properly (I am currently using a body type param for the payload, but I have also tried a formfield named content to deliver it. Neither worked). So maybe I need to do something else tricky there? The other thing which I am not reallly sure about is the content-length attribute. I don't know exactly how to calculate that, and I read in another forum that a content length attribute was messing that guy up. Right now I am just taking the lenght of the payload string and multiplying by 8 (to get the number of bytes for the entire payload) but hell if I know if that is right. It could be I just don't know how to set up the parts for the message, it seems pretty straight forward though. Just define a boundary in the content-type, then put two dashes before it wherever you define a new part, and two dashes trailing the last part.
    Anyway, here is my code, any help is much appreciate. I'm a bit beyond my expertise here (not really used to trying to have to roll my own http requests, nevermind multipart post form data) so I'm kinda flailing around. Thanks again.
    <cffunction name="upload" access="public" returnType="any" hint="I upload the document." output="false">
        <cfargument name="filePath" type="string" required="false" hint="file to upload.">
        <cfargument name="docType" type="string" required="yes" hint="The document type to identify this document see google list api supported documents">
        <cfargument name="parentCollectionId" type="string" required="no" hint="the name of the collection/collection to create (include collection%3A)">
        <cfargument name="metaData" type="struct" required="no" hint="structure containing meta data. Keyname is attribute name, value is the value">
        <cfset var result = structnew()>
        <cfset result.success = true>
        <cftry>
            <cfif structkeyexists(arguments,"parentCollectionId")>
                      <cfset arguments.parentCollectionId = urlencodedformat(parentCollectionId)>             
                      <cfset result.theUrl = "https://docs.google.com/feeds/default/private/full/#arguments.parentCollectionId#/contents">
                <cfelse>
                        <cfset result.theUrl = "https://docs.google.com/feeds/default/private/full/">
            </cfif>
             <cfoutput>
                  <cffile action="read" file="#arguments.filePath#" variable="theFile">
                <cfsavecontent variable="atomXML">
                     Content-Type: application/atom+xml
                    <?xml version='1.0' encoding='UTF-8'?>
                    <entry xmlns="http://www.w3.org/2005/Atom" xmlns:docs="http://schemas.google.com/docs/2007">
                      <category scheme="http://schemas.google.com/g/2005##kind"
                          term="http://schemas.google.com/docs/2007###arguments.docType#"/>
                        <cfloop collection="#arguments.metaData#" item="key">
                            <#key#>#arguments.metadata[key]#</#key#>
                        </cfloop>
                    </entry>
                    --END_OF_PART
                    Content-Type: text/plain
                    #theFile#
                    --END_OF_PART--
                </cfsavecontent>       
            </cfoutput>      
            <cfset result.postData = atomXML>
            <cfhttp url="#result.theUrl#" method="post" result="httpRequest" charset="utf-8" multipart="yes">
                <cfhttpparam type="header" name="Authorization" value="GoogleLogin auth=#getAuth()#">
                <cfhttpparam type="header" name="GData-Version" value="3">
                <cfhttpparam type="header" name="Content-Length" value="#len(trim(atomXML))*8#">           
                <cfhttpparam type="header" name="Content-Type" value="multipart/related; boundary=END_OF_PART">
                <cfhttpparam type="header" name="Slug" value="test file --END_OF_PART">
                <cfhttpparam type="body" name="content" value="#trim(atomXML)#">
            </cfhttp>
            <cftry>
                   <cfset packet = xmlParse(httpRequest.fileContent)>
                <cfif httpRequest.statusCode neq "201 created">
                    <cfthrow message="HTTP Error" detail="#httpRequest.fileContent#" type="HTTP CODE #httpRequest.statusCode#">
                </cfif>
                <cfset result.data.resourceId = packet.entry['gd:resourceId'].xmlText>
                <cfset result.data.feedLink = packet.entry['gd:feedLink'].xmlText>
                <cfset result.data.title = packet.entry.title.xmlText>  
                <cfset result.data.link = packet.entry.title.xmlText>    
                <cfcatch>
                     <cfset result.data = httpRequest>
                </cfcatch>
            </cftry>       
            <cfcatch type="any">
                 <cfset result.error = cfcatch>
                <cfset result.success = false>
            </cfcatch>
        </cftry>   
        <cfreturn result>
    </cffunction>
    Also, this is what my atomXML data ended up looking like when it got sent to google. This isn't the WHOLE request (it doesn't include the headers, just the body).
    Content-Type: application/atom+xml
    <?xml version='1.0' encoding='UTF-8'?>
    <entry xmlns="http://www.w3.org/2005/Atom" xmlns:docs="http://schemas.google.com/docs/2007">
    <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/docs/2007#document"/>
    <TITLE>Woot Test</TITLE> </entry>
    --END_OF_PART
    Content-Type: text/plain
    I'm a test document lol!
    --END_OF_PART--

    Woot, I got it. I had to send the gData version number, and change the URL.
    Here is the working function.
    <cffunction name="upload" access="public" returnType="any" hint="I upload the document." output="false">
        <cfargument name="myFile" type="string" required="false" hint="file to upload.">
        <cfset var result = "">
        <cfset theUrl = "https://docs.google.com/feeds/default/private/full">
        <cffile action="read" file="C:\website\xerointeractive\testing\test.txt" variable="theFile">
        <cfset fileSize = createObject("java","java.io.File").init("C:\website\xerointeractive\testing\test.txt").length()>
        <cfhttp url="#theURL#" method="post" result="result" charset="utf-8" >
            <cfhttpparam type="header" name="Authorization" value="GoogleLogin auth=#getAuth()#">
            <cfhttpparam type="header" name="Content-Type" value="text/plain">
            <cfhttpparam type="header" name="Slug" value="test file">
            <cfhttpparam type="header" name="GData-Version" value="3">
            <cfhttpparam type="header" name="Content-Length" value="#fileSize#">
            <cfhttpparam type="body" value="#theFile#">
        </cfhttp>
        <cfreturn result>
    </cffunction>

  • Error calling BPEL from ESB  Multi-part simple type

    I am trying to define a soap service in ESB which is refering a BPEL service. I get the error
    The selected porttype is using a message that is invalid for ESB because it is multi-part or has a simple type.The message RuntimeFaultMessage in operation process of port type exportCaCustomers is invalid. Please select another portype.
    Here is the wsdl for the BPEL service. exportCaCustomers.wsdl
    <definitions
    name="exportCaCustomers"
    targetNamespace="http://xmlns.oracle.com/exportCaCustomers"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns1="http://www.globalcompany.com/ns/order"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns3="http://usconcrete.com/v1/interfaces/common/InputMessage.xsd"
    xmlns:ns2="http://schemas.oracle.com/bpel/extension"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/exportCaCustomers"
    xmlns:ns10="http://usconcrete.com/v1/interfaces/common/InputMessage.xsd"
    >
    <import namespace="http://schemas.oracle.com/bpel/extension" location="RuntimeFault.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.globalcompany.com/ns/order"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:client="http://xmlns.oracle.com/exportCaCustomers">
    <import namespace="http://xmlns.oracle.com/exportCaCustomers" schemaLocation="exportCaCustomers.xsd"/>
    </schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.globalcompany.com/ns/order"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:client="http://xmlns.oracle.com/exportCaCustomers">
    <xsd:import namespace="http://www.globalcompany.com/ns/order" schemaLocation="sampleTax.xsd"/>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://usconcrete.com/v1/interfaces/common/InputMessage.xsd" schemaLocation="InputMessage.xsd"/>
    </xsd:schema>
    </types>
    <message name="exportCaCustomersRequestMessage">
    <part name="payload" element="ns10:CVInputMessage"/>
    </message>
    <message name="exportCaCustomersResponseMessage">
    <part name="payload" element="client:exportCaCustomersProcessResponse"/>
    </message>
    <portType name="exportCaCustomers">
    <operation name="process">
    <input message="client:exportCaCustomersRequestMessage"/>
    <output message="client:exportCaCustomersResponseMessage"/>
    <fault name="bindingFault" message="ns2:RuntimeFaultMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="exportCaCustomers">
    <plnk:role name="exportCaCustomersProvider">
    <plnk:portType name="client:exportCaCustomers"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    These are the contents of RuntimeFault.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="RuntimeFault"
    targetNamespace="http://schemas.oracle.com/bpel/extension"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <message name="RuntimeFaultMessage">
    <part name="code" type="xsd:string"/>
    <part name="summary" type="xsd:string"/>
    <part name="detail" type="xsd:string"/>
    </message>
    </definitions>
    This looks like a very basic thing to do. My BPEL process is working fine. I just want to access it from ESB. Any ESB gurus there. Please respond.

    <fault name="bindingFault" message="ns2:RuntimeFaultMessage"/>Don't think this is the way to define the RuntimeFaults.
    the fault-element you use to 'throw' you own business faults.
    RunTimeFaults are handled by the bpel framework itself and aren't throwable like this.
    See :
    http://www.oracle.com/technology/products/ias/bpel/htdocs/orabpel_technotes.tn007.html
    ""Business faults are application specific faults and occur when an explicit <throw> activity is executed or an <invoke> activity gets a fault as response. The fault name of a business fault is specified by the BPEL process and the messageType, if one exists, is defined in the WSDL.
    Runtime faults are not user defined and will not appear in the WSDL for a process or service.""

  • Is there a workaround for wsdl with multi-part porttype with ESB?

    I am trying to implement a simple connection to a service with ESB, and have been successful in trials with several other products, but when I try to use the SOA adapter with ESB I get the following message.
    "The selected porttype is using a message that is invalid for ESB because it is multi-part or has a simple type. The message getTransactionsByRegistrationIdRequest in operation getTransactionsByRegistrationIdRequest of prottype QueryTransactionsWebService is invalid. Please select another porttype of fix the wsdl."
    Is there a work around for this?
    We would like to use ESB since we are licensed, but continue to have problems.
    Any help would be appreciated.

    This works out of box in 11 but as a 10.1.3 workaround, You can write a java web service to proxy the multipart service and expose a regular doc literal service wsdl to ESB. This shouldn't be too much work for an experienced java/web service programmer. We are going to enable multipart for a pass through (no filters or xsl) service in 10.1.3.4. Let me know what path you choose.

  • Weblogic throwing "null SOAP element Exception" in multi-part SOAP response

    Hi All,
    I'm using weblogic 10. My application is a webservice client generated using '*clientgen*', which is running on weblogic, and
    is invoking a remotely hosted webservice ( Remotely hoseted webservice may not be running on weblogic).
    I've the wsdl file of remotely hosted webservice.
    Now the problem is with WSDL file (I suppose), have a look at this.
    *&lt;message name="m1"&gt;*
    *&lt;part name="body" element="tns:GetCompanyInfo"/&gt;*
    *&lt;/message&gt;*
    *&lt;message name="m2"&gt;*
    *&lt;part name="body" element="tns:GetCompanyInfoResult"/&gt;*
    *&lt;part name="docs" type="xsd:AnyComplexType"/&gt; ------&gt; assume all elements inside this complex type can be nil or minOccurs set to '0'*
    *&lt;part name="logo" type="xsd:AnyOtherComplexType"/&gt; ------&gt; assume all elements inside this complex type can be nil or minOccurs set to '0'*
    *&lt;/message&gt;*
    &lt;portType name="pt1"&gt;
    &lt;operation name="GetCompanyInfo"&gt;
    &lt;input message="m1"/&gt;
    *&lt;output message="m2"/&gt; -----&gt; multi part message.*
    &lt;/operation&gt;
    &lt;/portType&gt;
    Now here is sample message for the request(I've composed this message for this question):
    &lt;soap:Envelope&gt; MESSAGE1
    &lt;soap:header/&gt;
    &lt;soap:body&gt;
    &lt;tns:m2&gt;
    &lt;tns:GetCompanyInfoResult&gt;
    Blah Blah....
    &lt;/tns:GetCompanyInfoResult&gt;
    &lt;tns:docs&gt;
    Blah Blah....
    &lt;/tns:docs&gt; Assume no data for 'logo', so it's not returned. Since all its elements can be nillable.
    &lt;tns:m2&gt;
    &lt;/soap:body&gt;
    &lt;/soap:Envelope&gt;
    First of all, is this SOAP response is valid? I'm not sure about *'message' and 'parts' in SOAP*, but according to XML schema standards it's invalid.
    Because, according to *'message' m2, 'logo' is missing*, eventhough all it's elements are nillable in such case there should be *&lt;logo/&gt;* at the end.
    I mean valid message should be like below
    &lt;soap:Envelope&gt; '*MESSAGE2*'
    &lt;soap:header/&gt;
    &lt;soap:body&gt;
    &lt;tns:m2&gt;
    &lt;tns:GetCompanyInfoResult&gt;
    Blah Blah....
    &lt;/tns:GetCompanyInfoResult&gt;
    &lt;tns:docs&gt;
    Blah Blah....
    &lt;/tns:docs&gt;
    *&lt;tns:logo/&gt; ------------------&gt; here is the change compared to above message. empty element.*
    &lt;tns:m2&gt;
    &lt;/soap:body&gt;
    &lt;/soap:Envelope&gt;
    Now the concerns are :
    (1) Which is a valid response? Message1 or Message2
    (2) If message1 is valid then why is weblogic throwing an exception 'null SOAP element', I suppose this is due to missing 'logo' element.
    (To confirm this I've used tcpmonitor and found message1 as response but weblogic is still throwing 'null SOAP Element' exception,
    which confirms it needs 'logo' as well, I suppose &lt;logo/&gt; at least). Is there any workaround for this in weblogic for multi-part messages?
    (3) If message1 is invalid according to SOAP standards then You've answered my question. ---&gt; I need to talk to the webservice provider in this case.....
    Thanks in advance...

    Message 1 is not Basic Profile 1.1 compliant. It is specified by BP1.1 in section 4.4.1(http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Bindings_and_Parts) that when a wsdl:part element is defined using the type attribute, the serialization of that part in a message is equivalent to an implicit (XML Schema) qualification of a minOccurs attribute with the value "1", a maxOccurs attribute with the value "1" and a nillable attribute with the value "false".

  • Multi-part form problem (array & session help needed)

    I have a multi-part form that consists of 3 pages(forms) which each save data to the session. When the final form is complete, I insert the session variables to the DB via a FINISH button.
    I now want to take another step. Page 2 of this multi-part form allows users to add "items". Presently, they can add only 1 item, and move the page 3 by hitting a next button. I would like to add a "Add another item" button that goes to the page 2 form again, allowing more items to be entered. I believe I need an array/table to do this, but don't know how I might do this in the session.
    Is it possible to create an array in the session? If so, how? If not, how might I approach this?
    I am trying to avoid inserting to the database (a remote db) until after a "preview" page following the form.
    Any ideas? Thx in advance.

    Hi,
    This forum thread may help you:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=50623
    Thanks,
    Creator Team.

  • How do I construct a multi-part variable?

    I am trying to construct a multi-part variable for a url. 
    In creationComplete I put this:
    sym.setVariable("weekNumber", 3);
    sym.setVariable("folder", ["../ea_arguna_t/", "../ea_arneson_l/", "../ea_egan_j/", "../ea_nakahara_s/", "../ea+pilkington_r/", "../ea_sutter_d/"]);
    on the button click I put this:
    var myVariable = sym.getVariable("folder")[0];
    var myVariable = sym.getVariable("weekNumber");
    sym.setVariable("url", "myVariable"+("week"+weekNumber+".html"));
    window.open(sym.getVariable("url", "_self"));
    Nothing happens on click.

    Your creationComplete code looks okay, as far as Javascript syntax goes. However, there are a couple of problems I can see with your button click code:
    You've set a variable named myVariable twice, which means only the second assignment will be held. Use a unique variable name for each of these assignments (I'll provide an example below)
    You've used setVariable for url, when here you really should be declaring the variable locally using the var keyword. set/getVariable is for setting/getting variables outside of the scope of the button.
    Here's how I would write your button click handler:
    var pupilURL = sym.getVariable("folder")[0];
    var weekNum = sym.getVariable("weekNumber");
    var url = pupilURL + "week" + weekNum +".html";
    window.open(url, "_self");
    hth,
    Joe

  • ITunes U / Order of multi-part downloads

    Downloads from iTunes U are appearing in "Music" rather than podcasts. Does someone have suggestions I can make it possible for these downloads to be located either as audio books or podcasts? Also, when iPod syncs multi-part podcasts, it often reverses the order so the first episode is last and the last episode first. I can listen sequentially by starting with one, then double-clicking to go back to two, etc., but that has to be a way around this. Thank you.

    Hello EWCo,
    And welcome to Apple Discussions!
    Not sure as to how to fix the podcast order issue, but I can help you with the iTunes U content. You can change this content's media to podcast, audio book or whatever you like. To do this, locate the file you wish to alter in iTunes, right->click on it and choose "Get Info* from the shortcut menu. When the window pops up, head over to the Options tab. Under that tab you will see an option for *Media Type* with a drop down list next to it. Go ahead and choose your desired media type, then hit OK and you should be good to go.
    Hope this helps a bit.
    B-rock

  • Does anyone has a problem with the screen of the new ipad? (there's a part of the screen which the color in it is "very" bright) and when I move the aluminium part of the smart cover when it's attached to the ipad the colors change!! Help!!!

    Does anyone has a problem with the screen of the new ipad? (there's a part of the screen which the color in it is "very" bright) and when I move the aluminium part of the smart cover when it's attached to the ipad the colors change!! Help!!!

    I'd take it into my local APple store and have them look at it. There may be something wrong inside your device.

  • I cannot get photos placed in InDesign CS5 to show up only as grayscale/black. When a separation is done, part of the photos show up on both parts of the color separation. I've been hunting for a solution for hours.

    I cannot get photos placed in InDesign CS5 to show up only as grayscale/black. When a separation is done, part of the photos show up on both parts of the color separation. I've been hunting for a solution for hours. !

    ALSO, on the iPod under Settings>General>iTunes Sync, you may need to back out of the "iTunes Wi-fi Sync," and reopen it to get it to update.
    (I use iTunes 11.1.5.5)

  • What is the real use of party ? When we will go for Parties?

    Hi All
       what is party ? Why?
       when we will use this parties(ID)? where the real adv..lies ?
    Pl...explain this one detail so that i can decide we will go for party or not?
    regards
    Rakesh

    Hi Shabarish
             Thanks a lot ...it is really helpful...
           But thing is i am not getting the real use of it ...!!!
           before posting this question,i have gone through sdn but thing is where it is
           helpful to implement
           Try to provide some more information on this
    Regards
    rakesh

  • How do i create a multi part checkout form for my ecommerce checkout?

    Hey Guys,
    I was following this video on creating multi-part forms: http://www.bcgurus.com/tutorials/increase-conversion-with-multi-step-web-forms
    I'm trying to set this up on my checkout page (order_registration-us.html), but it seems BC does not let me do this. Upon submit, i am not sent to the step 2 form, but rather, i am given a receipt for the order. How do i setup the multi part form? Your help is greatly appreciated!

    You can not do that on that form as that form is looking to process eCommerce sales.
    Better question is why?
    In modern UI and UX design and methadology multi step forms are to be avoided, why do you need so many fields? IS your form one field at a time going down the website?
    If that is the case then you should look to design your forms to have multiple coloulmns and be smarter. Combining first and last name fields into the FullName field for example.
    Hiding the shipping fields and have a tick box and javascript to say "shipping same as billing" and so on.

  • Can a subVI tell when the application it is part of has been stopped and restarted?

    Can a subVI tell when the application it is part of has been stopped and restarted?
    It is easy enough for a subVI to tell when it has been run for the first time after having been loaded into memory. But is there a way for a subVI to tell when the application it is part of has been stopped and restarted? Is there some property or application-invocation-specific refnum that when queried multiple times during the same run of the application would return the same value yet when queried during different runs of the application would return different values?
    I don�t want to depend on anything that happens when a run is exited.
    I don�t want to require code to be included in the main V
    I to accomplish the solution.
    (Otherwise I could, in the main VI create an un-named semaphore tied to a global; the subVI could then check the global to see if the value changed, which it would between runs of the application.)
    Any ideas?

    Have you tried the First Call? function? It's on the Advanced>Synchronization palette.

  • How do i put a cover on the album when the album isnt a part of the itunes store?

    How do i put a cover on the album when the album isnt a part of the itunes store?

    fishmore wrote:
    BUT the image didn't actually work and all I ended up with was the word JPEG and a generic image... Any assistance would be appreciated - Thank you.
    Sounds like you copied an icon from the icon spot in a Get Info window for an image file, then pasted that intoo the same spot in the Get Info window for your folder. As you found out, that won't work - unless the image file already has a custom icon, that is.
    Visually, it's hard to tell if an image file has a custom icon, particularly if View Options for a folder (or the desktop) has been set to 'show icon preview' - the OS will use Preview to make an icon for that file 'on the fly', but it does not really exist as far as being a copyable icon.
    For what you want to do, the solution is really very easy.
    Do a Get Info on the image file whose icon you want to copy for your folder. In that Get Info window is a larger depiction of the image about halfway down - double-click that, and it should open in Preview.
    Press Command-A (that's Select All in the Edit menu).
    Press Command-C (that's Copy in the Edit menu).
    Close Preview, close the Get Info window for the image file.
    Open the Get Info window for your folder.
    Select the icon in the upper left by clicking it once - a blue border should appear around it.
    Press Command-V (that's Paste in the Edit menu).
    Close the Get Info window, and you're done.
    Comment - that's a nice way to make unique folder icons, but there is one drawback: how to distinguish visually between a folder with such an icon and an image file.
    One way, old school, is to append the character ƒ to the end of the name you give the folder. That character is easily generated by pressing Option-F and can be a visual indicator that the item is actually a folder and not an image.

  • SQL Server 2005: Multi-part identifier could not be bound

    Hello,
    I use IBM WebSphere Portal and am desperately trying to move data from the default Cloudspace Database to MS SQL Server 2005, of course following the official guidelines.
    What happens is that WebSphere's Configuration Wizard fails because of an error caused by the SQL Script. Trouble is, I can't bring it to work not even in the SQL Server Management Studio.
    What follows is the code generated by the script. The error is caused by the last "check"-constraint (colored in red).
    CREATE TABLE community.APP_DESC (
    OID BINARY(18) NOT NULL,
    TYPE INTEGER NOT NULL,
    APP_NAME NVARCHAR(255) NOT NULL,
    IS_ACTIVE INTEGER NOT NULL,
    JSR_VERSION NVARCHAR(255),
    GUID NVARCHAR(255),
    WEB_MOD_OID BINARY(18),
    WEB_MOD_SL BINARY(18),
    WSRP_PROD_OID BINARY(18),
    WSRP_PROD_SL BINARY(18),
    DEFAULT_LOCALE NVARCHAR(64),
    CREATED BIGINT NOT NULL,
    MODIFIED BIGINT NOT NULL,
    WSC_GROUP_ID NVARCHAR(255),
    CONSTRAINT PK20 PRIMARY KEY NONCLUSTERED (OID),
    CONSTRAINT FK20A FOREIGN KEY (WEB_MOD_OID) REFERENCES community.WEB_MOD (OID) ON DELETE CASCADE,
    constraint FK20B FOREIGN KEY (WSRP_PROD_OID) REFERENCES community.WSRP_PROD (OID) ON DELETE CASCADE,
    CONSTRAINT CC20A CHECK (((community.APP_DESC.WEB_MOD_OID IS NULL) AND (community.APP_DESC.WEB_MOD_SL IS NOT NULL)) OR ((community.APP_DESC.WEB_MOD_OID IS NOT NULL) AND (community.APP_DESC.WEB_MOD_SL IS NULL)))
    And that's what SQL Server 2005 told me:
    Msg 4104, Level 16, State 1, Line 1
    The multi-part identifier "community.APP_DESC.WEB_MOD_OID" could not be bound.
    Msg 4104, Level 16, State 1, Line 1
    The multi-part identifier "community.APP_DESC.WEB_MOD_SL" could not be bound.
    Msg 4104, Level 16, State 1, Line 1
    The multi-part identifier "community.APP_DESC.WEB_MOD_OID" could not be bound.
    Msg 4104, Level 16, State 1, Line 1
    The multi-part identifier "community.APP_DESC.WEB_MOD_SL" could not be bound.
    BTW, as this is a generated script I do not have the possibility to change it. Because it has been released by IBM I am rather convinced that it is correct - therefore I was wondering whether SQL Server 2005 has a known bug that makes it refuse "check"-constraints.
    Any hint is very appreciated.
    Thanks in advance,
    adapter

    THe problem is that is was probably not made for SQL Server 2005. It should read:
    CONSTRAINT PK20 PRIMARY KEY NONCLUSTERED (OID),
    CONSTRAINT FK20A FOREIGN KEY (WEB_MOD_OID) REFERENCES community.WEB_MOD (OID) ON DELETE CASCADE,
    constraint FK20B FOREIGN KEY (WSRP_PROD_OID) REFERENCES community.WSRP_PROD (OID) ON DELETE CASCADE,
    CONSTRAINT CC20A CHECK (((APP_DESC.WEB_MOD_OID IS NULL) AND (APP_DESC.WEB_MOD_SL IS NOT NULL)) OR ((APP_DESC.WEB_MOD_OID IS NOT NULL) AND (APP_DESC.WEB_MOD_SL IS NULL)))
    The meaning of the first identifier changed in SQL Server 2005, as this is now the Schema and not the owner. DO you have a chance of using a SQL Server 2000 computer ? In terms of licences you will have a downgrade licence for the SQL Server, otherwise you should ping the IBM guys to provide a compatible script.
    HTH, Jens K. Suessmeyer.
    http://www.sqlserver2005.de

Maybe you are looking for

  • Cs3 moving to a windows 8 computer

    I have deactivated from old computer and attempted twice to reinstall on new computer.  It goes through whole install process and gets to the done section and I get a message that says the component install fail.Original installation media has been m

  • Performance issues, possibly video.

    My computer is by no means new (p4 2.4, 2GB, 128MB AGP video), however, I get particularly crappy performance through most simple tasks. Scrolling in any browswer is SUPER choppy (CPU usage of browser & Xorg spikes when scrolling). Window performance

  • 20" vs 22"

    does anyone have experience with the acrylic 20" and 22" displays? the 22" has lower dpi, I estimate like a 17" CRT screen? (which is what I have now), but seems to go cheaper than the 20" used. The 22" was also a version with "PanelLink"-DVI, is it

  • Specs say 1000 cycles- REAL???

    Specs say 1000 cycles on the MBP mid-2009 battery- My MBP mid-2009 has 380, am I OK with this battery for a while? OR, do I need to figure out how to replace it?? I'm not having any trouble other than shorter and shorter battery life off a power supp

  • Unable to install OBIEE extensions on Jdeveloper 11.1.1.5

    Hello, I need to integrate ADF application with OBIEE. The extensions were available when I checked for updates. But after installing and restarting my jdeveloper, when I go to Help-> About the bi extensions are grayed out. Can somebody please help m