Knowledge Provider (KPro) content-length of document

hello,
I need to know where the knowledge provider (kpro) logs or saves the information about the content-length of the document? or in detail: in which table is the length information of a document saved (perhabs in bytes?)?
thanks for your reply.
thorsten

Hi Guys
Can anyone give a clue on this. We are stuck at this phase.

Similar Messages

  • Knowledge provider(Kpros) and sap content server.

    Hi Gurus,
    i need some details about Knowledge provider(Kpros) and sap content server.
    please provide the link.

    Hi Udaya,
    check help links
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/590c421c7f11d5991d00508b6b8b11/frameset.htm
    kpro
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/a1a93769928b7fe10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/87/069f3815e5ef60e10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/7c/6abd646ab811d3aece0000e82deb58/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7c/6abd5b6ab811d3aece0000e82deb58/frameset.htm
    content server operation
    check below pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02621aac-0d01-0010-2c83-c7f62605733a
    Koti Reddy

  • Knowledge Provider KPRO architecture integration with Documentum

    Hi All,
    As a part of KPro architecture it is understood that the SAP Content server at the bottom layer can be replaced by any third party Content server and in our case we wish to make use of Documentum content server in place of SAP content server
    On digging further it is understood that the integration point is an HTTP script
    Currently http script is having a default value to point to SAP content server as ContentServer/ContentServer.dll
    Now we need to point the http script to point to Documentum ?
    Our environment is in solaris and hence instead of dll it should be a shared library .so file.
    Have anyone tried that?
    If so how can we achieve this? How can we make the http script to point to Documentum in KPro

    Hi Guys
    Can anyone give a clue on this. We are stuck at this phase.

  • FileDownload from Content-Server (Knowledge Provider)

    Hi,
    I am trying to download a File via FileDownload UI from the Conent-Server. The Files are from Type: Knowledge Provider (KPro).  I get the following InputStream (Character from 01-12 + Binary from 13-17) : I need only the binary part, the lines from 13 - 17.
    01 --ejjeeffe0
    02 Content-Type: image/gif
    03 Content-Length: 3692
    04 X-compId: marketing.gif
    05 X-Content-Length: 3692
    06 X-compDateC: 2007-04-12
    07 X-compTimeC: 16:05:24
    08 X-compDateM: 2007-04-12
    09 X-compTimeM: 16:05:24
    10 X-compStatus: online
    11 X-pVersion: 0045
    12
    13 GIF89a@ @ ÷ÿ ÎÎΫ««œœœÕÕÕ<;;ƒƒƒzzz
    14 LKLaaauuuää䤤¤ÉÉɹ¹º
    15 ¾¾¾jjjôôôèèèîîîØØØðððøøø••–êêêòòòìì썍ööö
    16 ìêíæçèôùöõòñâÞÝÝÙÞûúüðíîôðõò
    17 £££ÜÛßÝÚÚàáâ™
    18 ejjeeffe0
    How is it possible to separate the two parts when I need only the lines from 13 - 17? I can not get the right InputStream ( lines 13 - 17) back. My main problem is to read the stream and convert it back to InputStream.
    regards,
    Sharam

    Hello,
    try the  LineNumberReader
    http://java.sun.com/j2se/1.4.2/docs/api/java/io/LineNumberReader.html
    it keeps track of line numbers for you, so you could read from line 13.
    Jan

  • Reg: Knowledge Provider

    Hi Experts
    I'm new to DMS.
    pl explain
    1) knowledge provider
    2)Content Server
    3)cache server
    4) repository settings
    and process flow of DMS
    Thanks & Regards
    kumar

    Hi,
    1. Knowledge Provider :-  The service which provides link between SAP server & content server. Through this service you can link content server with TREX server.
    2. Content Server :- Server where you the original files (Word,Excel...) are stored. It is using MAX DB database.
    3. Cache Server :- Server which stores some last visited documents. (eg: same as like your cache memory of computer).
    4. Repository :- The logical storage identification where you are storing original documents.
        Repository Settings :- First create storage system through OAC0 transaction. Then create system category through OACT transaction assign the storage system to storage category.
    When check-in the document through transaction CV01N select the Storage System.
    Process flow of documents mins: In one department for person are working. One person is creating documents & his senior checking the documents & HOD of department release the documents. So you can use document Status functionality to create this kind of flow of document.
    Regards,
    Sunny

  • Bug: XMLHttpRequest mishandles content-length

    In the Palm Pre browser, if you are running JavaScript code that Posts an XMLHttpRequest query that returns an XML document *and* that document doesn't have an explicit content-length header, the browser assumes a content-length of zero and presents an empty document. (If there is an explicit content-length header, then the browser uses it as the length of the returned XML document and all is well.)
    FWIW: In the JavaScript code that I've been using to dig into this issue, I have:
    xmlDoc=xhttp.responseXML;
    alert(xhttp.getAllResponseHeaders());
    alert(xhttp.responseText.length);
    The getAllResponseHeaders() call returns all the headers that I see going across the wire (using WireShark) *PLUS* a "content-length=0" header that isn't coming from the server (the server is not sending any content-length header). The responseText.length then, of course, reports a length of zero, regardless of the true length of the XML document being transmitted.

    I actually looked at the developer forum first as a place to post this, but that forum seemed to be 100% aimed toward native WebOS app development. I really didn't see an appropriate spot to report a bug that seems to reside within the browser. (I know far too little of WebOS app development to claim any knowledge of whether the WebOS app JavaScript interpreter has the same bug as the browser JavaScript interpreter.)
    So, that being said, which section of the developer forum would you suggest that I post in?
    Thanks!

  • How to display the contents of a document set on a page?

    I want to display the contents of a document set (that contains both folders and files) on a page (with the same structure as they are in the document set like folders and files). How to achieve this?
    I tried content search webpart but it is of no use as it displays the flat list instead I need folders and files as they are present in the document set
    I tried document set contents webpart but as it doesn't accept any connection, it is not of much use.
    I will be glad if you have any pointers for me in this regard.
    Regards
    Kesava

    Hi Kesava,
    According to your description, you might want to display the content in a document set with its hierarchy.
    How about using
    Page Viewer Web Part to display the page of the corresponding document set? This would be a non-code solution I would recommend.
    More information about Page Viewer Web Part:
    https://support.office.com/en-nz/article/Page-Viewer-Web-Part-e364436c-0ec4-4819-acac-1982b3525531
    Thanks
    Patrick Liang
    Forum Support
    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]
    Patrick Liang
    TechNet Community Support

  • Missing Content-Length in HTTP response

    Hi All,
    I am experimenting with developing websevices using Sun Java Application Server. I have a working webservice using BEA Weblogic and I would like to have it ported to SUN. The application works like this: A client (Tuxedo application program) sends an XML document to the webservice, in response the websevice parse this document and based on certain fields it send back another document.
    The problem is that the SUN application does not return the content-length in its response and hence the requesting client rejects the message. Can anyone help?? Below is the response from both SUN and Weblogic:
    Weblogic
    HTTP/1.1 200 OK
    Date: Sat, 22 Oct 2005 11:42:53 GMT
    Pragma: no-cache
    Server: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 with CR174524
    Content-Length: 2025
    Content-Type: text/xml; charset=UTF-8
    Expires: Thur, 01 Jan 1970 00:00:00 GMT
    Cache-Control: no-cache
    Connection: Close
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope
    SUN
    HTTP /1.1 200 OK
    X-Powered-By: Servlet/2.4
    SOAPAction: ""
    Content-Type: text/xml;charset=utf-8
    Date: Sat, 22 Oct 2005 11:42:53 GMT
    Server: Sun-Java-System/Application-Server
    Connection: close
    <?xml version="1.0" encoding="UTF-8"?>
    env:Envalope xmls:env="http://schemas.xmlsoap.org/soap/envelope/"
    As can be seen the Content-Length is missing.
    Thanks for your help.
    Ransford

    Is there an option in Sun Java Application Server to include Content-Length in response to a client request? If not is it possible to generate this information from the service code?
    Thanks.

  • How do you recover the contents of a document once its been erased

    Hi Pages community
    Any idea how to recover the contents of a document once the contents has been erased but the document still exists?
    I already reset the Ipad using an Icloud backup from June 11th.
    Thanks
    Beth

    This is modified code. I think it works.
    declare
    a blob;
    b blob;
    d number:=1;
    e number:=1;
    f number:=1;
    begin
    select module_floorplan into a from tblob where seqno = 100;
    select module_floorplan into b from tblob where seqno = 100;
    e:=length(a);
    d:=length(b);
    select dbms_lob.compare(a,b,dbms_lob.lobmaxsize,d,e) into f from dual;
    if f = 0 then
       dbms_output.put_line('Same --> '||to_char(f));
    else
       dbms_output.put_line('Diff --> '||to_char(f));
    end if;
    exception
         when others then
              dbms_output.put_line(SQLERRM);
    end;        

  • How to list contents of a document (or, minimally, find out # of layers)...(PC)

    Is there any way to see a property list of your Photoshop 'document' (insides or outside, though having available from outside would be more flexible) that shows the contents of it document? like a other programs can list a folder document's contents by type and size?).   How about the 'meta' information -- thinks like an object's inclusion date (maybe like a 'creation/date or time'), .. etc?
    At the least, can I have it list out the NUMBER of layers in my document?  (names and sizes would be nice, but just a count would be better than nothing).
    Besides layers, other included objects, like shapes, defined gradients, (not those that have been convernted to bitmaps, but define a gradient on a layer), brushes..etc...and their sizes?  Is there a 'reference count' kept for these things?  I.e. if I use a shape, and it adds it to my 'catalog', If I decide I don't want to use it, or delete it, does it stay in my document's inventory list?
    For frequently used shapes/gradients or (whatever object), does it keep a reference count?  I.e. say I use a 1k*1k shape.  @standard 8bits/color, that's 4MB (RBGA).  If I Use that same standard shape on 100 layers, does it store it only once and reference it, or does it take up 400MB?
    It would be nice to know where one's space is going or at least be able to know how many layers are in one's document (would be nicer still if this was displayable in explorer (win) or whatever file manager one uses...as a property column like one can choose 'size', or 'author'...or 'owner'...

    You could give this a try (though I suspect it might be possible to achieve it more elegantly and efficiently):
    // 2011, use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var theCounts = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
    var theLayers = countLayers(app.activeDocument, theCounts);
    alert ("total layers: "+theLayers[24]+
    "\ngoups: "+theLayers[0]+"\nblackandwhite: "+theLayers[1]+"\nbrightnesscontrast: "+theLayers[2]+
    "\nchannelmixer: "+theLayers[3]+"\ncolorbalance: "+theLayers[4]+"\ncurves: "+theLayers[5]+
    "\nexposure: "+theLayers[6]+"\ngradientfill: "+theLayers[7]+"\ngradientmap: "+theLayers[8]+
    "\nhuesaturation: "+theLayers[9]+"\ninversion: "+theLayers[10]+"\nlayer3d: "+theLayers[11]+
    "\nlevels: "+theLayers[12]+"\nnormal: "+theLayers[13]+"\npatternfill: "+theLayers[14]+
    "\nphotofilter: "+theLayers[15]+"\nposterize: "+theLayers[16]+"\nselectivecolor: "+theLayers[17]+
    "\nsmartobject: "+theLayers[18]+"\nsolidfill: "+theLayers[19]+"\ntext: "+theLayers[20]+
    "\nthreshold: "+theLayers[21]+"\nvibrance: "+theLayers[22]+"\nvideo: "+theLayers[23]
    ////// function collect all layers //////
    function countLayers (theParent, allLayers) {
              if (!allLayers) {var allLayers = new Array}
              else {};
              for (var m = theParent.layers.length - 1; m >= 0;m--) {
                        var theLayer = theParent.layers[m];
    // apply the function to layersets;
                        if (theLayer.typename == "ArtLayer") {
                                  var theKind = theLayer.kind;
                                  switch (theKind) {
                                            case LayerKind.BLACKANDWHITE:
                                            allLayers[1]++;
                                            break;
                                            case LayerKind.BRIGHTNESSCONTRAST:
                                            allLayers[2]++;
                                            break;
                                            case LayerKind.CHANNELMIXER:
                                            allLayers[3]++;
                                            break;
                                            case LayerKind.COLORBALANCE:
                                            allLayers[4]++;
                                            break;
                                            case LayerKind.CURVES:
                                            allLayers[5]++;
                                            break;
                                            case LayerKind.EXPOSURE:
                                            allLayers[6]++;
                                            break;
                                            case LayerKind.GRADIENTFILL:
                                            allLayers[7]++;
                                            break;
                                            case LayerKind.GRADIENTMAP:
                                            allLayers[8]++;
                                            break;
                                            case LayerKind.HUESATURATION:
                                            allLayers[9]++;
                                            break;
                                            case LayerKind.INVERSION:
                                            allLayers[10]++;
                                            break;
                                            case LayerKind.LAYER3D:
                                            allLayers[11]++;
                                            break;
                                            case LayerKind.LEVELS:
                                            allLayers[12]++;
                                            break;
                                            case LayerKind.NORMAL:
                                            allLayers[13]++;
                                            break;
                                            case LayerKind.PATTERNFILL:
                                            allLayers[14]++;
                                            break;
                                            case LayerKind.PHOTOFILTER:
                                            allLayers[15]++;
                                            break;
                                            case LayerKind.POSTERIZE:
                                            allLayers[16]++;
                                            break;
                                            case LayerKind.SELECTIVECOLOR:
                                            allLayers[17]++;
                                            break;
                                            case LayerKind.SMARTOBJECT:
                                            allLayers[18]++;
                                            break;
                                            case LayerKind.SOLIDFILL:
                                            allLayers[19]++;
                                            break;
                                            case LayerKind.TEXT:
                                            allLayers[20]++;
                                            break;
                                            case LayerKind.THRESHOLD:
                                            allLayers[21]++;
                                            break;
                                            case LayerKind.VIBRANCE:
                                            allLayers[22]++;
                                            break;
                                            case LayerKind.VIDEO:
                                            allLayers[23]++;
                                            break;
                                  allLayers[24]++;
                        else {
                                  allLayers = (countLayers(theLayer, allLayers))
                                  allLayers[0]++;
                                  allLayers[24]++;
              return allLayers

  • Content-Length missing in SOAP request

    In Oracle Application Server, a SOAP request like :
    POST /eai_esn/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSoap=1 HTTP/1.1
    SOAPAction: "document/http://siebel.com/marketing/import:MktgImportServiceInvokeImportJob"
    User-Agent: Axis2
    Host: 192.168.49.66:8093
    Transfer-Encoding: chunked
    Content-Type: text/xml; charset=UTF-8
    a28
    <?xml version='1.0' encoding='UTF-8'?>. . . . </soapenv:Envelope>
    0
    is rejected with an error like : "Missing body length ..."
    However , a SOAP request like :
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "document/http://siebel.com/marketing/import:MktgImportServiceInvokeImportJob"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: 192.168.49.58:8093
    Content-Length: 2602
    <?xml ...... >
    is accepted with no error .
    Using Microsoft IIS, the first SOAP request without the 'Content-Length' is accepted just fine.
    It looks like OAS requires SOAP header to have a "Content-Length" . Is this correct ? Is there a way to change this behavior ?
    Thank you
    Gabriel Gonzalez

    Hi,
    The web service we are trying to communicate with is a third-party service that we have no control over. This service requires the name of the attribute to be in the content id field.
    See section 3.8 of the following link
    http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08-24.html
    I seem to be able to set the name, description, contentType in the SOAP adapter module I have written - but I cannot set the content-Id.
    Regards,
    Bryan

  • Display/content-length issue

    a custom java application merges an image to an PDF document and flattens it using iText. it sets the request header parameters through dynamic javascript and calls the adobe reader to flatten the PDF pages. after the process, the response application screen is not rendered completely. there seems to be delay before the response screen is displayed which is our concern. we suspect that incorrect content length may be a reason for this post process display issue. but, we do not set any content-length thru java.
    Q1. is there a way to remove the content-length from the response header?
    something like aHeaders for javascript. we wanted to know the syntax for aHeaders usage.
    Q2. has anyone faced a similar issue and found a fix for this issue?
    appreciate a response. thank you!

    Checkout send-error.So I can place a drective like this (assuming I have a 403.html file in that location):
    Error fn=send-error code=403 path=/opt/sun/webproxyserver/html/errors/403.html
    I assume I place this inside my Object definition for my template ... is that correct? I plan on placing it at the bottom of my template. Does its location in the Object definition matter? I am sorry but the docs are not real clear (at least to me) on hard details so forgive my questions.
    just for clarity is this a proper template definition(I have 3)?NameTrans fn="assign-name" name="BlackList" from="http://.*yahoo.*"
    NameTrans fn="assign-name" name="WhiteList-level1" from=".*://64\.215\.169\.*/.*|.*://.*gblx.net/.*"
    NameTrans fn="assign-name" name="WhiteList-default" from=".*://.*/.*"
    The one named BlackList is just for testing purposes (which I can't seem to get to work either.
    Isn't the following legal? When I have a template match it should go to this object and execute directives right? It should see and execute the deny-service right? Why is it not?
    <Object name="BlackList">
    Service fn="deny-service"
    Error fn=send-error code=403 path=/opt/sun/webproxyserver/html/errors/403.html
    </Object>
    thanks again
    Doug

  • Content Length

    I am writing some Java Servlets for use with iAS. One of the items I would
    like to accomplish is getting the content length of a requested document
    from the HttpServletRequest object via the getContentLength method. The
    problem I am having, however, is that I always get a -1 return value,
    meaning that the length of the content is not known. What causes this
    condition and what can i do to correct it. Thank.

    One thing to check is to make sure the document/stream/whatever is opened
    prior to the getContentLength call.
    Scott
    "bankerboy" <[email protected]> wrote in message
    news:9hi0oi$[email protected]..
    I am writing some Java Servlets for use with iAS. One of the items Iwould
    like to accomplish is getting the content length of a requested document
    from the HttpServletRequest object via the getContentLength method. The
    problem I am having, however, is that I always get a -1 return value,
    meaning that the length of the content is not known. What causes this
    condition and what can i do to correct it. Thank.

  • Cannot view the content of XML document.

    Hi experts,
    i have saved edit form (SAP Demo News) in document folder (KM Content > document). To view the content, I click the XML document then the content is display as design in ShowForm.
    My problem is i save the edit form (SAP Demo News) in my own folder (KM Content > MyFolder), then when I click the XML document the content is NOT display as design in ShowForm. But its display as XML coding.
    How to make the content of XML document NOT view as XML coding?
    Thanks and regards
    faeza

    Hi faeza ,
    by default XML Forms can only be used in the repositories documents and userhome.
    If you want to use XML-Forms in your own repository like "MyFolder" than the behaviour is like you have described.
    So you have to adjust the KM settings for using XML-Forms as well in the repository "MyFolder".
    Goto
    System Administration ->
    System Configuration ->
    Knowledge Management ->
    Content Management ->
    Configuration
    -> Content Management
    ->  Repository Filters
    -> XML Forms Repository Filter
    Choose the XML Forms Repository Filter entry "xmlforms_filter" and choose Edit.
    Add as "Repositories:" your repository "MyFolder".
    Save it and restart the whole portal.
    Best regards
    Frank

  • CDESK: How to get a customized content in the document list tab

    I try to get a specific list of document info records (DIR's) in the document list tab of the CDESK - similar to the document search result.
    I use the Addin-BADI and the ~PROCESS_NEW_FUNCTIONS/~ADD_NEW_FUNCTIONS methods to start a costumer specific selection of DIR's.
    For instance I want to select all documents with contain the digits 99.
    Then I want to show the selection result as the content of the document list tab to proceed with further steps like ckeck-out and so on.
    I followed an example which I found in this forum, see thread "CDESK: Start userdefined search program and recieve DIRs".
    My coding is:
    method if_ex_cdesk_tbm_addin~process_new_functions.
        when 'ZFCODE_ARBVOR'.
          data lt_draw type table of draw.
          select * from draw into table lt_draw
            where dokar = 'TKD'
              and doknr = '99'.
          sort lt_draw stable by dokar doknr doktl dokvr ascending.
          delete adjacent duplicates from lt_draw comparing dokar doknr doktl dokvr.
          PERFORM refresh_sap_list IN PROGRAM saplcdesk TABLES lt_draw USING 'X'.
    But nothing happens with the document list when executing this customer function.
    I assume it is not possible to update the document list out of a BADI in that way.
    Does anyone has some hints?
    Kind regards,
    Matthias Fischer

    Hi Khaled,
    There is an standard RFC RFC_READ_TABLE which can read any table in R/3. But the data returned will be unformatted hence you need to parse it. This FM has few limitations aswell.
    RFC_READ_TABLE is an RFC that allows users to read a table remotely. This is important particularly to Java developers using JCO to communicate with an ABAP back-end. Unfortunately, RFC_READ_TABLE has size limitations; it also incorrectly reads binary data. Also no authorization checking takes place.
    Also refer the link below
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/portal-content/simplified queries of sap tables from java
    hope this helps..
    Regards
    Anand
    Message was edited by: Anand Torgal

Maybe you are looking for