About DIR and original file correlative table?

Hello,
I want to retieve  documents' origial files in batches  whether check in kpro or not from correlative table(DRAW,DMS_PH_CD1,DMS_DOC2LOIO,DMS_PHIO2FILE,DMS_DOC_FILES,DMS_PHF_CD1,etc.),
but I didn't wholely understand the relation about document tables.how to know that original file 's statu is check in or check out or initial.
please help me.
thank you.
best regards.
pangyanting.

Hi,
you can use the Report: DMS_KPRO_CHECK1
Or built your own report by using the function module CV120_KPRO_MASTER_DATA. Check the field protected in the return table ptx_data.
There are also ways to get what you want via function module SDOK_PHIO_PROPERTIES_GET.
BAPI are also available see SAP documentation in [note 766277|https://service.sap.com/sap/support/notes/766277].
regards,
Steffen

Similar Messages

  • Once more about "black" and "white" file lists.

    Hello everyone!
    I've got a task to find all unauthorized  executables on all workstations in domain. The good point is that workstations are identical to each other (both hard and soft), bad point is that I have to find the existence of this files on HDDs, not their
    launches. And I have to use SCCM 2012 SP1 for reporting as well. That's why I cannot use the AppLocker.
    Well, what I've decided to do is to take one of workstations as the sample (SW - sample workstation). All updates, patches, etc. are provided at SW first, then are spread on whole domain. All .exe (and another file masks) on SW are presumed as "white",
    all others on workstations are presumed as "black" ones.What I need now is to compare white-list from SW with file list from every computer in collection.
    There already exists almost ready-to-use report that I need, but it has to be modified. Unfortunately, my knowledge of MS SQL is somewhere below zero (maybe absolute zero, -274C :) ). Thats,s why I'm asking for help. I've tried to find some articles about
    creating or modifying reports, but most of them are the same: "Open Report Builder, now copy and paste there the sample query from below. Wonder what a pretty report  you've got!"
    The report is "Compare software inventory on two computers". What modifications do I need:
    - Compare not "Computer name - Computer name" but "Computer name - Select a collection"
    - Exclude files from white-list (from SW) from report.
    - Exclude size, version and time check - only existence and (maybe) the difference in path..
    - Group by machine name.
    Maybe instead of ready query you can advice me some good article like "Composing reports in Report Builder for absolute newbies", I'll appreciate it very much as well.
    Thank you for your time.
    Sincerely, Alexey

    Hello, Daniel!
    Thank you very much for your answer it was really helpful.
    I really would like to delegate this report to programmers department but the problem is that they know nothing about SCCM, so I should explain to them what is SCCM, what is 'device collection' and all other things. Moreover, I've managed to find the list
    of functions for SCCM 2012, but I didn't find the list of SQL views for it, found only for SCCM 2007 and I'm not sure that it will suit for 2012.
    Well, I'm not too old yet to start learning something new :) , so I'll try to deal with this report myself.
    Thank you again for your help.
    Sincerely, Alexey.

  • About "Upload and download files from ADF into blob type colum."

    hi
    Using JDeveloper 10.1.3.3.0 I have tried the example available for download from this blog post by Jakub Pawlowski:
    "Upload and download files from ADF into blob type colum."
    at http://kuba.zilp.pl/?id=1
    First a thank you to Jakub for this interesting example.
    I have a question about a PDF file that I uploaded using the example.
    The file has a size of 10445518 bytes.
    After I upload that file, the blob column has a value with a size of 10445516 bytes, 2 bytes less.
    SQL> select file_name, dbms_lob.getlength(stored_file) from blob_table;
    FILE_NAME
    DBMS_LOB.GETLENGTH(STORED_FILE)
    ADF-DeveloperGuide-4GL-B25947_01.pdf
                           10445516If I download that file using the example, it has the same size as the blob value, 10445516 bytes.
    If I open the downloaded file, using Adobe Reader 8.1.1, it first shows this message:
    "The file is damaged but is being repaired."
    After that, there is not problem using the PDF file in Adobe Reader.
    I have tried this with both Internet Explorer 6 and Firefox 2.0.0.11.
    I have also tried this with other (smaller) files, and those upload and download correctly.
    question:
    Why are those 2 bytes lost during upload?
    many thanks
    Jan Vervecken

    Hi!
    I can only post you my code that works for me and as I said I had same problems but can't remember what solved them. My code:
      public void fileUploaded(ValueChangeEvent event)
        FacesContext fc = FacesContext.getCurrentInstance();
        UploadedFile file = (UploadedFile) event.getNewValue();
        if (file != null && file.getLength() > 0)
          // here I have some messages written and a call to the method on AM to save the uploaded file to the DB
      private BlobDomain newBlobDomainForInputStream(InputStream in)
        throws SQLException, IOException
        BlobDomain loBlob = new BlobDomain();
        OutputStream out = loBlob.getBinaryOutputStream();
        writeInputStreamToWriter(in, out);
        in.close();
        out.close();
        return loBlob;
      private static void writeInputStreamToWriter(InputStream in,
                                                   OutputStream out)
        throws IOException
        byte[] buffer = new byte[8192];
        int charsRead = 0;
        while ((charsRead = in.read(buffer, 0, 8192)) != -1)
          out.write(buffer, 0, charsRead);
       * Launch the upload - see fileUploaded() for actual upload handling.
       * @return null navigation event - we stay on this page
      public String UploadButton_action()
        if (this.getMyInputFile().getValue() == null)
          FacesContext context = FacesContext.getCurrentInstance();
          FacesMessage message =
            new FacesMessage(FacesMessage.SEVERITY_WARN, JSFUtils.getStringFromBundle("fileupload.emptyfielderror"),
                             null);
          context.addMessage(this.getMyInputFile().getId(), message);
        return null;
       * Setter for inputFile UI Component.
       * @param inputFile inputFile UI component
      public void setMyInputFile(CoreInputFile inputFile)
        this.myInputFile = inputFile;
       * Getter for inputFile UI Component.
       * @return inputFile UI component
      public CoreInputFile getMyInputFile()
        return myInputFile;
      }fileUploaded is a valueChangeListener on inputFile and UploadButton_action is as the name says the action for upload button.
    Hope this helps. If not, than your problem is probably not the same as mine was, although the message about file corrupted was the same.
    Next thing you can check in this case is if your file exceeds max file upload size. I don't know the exact default value, but if the file is too long I think this upload logic will upload only a part of the file and save it to the DB which can also lead to the same file corrupted error.
    You can set the max upload value in web.xml like this:
    <context-param>
    <!-- Maximum memory per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_MEMORY</param-name>
    <!-- Use 5000K -->
    <param-value>5120000</param-value>
    </context-param>
    <context-param>
    <!-- Maximum disk space per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_DISK_SPACE</param-name>
    <!-- Use 10,000K -->
    <param-value>15360000</param-value>
    </context-param>

  • ITunes match and original files

    i have a large music collection stored on my server. i've have carefully tagged an organized the music with album art.
    will iTunes Match make any changes to my original files on the server that holds the master library or will my original files be left on the server unaltered?

    Because you have deleted the files from the Finder and not in iTunes. Never, ever do this. Always delete tracks from within iTunes.
    To be able to stream the song from the cloud delete the "track" from the iTunes library but not from the cloud.

  • Question about webservice and wsdl file

    Hi All.
    I have this scenario , the customer wants to send some information as they happen
    The customer wants to use a web service to our database(JDBC)
    I understand that from this requirement , I have to develop the Object in PI , and create the wsdl file to send it to the customer , this wsdl file will have the URL and other information for the consuming of the webservice.
    Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
    but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
    My question is it possible to create a scenario based on the cunstomer wsdl file eventhough the customer is the sender .
    if so what and how the URL will be.
    Thanks.

    Malu Mader wrote:
    > Now the weired thing is the customer insists that we should use their wsdl file , I am confused about this , I understand that when the customer send their wsdl file , it is because they will act as a receiver to our request , right ?
    > but if they want to act as sender , then the wsdl file should be sent from PI side based on the configuration.
    refer Walkthrough - SOAP  XI  RFC/BAPI
    your URL will be;
    The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel

  • Question about classpath and jar file

    I have a jar file (actually jhall.jar, the java help jar file). How do I uses its classes if I don't want to add it to the classpath. Currently, I have the jar file in the same directory as all my other classes.

    it simply adds secondjar.jar into firstjar.jar, rather
    than extracting secondjar.jar's files and put it into
    firstjar.jar. How would I be able to do that?Don't do either of them. Distribute the two jar files separately, and in the manifest of the one which is meant to be your executable jar file, put a Class-Path: entry that refers to the other one. Look at the latter parts of the tutorial about jar files:
    http://java.sun.com/docs/books/tutorial/jar/basics/
    PC&#178;

  • Export and Import Files in Table in JDeveloper11g

    Hi Every body,
    I have to make a functionality in my project like Export any af:table data in Different file format like XML,*CSV*,*XLS*,*TXT*. and also Import these files in to af:Table. Can anybody suggest me, What to do? How can i do this? Is there any sample example to achieve this?
    Thanks,
    Fizzz...

    Hi John,
    This is a really good component to export table data in Excel file on one click. Thank you very much.
    Now i'am looking for Upload excel to table and with other file format too like XML,CSV and TXT.
    thanks john
    fizzz...

  • Alias created with both dragged AND ORIGINAL file

    I was attempting to back up some files today and I dragged a folder to the "untitled CD" icon on my desktop. When all of the files in that particular folder would not fit on the CD-R, I dragged two of the files to the desktop. I burned the CD and then put in a new one for the remaining two files. When I attempted to drag the two files on the desktop to the untitled CD icon, they wouldn't copy to the untitled CD and then when I tried to open them, the message said they were aliases. So I then went back to my original copy of those files and they had become ALIASES TOO!!! I called support services and they told me there was nothing they could do. This has never happened to me before has this ever happened to anyone else?
    Thanks

    I was attempting to back up some files today and I dragged a folder to the "untitled CD" icon on my desktop. When all of the files in that particular folder would not fit on the CD-R, I dragged two of the files to the desktop. I burned the CD and then put in a new one for the remaining two files. When I attempted to drag the two files on the desktop to the untitled CD icon, they wouldn't copy to the untitled CD and then when I tried to open them, the message said they were aliases. So I then went back to my original copy of those files and they had become ALIASES TOO!!! I called support services and they told me there was nothing they could do. This has never happened to me before has this ever happened to anyone else?
    Thanks

  • Question about printing and sorting files

    What I'm trying to do is read in a file of names (about a thousand) sort them using a sort alorithim then print out the sorted file of names, as well a separate chart with the number of compares and swaps . My Sort class has different sorting algorithims, like insertion, bubble etc. Everything I have now works fine. But the way its set up now I have to pick one algorithim at a time, then it sorts then prints the results like this:
    Bubble Sort
    Compares : 2016
    Swaps : 1052.
    Now if I want to choose anothert algorithim, I'll have to manualy do that then run Main again then apend the results to the output file. But I would like run Main once opening the file that needs to be sorted then run one algorithim, calc the results, then do that again for another algorithim calc the results, then when I'm finished with all the algorithims, print all the results at once to the output chart. This so the output will look better, and the user won't have repeatedly run the program to see and compare the results.
    Is this even possible, and if so, any ideas how?
    This is the main console, which put the names in a array list, then sorts
    them
    public class SortyFile {
         public static void main(String[] args) throws IOException{
               BufferedReader r = new BufferedReader(new FileReader("C:/Documents and Settings/Cougar/" +
                   "Desktop/names.txt"));
               PrintWriter Output_Chart
                    = new PrintWriter(new BufferedWriter(new FileWriter("C:/Documents and Settings/Cougar/" +
                      "Desktop/Output Chart2.txt" , true)));
               PrintWriter Output_Sorted_File
                    = new PrintWriter(new BufferedWriter(new FileWriter("C:/Documents and Settings/Cougar/" +
                           "Desktop/Sorted File2.txt")));
               ArrayList a = new ArrayList();
               String line = null;
               while ((line = r.readLine()) != null)
                    a.add(line);
                    Sort.bubbleSort(a);
                  Output_Chart.println("");
                  Output_Chart.println(Sort.algoname);
                  Output_Chart.println("");
                  Output_Chart.println("Compares :" + "   " + Sort.compares);
                  Output_Chart.println("Swaps :" + "      "  + Sort.swaps);
                  Output_Chart.println("");
                  for (int i=0; i<a.size(); i++){
                       Output_Sorted_File.println(a.get(i));
                       System.out.println(a.get(i));
               Output_Chart.close();
               Output_Sorted_File.close();
    This is the class with different sorting algorithims, the variable algoname is use for printing the header on the output chart.
    public class Sort {
        static int swaps = 0;
        static int compares = 0;
        static String algoname;  // name for the algorithim
        public static void swap(List data, int least, int i) {
              Object tmp = data.get(least);
              data.set(least, data.get(i));
              data.set(i, tmp);
         public static void bubbleSort(List data)
            for (int i = 0; i < data.size(); i++)
                for(int j = i+1; j < data.size(); j++)
                    Comparable current = (Comparable) data.get(j);
                    Comparable previous = (Comparable) data.get(i);
                    compares++;
                    if (current.compareTo(previous) < 0)
                        data.set(j, previous);
                        data.set(i, current);
                        swaps++;
            algoname = "Bubble Sort"; 
          public static void selectionSort (List data)
               int i,j, least;
               final int size = data.size();
               for (i = 0; i < size - 1; i++)
                  for (j = i+1, least = i; j < size; j++)
                       compares++;     
                 if (((((Comparable) (data.get(j))).compareTo(data.get(least)))) < 0)
                      least = j;
                      swap(data,least,i);
                      swaps++;
               algoname = "Selection Sort";
          public static void insertionSort (List data)
                 Comparable tmp;
              int i, j;
                 for(i = 1; i < data.size(); i++)
                      tmp =  (Comparable)data.get(i);
                       for(j = i; (j > 0) && (tmp.compareTo(data.get(j - 1)) < 0) ; j--){
                       compares++;
                       data.set(j, data.get(j - 1))  ;
                       data.set(j, tmp)  ;
                      swaps++;
                 algoname = "Insertion Sort";
    }

    Maybe Im misunderstanding your question, but couldnt
    you just run the bubbleSort() method, then the
    insertionSort() method, and so on? You would do this
    in your main method.Yeah I tried that but for odd reason I get this for the results
    Bubble Sort
    Compares : 2016
    Swaps : 1052
    Selection Sort
    Compares : 2016
    Swaps : 1052
    The results for both algorthims are exactly the same.

  • Question about upgrade and original iPhone

    There might be other thread already, but have a question about upgrade to 3G.
    I have the original iPhone and have upgraded to iPhone 3G.
    The question is whether I can use the original iPhone indefinitely.
    People at Apple store was telling me I can use the original iPhone (without the phone functionality) as long as I don't restore the firmware.
    Is this true? What happens if Apple releases firmware in the future? Would this mean that I can only use this as long as machine doesn't require restore? I wanted to give it to one of my family members so she can use it as iPod so any info would be helpful ....

    My understanding is the same as the Apple Store Employee.
    If you try to update the software on an iphone with no service, I believe that it will be rendered useless.
    It may be possible to swap the SIM card for software upgrades, etc., not sure.

  • About Forms and Help Files

    Hi to all
    I use Oracle Forms Builder 10g.
    Support this version a system help based on chm files ?
    Thank You and Best Regards
    Gaetano

    See
    http://ourworld.compuserve.com/homepages/Peter_Koletzke/tip.htm#formhelp

  • Help needed about HTTPS and policy files !!

    Hi everyone,
    my Web Start application crashes with a SSLPeerUnverifiedException when I
    try to connect to the server with HTTPClient :
    // proxy settings
    HTTPConnection.setProxyServer(ipProxy, portProxy);
    // connection
    HTTPConnection con = new HTTPConnection("https", serverName, -1);
    // Post (then there is a SSLPeerUnverifiedException....)
    HTTPResponse rsp = con.Post("/myurl.jsp, toSend, ct_hdr);
    My application runs in a secure environnement configured by the javaws.policy :
    grant codeBase "file:${jnlpx.home}/javaws.jar" {
    permission java.security.AllPermission;
    and the ${user.home}.java.policy (shared by another application, an applet I think) :
    keystore "file:${user.home}/xxxxxxxxxxxxxxxxxxxxx.p7c";
    grant codebase "https://xxxxxxxxxxxxxxx/-" signedby "xxxxxxxxxx" {
    permission java.lang.RuntimePermission "usePolicy";
    permission java.lang.RuntimePermission "accessDeclaredMembers";
    permission java.lang.RuntimePermission "setIO";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "stopThread";
    permission java.lang.RuntimePermission "accessClassInPackage.sun.security.provider";
    permission java.lang.RuntimePermission "loadLibrary.*";
    permission java.security.SecurityPermission "insertProvider.SUN";
    permission java.security.SecurityPermission "insertProvider.JCRYPTO";
    permission java.security.SecurityPermission "insertProvider.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "putProviderProperty.JCRYPTO";
    permission java.security.SecurityPermission "putProviderProperty.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "removeProviderProperty.JCRYPTO";
    permission java.security.SecurityPermission "removeProvider.JCRYPTO";
    permission java.security.SecurityPermission "removeProvider.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "removeProvider.SUN";
    permission java.util.PropertyPermission "*", "read,write";
    permission java.io.FilePermission "<<ALL FILES>>", "write,read,delete";
    permission java.net.NetPermission "specifyStreamHandler";
    permission java.net.SocketPermission "localhost:1024-", "listen";
    permission java.net.SocketPermission "*", "connect,accept,listen,resolve";
    permission java.awt.AWTPermission "accessClipboard";
    permission java.lang.RuntimePermission "queuePrintJob";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
    grant codebase "file:/myApplication/-" {
    permission java.security.AllPermission;
    In this file (.java.policy) when I replace "codebase "https://xxxxxxxxxxxxxxx/-""
    by "codebase "http://xxxxxxxxxxxxxxx/-"" everything works fine !! It's very very
    very very strange...
    my application is launched by Web Start 1.2 and use JRE 1.4.1
    Any ideas ? Please, I become crazy...

    In this file (.java.policy) when I replace "codebase
    "https://xxxxxxxxxxxxxxx/-""
    by "codebase "http://xxxxxxxxxxxxxxx/-"" everything
    works fine !! I am not so sure that a code source cares for whether the resource is downloaded with s-http or normal http. Is the distinction important for the policy file?
    You could go digging in the RFC that describes what a URL is (because that is what the code source is).
    Also you could switch on a nice flag in you server environment that output information if security things go wrong: -Djava.security.debug=failure
    In the output you should see from where your code is loaded. If it says http and not https, then that is what should appear in your policy file.

  • When I look at my I tunes library on the computer I have a exclamation point next to a bunch of my songs and apps when I click on them it says that the original file couldnt be found. How do I go about finding out where the original file is and correct th

    when I look at my I tunes library on my computer I have an exclamation point next to some of the songs and apps. when I click on this it tells me the original file couldnt be found.  How do I go about finding the original file to correct this?

    See this article: iTunes: Finding lost media and downloads
    B-rock

  • Original file missing after sync-ing folder with PS edit versions

    Here's an oddly specific and challenging problem for you, I bet you can't figure it out (I'm trying to pluck your competitive strings).
    I just noticed that some of my photos are missing from the library in lightroom, specifically the original versions of photos that have virtual copies edited in photoshop in folders that have since been synchronized.  Weird, and very anoying.  The files are still there (in wondows explorer) but when I try to re-import them lightroom doesn't see them, only the PS edited copies (.tif files).  I told lightroom to allow duplicates and it sees all the photos in the folder except those missing ones.  This does not happen to my PS edited virtual copies in folders that have not been synchronized.  It is not a matter of stacking, or at least Lightroom does not think the PS copies are stacked at all so I can't unstack them.  This is really annoying and I'm hoping someone can help me get them back into lightroom (preferably with the accompanying development settings) and also how to avoid this problem in the future.  If you need any further details or screenshots let me know
    PS: I import files from my camcorder using a different program because lightroom does not acknowledge that particular video file format.  That's why I have to synchronize some folders and not others.

    The first group are from one of the synchronized folders so only the PS copy shows up in lightroom.  The second group are from a folder than hasn't been synchronized so the PS and original files both show up in lightroom.

  • Macs and aiff files not recognised by older hi fi.?

    I have burnt audio cds using external burner(itunes 8).They are on the cd as it plays in the mac but will not play on our cd player.Iread something online about macs and aiff files not recognised by older hi fi.
    http://en.wikipedia.org/wiki/AudioInterchange_FileFormat
    any help please

    Several possible issues.
    1) Did you burn the CD as an audio format CD or did you just burn AIFF files to a CD as a data CD? CD players require an audio format CD, not just AIFF files burned to a CD as AIFF files.
    2) Older CD players can have problems reading burned CDs. Sometimes using a different brand CD, a longer burn time (slower burn speed) can help, but sometimes you just have to buy a newer player. CD-RW can present big problems unless it is specified as supported.

Maybe you are looking for

  • Backup or Export workspace images

    Hi, I use APEX 4 and embedded PLSSQL gateway. I need to daily export all the images of my workspaces (image are in the database) into a folder or a compressed file. I know how to do this manually using the APEX interface, but I want build a script th

  • Text layout problem

    I apologize for the plethora of stupid questions I am about to ask - I am brand new to dreamweaver and atempting to design a very simple website layout for myself. My most glaring problem is this: I wish for text to be in the centre of the webpage an

  • No jpg option in Photoshop cs4 to save pictures

    I cannot save pictures in jpg anymore in Photoshop cs4. I work with raw images and save them first in tiff, then in jpg normally. But this option does not show anymore on the list to "save as". Can anyone help??? Marie

  • How i USe face time?

    How i USe face time? But i dont have friends to try...how i fond friends for face time

  • Battery stopping bootup

    I have a 15.4" MBP 2.2 which has been fine since i got it (besides a display issue) and now suddenly i cannot boot up my MacBook Pro without removing my battery and connecting the power. Is there any reason behind this? One of the things to note is i