SCOM does not generate alert for logical disk space

Hi,
Today we noticed that one of agent in SCOM has drive space below 5% and 500 MB but SCOM did not generate any alert.
I have also verified that there is no override set for this agent's logical disks.  I have also verified that discovery is able to discover all disks on server but monitoring is not working as expected.
I have flushed health service on agent but it didn't help.
When I gone through event logs on agent, I found below events:
Log Name:      Operations Manager
Source:        HealthService
Date:          5/26/2014 5:13:05 AM
Event ID:      1103
Description:
Summary: 6 rule(s)/monitor(s) failed and got unloaded, 1 of them reached the failure limit that prevents automatic reload. Management group "XXXXXXXX".
This is summary only event, please see other events with descriptions of unloaded rule(s)/monitor(s).
Log Name:      Operations Manager
Source:        HealthService
Date:          5/26/2014 5:14:21 AM
Event ID:      1206
Task Category: Health Service
Description:
Rule/Monitor "Microsoft.Windows.Server.2008.LogicalDisk.FreeSpace", running for instance "F:" with id:"{36ED7395-3798-A361-5017-327F6FA50030}" failed,
got unloaded and reached the failure limit that prevents automatic reload. Management group "XXXXXXXXX".
Please let me if what we need to do here.
Thanks.

Do this
Change startup type to Window Management Instrumentation (WMI) Service to disabled
Stop the WMI Service; you may need to stop IP Helper Service first or other dependent services before it allows you to stop WMI Service
Rename the repository folder:  C:\WINDOWS\system32\wbem\Repository to Repository.old
Open a CMD Prompt with elevated privileges
CD windows\system32\wbem
for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s
Set the WMI Service type back to Automatic and start WMI Service
cd /d c:\  ((go to the root of the c drive, this is important))
for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s
Reboot the server
Blog: http://theinfraguys.com
Follow me at Facebook
The Infra Guys Facebook Page
Please remember to click Mark as Answer on the answer if it helps you in anyway

Similar Messages

  • Subcontract PO/PR does not generate PR for non stock component

    Hello,
    I need help on above topic.
    SAP Version is ERP Central Component 5.0.
    My problem is that PR is not being generated for non stock component in PR/PO of higher/parent material.
    I notice that in component overview screen the item cat for this non stk comp. has changed to T( text item) even though the BOm has been maintained with item cat as N( non stock). The material type being used for non stk material is custom developed(copy of NLAG).
    Has anyone faced similar issue. or can suggest some missing customization (if any)
    Just to confirm :
    I have done customising for Direct procurement in OPPQ to trigger PR  in requirements planning. Also tried with prod order creation option(though my case is PO creation)
    Any help from forum is highly appreciated.
    Thanks,
    Ram

    Hi ,
    Commitement check is taking place due to availability control. If u dont want to carry out AVAC for PR then in Tolerance limit put the exclude the check for PR.
    SPRO > PS > Budget > define tolerence limit > here u might selected ++ i.e. for all activity type. U select indidula transaction grp excluding PR.
    Rgds

  • Need to separate drive alerts with Logical Disk Free Space monitoring in SCOM 2012

    I have an interesting need here to separate our SCOM alerts for Logical Disk Free space so that one alert is for OSSystem drives ONLY (C:/D:) and the other monitor alerts on all APP drives only (E:, etc). So far we have had great success using Kevin Holman's
    blog post.
    http://blogs.technet.com/b/kevinholman/archive/2009/11/24/writing-monitors-to-target-logical-or-physical-disks.aspx
    We have overrides set so that the monitors report ONLY the percentage of free space left and ignores any MB threshold. So far so good, the alert comes in that host A reports low disk space on D: at 2.345...% free or host B reports low disk space on F: at
    4.567...% free space etc. Now that we have our monitors working within the Windows Server classes Logical Disk, we need to set these monitors so that one is just for C or D drives with the alert named system Logical Disk Free Space OS Disk Warn and the other
    monitor just reports on E - Z drives (excluding C or D) with the alert named Logical Disk Free Space APP Disk Warn.
    We are very new to SCOM so I made the rookie mistake of creating a dynamic group for all Windows Server 2003 Logical Disk class that only includes Device Name = C or D. But found out too late you cant point a monitor to a group, it has to target a class.
    And using the current monitors we set up with the above blog uses the correct logical disk class, but it doesnt care what instance (device Id = value), it will report low disk space on ANY logical drive. How in the world can we separate and exclude these monitors
    so that one alerts only on OS disks (C and D) and the other only alerts on app disks (E through Z)?

    Hi Kevsharp,
    Quite confusing after reading your question.
    So based on your requirement, What i understand is you need separate alerts for all the drives of the disk is running at low or out of space right ?
    For the above just create a simple performance counter monitor and use the same counters as kevin has used in his blog.
    Now Target: Use Windows server operating system (This will target all the Windows operating system agents in your SCOM. If the specified discovery MP's are installed).
    Set a threshold Below 10% is critical or what ever. You will get the alerts in your console.
    Gautam.75801

  • Generating Alerts for OFM discrepancies

    Hi Gurus,
    Please validate my thinking:
    To generate alerts for discrepancies in DFC01 timeseries for OFM process, my assumption is this is done by:
    1. Definining OFM Service profile and selecting "Create alerts"
    2. Running a PSM job using service DFC_ORDER_FORECAST
    Currently this does not generate alerts, yet there are discrepancies for products between customer plan and suppliers plan.
    Please advice if I am missing something or in case I am using wrong PSM service.
    Thanks,
    J.

    Hi
    you can achieved this functionality  by using a UDF  for alert generation and also  give the details of your clarity tools in the UDF i.e. URL etc.
    Thanks
    sudhir  sharma

  • Alert on Low disk space

    Hi  All
    I have created an alert of WMI event in sql server  which send mail if disk space on D drive is less than 10GB
    Query :
    SELECT * from __InstanceModificationEvent
    WITHIN 60
    WHERE
    TargetInstance ISA 'CIM_LogicalDisk'
    AND
    TargetInstance.FreeSpace < 10000000000
    AND
    TargetInstance.DeviceID = 'D:'
    when I enable this alert It sends alert for low disk space
    but some time it does'nt send alerts. I am not sure when this __InstanceModificationEvent   occure
    and is there any another way to alert low disk space in my mailbox

    Take a look on link:
    http://blogs.technet.com/b/fort_sql/archive/2012/08/01/alert-on-low-disk-space-including-mount-points.aspx
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/7a750515-8e82-425d-9c97-f37aac8e149a/monitor-disk-space-using-alerts?forum=sqldatabaseengine
    --Please click "Propose As Answer"
    if a post solves your problem, or "Vote As Helpful" if a post has been useful to you

  • Logical Disk space on a virtual Computer (not a Server) in SCOM 2012

    Hello all-
       I have a sort of unique situation for our SCOM environment.  We are already doing logical disk space monitoring on all of our SERVERS with no issues.  Now we have one user who requires monitoring on their computer.  This is really
    a virtual workstation, as opposed to a real computer.   Since it's virtual, it's really online all the time.    Whether its right or wrong, they are using this virtual workstation sort of as a server.  Anyway, they want me to
    monitor the disk space for the C drive on this virtual computer.  I'm having difficulty setting up such a monitor on a computer like that...
    I got the SCOM agent installed onto the computer.  SCOM is reporting it as being "Healthy".   Now how can I define a logical disk space monitor for it?   I attempt to create a monitor:   Windows Performance Counters,
    Static Thresholds, Single Threshold.  Then how can I direct the monitor at the C drive on the computer?  I have to fill in the Object, Counter and Instanace.  Normally I would click on the
    Select button, then I would type in the server name and hit Enter and it would bring up all the objects it will allow me to monitor.  Unfortunately it doesn't let me type in the computer name and hit enter in the same way.  When I
    do so, it says "The network path was not found".  If I click on the
    ... button next to the Computer field, it brings me to a Select Computer screen.  In here, I am type in the computer name and then I click
    Check Name and it does appear to find it, and it underlines the computer's name.    So I then click
    OK to bring me back to the previous screen where it presents me with the same  "The network path was not found" error immediately. So I can't seem to navigate to the computer in SCOM and select the C drive, as I would be able
    to for a server.
    I tried to sort of force it in, instead of browsing for the computer and selecting the C drive.  I simply put
    LogicalDisk in for the Object then Free Megabytes for the Counter, then
    C: for the Instance (as shown in the attached screen print.
    Then I just applied my new rule to the computer via SCOM.  I don't get any error messages when setting it up that way, but it certainly doesn't work.
    So with all that said, can anyone help me out setting up a logical disk space monitoring for a COMPUTER in SCOM 2012 SP1 please?  Please let me know if you need any more information!

    Thanks, that would probably do it, I'm going to keep that as my backup plan.  However, my current feeling is that it might be a bit overkill to install a whole management pack, when all I want to do is monitor a single C drive on a single workstation. 
    The rest of the monitors in the management pack I wouldn't have any interest it.   Let me ask you a question maybe you will know the answer to... Shouldn't I be able to monitor that drive even without that management pack installed?   I
    mean some combination of settings for the Logical Disk Space rule in that management pack works for computers/workstations.  Shouldn't I be able to reproduce that one single rule without the management pack?  Does anyone have that management pack
    installed?  Could you possibly look at the Client OS Logical Disk Space rule and send me some screen shots or something?   Or am I missing something?  Is the management pack needed for other reasons in order to monitor this?

  • Reports for Low disk space alerts in scom 2007

    Dear Experts,
    Is there any possible to get the Low disk Space alerts reports in SCOM 2007 R2.
    1, I need reports for Last week SCOM sent alerts on Low Disk space for the servers list
    2, Likewise I need SCOM Low disk space alerts reports for last month.
    Can somebody please explain me with the steps and I played much with Reporting pane.
    Thanks,
    Saravana

    Hi,
    The below code should work to get all servers that have alert of logical disk free space is low in specific period:
    get-alert -criteria 'Name = ''Logical Disk Free Space is low'' AND TimeRaised >=''3/24/2014'' AND TimeRaised <= ''4/24/2014''' | select MonitoringObjectDisplayName,MonitoringObjectPath,Name,TimeRaised | sort MonitoringObjectDisplayName
    Here is a similar thread for your reference:
    how to create a report showing the servers that had the alerts of "Logical Disk Free Space is low" for a specific period?
    http://social.technet.microsoft.com/Forums/en-US/50f2c3fb-2dfc-47c6-8c2a-8a2f0149df10/how-to-create-a-report-showing-the-servers-that-had-the-alerts-of-logical-disk-free-space-is-low?forum=operationsmanagerreporting
    Regards,
    Yan Li
    Regards, Yan Li

  • Designerd does not generate Order BY code for Sort Order on a lookup tabel column.

    I am setting the Sort Order on a column which is based on a lookup table.
    When generate the the module, designer does not generate the code for the Sort Order that I set on the lookup table column.
    Is there a work around for this problem or is there some thing else that needs to be done in designer to make it generate the order by clause?
    I will very much appreciate help.
    Regards
    Prasad.

    A bound lookup item, will be generated as a NON-database item in Forms. Designer generates an ORDER BY CLAUSE (a Forms Block property) for the ordering. But a NON-database item cannot be included in the ORDER BY CLAUSE.
    I used a stored function for ordering the lookup item.
    Best regards
    Harm van Zoest

  • Matrixx 7 autocode does not generate ucb and subsystem wrapper for "procedures" code style

    Under matrixx 6.1.3  when procedure style code generation is specified  (-procs), autocode generates subsystem and ucb style wrappers (see below):
    Executing the command:   
    autostar -l c -o "test.c" -d "/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/case/ACC/templates/c_sim.dac" -procs "test.rtf"   
    *        AutoCode/C       Code Generator V6.1           *
    *      (C) Copyright 1998.  Integrated Systems Inc.     *
    *      Unpublished work; Restricted rights apply.       *
    *      All rights reserved.  Portions U.S. Patent.      *
    Loading 'test.rtf' ...
    Initializing ...
    Processing names ...
    Building symbols ...
    Executing '/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/case/ACC/templates/c_sim.dac' :
                 Generating procedures declarations ...
                 Generating procedures definitions ...
                 Generating subsystem-style wrapper (subsys_1)
                 around procedure tt1 ...
                 Generating UCB-style wrapper(s) around procedure(s) ...
    Output generated in test.c.
    However, matrixx 7.1.4 does not generate the wrappers. see below :
    Executing the command:   
    autostar -l c -o "test.c" -d "/data/binaries/SUN8/apps/matrix714/solaris_mx_71.4/case/ACC/templates/c_sim.dac" -procs "test.rtf"   
    *           AutoCode/C       Code Generator V7.1               *
    *  (c) Copyright 1987-2004.  National Instruments Corporation  *
    *          All rights reserved.  Portions U.S. Patent.         *
    Loading 'test.rtf' ...
    Initializing ...
    Processing names ...
    Building symbols ...
    Executing '/data/binaries/SUN8/apps/matrix714/solaris_mx_71.4/case/ACC/templates/c_sim.dac' :
                 Generating internal procedure declarations ...
                 Generating procedures definitions ...
                 Generating MAKEFILE in test.mk
    Output generated in test.c.
    Code generation complete.
    Please note that the autocode user's guide for matrixx7 indicates that these wrappers are generated when -procs is specified.
    -procs: Sets the template parameter procs_only_b as True, and default template only generates Procedure SuperBlocks and generates UCBsand subsystem wrappers for each of these procedures.  
    Is ther a way to create the same behavior under matrixx7 when -procs option is used?
    Thanks

    Hello,
    These wrappers were separated into different templates.  What you would need to do is to run the templates that you need. You can find these templates in the C:\Program Files\National Instruments\MATRIXx\mx_71.4\case\ACC\templates folder.
    Hope this helps.
    Ricardo S.
    National Instruments

  • TopLink does not generate SQL statements for inserting new objects

    TopLink does not generate SQL statements for inserting new objects. Why?
    Thanks in advance...

    Please see the response in
    Why does not unitofwork.commit write data to the database?
    Regards,
    Chris

  • Generate Alerts for Task changes in Project Schedule

    Hi,
    I would like to generate alerts to all the Project resources when a Task has been revised in Project Schedule. Does MS Project Server 2010 provides this functionality OOTB? 
    If this not available OOTB, I am planning to write an event handler to generate alerts for Task updates. Would an en event handler for Task level changes impact performance of server?.

    Hello,
    This is out of the box with the alerts and reminders in 2010, see:
    http://technet.microsoft.com/en-gb/library/gg982969(v=office.14).aspx to enable the alerts
    and:
    http://technet.microsoft.com/en-gb/library/hh767487(v=office.14).aspx - to configure them
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Creating SCOM 2012 Logical Disk Space Availability View

    Hi Everyone,
    I am looking to create a SCOM 2012 Logical Disk Space Availability View and having a little trouble finding documentation on how to do this. It would be really handy to see all of the servers being monitored and how much free space they have all in one view.
    Has anyone created a view like this before.
    Thanks in advance for all your help.
    JD

    Hi,
    Below are some blogs that will help you to understand more about disk space monitoring
    Writing monitors to target Logical or Physical Disks
    http://blogs.technet.com/b/kevinholman/archive/2009/11/24/writing-monitors-to-target-logical-or-physical-disks.aspx
    OpsMgr: Logical Disk free space alerts don’t show percent and MB free values in the alert description
    http://blogs.technet.com/b/kevinholman/archive/2011/11/17/opsmgr-logical-disk-free-space-alerts-don-t-show-percent-and-mb-free-values-in-the-alert-description.aspx 
    Thanks.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Logical table does not join to any logical table

    HI,
    I want to implement Business Unit hierarchy for drill down in OBIEE  so I’ve created a custom table with the hierarchy information,
    I’ve imported that table in the out-of the box physical schema & defined a relationship between the W_ORG_D table & my custom INVENTRY_ORG table as INVENTRY_ORG.BU_ID = W_ORG_D. VIS_PR_BU_ID* but when I try to check in my changes I’m getting the following error.*
    Logical table INVENTRY_ORG does not join to any logical table.
    Kindly let me know how to resolve this error.One more doubt i have is can we import custom tables in the out of the box OBIEE mappings for SIEBEL..that is the core subject area.
    Thanks,

    Hi user10340125 ,
    1) I think you have joined tables in physical layer, but you have not created complex join in logical layer.
    Check your consistency and see what warnings you are getting.
    2) Yes you can import custom tables in whatever subject area. Once you imported tables in physical layer, then they all are just objects, so you can freely play around with them. Just for best practices, make sure you follow proper naming convention for custom tables and columns..
    - Vinay

  • OK, as always I waited before downloading a new OS and I sure glad I did. On the APP store I sorted comments by most critical...and WHOA...what is Apple doing? No support for Logic 9, MS Office? Is Apple only trying to reach the iphone/iTouch crowd? HELP!

    OK, as always I waited before downloading a new OS and I'm sure glad I did. On the APP store I sorted comments by most critical...and WHOA...what is Apple doing? No support for Logic 9, MS Office? Is Apple only trying to reach the iphone/iTouch crowd? HELP! I was going to buy a new Mac pro & two 27" monitors but until I see some real problem addressing by Apple...I'll keep what I have and see how everything pans out. If anyone has any comments to ally my fears, I welcome them. I've been a devoted Mac user since 1993. 7500; G4; G5; and my latest Mac Pro...Where do I go? Again...HELP!

    Hi there,
    If you look through ALL the reviews, they are mainly good. I feel that Lion is an excellent upgrade, although not essential.
    There have been some issues with MS Office, but right now, it is up to Microsoft to issue a Lion compatible update, which will come in time. Saying this, MS Office has been working fine on my mac, it seems to be an isolated issue.
    Logic 9 seems like a strange issue. Again, an update looks to be coming soon, with Lion support.
    I do not feel that apple only focusing on the iPhone and iPad user base. There are many features carried along, but the machine can still be used for pro tools and use just as well. It still is a fantastic, reliable, fast, easy to use OS, which I have had very few problems with. Some additions you may not use, but they don't get in the way. You will love the new Exposé, Mission Control, as it is great for pro users who have many windows open at once, and the new spaces. You may however, never use Launchpad, but you don't have to, just drag it away from the dock!
    I really reccomend buying a mac with Lion, although if you are worried about bugs, wait a few months for the issues to be ironed out, and updates to be given. Because the update is so very cheap, I really think you can hardly go wrong. Try it out with your current mac, and if you like it, go ahead and buy your new ones.
    Lion is fantastic, albeit maybe rushed.
    Any other queries, just ask,
    Nathan

  • Mailing the Report Output-Does not generating file name

    Dear Gurus,
           The below program fulfils the "mailing the report" requirement .it sends the out put as an attachment in XLS format.But one problem exists i.e.,it does not generate  filename.It gives the filename as ".XLS"(DOT XLS).
    What should be done that system generates a filename?
    *& Report  ZTESTMAIL                                                   *
    REPORT  ZTESTMAIL                               .
    tables: ekko.
    parameters: p_email type somlreci1-receiver.
    types: begin of t_ekpo,
    ebeln type ekpo-ebeln,
    ebelp type ekpo-ebelp,
    aedat type ekpo-aedat,
    matnr type ekpo-matnr,
    end of t_ekpo.
    data: it_ekpo type standard table of t_ekpo initial size 0,
    wa_ekpo type t_ekpo.
    types: begin of t_charekpo,
    ebeln(10) type c,
    ebelp(5) type c,
    aedat(8) type c,
    matnr(18) type c,
    end of t_charekpo.
    data: wa_charekpo type t_charekpo.
    data: it_message type standard table of solisti1 initial size 0
    with header line.
    data: it_attach type standard table of solisti1 initial size 0
    with header line.
    data: t_packing_list like sopcklsti1 occurs 0 with header line,
    t_contents like solisti1 occurs 0 with header line,
    t_receivers like somlreci1 occurs 0 with header line,
    t_attachment like solisti1 occurs 0 with header line,
    t_object_header like solisti1 occurs 0 with header line,
    w_cnt type i,
    w_sent_all(1) type c,
    w_doc_data like sodocchgi1,
    gd_error type sy-subrc,
    gd_reciever type sy-subrc.
    t_object_header = 'Text.xls'. append t_object_header.
    *START_OF_SELECTION
    start-of-selection.
    Retrieve sample data from table ekpo
    perform data_retrieval.
    Populate table with detaisl to be entered into .xls file
    perform build_xls_data_table.
    *END-OF-SELECTION
    end-of-selection.
    Populate message body text
    perform populate_email_message_body.
    Send file by email as .xls speadsheet
    perform send_file_as_email_attachment
    tables it_message
    it_attach
    using p_email
    'Example .xls documnet attachment'
    'XLS'
    'PO'
    changing gd_error
    gd_reciever.
    Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *& Form DATA_RETRIEVAL
    Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp aedat matnr
    up to 10 rows
    from ekpo
    into table it_ekpo.
    endform. " DATA_RETRIEVAL
    *& Form BUILD_XLS_DATA_TABLE
    Build data table for .xls document
    form build_xls_data_table.
    *CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
    *con_tab TYPE x VALUE '09'. "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    constants:
    con_tab type c value cl_abap_char_utilities=>horizontal_tab,
    con_cret type c value cl_abap_char_utilities=>cr_lf.
    concatenate 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
    into it_attach separated by con_tab.
    concatenate con_cret it_attach into it_attach.
    append it_attach.
    loop at it_ekpo into wa_charekpo.
    concatenate wa_charekpo-ebeln wa_charekpo-ebelp
    wa_charekpo-aedat wa_charekpo-matnr
    into it_attach separated by con_tab.
    concatenate con_cret it_attach into it_attach.
    append it_attach.
    endloop.
    endform. " BUILD_XLS_DATA_TABLE
    *& Form SEND_FILE_AS_EMAIL_ATTACHMENT
    Send email
    form send_file_as_email_attachment tables pit_message
    pit_attach
    using p_email
    p_mtitle
    p_format
    p_filename
    p_attdescription
    p_sender_address
    p_sender_addres_type
    changing p_error
    p_reciever.
    data: ld_error type sy-subrc,
    ld_reciever type sy-subrc,
    ld_mtitle like sodocchgi1-obj_descr,
    ld_email like somlreci1-receiver,
    ld_format type so_obj_tp ,
    ld_attdescription type so_obj_nam ,
    ld_attfilename type so_obj_des ,
    ld_sender_address like soextreci1-receiver,
    ld_sender_address_type like soextreci1-adr_typ,
    ld_receiver like sy-subrc.
    ld_email = p_email.
    ld_mtitle = p_mtitle.
    ld_format = p_format.
    ld_attdescription = p_attdescription.
    ld_attfilename = p_filename.
    ld_sender_address = p_sender_address.
    ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
    w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name = 'SAPRPT'.
    w_doc_data-obj_descr = ld_mtitle .
    w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
    clear w_doc_data.
    read table it_attach index w_cnt.
    w_doc_data-doc_size =
    ( w_cnt - 1 ) * 255 + strlen( it_attach ).
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name = 'SAPRPT'.
    w_doc_data-obj_descr = ld_mtitle.
    w_doc_data-sensitivty = 'F'.
    clear t_attachment.
    refresh t_attachment.
    t_attachment[] = pit_attach[].
    Describe the body of the message
    clear t_packing_list.
    refresh t_packing_list.
    t_packing_list-transf_bin = space.
    t_packing_list-head_start = 1.
    t_packing_list-head_num = 0.
    t_packing_list-body_start = 1.
    describe table it_message lines t_packing_list-body_num.
    t_packing_list-doc_type = 'RAW'.
    append t_packing_list.
    Create attachment notification
    t_packing_list-transf_bin = 'X'.
    t_packing_list-head_start = 1.
    t_packing_list-head_num = 1.
    t_packing_list-body_start = 1.
    describe table t_attachment lines t_packing_list-body_num.
    t_packing_list-doc_type = ld_format.
    t_packing_list-obj_descr = ld_attdescription.
    t_packing_list-obj_name = ld_attfilename.
    t_packing_list-doc_size = t_packing_list-body_num * 255.
    append t_packing_list.
    Add the recipients email address
    clear t_receivers.
    refresh t_receivers.
    t_receivers-receiver = ld_email.
    t_receivers-rec_type = 'U'.
    t_receivers-com_type = 'INT'.
    t_receivers-notif_del = 'X'.
    t_receivers-notif_ndel = 'X'.
    append t_receivers.
    call function 'SO_DOCUMENT_SEND_API1'
    exporting
    document_data = w_doc_data
    put_in_outbox = 'X'
    sender_address = ld_sender_address
    sender_address_type = ld_sender_address_type
    commit_work = 'X'
    importing
    sent_to_all = w_sent_all
    tables
    object_header = t_object_header
    packing_list = t_packing_list
    contents_bin = t_attachment
    contents_txt = it_message
    receivers = t_receivers
    exceptions
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    others = 8.
    Populate zerror return code
    ld_error = sy-subrc.
    Populate zreceiver return code
    loop at t_receivers.
    ld_receiver = t_receivers-retrn_code.
    endloop.
    endform.
    *& Form INITIATE_MAIL_EXECUTE_PROGRAM
    Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
    wait up to 2 seconds.
    submit rsconn01 with mode = 'INT'
    with output = 'X'
    and return.
    endform. " INITIATE_MAIL_EXECUTE_PROGRAM
    *& Form POPULATE_EMAIL_MESSAGE_BODY
    Populate message body text
    form populate_email_message_body.
    refresh it_message.
    it_message = 'Please find attached a list test ekpo records'.
    append it_message.
    endform. " POPULATE_EMAIL_MESSAGE_BODY
    Your suggestions will be appreciated and rewarded.
    Thanks in advance
    Murali

    Hi
    Your pgm is not passing anything in obj_descr in packing list for excel file. If you pass a name your excel file will have that.
    Regards
    Sathar
    perform send_file_as_email_attachment
    tables it_message
    it_attach
    using p_email
    'Example .xls documnet attachment'
    'XLS'
    'PO'
    ' '  *------> no value*
    changing gd_error
    gd_reciever.
    form send_file_as_email_attachment tables pit_message
    pit_attach
    using p_email
    p_mtitle
    p_format
    p_filename
    p_attdescription *----> no value*
    p_sender_address
    p_sender_addres_type
    changing p_error
    p_reciever.
    t_packing_list-obj_descr = ld_attdescription.

Maybe you are looking for

  • [PLEASE] Prob with instead of Trigger  [URGENT !]

    Hi, I have an INSTEAD OF TRIGGER on a view which update 2 based tables. Each time the user update information,the system processes the update operation and insert a new row into the base tables.None of the based tables has any trigger. Why this inser

  • Recommended hardware configuration when using Adobe Illustrator and Photoshop

    Hello! I am an Illustrator who uses Adobe Illustrator and Photoshop most of the time. Today I am using Adobe CS5.5 suite and is thinking of getting the Adobe CC. As my computer today is abit old and "tired", I am unsure about what to focus on when up

  • Add row / delete row in PDF Form

    Alright so I am really struggling here and no one has been able to provide me a solid answer to date. 1. I am creating a PDF form I want users to be able to fill and remit via email 2. I have created the form in Acrobat 9 Pro via the form Wizard and

  • Unit Conversion value not copied in Proforma invoice

    Hi I have sales unit and base unit of measures are different which are defined in material master. When I create a sales order, in condition tab, I can see the conversion value between condition unit and base unit. But when I create order related pro

  • Photoshop Elements 3 with 10.4.6 greys-out Open and Quit

    Since I installed 10.4.6, when I use Photoshop Elements 3.0 the File menu disables (greyed out) Open and Quit. I can quit from the dock with control key, but even dragging a file onto the dock will not open it. Tried re-installing Elements from the C