Calculate size of attachments FI documents

Dear all,
I need to calculate the size of attachments FI documents. Can I calculate the weight of the attachments in BD? What table stored? And the most important: is there a formula or mechanism to calculate how the base will grow in the future according to documents containing attach?
Were using standard functionality SAP-DB (not external like IXOS).
Thanks!

RZL_READ_DIR_LOCAL
     Export to function the server address,
     The function returns the files.
GUI_GET_FILE_INFO
     Export to function the files (addres + file name), example: folder/file.txt
     The function returns the size
The base will grow regarding the files and the size... if you have a day average you can foresee.
If you don't have a average and the user can upload any number any time, create a program that calculate the size and sends a message (like e-mail) after the server have X megas. And you can create a job to this program to send automaticaly an alert e-mail.

Similar Messages

  • Is there a limitation on the Size of Attachments to SBO Documents?

    Hi, Experts.
    Is there a size limitation to the Attachments that you can Attatch to an SBO Document like an Activity?
    Does this depend only on the Hardware Specifications, or does SBO also limit the Size of Attachments?
    Any help would be appreciated.
    Thanks,
    Marli

    Hi Marli,
    There is no limitation on the size of attachment. Otherwise also, SBO stores only the name of the file and copies it to the attachment folder. Since, in SBO, only the name is stored, therefore the size of the attachment does not matter.
    Rahul

  • Limit the size of Attachments in Portal

    Dear Group,
    I have a question. We're on SRM 7.0 + EP. In SRM 4+5 it was possible to limit the file size for attachments. Now in SRM 7.0 is not possible in the same way. This is a huge problem as users upload big files which are then sent-out by mail to the approvers. This causes lot's of traffic and some of the attachments even exceeds the file limit for the e-mails. We could easily switch off the send-out but this not what the clients wants to have.
    I know that there is a badi around which can be implemented but I wonder if there is a customizing in SRM which can be used to limit the file size for attachments to a Shopping Cart.
    Any Idea?
    BR Jens

    Hi Krishnan,
    If you look at most of the major documents (FI line items, purchase order, invoice, delivery, etc.) there will be a little dropdown icon in the upper left corner of the screen beside the "Display Document:" title and below the execute button.
    That icon is the 'Services for Object' button. Clicking on it will display a small popup window with several options including one for creating attachment, create note, create external document, etc.
    We want to limit the file size of the attachments to 2mb.  How can we set that limit.
    thanks,
    kbas

  • Since upgrade, I can't now tell the size of attachments added to email and the attachment link from the icon doesn't work properly. How can these be addressed?

    Since the upgrade to mozilla and to windows was installed on my computer, when I use my hotmail account with mozilla, I now cannot tell the size of attachments. Previously you could see the size of attachments but now when the cursor passes over the attachment, this works on Internet explorer but not Mozilla. Also, the icon for attachments often doesn't work, nor the "send as an online document" nor the "No thanks" icon.

    The "Use custom settings for history" selection allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings.
    Firefox shows "Use custom settings for history" as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".
    "Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a checkmark.
    You need to remove the checkmark on "Always use private browsing mode" to leave Private Browsing mode or chose the "Remember History" setting.
    *https://support.mozilla.org/kb/Private+Browsing

  • 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
    ¯\_(ツ)_/¯

  • The size of a XML document stored in a XMLType table

    Is there a way to find out (via SQL) the size of a XML document stored in a XMLType table or XMLType column (storage OR based)?
    For instance in the way you could it retrieve if the XML document was stored in an XMLType column (CLOB based)
    SQL> r
    1 select dbms_lob.getlength(t.gegevens.getclobval()) "SIZE"
    2 from hgo.hgo010_detam t
    3* where rownum < 2
    SIZE
    2750

    Is there a way to find out (via SQL) the size of a XML document stored in a XMLType table or XMLType column (storage OR based)?
    For instance in the way you could it retrieve if the XML document was stored in an XMLType column (CLOB based)
    SQL> r
    1 select dbms_lob.getlength(t.gegevens.getclobval()) "SIZE"
    2 from hgo.hgo010_detam t
    3* where rownum < 2
    SIZE
    2750

  • How do I increase the font size of a large document?

    Whenever I try to increase the font size of a large document, the text boxes cross their boundaries and mix with each other, or partly disappear at the end of every page. Do I really have to adjunst every text bos in the document or is there a faster way? Im having this issue with adobe acrobat 11 pro

    This is not a feasible thing to do. Editing a PDF is a desperate last resort for so many reasons.
    Whatever you need to solve, you are unlikely  to solve it in Acrobat. Probably best to export text and remake it.

  • Possible to display overall size of attachments on the fly?

    Is it possible to display the overall size of attachments to an email while creating the email and gradually adding more attachments?

    UNBCMike wrote:
    I come from a Windows background so I assumed there would be a way to simply increase the display size of everything in one shot.  If not, what hoops will I need to jump through to have this adjusted for every application on the machine?
    OS X doesn't have a UI size increase ability like what you expect on Windows, it's been a long complaint of Mac users for ages, but Apple simply refuses to listen.
    Add your voice to theirs here
    https://www.apple.com/feedback/macosx.html
    I have a web browser solution here, the other opiton is to use a scroll wheel/head mouse and a Universal Access "control" key to press while scolling with the mouse up and down to zoom in/out where the mouse is pointed or some other trackpad etc arrangement.
    https://discussions.apple.com/docs/DOC-3281

  • Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    The quickest way is to print to a new PDF and use shrink to fit. Be sure you set the paper size in the printer properties. Normally this is not recommended, but it is a quick approach. You would loss any bookmarks and other markup with the print.

  • 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

  • How do i reduce the file size on a pdf document?

    How do i reduce the file size on a pdf document?

    The only way to reduce the size is by editing the original document to reduce its size and then converting again to PDF.

  • Is there a size limit to the document? I have been  trying to convert a pdf to excel without success

    Is there a size limit to the document? I have been  trying to convert a pdf to excel without success

    Is there a size limit to the document? I have been  trying to convert a pdf to excel without success

  • My SWF is not the same size as my Flash document size

    My SWF is not the same size as my Flash document size. How can I get it to be the same.
    Thanks

    I spent a little time trying to figure out if there's some setting anywhere that might explain this, but couldn't find anything.  That doesn't mean there isn't any--I just don't know of any.
    I'm wondering if you could take a screen shot that shows the stage size versus the swf size when it plays?  It will help to make sure the problem is what I think you have it explained it to be.
    Does this happen in all files you create or is it occuring just in one particular file?  What version of Flash are you using?  If you can make your file available maybe someone can see if the problem remains when they open it--possibly even track down some cause.  I am unable to open CS4 files (don't have it), but if it's an earlier version I can take a look.
    If you are using CS4, have you updated it to the latest release (10.0.2, I believe)?  There were numerous bugs when CS4 was released, though I don't know if this would be one of them.

  • How to calculate usage value through measuring document.

    Hi,
    While creating Sales Order with reference to a Contract i need to update the usgae value in the Order Quantity ( RV45A-KWMENG ) field (at line item level).
    Can you help me calculate usage value through measuring documents for equipment over a period of time.
    Is there any function module for the same?
    Thanks.

    Hi,
    To determine the usage value of a an equipment I had followed the following.
    From table STPO, check if the material receipted belongs to a standard BOM (STLTY='S')
    If yes, record the BOM (STLNR)  and the BOM item node number (STLKN)
    From PLMZ table, select the task list type (PLNTY), the key for task list group (PLNNR), the group counter (PLNAL), the task list node number for operation (PLNKN),   if the record is not flagged for deletion (LOEZ)
    From PLFH table, select the object type of the CIM resource (OBJTY), the object id of the resource (OBJID), the usage value (EWVGW) if the record is not flagged for deletion (LOEZ)
    From CRVE_A table, select the equipment number (EQUNR)
    The result of this selection will be all the tools which can be used for the production of the material receipted.
    The measuring point for this or these equipment(s) will be selected from equipment number and EQUI table
    The result of this selection will be all the measuring point to update.
    Create new measurement document for the selected measurement point (transaction IK11)
    Technically go as follows:-
    MAT = material receipted
    Select STLY, STLNR, STLKN from STPO table where IDNRK='MAT' and STLTY='S'
    If results exist
    Select STLTY, PLNNR, PLNAL, PLNKN from PLMZ where PLMZ.STLTY=STPO.STLTY and PLMZ.STLNR=STPO.STLNR and PLMZ.STLKN=STPO.STLKN
    And PLMZ.LOEZ<>'X'
    Select EWVGW, OBJTY, OBJID from PLFH twhere PLFH.STLTY=PLMZ.STLTY and PLFH.PLNNR=PLMZ.PLNNR and PLFH.PLNAL=PLMZ.PLNAL and PLFH.PLNKN=PLFH.PLNKN and PLFH.LOEKZ<>'X'
    USAGE=PLFH.EWVGW
    Select EQUNR from CRVE_A where CRVE_A.OBJTY=PLFH.OBJTY and CRVE_A.OJBID=PLFH.OBJID
    All the equipment number selected at this moment will be called EQUIP in the next steps
    EQUIP= Equipment number previously selected
    Select OBJNR from EQUI where EQUNR=EQUIP
    Select PARNR from IHPA where OBJNR=EQUI.OBJNR
    If PARNR = Vend then
    Select IMRC_POINT from equi where equnr=equip
    All the measuring points  selected at this moment will be called MEASP  in the next steps
    For each MEASP
    Insert into IMRG the new increment value  (USAGExMAT) in field CDIFF
    Remark: the field CDIFF is managed in floating point number, accurate to 8 bytes.
    I hope this is useful for you.
    Regards,
    Ankur Parab

  • 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

Maybe you are looking for

  • Where left off video setting not working in ios 7

    Since upgrading to ios 7 the 'Where left off' stting on the Video is not working. I have turned it off/on and it is ticked. Every time I switch off the iPad 2 and then turn it on again the last video played place is not remembered - it always resets

  • Reg. Business Area Determination

    Hi All,              I am getting an error while saving the Sales Order saying "No Businees can be determined" . Please let me know what are all the config. I need to check. Thanks in Advance. Regards, Sen.

  • Payment Wizard does pick up certain vendors

    Hi all. A client is having an issue with her payment wizard. The Pmnt wizard allows her to clear off the invoices that Iu2019ll instruct pmnts against. When she  accept the relevant invoices for the vendors concerned & balance to the amnt she is to p

  • Selection screen shows only 500 values

    Hi All, When I execute a query having a selection option variable (0material) with "single values", I am only shown the first 500 values out of the entire list......how to get the remaining values in the selection screen? Thanks, gaurav

  • How can I determine which generation my Apple TV device is ?

    How can I determine which generation my Apple TV device is?