How do I check Folder Info

Ok in Windows, when I select a folder and click properties I could see how many files are in it and the total file size of the files that is being contained in that particular folder.
I can't seem to do that with the Mac, Get Info only gives the the file size of that folder and when I tried doing a select all for the files inside the folder and right click > get info, I get multiple pop ups. What can I do to check the total file size of selected files/folders? Please advise thanks.

When you open a directory in finder, at the bottom of the finder window, you can see the number of files contained in it.
if you right click the folder and choose get info on that, it will give you the total file size in that directory.
hope this helps...

Similar Messages

  • How to get html folder info into iWeb

    Just made upgrade from 10.6 to 10.8. During some problems with that had to back up HD with dmg file on a separate HD. The only place I can find my old old iweb site is in a desktop folder on the dmg and I need to put it into the new iweb 09. There are html files for each page for the website in the folder. I can't open the old website and don't see anything in there is nothing in the iweb folder in the old library.
    If this makes sense can anyone give some help?

    To the uninitiated it doesn't make sense. That's why a command of language is so important. It allows you to convey a message others might understand.
    So lets try to decipher the message.
    iWeb uses the domain.sites2 file to store its assets.
    The file is in :
    ~/Library/Application Support/iWeb/
    where ~ is the Home directory.
    If you made a backup of your Home directory, the file in in a similar location on the .dmg.
    If you didn't wipe the Harddisk when installing 10.8 the file is still in its original location.
    So have a look there.
    To make life easy, use iWebSites . It shows the default location with the file.
    iWebSites
    You can alway drag the file from the .dmg on top of the window. Then you have two domain files.
    Try it.
    On the page is an instruction how to see the hidden Library folder in the Home directory.
    This is discussed from the moment Lion/Mountain Lion was introduced. Others will provide you with those answers.

  • I dragged my ext. HD iTunes backed up folder into my new mac. Now there are duplicates of every song!! The problem is both versions seem to actually BE there when I check the info. Now I have no idea if iTunes is playing the files in the trash or not

    Hi. I'm in a situation here and would really welcome some guidance. I dragged my ext. HD iTunes backed up folder into my new mac. Now there are duplicates of every song. Both versions seem to actually BE there when I check the info. So, I moved what I thought were duplicates into the trash from iTunes, and resigned myself to the fact that I would have to do this manually for each album. I did this with about 10 albums. I emptied the trash and lost them even though they still LOOKED like they were in iTunes. I repeated the process tonight on a bunch of other albums not realizing yet that I had screwed up terribly the first time. This time I saw what had happened and pulled the files out of the trash, onto my desktop and dragged them back into iTunes, then deleted the duplicate files that had exclamation points next to them. Now I have no idea if iTunes is playing duplicate files from the trash or not, and am nervous about emptying the trash. Anyone dealt with this before? Thank you

    Hi. I'm in a situation here and would really welcome some guidance. I dragged my ext. HD iTunes backed up folder into my new mac. Now there are duplicates of every song. Both versions seem to actually BE there when I check the info. So, I moved what I thought were duplicates into the trash from iTunes, and resigned myself to the fact that I would have to do this manually for each album. I did this with about 10 albums. I emptied the trash and lost them even though they still LOOKED like they were in iTunes. I repeated the process tonight on a bunch of other albums not realizing yet that I had screwed up terribly the first time. This time I saw what had happened and pulled the files out of the trash, onto my desktop and dragged them back into iTunes, then deleted the duplicate files that had exclamation points next to them. Now I have no idea if iTunes is playing duplicate files from the trash or not, and am nervous about emptying the trash. Anyone dealt with this before? Thank you

  • I have a folder and 3 files stuck on my desktop.  When I drag them to the trash I am asked to enter my administrator's password.  I do this but the files and folder will not delete.  I have checked 'Get Info' on each of them and they are not locked?

    I have an empty folder and 3 .jpg files stuck on my desktop.  When I drag them to the trash I am asked to enter my administrator's password.  I do this but the files and folder will not delete.  I have checked 'Get Info' on each of them and they are not locked and I have full read & write access.  Grateful for any assistance in solving this problem.

    Back up all data.
    Triple-click anywhere in the line below to select it:
    ls -@Oaen De* | open -f -a TextEdit
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

  • All of a sudden when downloading free apps i ger error code that the security code on my cc is invalid.  I havnt changed anything! How do i check my billing info from ipad and why am i getting message in first place?

    How do i check my billing info from ipad? All of a sudden im getting error messages that sec code on my cc is invalid when i go to download FREE apps? I havnt changed a thing on my end to warrant this error message

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • HT2240 When I enter the Quick time 7 to register the pro version all it does is cycle back to the name field. I have check the info that I entered and it seems correct. How do I register?

    When I enter the Quick time 7 to register the pro version all it does is cycle back to the name field. I have check the info that I entered and it seems correct. How do I register?

    Enter in the name, exactly as in the email Apple sent you, and the key, and then press the Tab key. Do not press the Enter/Return key.
    Hope this helps.

  • How to check folder availability in BODS?

    How can we check if folder is present for the target file in BODS in linux system?

    Use some thing like below  for your folder path in script
    print(exec('ls',' -l /parent_folder/child_folder/sub_folder'));

  • How to check kernel info

    Hi,
    can anyone tell how can i check kernel memory and paging info etc..
    thanks,
    Mazhar

    I am working on solaris 10 and want to see how much kernel is using memory... the command "free -m" did't work ... so far i search there is a command "kstat" work with modules.... for example kstat -p -m cpu_stat -s 'intr*'
    cpu_stat is the module here
    now i want to print all modules to perform different commands
    thanks,
    Mazhar

  • When i try to add DownloadHelper it comes up with unexpected installation error review the error console log for more details - 203, how to it check the log and how do i fix this problem?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    When i tried to install DownloadHelper this happened Firefox could not install the file at
    https://addons.mozilla.org/en-US/firefox/downloads/latest/3006/addon-3006-latest.xpi?src=addondetail
    because: Unexpected installation error
    Review the Error Console log for more details.
    -203
    , how do i check the log and how do i resolve this problem? thank you
    == This happened
    ==
    Just once or twice
    == today
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Ask Toolbar for Firefox
    2.1.0.5
    true
    AVG Safe Search
    9.0.0.783
    true
    {3f963a5b-e555-4543-90e2-c3908898db71}
    Java Console
    6.0.17
    true
    Microsoft .NET Framework Assistant
    1.1
    true
    {20a82645-c095-46ed-80e3-08825760534b}
    BitDefender Antiphishing Toolbar
    2.0
    true
    [email protected]
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage_override.mstone
    rv:1.9.2.3
    extensions.lastAppVersion
    3.6.3
    general.useragent.extra.microsoftdotnet
    (.NET CLR 3.5.30729)
    network.cookie.prefsMigrated
    true
    places.last_vacuum
    1276351876
    print.print_printer
    HP Photosmart D5300 series
    print.printer_HP_Photosmart_D5300_series.print_bgcolor
    false
    print.printer_HP_Photosmart_D5300_series.print_bgimages
    false
    print.printer_HP_Photosmart_D5300_series.print_command
    print.printer_HP_Photosmart_D5300_series.print_downloadfonts
    false
    print.printer_HP_Photosmart_D5300_series.print_edge_bottom
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_left
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_right
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_top
    0
    print.printer_HP_Photosmart_D5300_series.print_evenpages
    true
    print.printer_HP_Photosmart_D5300_series.print_footercenter
    print.printer_HP_Photosmart_D5300_series.print_footerleft
    &PT
    print.printer_HP_Photosmart_D5300_series.print_footerright
    &D
    print.printer_HP_Photosmart_D5300_series.print_headercenter
    print.printer_HP_Photosmart_D5300_series.print_headerleft
    &T
    print.printer_HP_Photosmart_D5300_series.print_headerright
    &U
    print.printer_HP_Photosmart_D5300_series.print_in_color
    true
    print.printer_HP_Photosmart_D5300_series.print_margin_bottom
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_left
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_right
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_top
    0.5
    print.printer_HP_Photosmart_D5300_series.print_oddpages
    true
    print.printer_HP_Photosmart_D5300_series.print_orientation
    0
    print.printer_HP_Photosmart_D5300_series.print_pagedelay
    500
    print.printer_HP_Photosmart_D5300_series.print_paper_data
    9
    print.printer_HP_Photosmart_D5300_series.print_paper_height
    11.00
    print.printer_HP_Photosmart_D5300_series.print_paper_size_type
    0
    print.printer_HP_Photosmart_D5300_series.print_paper_size_unit
    1
    print.printer_HP_Photosmart_D5300_series.print_paper_width
    8.50
    print.printer_HP_Photosmart_D5300_series.print_reversed
    false
    print.printer_HP_Photosmart_D5300_series.print_scaling
    1.00
    print.printer_HP_Photosmart_D5300_series.print_shrink_to_fit
    true
    print.printer_HP_Photosmart_D5300_series.print_to_file
    false
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_bottom
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_left
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_right
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_top
    0
    privacy.sanitize.migrateFx3Prefs
    true
    security.warn_viewing_mixed
    false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows Vista
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdivxplayerplugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *6.0.12.732
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Shockwave Flash 10.0 r45
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *iTunes Detector Plug-in
    *DivX Web Player version 2.0.0.254
    *GEPlugin
    *4.0.50524.0
    *Office Live Update v1.4
    *NPWLPG
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *RealPlayer(tm) HTML5VideoShim Plug-In
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers

    Mark Leary:
    As TXGuy posted above:
    See:
    https://support.mozilla.com/en-US/kb/Unexpected+installation+error+-203+when+installing+add-ons
    http://kb.mozillazine.org/Unable_to_install_themes_or_extensions_-_Firefox#Unexpected_installation_error_-203
    Also see:
    http://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile
    http://kb.mozillazine.org/Show_hidden_files_and_folders

  • I've put numerous gift cards on my account. How do I check my balance?

    I've put gift cards on my mobile iTunes account and every times buy something it still asks for my credit card info. How can I check if my balance to make sure iTunes is using my positive gift card balance and not charging my card?

    Are you using Family Sharing? If so, then the iTunes credit can only be used by the Apple ID of the organizer. All other members' purchases will be charged against the credit card on file for the organizer.
    Cheers,
    GB

  • My MacBook Pro is running very slow. How can I check is out?

    .My MacBook Pro is running very slow. How can I check is out?

    Backup your data.  Your disk/SSD may be failing.
    What has changed lately?
    - Has your disk/SSD filled up recently?
              How much free space? 
              Less than 10 GB? 
              Less than 20 GB?
    - Did you upgrade OS X recently (for example from 10.8 to 10.9 or 10.9 to 10.9.1)?
    - Have you installed any 3rd-party software recently?
    Run Disk Utility (from the Applications  > Utilities folder).
    - Click on the system disk (Macintosh HD) and Verify Disk.
    - Does it report errors or does it finish normally?
    Try an SMC Reset.
    http://support.apple.com/kb/HT3964
    Boot in Safe Mode.
    http://support.apple.com/kb/HT1564
    When in Safe Mode does it operate normally?
    After rebooting in normal mode is it faster?

  • How can i access my old correspondense with old password in Mozilla Thunderbird? How can i check out from my password?

    I had my website moved to other hosting. Accordingly, i changed a password, and when i checked in on my computer the first time with a new password, i stupidly checked the box "remember me on this computer", but i lost access to all my old emails that were laying in Thunderbird on my PC. How can i check out from the current password and log in with the old one so that i could access my old correspondense?

    '''Pop mail accounts '''can only access the server Inbox.
    Messages are downloaded to your computer and stored in the Thunderbird Profile mail account.
    Usually, the copy on the server is removed unless you select to 'leave messages on server' in Account Settings..
    'Tools' > 'Account Settings' > 'Server Settings' for pop mail account.
    These emails are stored on your computer and can be accessed in both 'online' and 'offline' mode.
    You would need to make sure you periodically create a backup of these emails.
    '''IMAP mail accounts '''see a remote view of any subscribed folder on the server.
    Subscribed folders download headers only and when you select to read an email, it is retrieved from the server and stored in a temporary cache to faciltate quick access to reading.
    These emails are not stored in your Thunderbird profile folders on your computer, so would not be visible if you changed to 'offline' mode. They are stored on the server.
    If you did not synchronise those subscribed folders then a copy was never stored in your Thunderbird profile imap mail account.
    As you have modified the IMAP mail account and it is currently accessing the new hosting server, so cannot display anything on a different server, I would leave it alone because it is working just fine.
    What you could try is to create a new IMAP mail account with server settings to the old host server using the old password.
    File > New > exisitng mail account
    Enter name, email address and password
    click on 'Continue'
    If you do manage to get access, then synchronise the subscribed folders to get a copy downloaded to Thunderbird Profile folders. As those folders are constantly updating to match the server, once you have the emails downloaded, go into 'offline' mode and move them into 'Local Folders'; you will need to make new folders in Local Folders account for those emails.
    However, it is possible that you may not get access as that contract has ended. There is no obligation for the old host company to keep your emails if you do not have an account with them. In which case those emails will be lost.
    After creating new imap mail account, if you get access do as advised to get emails into Local Folders, once emails are in Local folders you can remove/delete the imap mail account. If it does not work, you can delete the imap mail account.
    Information on synchronising subscribed folders:
    * https://support.mozilla.org/en-US/kb/imap-synchronization
    Information on backup:
    * http://kb.mozillazine.org/Profile_backup
    * http://kb.mozillazine.org/IMAP_backup

  • How to get check box in alv grid list output

    hi gurus,
    can anyone inform me
    how to get check box in alv output it should not be a pop up window
    thank you
    regards
    kals.

    or
    hi go through the fallowing code.
    code*&----
    *& Report YGS_ALV_BOM *
    REPORT YGS_ALV_BOM .
    TABLES : MAST,STKO,STPO.
    TYPE-POOLS: SLIS.
    TYPES : BEGIN OF TY_MAST,
    CHECK_BOX,
    MATNR TYPE MAST-MATNR,
    WERKS TYPE MAST-WERKS,
    STLAN TYPE MAST-STLAN,
    STLNR TYPE MAST-STLNR,
    STLAL TYPE MAST-STLAL,
    END OF TY_MAST.
    TYPES : BEGIN OF TY_STKO,
    STLTY TYPE STKO-STLTY,
    STLNR TYPE STKO-STLNR,
    STLAL TYPE STKO-STLAL,
    STKOZ TYPE STKO-STKOZ,
    BMENG TYPE STKO-BMENG,
    BMEIN TYPE STKO-BMEIN,
    END OF TY_STKO.
    TYPES : BEGIN OF TY_STPO,
    LIGHTS,
    STLTY TYPE STPO-STLTY,
    STLNR TYPE STPO-STLNR,
    STLKN TYPE STPO-STLKN,
    STPOZ TYPE STPO-STPOZ,
    IDNRK TYPE STPO-IDNRK,
    MENGE TYPE STPO-MENGE,
    MEINS TYPE STPO-MEINS,
    END OF TY_STPO.
    DATA : IT_MAST TYPE TABLE OF TY_MAST,
    WA_MAST TYPE TY_MAST,
    IT_STKO TYPE TABLE OF TY_STKO,
    WA_STKO TYPE TY_STKO,
    IT_STPO TYPE TABLE OF TY_STPO,
    WA_STPO TYPE TY_STPO.
    DATA : lt_fieldcat TYPE slis_t_fieldcat_alv,
    ls_layout TYPE slis_layout_alv,
    ls_event TYPE slis_alv_event,
    lt_event TYPE slis_t_event,
    it_sortinfo type slis_t_sortinfo_alv,
    ls_header TYPE slis_listheader,
    lt_header TYPE slis_t_listHEADER.
    DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    SELECT-OPTIONS : S_MATNR FOR MAST-MATNR.
    START-OF-SELECTION.
    PERFORM GET_DATA.
    PERFORM BUILD_FIELDCAT USING LT_FIELDCAT.
    PERFORM BUILD_LAYOUT.
    END-OF-SELECTION.
    PERFORM DISPLAY_DATA.
    *& Form GET_DATA
    text
    --> p1 text
    <-- p2 text
    form GET_DATA .
    REFRESH : IT_MAST.
    SELECT MATNR
    WERKS
    STLAN
    STLNR
    FROM MAST
    INTO CORRESPONDING FIELDS OF TABLE IT_MAST
    WHERE MATNR IN S_MATNR.
    endform. " GET_DATA
    *& Form BUILD_FIELDCAT
    text
    --> p1 text
    <-- p2 text
    form BUILD_FIELDCAT USING LT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA : L_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    REFRESH : LT_FIELDCAT.
    L_FIELDCAT-COL_POS = 1.
    L_FIELDCAT-FIELDNAME = 'MATNR'.
    L_FIELDCAT-TABNAME = 'IT_MAST'.
    L_FIELDCAT-REF_FIELDNAME = 'MATNR'.
    L_FIELDCAT-REF_TABNAME = 'MAST'.
    APPEND L_FIELDCAT TO LT_FIELDCAT.
    L_FIELDCAT-COL_POS = 2.
    L_FIELDCAT-FIELDNAME = 'WERKS'.
    L_FIELDCAT-TABNAME = 'IT_MAST'.
    L_FIELDCAT-REF_FIELDNAME = 'WERKS'.
    L_FIELDCAT-REF_TABNAME = 'MAST'.
    APPEND L_FIELDCAT TO LT_FIELDCAT.
    L_FIELDCAT-COL_POS = 3.
    L_FIELDCAT-FIELDNAME = 'STLNR'.
    L_FIELDCAT-TABNAME = 'IT_MAST'.
    L_FIELDCAT-REF_FIELDNAME = 'STLNR'.
    L_FIELDCAT-REF_TABNAME = 'MAST'.
    APPEND L_FIELDCAT TO LT_FIELDCAT.
    endform. " BUILD_FIELDCAT
    *& Form BUILD_LAYOUT
    text
    --> p1 text
    <-- p2 text
    form BUILD_LAYOUT .
    CLEAR LS_LAYOUT.
    LS_LAYOUT-BOX_FIELDNAME = 'CHECK_BOX'.
    LS_LAYOUT-BOX_TABNAME = 'IT_MAST'.
    endform. " BUILD_LAYOUT
    *& Form DISPLAY_DATA
    text
    --> p1 text
    <-- p2 text
    form DISPLAY_DATA .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = SY-REPID
    I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    I_STRUCTURE_NAME =
    IS_LAYOUT = LS_LAYOUT
    IT_FIELDCAT = LT_FIELDCAT
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = IT_MAST
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform. " DISPLAY_DATA
    FORM PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.
    SET PF-STATUS 'YSTATUS' OF PROGRAM SY-REPID
    EXCLUDING RT_EXTAB.
    ENDFORM.
    FORM USER_COMMAND USING RF_UCOMM TYPE SY-UCOMM
    SELFIELD TYPE SLIS_SELFIELD.
    CASE RF_UCOMM.
    WHEN '&NEXT'.
    PERFORM GET_DATA_BOM .
    PERFORM BUILD_FIELDCAT_BOM USING LT_FIELDCAT.
    PERFORM BUILD_LAYOUT_BOM.
    PERFORM DISPLAY_DATA_BOM.
    ENDCASE.
    ENDFORM.
    *& Form GET_DATA_BOM
    text
    --> p1 text
    <-- p2 text
    form GET_DATA_BOM .
    CLEAR : WA_STPO,
    WA_MAST.
    REFRESH : IT_STPO.
    DATA : IT_CHECK TYPE TABLE OF TY_MAST.
    LOOP AT IT_MAST INTO WA_MAST.
    IF WA_MAST-CHECK_BOX EQ 'X'.
    APPEND WA_MAST TO IT_CHECK.
    ENDIF.
    ENDLOOP.
    SELECT STLTY
    STLNR
    STLKN
    VGKNT
    IDNRK
    MENGE
    MEINS
    FROM STPO
    INTO CORRESPONDING FIELDS OF TABLE IT_STPO
    FOR ALL ENTRIES IN IT_CHECK
    WHERE IDNRK EQ IT_CHECK-MATNR.
    CLEAR WA_STPO.
    LOOP AT IT_STPO INTO WA_STPO.
    SELECT SINGLE * FROM MAST WHERE MATNR EQ WA_STPO-IDNRK.
    IF SY-SUBRC = 0.
    WA_STPO-LIGHTS = '2'.
    ELSE.
    WA_STPO-LIGHTS = '1'.
    ENDIF.
    MODIFY IT_STPO FROM WA_STPO.
    ENDLOOP.
    endform. " GET_DATA_BOM
    *& Form BUILD_FIELDCAT_BOM
    text
    --> p1 text
    <-- p2 text
    form BUILD_FIELDCAT_BOM USING LT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA : L_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    REFRESH : LT_FIELDCAT.
    L_FIELDCAT-COL_POS = 1.
    L_FIELDCAT-FIELDNAME = 'STLTY'.
    L_FIELDCAT-TABNAME = 'IT_STPO'.
    L_FIELDCAT-REF_FIELDNAME = 'STLTY'.
    L_FIELDCAT-REF_TABNAME = 'STPO'.
    APPEND L_FIELDCAT TO LT_FIELDCAT.
    L_FIELDCAT-COL_POS = 2.
    L_FIELDCAT-FIELDNAME = 'STLNR'.
    L_FIELDCAT-TABNAME = 'IT_STPO'.
    L_FIELDCAT-REF_FIELDNAME = 'STLNR'.
    L_FIELDCAT-REF_TABNAME = 'STPO'.
    APPEND L_FIELDCAT TO LT_FIELDCAT.
    L_FIELDCAT-COL_POS = 3.
    L_FIELDCAT-FIELDNAME = 'STLKN'.
    L_FIELDCAT-TABNAME = 'IT_STPO'.
    L_FIELDCAT-REF_FIELDNAME = 'STLKN'.
    L_FIELDCAT-REF_TABNAME = 'STPO'.
    APPEND L_FIELDCAT TO LT_FIELDCAT.
    L_FIELDCAT-COL_POS = 4.
    L_FIELDCAT-FIELDNAME = 'IDNRK'.
    L_FIELDCAT-TABNAME = 'IT_STPO'.
    L_FIELDCAT-REF_FIELDNAME = 'IDNRK'.
    L_FIELDCAT-REF_TABNAME = 'STPO'.
    APPEND L_FIELDCAT TO LT_FIELDCAT.
    L_FIELDCAT-COL_POS = 5.
    L_FIELDCAT-FIELDNAME = 'MENGE'.
    L_FIELDCAT-TABNAME = 'IT_STPO'.
    L_FIELDCAT-REF_FIELDNAME = 'MENGE'.
    L_FIELDCAT-REF_TABNAME = 'STPO'.
    APPEND L_FIELDCAT TO LT_FIELDCAT.
    endform. " BUILD_FIELDCAT_BOM
    *& Form BUILD_LAYOUT_BOM
    text
    --> p1 text
    *<-- p2 text
    form BUILD_LAYOUT_BOM .
    CLEAR : LS_LAYOUT.
    LS_LAYOUT-LIGHTS_FIELDNAME = 'LIGHTS'.
    LS_LAYOUT-LIGHTS_TABNAME = 'IT_STPO'.
    endform. " BUILD_LAYOUT_BOM
    *& Form DISPLAY_DATA_BOM
    text
    --> p1 text
    <-- p2 text
    form DISPLAY_DATA_BOM .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER = ' '
    I_BUFFER_ACTIVE = ' '
    I_CALLBACK_PROGRAM = SY-REPID
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND_BOM'
    I_CALLBACK_TOP_OF_PAGE = 'TOP9'
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = 'ALV_BACKGROUND'
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT = LS_LAYOUT
    IT_FIELDCAT = LT_FIELDCAT
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IT_ALV_GRAPHICS =
    IT_HYPERLINK =
    IT_ADD_FIELDCAT =
    IT_EXCEPT_QINFO =
    I_HTML_HEIGHT_TOP =
    I_HTML_HEIGHT_END =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    TABLES
    t_outtab = IT_STPO
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform. " DISPLAY_DATA_BOM
    FORM TOP9 .
    CLEAR LS_HEADER.
    REFRESH LT_HEADER.
    LS_HEADER-TYP = 'H'.
    LS_HEADER-INFO = 'BILL OF MATERIALS'.
    APPEND LS_HEADER TO LT_HEADER.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = LT_HEADER
    I_LOGO = 'ENJOYSAP_LOGO'
    I_END_OF_LIST_GRID =
    ENDFORM.
    FORM USER_COMMAND_BOM USING RF_UCOMM_BOM LIKE SY-UCOMM
    SEL_FIELD TYPE SLIS_SELFIELD.
    CASE RF_UCOMM_BOM.
    WHEN '&IC1'.
    SET PARAMETER ID 'MAT' FIELD WA_STPO-IDNRK.
    SET PARAMETER ID 'WRK' FIELD WA_MAST-WERKS.
    SET PARAMETER ID 'CSA' FIELD WA_MAST-STLAN.
    CALL TRANSACTION 'CS03' AND SKIP FIRST SCREEN.
    ENDCASE.[/code]

  • How can I check for the existence of an XML file in Illustrator Javascript??

    I'm writing a Javascript to run at startup. I want to check for the existence of XML files and process them, if they are available. How can I check for their existence?

    Your first line just sets a variable to a string value… getFiles() is a method of Folder… so
    var InputXMLDir = Folder( "D:/Brackets/Create_Bracket_Graphics/Input/XML-n-Templates/" );
    Not a PC user so I can't remember if the colon is OK…? As you appear to know the file name why bother with a folder get files anyhow you could just check if the file exists then do some thing…
    alert( File( "D:/Brackets/Create_Bracket_Graphics/Input/XML-n-Templates/brackets_men_web.xml" ).exists );

  • How do you check your dedicated GPU is working?

    How do you check your dedicated GPU is working?
    Some strange things have been happening since my MBP (2009, SSD, 8GB, 17") was updated to Lion:
    1. Icon images load slower than usual, e.g when opening the applications folder the images take a fraction longer than would be normal
    2. If re-naming a folder, you see the new title, then the old one, then it switched back to the new one.
    3. When playing HD video, or rapid desktop switching the picture looks split in two.
    I checked that my GPU was on dedicated, but it had changed back to Intel integrated? Then a re-start and I checked it was on dedicated GPU, which it was BUT the above problems still remain.
    Plugged in a 24" LED Display via display port and it does not come on - only the USB ports work. Does a display need a dedicated GPU to work?
    Zapped Parameter Ram, rebuild permissions, and reset SMC all to no avail. Techtools pro 6.0 finds both cards but can't check them. I assume its not Lion compatible yet?
    MBP is still under Apple Care, but I want to know if I can identify the problem is the NVIDA GPU. But how?
    SBB

    Disconnect other hardware
    Run a hardware test & safe mode see if it goes away
    Safe Mode
    http://support.apple.com/kb/HT1455
    Reset SMC
    http://support.apple.com/kb/ht3964
    PRAM/NVRAM
    http://support.apple.com/kb/HT1379
    Hardware Test
    http://support.apple.com/kb/HT1509
    Backup files to a exteranl drive and disconnect , c boot off 10.6 installer disk and simply over-install OS X onto the installe version run the Combo Update
    http://support.apple.com/kb/DL1399
    That should take of the faulty driver if there is one.

Maybe you are looking for