Requied Size of the DMS document

Dear all,
How to fetch the size of the DMS document.
We have attached some documents in DMS for particular document type which we have created.
How to find the size of that file based each DMS control number?
is they any table or function module for this.
Regards,

Hi
I hope this thread might help you to get the [file size|DMS - how to get file size of originals;
Regards
Pavan

Similar Messages

  • How Can I Determine the Size of the 'My Documents' Folder for every user on a local machine using VBScript?

    Hello,
    I am at my wits end into this. Either I am doing it the wrong way or it is not possible.
    Let me explain. I need a vb script for the following scenario:
    1. The script is to run on multiple Windows 7 machines (32-Bit & 64-Bit alike).
    2. These are shared workstation i.e. different users login to these machines from time to time.
    3. The objective of this script is to traverse through each User Profile folder and get the size of the 'My Documents' folder within each User Profile folder. This information is to be written to a
    .CSV file located at C:\Temp directory on the machine.
    4. This script would be pushed to all workstations from SCCM. It would be configured to execute with
    System Rights
    I tried the script detailed at:
    http://blogs.technet.com/b/heyscriptingguy/archive/2005/03/31/how-can-i-determine-the-size-of-the-my-documents-folder.aspx 
    Const MY_DOCUMENTS = &H5&
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace(MY_DOCUMENTS)
    Set objFolderItem = objFolder.Self
    strPath = objFolderItem.Path
    Set objFolder = objFSO.GetFolder(strPath)
    Wscript.Echo objFolder.Size
    The Wscript.Echo objFolder.Size command in the script at the above mentioned link returned the value as
    '0' (zero) for the current logged on user. Although the actual size was like 30 MB or so.
    I then tried the script at:
    http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_27869829.html
    This script returns the correct value but only for the current logged-on user.
    Const blnShowErrors = False
    ' Set up filesystem object for usage
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("WScript.Shell")
    ' Display desired folder sizes
    Wscript.Echo "MyDocuments : " & FormatSize(FindFiles(objFSO.GetFolder(objShell.SpecialFolders("MyDocuments"))))
    ' Recursively tally the size of all files under a folder
    ' Protect against folders or files that are not accessible
    Function FindFiles(objFolder)
    On Error Resume Next
    ' List files
    For Each objFile In objFolder.Files
    On Error Resume Next
    If Err.Number <> 0 Then ShowError "FindFiles:01", objFolder.Path
    On Error Resume Next
    FindFiles = FindFiles + objFile.Size
    If Err.Number <> 0 Then ShowError "FindFiles:02", objFile.Path
    Next
    If Err.Number = 0 Then
    ' Recursively drill down into subfolder
    For Each objSubFolder In objFolder.SubFolders
    On Error Resume Next
    If Err.Number <> 0 Then ShowError "FindFiles:04", objFolder.Path
    FindFiles = FindFiles + FindFiles(objSubFolder)
    If Err.Number <> 0 Then ShowError "FindFiles:05", objSubFolder.Path
    Next
    Else
    ShowError "FindFiles:03", objFolder.Path
    End If
    End Function
    ' Function to format a number into typical size scales
    Function FormatSize(iSize)
    aLabel = Array("bytes", "KB", "MB", "GB", "TB")
    For i = 0 to 4
    If iSize > 1024 Then iSize = iSize / 1024 Else Exit For End If
    Next
    FormatSize = Round(iSize, 2) & " " & aLabel(i)
    End Function
    Sub ShowError(strLocation, strMessage)
    If blnShowErrors Then
    WScript.StdErr.WriteLine "==> ERROR at [" & strLocation & "]"
    WScript.StdErr.WriteLine " Number:[" & Err.Number & "], Source:[" & Err.Source & "], Desc:[" & Err.Description & "]"
    WScript.StdErr.WriteLine " " & strMessage
    Err.Clear
    End If
    End Sub
    The only part pending, is to achieve this for the 'My Documents' folder within each User Profile folder.
    Is this possible?
    Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • How to see the DMS document number in PO / PR?

    Dear experts,
    I am using DMS. I have created a document in DMS and I have linked it to the PR & PO line items. Till it is fine.
    But I am not able to find out this document in PR / PO. Can some one help me how can I find the document number in PR / PO??
    Thanks in advance.
    Regards,
    Praveen

    In the ME23N screen , there is icon which likes a pin on paper between the Item over screen and the Item screen . If you click this icon , a new window with all the DMS documents linked to the PO would appear.
    This is in the same line of the delete , lock , copy etc ..sequence .
    -Hari.

  • When converting a document on Pages to PDF, is there a way to shrink the size of the PDF document?

    When converting a document on Pages to PDF, is there a way to shrink the size of the PDF document?

    When exporting you are given 3 options:
    Good, Better, Best
    But I am guessing you are asking something else, just haven't said so.
    Peter

  • To Limiting the size of the attached document in a "Purchase order"

    Does anyone knows how to limit the size of the document indexing in an "Purchase order"?
    Let me explain:
    By the tcode me23n I can create an annex to attach a file to the Purchase order,
    right now there is no limitation on the size of it,
    is there any way to limit that someone attach a giant file to a purchase order and leave me the Database trembling?
    thanks in advance.

    No cross posting
    Read the "Rules of Engagement"

  • Different Page Sizes within the same document - Printing

    I am having trouble printing a document which contains pages of different sizes (using Adobe Professional 7.0):
    i.e. The first 10 pages are 8.5" x 11", the next few pages are 11" x 17" and the last few pages are 8.5" x 11"
    The printer only spits everything out as 8.5" x 11" and the larger sheets are just cut off.
    In the "Print" menu that comes up when you hit FILE->PRINT it suggests that everything is alright... I can scroll through the small "page preview" and it shows some pages 8.5x11 and some pages 11x17... but when it actually prints, it doesn't do that. Is it the printer that is the problem perhaps?
    (The printer is a Lexmark x945e)
    Any insight would be greatly appreciated.
    ~Paul

    If the goal is to make a flap, then you can do this in InDesign. A spread can be any contiguous number of pages, so if your document is generally speaking double-page spreads, you can have a single spread that is composed of three contiguous pages.
    To do this, in the Pages palette, select a double-page spread you want to expand. Go to the flyout menu and deselect "Allow selected spread to shuffle." Then drag new page to the left of the left page or to the right of the right page (depending on where your flap is).
    Then you're all set.
    Here's a screenshot of the Pages panel:
    In this case, I've created a flap to the right of page 3 (numbered page a) and its reverse to the left of page 4 (numbered page b).

  • Parsing with DOM results in file Size of the resultant Document(Urgent ....

    hai
    1.Iam parsing xml file to Dom document using DOM
    2.I have inserted element into the document.
    3.and rebuild the file with that document with TransformerFactory
    4.It results in reduce of file size.
    please help me with some guidance.............
    thanks in advance

    Some XML outputters do not write out return characters or tabs for new nodes. If your input contained these things, that could explain why the file shrank. I would check the data and see if it is all there. Other than that, don't worry about it.

  • Having the PDF in the same Zoom size as the word document

    I converted a word document into PDF with "Save as" option. My Word document was saved in 120% zoom and I want my PDF file to open in the same zoom size. Can you please help me with this issue?

    Zoom isn't a save setting. It's a display preference in Reader. You change it two places.

  • It´s possible to make different page sizes in the same document?

    hi there familiy,
    I´m just learning InDesign (wich it´s fantastic) on line, and i ´d like to know how is possible to change 1 or few pages inside one document o make a flap (for example)? . But I want them to continue facing, to control de design. I know i could do it in different documents, and then mounted in pdf o whatever, but i supossed it´s possible...
    Any help?, thanks in advance, sorry for my english, i´m learnig also!,
    cheers,
    nando

    If the goal is to make a flap, then you can do this in InDesign. A spread can be any contiguous number of pages, so if your document is generally speaking double-page spreads, you can have a single spread that is composed of three contiguous pages.
    To do this, in the Pages palette, select a double-page spread you want to expand. Go to the flyout menu and deselect "Allow selected spread to shuffle." Then drag new page to the left of the left page or to the right of the right page (depending on where your flap is).
    Then you're all set.
    Here's a screenshot of the Pages panel:
    In this case, I've created a flap to the right of page 3 (numbered page a) and its reverse to the left of page 4 (numbered page b).

  • I am unable to attach scanned documents or Pictures to eamils. The size of the scanned documents and the pictures are well below the 20MB limit. I can connect Exl and Word documents with not problem

    When trying to attach a scanned document or picture to and email, the process goes not forever and there is no end, it just keeps working and tries to attache these documents/pictures. In the lower left hand corner of the screen it says "waiting for mail. yahoo. com"

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • Required size of  the document

    Dear all,
    How to fetch the size of the DMS document.
    We have attached some documents in DMS for particular document type which we have created.
    How to find the size of that file based each DMS?
    is they any table or function module for this.
    Regards,

    In the input table 'OBJECT_FILEPROPERTIES',fill the fields 'CLASS' and 'OBJID' of the originals.On  execution, the result shall display the files ize of the required originals.
    To get the 'Class' and 'ObjID' of the originals, execute the FM 'BAPI_DOCUMENT_GETDETAIL2' by giving the Document number, type, part and version details.
    The table 'Document Files' gives all the details of the originals, from which you can get the 'File_ID' which refers to 'OBJID'.In the table 'DMS_PH_CD1', you can search for the 'Class' of the original by giving 'PHIO_ID' as the 'OBJID' value.
    Regards,
    Pradeepkumar Haragoldavar

  • Archiving DMS documents (DIR) into the content server

    Hi Gurus
    Please tell me the basic configuration for archiving the DMS documents. it is asking me to maintain the following table entries (TOAOM, TOAAR, TOACO and TOADV).
    the requirement is to archive the DIR in to content repository and the procedure how to retrive it
    Jai

    Dear Jai,
    to set up a Content Server please remember the following steps:
    1) Content Server sizing with the hardware specification - Functional Consultant.
    Content server sizing has to be done by functional consultant based on clients requirement related to different application files and their sizes for approx 1 year and based on this it has to be estimated to next 5 years if requried.
    2) Preparing the Server - Basis
    the content server sizing done based on inputs has to be given to basis for checking the hardware specification,server size and also the platform on which content server will be installed (Unix,Windows etc).
    3) Creating Content Repositories - Functional Consultant with information of the server details from the Basis guy.
    once content server is installed, it has to be configured by creating content repositories and categories by functional consultant with the help of Basis.
    4) Creating Storage Category: Functional Consultant.
    must be done by functional consultant with the help of Basis.
    5) Configuring KPRO - Functional Consultant.
    once content server is up, KPRO functionality also will start working but to direct files to content server instead of Sap Database, configuration in backend has to be done by Functional Consultant.
    Best regards,
    Christoph

  • Pages 09 document files are 4 x the size of the same doc saved in Word?

    I noticed that if I save a document in Pages 09 native format, it is about 4 times the size as the same document saved as a Word document. None of the documents that I'm working on have graphics, fancy backgrounds or mixed fonts. They are simple one page business letters.
    Any thoughts on this a greatly appreciated.
    Bud James

    I have had concerns about this very same issue. I noticed that a 1 page document of plain text in Pages 09 took up 128KB of space, whereas if I saved the same document to Word 2004 it was 24KB. However it is in fact true that the larger the document the more efficient it is. A 2 page text document in Pages 09 was 168KB. If I add my 1 page document to the end of my 2 page document, the total size of the new document in Pages 09 is 200KB.
    Here's the kicker: I had a 32-page Word 2004 document (plain text) that occupied 220KB of disk space. When I opened it in Pages and saved it as a Pages 09 doc, it was 160KB, which obviously is smaller than the Word doc, but also is smaller than the 2 page document I created with Pages 09! Obviously Pages is more efficient than Word with large documents, but a lot less efficient with small documents.
    The problem is, many of us write a lot of small documents-- notes, letters, etc. I am concerned that my laptop's hard disk space (only 120 GB total) will get used up a lot quicker with Pages than with Word. This makes me very reluctant to use Pages on a regular basis.
    (I can anticipate the response: Get a big hard drive and quit complaining! But still...).

  • Beginner question about the size of the documents and fonts

    I have worked with dps a couple of years now and now that Adobe removes Single Edition I have to look at other tools. EPUB3 fixed layout appears to be an alternative solution.
    I've been reading up on the web and checked on Lynda courses, but there is one thing I wonder about.
    How should I think about the size of the InDesign document and the size of the body text when I create a EPUB3 with fixed-layout?
    Regards
    Ake

    A couple things to keep in mind with EPUB3 Fixed Layout:
    Unlike EPUB reflowable, FXL doesn't change size. You'll need to optimize your InDesign layout for the device most likely to view it—for example, an iPad, since it's the dominant device.
    Like with DPS, you'll need to pick a font size larger than you'd use for print.
    As with DPS, it's very important to do some tests on your target device to optimize both dimensions and font size.
    Final Note: If you're in North America, this is a good time to  buy an iPad since there are a lot of Black Friday sales coming up!

  • DMS document output in SOP report

    Hi all,
    I want to OUTPUT a DMS document in SOP Report template. But it is not reflecting in my SOP report  though I have fullfilled the prerequisites.Here are my steps that i carried out
    1)  I have linked the DMS doc. in a value assignment in user defined text.
    2) The DMS document type is SBV.
    3) The required document indicator tick is alos ensured in specify user defined text types in BASIC DATA & TOOLS in customizing.
    3)It is also ensured that the EHS <> DMS doc types are linked in customizing.
    4) I put the symbol in wwi report template under GESTDHEADE HEADER User-defined text .
    But when I run the preview (cg42) the space where I have assigned the symbol is blank.
    I even tried to put my required data in Long text in user defined text tab assigning REMARKS as user defined text type but there is no output in  REPORT when i carry out preview.
    Requesting your  comment what shall be the cause of this .
    Regards,
    Ashish pradhan

    Hello all
    the document type SBV should not be used or used only carefully regarding this. I recommend to use a customer specific document type. SBV is related to WWI report templates. Furthermore make sure that generation variant fits usage of data record in which you have set up the document which is located in the user defined text (Active indicator of usage must be set). I know cases in the area of access problemes so that the WWI could not retrieve the user defined document. PLease make sure that you have "checked" WWI layout without error (WWI Check).
    PLease check this:
    if you have uploaded e.g. an rtf file and created a value assignment and you have uploaded the document to be stored in the user defined text than the document is "there". That means: in this process the SAP EH&S process generate a new unique id which should show up in the user defined text (there somthing like this should show up: SBV WWI 0000111223 numbers...)
    Using this unique ID you can check if the document is really in DMS available. Furthermore depending on the EH&S release (support package etc.) you could check this. If you "click" with the mouse key on the unique id (refer above) the SAP EH&S system should upload directly to your client computer the document and start immediatly the corresponding application (e.g. word etc.) . In doing so you can check if the document is "really" there
    May be you need to check further DMS customizing. E.g. depending on the document you have used in upload there is a missing link to the "type" of document. .E.g. the EXCEL macro regarding standard SAP output variant links to I believe a seperate document type
    Hope that helps
    With best regards
    CB

Maybe you are looking for

  • Sy-ucomm value for print preview

    Hi friends, Can any one tell me the sy-ucomm value for the print preview..?

  • Why static is used before any function in java

    Sir/Madem I'm new in java. I have just started learning java. please tell me "why static is used before any function in java??????" I have searched on net and in soime bokks .But i was unable toget it. what is exact reson of using static in java.

  • Uploading of vk11 (pricing condition) transaction

    Hi friends, I have to upload data from legacy system to SAP using VK11 tcode , can use  LSMW for VK11 transaction ? . I have to use batch input standard program.... when we open VK11 tranaction first its  asking for condition type ( KSCHL ) for each

  • Problems with layers that never happened before

    ok so .. 1 photo. i open it.. shows up as "layer 0" i'm cool with that i get to do whatever i please. done editing and save as with different name so as to not replace original image, k? k. now today i open that original image (not the edited photo,

  • How to backup data?

    How will i back up my data using nokia suite? Moderator's note: This post was edited. Provided a concern-related title.