API for logging in a function

Hi,
is there or will there be a standard API for logging information in a function.
When a function is executed I would like to store different information e. g. debugging information. So if a function fails, I can see how far the function executed. Of course, I can store such data on my own referencing the actid. But I don4t want to write code for a feature that is already implemented.
Thanks!
Regards,
Christian

The standard workflow PL/SQL interface includes exception handling, this is the call to the wf_core.context API. This API has about 10 parameters you can use to include useful debugging information, and this will be put on the error stack and visible through the Workflow Monitor or the error notification if you registered a workflow to manage the function activity errors.
Hi,
is there or will there be a standard API for logging information in a function.
When a function is executed I would like to store different information e. g. debugging information. So if a function fails, I can see how far the function executed. Of course, I can store such data on my own referencing the actid. But I don4t want to write code for a feature that is already implemented.
Thanks!
Regards,
Christian

Similar Messages

  • Is there existing open Java APIs for time dependent ShortestPath function or routing on NDM Model?

    According to slides here (Page #44-46), there should be some API for that purpose.
    But when I focus on that sample and the open API provided here , I cannot find such function that realize it.
    Could someone briefly describe the time dependent SP APIs for that purpose?
    Thank you.

    According to slides here (Page #44-46), there should be some API for that purpose.
    But when I focus on that sample and the open API provided here , I cannot find such function that realize it.
    Could someone briefly describe the time dependent SP APIs for that purpose?
    Thank you.

  • Api for operations in Java2D

    Hello friends.
    I am using Java2D to realize a small application that worked with geometric figures.
    And I am looking for an api or something, which help me to realize the following operations: I calculate of angles between straight lines, to know if two straight lines are parallel or perpendicular, etc.
    Thank you.

    The standard workflow PL/SQL interface includes exception handling, this is the call to the wf_core.context API. This API has about 10 parameters you can use to include useful debugging information, and this will be put on the error stack and visible through the Workflow Monitor or the error notification if you registered a workflow to manage the function activity errors.
    Hi,
    is there or will there be a standard API for logging information in a function.
    When a function is executed I would like to store different information e. g. debugging information. So if a function fails, I can see how far the function executed. Of course, I can store such data on my own referencing the actid. But I don4t want to write code for a feature that is already implemented.
    Thanks!
    Regards,
    Christian

  • I just got a new iphone 4 for att and my friend installed the sim card in it for me. the imessage function isnt connecting with the my cell number. a while back i had logged into my apple account on someone elses cell phone and their number keeps showing.

    i just got a new iphone 4 for att and my friend installed the sim card in it for me. the imessage function isnt connecting with the my cell number. a while back i had logged into my apple account on someone elses cell phone and their number keeps showing. when i try to just select my number to send and recieve imessages from it will not show up. i can send and recieve regular text but not pictures or imessage. i have tried logging off and restarting and nothing has worked.help please!!

    Did you remove your account information from the other person's iPhone?

  • Is there a custom function available which can be used for logging errors captured in a sp in a sql table

    Is there a custom function  available which can be used for logging errors captured in a sp during and after execution in a sql table?
    Basically we  would like to utilize such function  in every sp and log errors of each sp in a error log table
    Mudassar

    Thanks .
    I was able to write this however I am thinking I am missing something
    CREATE FUNCTION testfunction1()
    RETURNS @temp_error TABLE (
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    AS
    BEGIN
    insert @temp_error(procedure_name,line_number,error_number,error_message,error_state,error_severity)
    select error_procedure(),error_line(),error_number(),error_message(),error_state(),error_severity()
    RETURN;
    END;
    CREATE TYPE test_type AS TABLE(
    id int identity(1,1),
    procedure_name varchar(255),
    line_number int,
    error_number int,
    error_message varchar(max),
    error_state int,
    error_severity int,
    occurence_datetime datetime default current_timestamp,
    user_name sysname default suser_name(),
    login_name sysname default suser_name()
    GO
    create proc usp_error_test
    @test_type AS test_type READONLY
    as
    begin
    begin try
    select 1/0
    end try
    begin catch
    select * from testfunction1(@test_type)
    end catch
    end
    Mudassar

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • Forum help for Logging api

    I need help with logging api. Which developer forum do I have to use for the same. Thanks.

    Have you got the SAP Wrapper for logging API? if you got, can you give it to me:)

  • Use GP API for some GP Runtime Work Center's Function

    Hi ,experts:
    i want to use GP runtime API to do some useful function of GP Runtime Workcenter's function.But when i use
    a method ,got this error:
    java.net.MalformedURLException: The protocol is not allowed
        at com.sap.security.core.server.csi.URLChecker._isValid(URLChecker.java:334)
        at com.sap.security.core.server.csi.URLChecker.isValid(URLChecker.java:775)
        at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.checkURL(AbstractURLGenerator.java:791)
        at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.computeWebResourceURL(AbstractURLGenerator.java:1304)
        at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.getWebResourceURL(AbstractURLGenerator.java:279)
    here is the code i wrote in the Web Dynpro Component Controller method:
           try{
           IWDClientUser wdUser = WDClientUser.getCurrentUser();     
           IUser user = wdUser.getSAPUser();  
           IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user);
           IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
           IGPWorkItem[]  itemList = rtm.getWorkItems(GPWorkItemStatus.WORKITEM_STATUS_OPEN, userContext);
           if(itemList[0].isSingleTaskUI()){
                result = itemList[0].generateNavigationTargetForSingleTaskUI();
           }catch(Exception e)
    how can i solve this exception and continue to complete my work?
    best regards

    Hi,
    I fear that it is not possible to customize the Runtime WorkCenter. This link will always be there. However, it is possible for you to implement your own work center by using the GP Public API.
    Administrator, Owner and Overseer are runtime concepts and cannot apply for browsing the Gallery. It is possible to define DT Permissions for each object. To do this, open a process/block/action and click on the tab "Permissions". There you can search for <i>Role</i>, <i>Group</i> or <i>User</i> and grant them special rights.
    For more information, you can have a look at <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/7f55429c0fab53e10000000a1550b0/frameset.htm">Granting for permissions for GP Objects on help.sap.com</a>
    Hope this helps.
    David

  • I need urgent help in business catalyst SOAP api for [Product_UpdateInsert] operation.

    Hi Everyone, I am new in Business Catalyst, but, my company is working with BC for a while. I have a task to import external data (such as catalogue, products, orders, shopping cart etc) to business catalyst native tables via SOAP api. I am able to use "Product_ListRetrieve" function that gave me products from BC. Now I want to insert and update product list, for which the api call is "Product_UpdateInsert". I am not being able to feed in even a single record. I need any code (jquery, php, javascript, java etc) as a sample, that works with SOAP api for this function. It is very urgent. Please help me. Thanks in advance. I have tried with the code below, but I am getting bugs (format not valid):
    try
         $soapfileurlUpdate="https://worldsecuresystems.com/catalystwebservice/catalystecommercewebservice.asmx?wsdl";
         $soap_clientUpdate = new SoapClient($soapfileurlUpdate);
         $array_of_products=array("Products",
      array("productId"=>"1128",
       "productCode"=>"1128",
               "productName"=>"Bostik 1128  Heat Transfer Sealer (thermo Putty) 460g Cartridge",
               "description"=>"Bostik 1128  Heat Transfer Sealer (thermo Putty) 460g Cartridge",
               "smallImage"=>"images/products/TEMUFF-7_New.jpg",
               "largeImage"=>"/images/products/TEMUFF-7.jpg",
               "cataloguesArray"=>array("DUCTS"), //array("string"=>"DUCTS"),
               "pricesSaleArray"=>array("US/9.95"),//array("string"=>"US/9.95"),
               "pricesRetailArray"=>array("US/9.95"),
               "pricesWholesaleArray"=>array("US/5.00"),
               "wholesaleTaxCodeArray"=>array("US/0.00"),
               "taxCodeArray"=>array("GB/VAT"),
               "groupProducts"=>array(""),
               "groupProductsDescriptions"=>array(""),
               "supplierEntityId"=>"1",
               "supplierCommission"=>"2",
               "weight"=>"20",
               "relatedProducts"=>array(""),
               "tags"=>"",
               "unitType"=>"",
               "minUnits"=>"1",
               "maxUnits"=>"2",
               "inStock"=>"10",
               "onOrder"=>"0",
               "reOrder"=>"0",
               "inventoryControl"=>"true",
               "canPreOrder"=>"0",
               "custom1"=>"",
               "custom2"=>"",
               "custom3"=>"",
               "custom4"=>"",
               "popletImages"=>"",
               "enabled"=>"true",
               "deleted"=>"false",
               "captureDetails"=>"true",
               "downloadLimitCount"=>"22",
               "limitDownloadsToIP"=>"0",
               "isOnSale"=>"true",
               "hideIfNoStock"=>"false",
               "productAttributes"=>"Size*|5|N:Small|,Medium|,Large|;Color*|5|N:Red|,Wh",
               "isGiftVoucher"=>"false",
               "enableDropShipping"=>"true",
               "productWeight"=>"20",
               "productWidth"=>"20",
               "productHeight"=>"29",
               "productDepth"=>"20",
               "excludeFromSearch"=>"0",
               "productTitle"=>"Bostik 1128  Heat Transfer Sealer (thermo Putty) 460g Cartridge",
               "cycletypeId"=>"1",
               "cycletypeCount"=>"1",
               "slug"=>"item-1",
               "hasVariations"=>"false",
               //"variations"=>array("ProductVariation"=>"true"),
               "roleResponsible"=>"",
               "metaDescription"=>""));
      echo "SOAP Data To Be Inserted:<br/>";
      var_dump($array_of_products);
      $vectUpdate = array("soap_version"   => SOAP_1_2,
                     "username"=>$soapusername,
                     "password" => $soappassword,
                     "siteId"=> $soapsiteid,
                     "productList"=>$array_of_products);
      $quoteUpdate = $soap_clientUpdate->Product_UpdateInsert($vectUpdate);
         $status = 1;
      echo "BC side is updated.";
      catch (SoapFault $sf)
         $errorlogText=date("Y-m-d h:i:s A"). "=> Error occurred while inserting data to business catalyst. \r\n";
      echo $errorlogText. " See log for errors.\r\n";
      echo $sf->getTrace();
      //fwrite($errorLogFile,$errorlogText. "Error Dump: ". $sf->getMessage());
      return;

    Hi BCMan, Thanks for replying. Yes, the error is from BC side. The format was invalid. I fixed the issue today. Actually, I was pushing data from my PHP server to BC host system using SOAP api. I am still getting format errors, but I am able to insert data into products table.
    One more question if you don't mind. Is it possible to use JQuery/Javascript to push data into BC tables in real time (while browsing products table) using customized pages? There are documents to solve this. However, I could not find examples of how I could fetch data from JSON file using JQuery and then populate products/catalog/order tables.
    I appreciate your help.
    Thank you.

  • API for Delete address

    Hello Group,
    Just want to check any one know if there is an API for deleting the address. I have check the hr_person_address_api there is no procedure known as delete_address
    I am using Oracle 11.5.10.2
    I have opened the hr_delete_person_api and found that oracle is doing
    begin
    delete    from per_addresses a
    where    a.person_id    = P_PERSON_ID;
    exception
    when NO_DATA_FOUND then
    hr_utility.set_location('HR_PERSON_DELETE.DELETE_A_PERSON', 2501);
    end;
    Looking forward for a suggestion before using delete on the database
    Thanks,
    Nitin Singh

    Hi Hussein,
    I have seen that paper before logging the case. I was not able to understand what oracle has asked to do in 4 th step (what should be there in wrapper what api) nothing is mentioned.
    Please can you guide me if possible.
    The first question to ask is why you want to delete addresses.  It is your data and your decision what to keep and what to delete.  However, there are no publicly callable APIs that provide a batch delete function for addresses.  There is a non-public API found in the address form, but before using this there are several things to think about.
    *1. Deleting addresses deletes history from your instance. Is this really what you want to do?*
    *2. Try it in a test instance first.*
    *3. Back up the table before you delete anything. As an example, use this command to create a backup table:*
    create table PER_ADDRESSES_05122005
    AS   select from per_addresses;*
    *4. A wrapper must be written for the API to select the records to be affected. What records do you want to delete? For example, if you want to delete all addresses that are not primary, then you could be deleting some valid secondary addresses. Or, if you want to delete addresses that do not have an end date of 31-DEC-4712, you could be deleting addresses from terminated employees (address date end dates on date of termination). The conditions on what records to delete must be carefully considered.*
    Thanks,
    Nitin Singh

  • How to find out the Area Menu for a Report/ Table/Function Module

    Hi,
    Is there any procedure to find out the <b>"AREA MEANU"</b> for a Report/Table/Function Module...
    Or is there any Transaction code / Report is available to find out all the report for a particular "AREA MENU".
    Thank you for your quick response...
    Regards,
    Thiru
    <b></b>

    Hi,
    Check these below threads:
    user log in & log out time SAO
    How to find user log-out time ?
    Regards,
    Nitin

  • Setting privilege level for logging into ASA through ACS

    Hi!,
    In my environment i implemented AAA for logging into switches, routers, asa etc through ACS which is being configured TACACS+.
    I have set different privilege levels like readonly, readwrite etc into ACS. There are working fine when i try to login into switch or router.
    But in ASA i am unable to restrict the privilege levels of different users.
    Can someone plz guide me with ASA & ACS setting to solve this issue!!!!!

    Hi!!
    I tried this option. It is working fine with routers & switches. But for ASA privilege access it is not functioning.
    I created 3 profiles in "Shared Profiles" & added 1 of them in Group setting & added users to this group with mentioning group authentication. This way i am able to control access to the switches & routers with proper privilege. But the same way when i tried to impolement ASA it's not happening.
    Can u plz check it out...

  • API for Shared Review in Acrobat SDK

    Hi,
    I would like to implement the functionality for Shared Review programmatically.
    Right now we need to open each pdf file select Comments -> Send for Shared Review in Acrobat Professional and follow the steps in wizard.
    I am looking at achieving the above steps programmatically so that I need not open each pdf individually and run through the wizard. For this, is there any API available either in Acrobat 8.1 or 9.0 SDK which I can make use of and build an automatic service.
    A swift response is appreciated.
    Thanks & regards,
    Rajeev

    is there (today - 2011) really still no API for that?
    Also not in LiveCycle Server?
    Thanks,

  • Problem JMS-c api for message Acknowledgement

    Hi,
              I am working in a project that uses bea-JMS C api for
              Communictions.In my project i am using topic messaging for message reciving and sending..Here i am using durablesubscriber for receiving and client Acknowledgement to Acknowledge the message.
              In receiving function I store the message in another JmsMessage for Client-Acknowledgement.
              Here comes one problem that, while i Acknowledge on the receive function each and every message Acknowledge correctly.But while i Acknowledge that message from some other function it return -1 as , that it cannot Acknowledge.The other function is working in another thread.
              Wheather the seprate thread will make the problem for confirmation.

    Similar to JDBC connections, JMS sessions and their related child producers and consumers are not thread-safe (with the one exception of the session.close() method).
              For example, without added application level locking, its not safe to acknowledge a message from one thread while another thread receives or produces a message. This has special implications for asynchronous consumers, as once the asynchronous consumer is created, access to the session and objects is limited to code within the "onMessage()" and "onException()" callbacks.
              This behavior is detailed in the JMS specification.
              Tom

  • ABAP API for MDM work flow

    Hi SDN,
    I need some information related to ABAP API for MDM workflow. I did search in SDN and I found one solution in a thered posted on Jul-2008.
    ABAP API - MDM Workflow execute
    My dought is: Do we have any ABAP API for call MDM work flow. Please provide me the solution ASAP. Apprciate for your immediate response.
    Regards,
    Kumar.

    Hi LAKSHMAN ,
    To answer your question specifically
    Using ABAP api you cannot call MDM workflows as of mdm 5.5 there are no functions specific to calling MDM workflows in ABAP.If you want to implement workflows on ABAP side you need to go for SAP ECC workflows which is a different topic than MDM>
    To call MDM workflows over the Java stack ie WAS (SAP portal),You have 2 ways
    - UWL
    - Guided Procedures.
    - UWL is a way of calling MDM workflows on EP.Wherein the workflow design will be done in MDM and it will only be called in portal using appropiate connections and configurations.
    You can refer the below links to know more on them:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/771f1a61-0e01-0010-daa9-93a52905da09 (uwl)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45 (UWL config)
    - GP is a way where by you need to design the entire workflow on SAP portal the logic can be pertaining to MDM but the design is completely on portal using webdynpros and api.
    You can refer the below links to know more on them:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831  (Guided procedures)
    Enterprise Master Data Management   (EP Guided)
    To know more on ABAP api and its provider classes you can refer the below:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601ddb01-e5c8-2910-d981-b190b51fca44  (abap api webinar)
    Re: Abap api error (Abap api provider classes Forum)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

Maybe you are looking for