Values seen in logic debugger but not updating in SQL server after running

Hi,
I am trying to run a simple logic file, where I am reversing the sign of a few EXP accounts. I have written a similar code
*when account
*is account1
*when %value%
*is <>0
*rec(factor=-1)
*endwhen
*endwhen
Now when I run the logic debugger I am able to see the rows that will be updated. However when I run the logic file through package and look in the database the records do not get generated. What could be the reason?
Also when I calculate an exp account through logic, the database stores +ve values in the database. Is there any other way to ensure that EXP accounts calculated thro logic are always store according to how they would be stored when sent through a schedule?
Thanks,
Hardik.

Hi,
As suggested by Jonathan in the previous post, you need a *COMMIT statement to post the calculated records into the fact tables.
Your observation is correct regarding the accounts. The accounts with ACCTYPE as INC are stored as negative values and those of EXP are stored as positive values. This is how the BPC is setup to create records by default. It is easy to rollup the accounts to the higher level accounts, just by summing the values.
So EXP type accounts are stored as positive values, be it sent from input schedule or posted by a DM package.
Hope you understand.
Karthik AJ

Similar Messages

  • IMovie HD will let me preview titles, but not update or embed.

    IMovie HD will let me preview titles, but not update or embed.

    Do you try the correct way?
    http://www.danslagle.com/mac/iMovie/usage/5017.shtml

  • My itunes is downloading new software but not updating! can anybody help??

    My itunes is downloading the software but not updating can anybody help?

    My itunes is downloading the software but not updating can anybody help?

  • Late 2007 MBP went black screen. I've been told it is the logic board but not due to the Nvidia GPU

    My sister's Oct 2007 MBP just died suddenly. Yesterday when she opened Entourage it said it couldn't open because there wasn't enough memory. We rebuilt the Entourage Identity and it then worked fine. It wouldn't shut down though, and when woken from sleep went gray then black. The apple store here in Spain says it is the logic board but not due to the Nvidia GPU, and it's not worthwhile to replace it. Is it possible they are wrong? They also say it will cost about 800 Euros to replace! It's a 2Ghz Core 2 Duo/2GB/256MB, EMIC No: 2136.

    Go step by step and test.
    1. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own"
    2.Reset PRAM. http://support.apple.com/kb/PH4405

  • TS3276 Yahoo! sent mail not updated in the server.

    I have an issue with Yahoo! Mail. When I'd sent email from my Mail from my mac book air, it can be sent but a copy is not updated in the server, thus when I view from the web or other device I can't see it as it is not updated. I've checked the "store sent msg in server" in the mail preference.
    I don't this issue with exchange and gmail.
    Thanks

    Right that is how the  POP email protocol works. If you want all mail sent and received to always be on the Mail Server then you have to use a mail provider that allows, uses, either IMAP or MS Exchange.

  • Folio producer not updating folios on app after publishing folios

    Folio producer not updating folios on app after publishing folios, before May updates it used to update my folios right away, it's been 2 days and my folios has not been published or updated. please help

    yes I did, i even unpublished the folios adn then published them again,  i made them public when publishing and it still doesn't make the updates on the app, on the folio producer it shows the latest files and that the updates request was sucessfull. But istill no updtes on app,
    please help

  • My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    Make sure you are using the correct user name / password.
    https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can
    https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message

  • Disp+work.exe is running but not conneceted to message server

    Hi All
    disp+work.exe is running but not conneceted to message server
    Regards
    Blue

    Hi,
    Did you tried restarting the server ?
    is there any error related to the shared memory ?
    I suggest you to  restart and check ..if still no luck..
    better post the query in SAP Basis Forum with all the dump you are getting ..you willget quicker responses..
    HTH
    Rajesh

  • Dispatcher running but not connecd to message server

    hi..
    iam trying to start my server, in process list iam getting dispatcher  is not getting start.first iam getting 'DISPATCHER IS RUNNING BUT NOT CONNETED TO MESSAGE SERVER' it is in yellow color, after some time , it is changing to green color but the message is ' MESSAGE SERVER IS OK BUT DIALOG QUEUE IS STAND STILL' afere some time its getting stop.
    can any one help me pls what is the problem?

    thanku for your advise..
    ok.. the following the are developer traces for 0,1,2.
    0.
    trc file: "dev_w0", trc level: 1, release: "620"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Wed Jul 11 16:54:32 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c       226]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll'
    [dbcon.c      3789]
    M  systemid   560 (PC with Windows NT)
    M  relno      6200
    M  patchlevel 0
    M  patchno    251
    M  intno      20020600
    M  pid        4872

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 4872) [dpxxdisp.c   1016]
    I  MtxInit: -2 0 0

    X Wed Jul 11 16:54:33 2007
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.

    M Wed Jul 11 16:54:39 2007
    M  calling db_connect ...
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c       226]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll'
    [dbcon.c      3789]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 008192) [thxxhead.c   1098]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = -1
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    rfc_req = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server pandu_DEV_00 on host pandu (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Wed Jul 11 16:54:39 2007
    M  *  RELEASE     620
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        8408
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 4872) [dpnttool.c   345]
    1.
    trc file: "dev_w1", trc level: 1, release: "620"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Wed Jul 11 16:54:35 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' ...

    M Wed Jul 11 16:54:36 2007
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c       226]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll'
    [dbcon.c      3789]
    M  systemid   560 (PC with Windows NT)
    M  relno      6200
    M  patchlevel 0
    M  patchno    251
    M  intno      20020600
    M  pid        4244

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 1 4244) [dpxxdisp.c   1016]
    I  MtxInit: -2 0 0

    X Wed Jul 11 16:54:37 2007
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 1 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.

    M Wed Jul 11 16:54:39 2007
    M  calling db_connect ...
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c       226]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll'
    [dbcon.c      3789]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 008192) [thxxhead.c   1098]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

    M  Info for wp 1

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = -1
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    rfc_req = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server pandu_DEV_00 on host pandu (wp 1)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Wed Jul 11 16:54:39 2007
    M  *  RELEASE     620
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        8408
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    B  dbtbxbuf: Buffer TBX_SINGLE not available
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 1 4244) [dpnttool.c   345]
    2.
    trc file: "dev_w2", trc level: 1, release: "620"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Wed Jul 11 16:54:37 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c       226]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll'
    [dbcon.c      3789]
    M  systemid   560 (PC with Windows NT)
    M  relno      6200
    M  patchlevel 0
    M  patchno    251
    M  intno      20020600
    M  pid        5888

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 2 5888) [dpxxdisp.c   1016]

    I Wed Jul 11 16:54:39 2007
    I  MtxInit: -2 0 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 2 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.

    M Wed Jul 11 16:54:40 2007
    M  calling db_connect ...
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c       226]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'C:\usr\sap\DEV\SYS\exe\run\dboraslib.dll'
    [dbcon.c      3789]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 008192) [thxxhead.c   1098]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

    M  Info for wp 2

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = -1
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    rfc_req = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server pandu_DEV_00 on host pandu (wp 2)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Wed Jul 11 16:54:40 2007
    M  *  RELEASE     620
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        8408
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 2 5888) [dpnttool.c   345]

  • 'DISPATCHER IS RUNNING BUT NOT CONNETED TO MESSAGE SERVER'

    hi..
    iam trying to start my server, in process list iam getting dispatcher  is not getting start.first iam getting 'DISPATCHER IS RUNNING BUT NOT CONNETED TO MESSAGE SERVER' it is in yellow color, after some time , it is changing to green color but the message is ' MESSAGE SERVER IS OK BUT DIALOG QUEUE IS STAND STILL' afere some time its getting stop.
    can any one help me pls what is the problem?

    Dear friend
    Your database is notworking
    shailesh Tiwari

  • Crystal Reports XI connection problems - after updating to SQL Server 2008

    Hello!
    We have some ASP.NET 2.0 Applications that call some CR XI report files with parameters to generate PDF Files. After upgrading from SQL Server 2005 to 2008 the apps hang when trying to generate the PDFs. Some research with Fiddler showed that ever time a 401 Error is raised. Calling the reports directly from CR Designer with the same connection values and Parameter shows the appropriate data that means the log-in data iare functioning.
    I already tried switching the data source driver from OLE DB to SQL Native - no effect!
    Can it be that CR XI does not work with SQL Server 2008? Or is there an update for CR XI and SQL Server 2008?
    Because we are in a hurry I hope somebody can solve my problem(s) ...?!
    Thanks in advance,
    Frank

    Hi Frank,
    No CR XI is not supported nor is any version completely at this time. What we've found issues in so far are the Time(7) time is returned as a string value and Stored Procedure Data/time parameter SQL creation. The Time(7) field is an OLE DB driver issue with Microsoft but the Date/time SP issue is our issue and it's currently tracked and escalated. It will be fixed for CR 2008 with SP3 I believe. And I've asked that the same fix be rolled back to CR XI R2 but waiting on the reply from R&D if it can be done.
    What you need to do is download the trial version of CR XI R2 ( Release 2 ) and then use your XI Keycode to install it and it will work. Then update to the latest SP 5 Service Pack. XI is past it's end of life support which means there will be no updates or bug fixes any more.
    Next, MS SQL Server 2008 does not work with the MDAC version of the Native drivers, you must install the MS SQL Server Client. You'll see the driver name is "MS SQL Server Native client 10". This is the one you need to use.
    Another work around is to use ODBC, it seems to resolve all issues, but the client must be installed.
    Thank you
    Don

  • ORA-02070: Error when updating a SQL Server table thru an Oracle View

    I have a SQL Server table TIMESHEET which contains a number of VARCHAR and NUMERIC columns plus a DATETIME column.
    Only the DATETIME column is giving me trouble.
    On the ORACLE side I have a view which selects from the SQL Server table but in order to get the SELECT to work, I had to either put a CAST or TO_DATE function call around the DATETIME field
    Below is the relevant part of the 2 view definitions I have tried
    create view TIMESHEET as
    SELECT
    "TsKeySeq" as TS_KEY_SEQ,
    "EmployeeNo" as EMPLOYEE_NO,
    CAST("PeriodEnding" AS DATE) as PERIOD_ENDING,
    . . . (more columns - not relevant)
    FROM [email protected];
    An update to the view generates this message
    ORA-02070: database OLEMSQLPSANTDAS6 does not support CAST in this context
    create view TIMESHEET as
    SELECT
    "TsKeySeq" as TS_KEY_SEQ,
    "EmployeeNo" as EMPLOYEE_NO,
    TO_DATE("PeriodEnding") as PERIOD_ENDING,
    . . . (more columns - not relevant)
    FROM [email protected];
    An update to the view generates this message
    ORA-02070: database OLEMSQLPSANTDAS6 does not support TO_DATE in this context
    If I don't include either the TO_DATE() or CAST() then I get
    Select Error: ORA-28527: Heterogeneous Services datatype mapping error
    ORA-02063:preceding line from OLEMSQLSANTDAS6
    Does anyone have any idea how to update a SQL Server DATETIME column thru an ORACLE view?

    You can't cast accross heterogenious databases and there is no need to. HSODBC treats SQL Server DATETIME column as DATE. For example, I have SQL Server table:
    CREATE TABLE [Ops].[T_JobType](
         [JobType] [varchar](50) NOT NULL,
         [JobDesc] [varchar](200) NULL,
         [InsertDt] [datetime] NOT NULL CONSTRAINT [InsertDt_00000006]  DEFAULT (getdate()),
         [InsertBy] [varchar](128) NOT NULL CONSTRAINT [InsertBy_00000006]  DEFAULT (user_name()),
         [LastUpdated] [datetime] NOT NULL CONSTRAINT [LastUpdated_00000006]  DEFAULT (getdate()),
         [LastUpdatedBy] [varchar](128) NOT NULL CONSTRAINT [LastUpdatedBy_00000006]  DEFAULT (user_name()),
    CONSTRAINT [T_JobType_PK] PRIMARY KEY CLUSTERED
         [JobType] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON, FILLFACTOR = 100) ON [DATA01FG]
    ) ON [DATA01FG]Now on Oracle side I do:
    SQL> desc "Ops"."T_JobType"@pbods
    Name                                      Null?    Type
    JobType                                   NOT NULL VARCHAR2(50)
    JobDesc                                            VARCHAR2(200)
    InsertDt                                  NOT NULL DATE
    InsertBy                                  NOT NULL VARCHAR2(128)
    LastUpdated                               NOT NULL DATE
    LastUpdatedBy                             NOT NULL VARCHAR2(128)
    SQL> select "InsertDt" from "Ops"."T_JobType"@pbods;
    InsertDt
    18-AUG-08
    09-OCT-08
    22-OCT-09
    18-AUG-08
    19-NOV-08
    SQL> SY.

  • Can not  start/stop fullfilment server after fresh install

    Can not start/stop fullfilment server after fresh install
    Product: e-business suite (11.5.9)
    Platform: Win XP 5.1 (SP2)
    We have performed a new installation of ebusiness suite in our windows platform.
    Installtion went with out any problem.
    But we can not start/stop the fullfilment server. While trying to start/stop the server we are getting follwing error message:
    c:\oracle11i\prodcomn\admin\scripts\PROD_03274019ih\jtffmctl.cmd start
    script returned:
    C:\oracle11i\prodcomn\admin\scripts\PROD_03274019ih>echo off
    You are running jtffmctl.cmd
    Mon 13/09/2004
    01:46 PM
    "Starting Fulfillment Server for "PROD" on port "9300" ...\n"
    "Error returned while running OUI"
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    Class not found: oracle.apps.jtf.fm.engine.processor.Processor
    Please let us know how to fix this issue.
    Regards, Kunal

    edit the jtffmctl.cmd and make sure that it point to the correct java path, alse try to use java 1.4.1

  • Addon in Client is not connecting to SQL Server 2005

    Hi, we have an add-on, which is working in SBO 2005 with SQL Server 2000.
    When the addon tries to connect to the same DB, restored on a SQL Server 2005, the addon is hanging up on the oCompany.Connect method. But this only happens when we try a remote connection from a SBO client.
    If we run the addon from the SBO server, where the SQL Server is running too, the addon completes the connection in the expected way.
    The SBO Client is connecting to the server, and works fine, but the addon is not connecting to the server.
    We try to connect to the server from the client, using SQL Query Analizer from SQL Server 2000, and it works fine too.
    Does anyone knows how to fix this issue?
    Thanks

    Hi Alejandro, thanks for your response.
    After installing SBO Patch 20 the add-on is now connecting fine, so I think it must be an upgrade on the new DI API. I noticed the version changes from 6.80.318 to 6.80.319
    I had checked the SQL to confirm is was allowing remote connections.
    Thank you guys.

  • Database Mail not working with SQL Server Agent

    I'm running SQL Server 2005 Standard edition 64 bit with SP2 on a 64 bit machine. 
    Database mail does not work with SQL Server Agent.  When I configure SQL Server Agent to use database mail the test email button is greyed out and inactive therefore I cannot send emails using operators or for jub success failure etc. 
    I've read that there was supposed to be a fix for this with SP1 but I have SP2 and still receive the same problem.  Please can somebody help as I do not wish to use SQL Mail as a work around due to this becomming redundant in future versions of SQL Server.
    Kind Regards

    The problems solved
    steps:
    1)we create a mail profile at at Managment->Database Mail ,of SQL Managment
    2)we set this account as "default" at Managment->Database Mail -> Configure Database Mail -> Manage profile security
    3)At tab "Alert System" of SQL Server Agent properties , we check the "Enable mail profile" , Mail System=Database Mail, Mail profile = "the profile we already create"
    4)we create a new operator at "Operators" of sql agent, where at "notification options" -> "Email name" we put the mail where we want to sent the agent the mails at failured job
    5)We go at a specific job, at tab "Notifications" ,we check the "email" check box and then we choose the operator we just create, at the text box next to check box.
    I hope not to forget something
    Thank You all for the help

Maybe you are looking for