FM used for error log

Hi experts,
I would like to ask if you happen to kmow an alternative FM to 'SMPO_DISPLAY_MESSAGES'.
The thing is I'm using error log in my program and I configure it so that there is just a pushbutton in the ALV. Once the button is pushed, the error encountered in the execution of the program will show.
Using FM 'SMPO_DISPLAY_MESSAGES' would show the pop-up for errors while executing the program and not after execution.
If you happen to know any alternative for this FM, it would really help.
Thanks in advance.
Jen

Use below FMs
BAL_LOG_CREATE
BAL_LOG_REFRESH
BAL_LOG_MSG_ADD
BAL_DSP_LOG_DISPLAY
reward if useful

Similar Messages

  • Which trigger to use for error logging output ?

    hello,
    is there a trigger which is executed every time
    an error occurs in report generation ?
    so that i can write the error-message via
    "TEXT_IO" to an external file every time the
    trigger fires ?
    any suggestions
    greetings
    thorsten lorenz

    No, there's no equivalent of the Forms On-Error trigger. Please see my response in your other thread for information on where the error messages can be found.
    Hope this helps,
    Danny

  • Is there any FM to generate spool request for error log of a background job

    Hi,
        I am going to create a program to create deliveries and do PGI. This program will be assigned to periodic background job.Now whatever  errors are generated in program i have to send the error log to spool request.Is there any FM for generating spool request with this error log  or how can this be done? Kindly provide sample code if possible.
    Thanks.
    Nimish Dongare.

    Hi Nimish,
    How are you doing, This is Shreekant working as ABAP developer, I sow your post in sdn forum, I have a similar requirement like I am changing the delivery taking some data from a flat file which is coming from other system and do PGI. If any error occurs during this process I need to capture it and present it as a report or create log file.. whichever is easier.
    Please can u help me how did u achieved this functionality for your requirement?.. pls. can u share some details.
    If u don mind, can u give me ur email id to communicate.
    Thanks,
    Shreekant

  • Practical use for clickthru log

    Regarding the clickthru log (populated by the htmldb_util.count_click or Z procedure)...
    What is a practical use of this feature? Other than a "Huh, that many, eh? Nice" by glancing at it from the Admin pages.
    One thing I thought of was "self-destructing" download links where the link is rendered conditionally by querying the WWV_FLOW_CLICKTHRU_LOG view and checking the count(*) for that category.
    So, I decide that I want to allow this download to happen only, say, 100 times and then disable the link and put up a message "Sorry, maximum number of downloads exceeded" or something like that.
    Has anyone made any other use of this feature in their applications?
    Thanks

    Vikas,
    At CASEtech, we are using the clickthru log for 3 different activities within our product offering.
    1. We have on all the web sites we create for clients a footer link:
    "Site Design by CASEtech Inc. ©2004 All rights reserved." with a clickthru to track how many of our customer's customers are coming to our web site.
    2. We have a customer who has rotating advertising in their header, with an opportunity to click for more information. Our client wants to know how many times this advertising link is clicked for each of its "sponsors"
    3. We include the clickthu on images sent in emails from our Oolaroo - Oracle HTML DB applications as a way of tracking emails read.
    I. Michael Snyder
    Vice President, CASEtech, Inc.
    www.casetech.net
    President, MAOP
    www.maop.org
    Atlantic Oracle Training Conference
    Leveraging Your Oracle Investment
    December 8 - 9, 2005
    George Washington University
    Cafritz Conference Center
    Washington, DC

  • FUNCTION MODULE FOR ERROR LOG IN BILLING OF SALES ORDER

    Hello,
    Is there any way through which I can access the error log generated while releasing billing through vfx3?
    Is tehre any function module or table for the same?
    Regards,
    Krutika

    the problem resolved myself.

  • Best practice for Error logging and alert emails

    I have SQL Server 2012 SSIS. I have Excel files that are imported with Exel Source and OLE DB Destination. Scheduled Jobs runs every night SSIS packages.
    I'm looking for advice that what is best practice for production environment.Requirements are followings:
    1) If error occurs with tasks, email is sent to admin
    2) If error occurs with tasks, we have log in flat file or DB
    Kenny_I

    Are you asking about difference b/w using standard logging and event handlers? I prefer latter as using standard logging will not always data in the way in which we desire. So we've developed a framework to add necessary functionalities inside event handlers
    and log required data in the required format to a set of tables that we maintain internally.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Finding Error using the Error Log

    Hi,
    In ODI Operator, I can export my logs to my local disk. When I go to see these logs which are all
    XML files, I get a lot of information but not what I'm looking for.
    Example:
    Number of rows successfully processed: 8021
    Number of rows rejected: 355
    I want to know why the 355 rows were rejected, but I can't see anything that tells me
    what went wrong and which rows are giving me problems.
    Can someone tell me me if I'm looking in the right place and second
    what do I need to look for to find why my records did not load.
    Thanks
    Eric

    Hi Julien,
    When I right click my target table in Designer I get the following menu:
    (Translation from french)
    -Delete the datastore
    -Regenerate the mappings by homonymie
    -Data
    -Number of lines
    -Sort -
    Please note I'm using
    ODI Version 10.1.3.4.7_01 -18/12/2008 11:22
    Also I looked for the corresponding error table but there is none. In my case it's LQ_DIM_TEST_TRG
    but there is nothing like or close to E$_LQ_DIM_TEST_TRG
    It's really a problem when you cannot see what record did not load and why...
    Can I find these errors in the XML file? I looked but did not find anything...
    That points me to the errors.
    Thanks,
    Eric

  • Had to restart information store service. Caused by throttling?? Event ID 1010 from ManagedAvailability, any where else to look for error logs?

    For some reason we had to restart the information store service. So far I came up with these logs from the
    ManagedAvailability event logs. If there some where else to check for additional information?  It looks like the throttling allowed a failover?!
    DatabaseFailover-00cb58bd-0115-4478-b4aa-fe60dce2757a-DatabasePercentRPCRequestsDatabaseFailover: Throttling allowed the operation to execute
    Starting recovery action (Action=DatabaseFailover, Resource=00cb58bd-0115-4478-b4aa-fe60dce2757a, Requester=DatabasePercentRPCRequestsDatabaseFailover, ThrottlingMode=None)
    Recovery action failed. (Action=DatabaseFailover, Resource=00cb58bd-0115-4478-b4aa-fe60dce2757a, Requester=DatabasePercentRPCRequestsDatabaseFailover, Error=Microsoft.Exchange.Cluster.Replay.AmDbMoveOperationNotSupportedStandaloneException: An Active Manager
    operation failed. Error: The database action failed. Error: This operation is not supported on standalone mailbox servers.
       at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbOperation.Wait(TimeSpan timeout)
       at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MoveDatabase(Guid mdbGuid, MountFlags mountFlags, UnmountFlags dismountFlags, DatabaseMountDialOverride mountDialOverride, AmServerName fromServer, AmServerName targetServer,
    Boolean tryOtherHealthyServers, AmBcsSkipFlags skipValidationChecks, AmDbActionCode actionCode, String moveComment, AmDatabaseMoveResult& databaseMoveResult)
       at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClassc.<MoveDatabaseEx>b__b()
       at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String databaseName, RpcServerOperation rpcOperation)
       --- End of stack trace on server (XMNWDEX001.Xamin.com) ---
       at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String serverName, RpcErrorExceptionInfo errorInfo)
       at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, IADDatabase database, String targetServer, InternalRpcOperation rpcOperation)
       at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.MoveDatabaseEx(IADDatabase database, Int32 flags, Int32 dismountFlags, Int32 mountDialOverride, String fromServer, String targetServer, Boolean tryOtherHealthyServers, Int32
    skipValidationChecks, AmDbActionCode actionCode, String moveComment, String& lastServerContacted, AmDatabaseMoveResult& moveResult)
       at Microsoft.Exchange.HA.ManagedAvailability.ManagedAvailabilityHelper.PerformDatabaseFailover(String componentName, String comment, Database database)
       at Microsoft.Exchange.Monitoring.ActiveMonitoring.Responders.DatabaseFailoverResponder.InitiateDatabaseFailover(String databaseGuidString)
       at Microsoft.Exchange.Monitoring.ActiveMonitoring.Common.ThrottledRecoveryAction.Execute(Boolean throwOnException, TimeSpan timeout, Action`1 action)
       at Microsoft.Office.Datacenter.ActiveMonitoring.ResponderWorkItem.InvokeResponder(CancellationToken cancellationToken)
       at Microsoft.Office.Datacenter.ActiveMonitoring.ResponderWorkItem.CheckCorrelationAndInvokeResponder(MonitorResult lastMonitorResult, CancellationToken cancellationToken)
       at Microsoft.Office.Datacenter.ActiveMonitoring.ResponderWorkItem.<>c__DisplayClassb.<>c__DisplayClassf.<DoManagedAvailabilityWork>b__9(ResponderResult lastResponderResult)

    Hi,
    Based on this event log, I find the error “Error=Microsoft.Exchange.Cluster.Replay.AmDbMoveOperationNotSupportedStandaloneException” and error “Error: This operation is not supported on standalone mailbox servers.”
    This error seems that there is unsupported configuration in your Exchange deployment.
    I will be very glad to help if you explain your Exchange server deployment for more details.
    Thanks.

  • RFID healthcare system, used for error prevention with RFID wrist band

    RFID systems can be used in a wide range of application since it provides an efficient and reliable means for identification. RFID technology, which is remarkably versatile enabling in many uses level, will be rapidly and widely used in healthcare.
    Do you find it a headache to manage the patients in hospital ? Do you need to use great effort to identify and keep track of the newborn babies ? RFID technology for healthcare,which will benefit the healthcare in a huge number of ways including error prevention of identifying wrong person by staff and make the record of patientsu2019 information a piece of cake, may help to figure out the above problems.
    Surveys by the National Patient Safety Agency (NPSA) have shown that errors in identifying patients lead to at least 500 a week getting the wrong treatment. In the wake of the healthcare incidents result from identification errors, voluntary cooperation within hospitals and between nations has a vital part to play. As a result, RFID technology for healthcare utilization to people tagging in hospital is in the ascendant.
    RFID is an enabling technology that saves lives, prevents errors, saves costs and increases security. It removes tedious procedures and provides patients with more freedom and dignity.
    The use of RFID offers automatic capture of identification data with great range, data capacity and read/write capabilities.
    Once a person is attached with a RFID wrist band of DAILY RFID(company name), with a RFID reader got close to the wrist band, without burrowing under the bedclothes, the identification data of each person u2019s information will be automatic captured by the chip of the wrist band. And personal data stored in an RFID-fed server behind a firewall is far more secure than the clipboard at the end of a bed, so as to decrease the risk of mislaying the patientsu2019 data. Whatu2019s more, there are no worries about electrically interfering with other electronics such as life support systems,because the RFID wrist band of DAILY RFID is a passive one, which use the RFID reader as a source of power,instead of a battery.
    The DAILY RFID(company name) series includes RFID tags for almost any application. For a full catalog of DAILY RFID durable RFID tag, kindly visit http://www.rfid-in-china.com/products_669_1.html.
    Edited by: Jack Pan on Sep 16, 2008 3:46 PM

  • The iOS update methods I use for error free updates

    I hope this helps some folks. I am not saying this is the 100% tried and true method but I have upgraded quite a few iPhones and never experienced an error or issue upgrading the software when following below method.
    1) If iOS 4 or greater, double-tap Home button to bring up running app list and hold first app to get jiggling and kill all apps one at a time until task bar is blank.
    2) Put iPhone into Airplane mode. (this will ensure that an incoming phone call, text message or push message won't interrupt the update)
    3) Do a graceful power-off by holding Top sleep button until red "slide to power off" then slide to power phone off and allow phone to fully shut down.
    4) Now press and hold Top sleep button and Home button at same time and continue holding both. The phone will begin to boot and you will see Apple logo but while continuing to hold both buttons the Apple logo will eventually go away and phone will seem to power back off but KEEP HOLDING BOTH BUTTONS and phone will power up again and Apple logo will popup again. KEEP HOLDING BOTH BUTTONS and phone will power down for good this time. When you release both buttons the phone should stay powered off. If phone begins to boot/power up when releasing buttons, you have not held them long enough. (Note: This power off/reboot sequence is very handy to remember for when your iPhone starts acting weird.)
    5) Press Top sleep button to turn phone back ON.
    6) Hook to your computer and Sync with iTunes and also create a Backup of phone in iTunes.
    7) Now update your phone with the iOS update and it should run smoothly.
    Thanks goes out to "TITNTUFF" for suggesting the Airplane Mode.

    The method i use is this, every new update apple comes out with, i always DFU mode my iphone, and do a clean install of the iOS. This to ensure that I don't get any problems when updating my iphone. I have done this all previous models and never had any issues.
    DFU will take some time but for me it's worth it. Airplane mode is a good way to this.

  • Error logging on primary key

    Hello,
    Here is the context :
    - The DB (10.2) is in production. I can not disable/drop/alter constraints
    - I have to reinject thousands of rows from another DB through database link but some of thoses lines may be rejected by the primary key / unique key in the production DB
    - As the row number is very large, I do not want to do the following :
    <pre>insert into t_prod ( ...)
    select ... from t_remote@db_link
    where ...
    and .. not in (select ... from t_prod where ..)</pre> ;)
    As the constraints are UK/PK, I can not use the error logging in insert statement
    As the constraints must be kept enabled, I can not use the exceptions into in an alter constraint statement
    Is there any way to avoid the infamous not in select ?
    Thanks,
    Christian.

    I prefere to use the SQL documentation over the Admin Manual (very personal preference). http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9014.htm#BGBEIACB
    Often it is more clear. In this case:
    REJECT LIMIT
    This clause lets you specify an integer as an upper limit for the number of errors to be logged before the statement terminates and rolls back any changes made by the statement. The default rejection limit is zero. For parallel DML operations, the reject limit is applied to each parallel server.
    A reject limit of 0 would be mean, zero errors are logged before the statement terminates and rolls back.
    I agree that this is the same as "no error logging". Good thing you pointed this out, I was not aware of it myself.

  • Alternative to DML Error Logging

    I am supposed to catch invalid records in error table with the ORA exception. I am using 10g. Using DML Error logging i cannot catch primary key violations. Using for loop it will be very slow because there are lots of records. How to catch invalid records with the ORA exception
    Thanks

    user637544 wrote:
    Using DML Error logging i cannot catch primary key violations.You can't use DML Error Logging future, because:
    The DML error logging functionality is not invoked when:
    Deferred constraints are violated.
    Direct-path INSERT or MERGE operations raise unique constraint or index violations.
    UPDATE or MERGE operations raise a unique constraint or index violation.
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • DML Error logging with delete restrict

    Hi,
    I am trying to log all DML errors while performing ETL process. We encountered a problem in the process when one of the on delete cascade is missing in child tables but I was curious to know why we got that exception to the calling environment because we are logging all DML errors in err$_ tables. Our expectation is when we get child record found violation then that error will be logged into ERR$_ tables and process will carry on without any interruption but it interrupted in the middle and terminated. I can illustrate with below example
    T1 -> T2 -> T3
    T1 is parent and it is s root
    Create table t1 (id number primary key, id2 number);
    Create table t2(id number references t1(id) on delete cascade, id2 number);
    create table t3 (id number references t2(id)); -- Missing on delete cascade
    insert into t1 as select level, level from dual connect by level < 20;
    insert into t2 as select level, level from dual connect by level < 20;
    insert into t3 as select level from dual connect by level < 20;
    exec dbms_errlog(t1);
    exec dbms_errlog(t2);
    exec dbms_errlog(t3);
    delete from t1 where id = 1 log errors into err$_t1 reject limit unlimited;   -- Child record found violation due to t3 raised but I am expecting this error will be trapped in log tables.
    delete from t2 where id =1 log errors into err$_t2 reject limit unlimited; -- Got the same error child record violation. My expectation error will be logged into log tables.
    I am using Oracle 11gR2.
    Also, Please let me know if there is any restrictions to use DML error logging in DBMS_PARALLEL_EXECUTE.
    Please advise
    Thanks,
    Umakanth

    What is the error you want me to fix? Missing on delete cascade?
    The Code you posted has multiple syntax errors and can't possibly run. You should post code that actually works.
    My expectation is all the DML errors will be logged into error logging tables even if it is child record found violation.
    delete from t1 where id = 1 log errors into err$_t1 reject limit unlimited;  -- Child record found violation due to t3 raised but I am expecting this error will be trapped in log tables.
    delete from t2 where id =1 log errors into err$_t2 reject limit unlimited; -- Got the same error child record violation. My expectation error will be logged into log tables.
    DML error logging logs DATA. When you delete from T1 there is an error because the T2 child record can NOT be deleted. So the T1 row that was being deleted is logged into the T1 error log table. The request was to delete a T1 row so that is the only request that failed; the child rows in T2 and T3 will not be put into log tables.
    Same when you try to delete from T2. The T3 child record can NOT be deleted so the T2 row that was being deleted is logged into the T2 error log table.
    The exceptions that occur are NOT logged, only the data that the DML could not be performed on.
    After I fixed your code your example worked fine for me and logged into the DML error tables as expected. But I wasn't doing it from a client.

  • DML Error Logging Tables?

    How can I use DML Error Logging Tables with OWB10gR2 (in tab-definition and mappings)?
    btw: what really is a shadow-table?

    Hi,
    What you can do to solve this is to add a Pre-mapping to your mapping which calls a procedure that alters the constraint on the target table in which you use the "EXCEPTIONS INTO <error_table> " clause.
    like:
    PROCEDURE "ENABLE_CONSTR_WITH_EXCEPTIONS"("P_TABLE" IN VARCHAR2,  "P_CONSTRAINT" IN VARCHAR2) IS
    v_table            varchar2(30) := p_table;
    v_constraint          varchar2(30) := p_constraint;
    v_command           varchar2(200);
    e_CannotValidate      exception;
    PRAGMA EXCEPTION_INIT(e_CannotValidate, -2437);
    -- main body
    BEGIN
    /* Enable Constraint and write error into exception table */
      BEGIN
        v_command := 'ALTER TABLE ' || v_table || ' ENABLE CONSTRAINT '|| v_constraint ||' EXCEPTIONS INTO exceptions';
        execute immediate (v_command);
        commit;
      END;
        EXCEPTION
            WHEN e_CannotValidate THEN
               -- In my case when Unique Constraints are violated I will delete the duplicates.
               DELETE_DUPLICATES(v_table, v_constraint);
            WHEN OTHERS THEN
                NULL;  -- enter any exception code here
    END;
    -- End of ENABLE_CONSTR_WITH_EXCEPTIONS;Greetz,
    Ilona Tielke

  • DML ERROR LOGGING - how to log 1 constraint violation on record

    Hi there
    We are using DML error logging to log records which violate constraints into an error table.
    The problem is when a record violates > 1 constraint it logs the record but details only 1 constraint violation - is there a way to get it to record all constraint violations on an individual record.
    Many Thanks

    In the Netherlands several years ago a framework called CDM RuleFrame was introduced that did just this. Their main thought was that it is desirable to collect all error messages from one transaction and display them all at the end of the transaction.
    [url http://www.dulcian.com/papers/ODTUG/2001/BR%20Symposium%202001/Boyd_BR.htm]Here is an article that explains the concept.
    In short: it involves coding every single business rule as a database trigger using transaction management of CDM RuleFrame.
    I would not recommend it however, because I think [url http://rwijk.blogspot.com/2007/09/database-triggers-are-evil.html]database triggers are evil. However, it may appeal to first time users of an application.
    Hope this helps.
    Regards,
    Rob.
    Message was edited by:
    Rob van Wijk
    But if cannot be "turned on" by some switch: you have to design your system this way. So the short answer to your question is: no, it is not possible.

Maybe you are looking for

  • Hidden stacked canvases blink

    Hi! I have Forms 6i and I have a program with 3 tab pages. On the first tab there is master data block, the second and the third tabs are detail blocks. On both second and third tab I have two stacked canvases, let's name them can21, can22 (on the se

  • Where do Ii insert a CD or DVD in my new iMac Intel?

    Where do I insert a CD or DVD in my new iMac Intel OS X, version 10.7.4?

  • HP C4585 - connecting wirelessly from linux netbook

    Hi, I bought my daughter an Acer Aspire One netbook for xmas with linux as the OS (An error as none of us have any experience of using it).  Also got the above printer too and have already connected my laptop (Vista) wirelessly but cannot manage it w

  • Usage dependencies between SWCVs.

    Hi guys, I’m doing a BPM that needs to use a Message Interface defined in other SWCV. In the SLD, under the SWCV which the BPM itself resides, I have defined an Installation Time dependency for SWCV2. I already have the SLD cache cleared, but the Mes

  • Premiere Elements 8 - mein Dauerabsturz-Programm

    Schönen guten Abend, ich muss mich doch sehr darüber wundern, wie häufig meine neue Premiere Elements 8 Version abstürzt. Seit heute morgen arbeite ich an einem Projekt und so langsam überlege ich das Programm gegen ein anderes auszutauschen. Premier