Call statistics for customer functions (CMOD)

Hi experts,
I wonder, whether R/3 4.6C provides an option to generate a call statistics for customer functions (w/o adding additional logging code in the ZX-includes).
This would be beneficial to identify customer functions called frequently (and to check/improve the performance of these subsequently).
I am aware of a similar feature for BAdIs as well as the coverage analyzer (in NW'04s).
Regards
Thomas

Hello Thomas
On a 4.6c release I would use the following approach:
(1) Identify the transactions which pass user-exits
(2) Analyze transaction log
Regards
  Uwe

Similar Messages

  • Calling conventions for C functions for the VFP

    If I write a function like this:
    float test(float a)
    return a*a;
    And then I look at the assembly code generated:
    _test:
    LFB48:
    LM1:
    @ args = 0, pretend = 0, frame = 0
    @ frame_needed = 0, usesanonymousargs = 0
    @ link register save eliminated.
    LVL0:
    LM2:
    fmsr s14, r0
    LM3:
    @ lr needed for prologue
    LM4:
    fmuls s13, s14, s14
    fmrs r0, s13
    LVL1:
    bx lr
    The question is, why are the input register to this function belong to ARM and not to VFP? Surly the input registers should be S0 and not R0. This seems bad to me because the ARM register needs to be converted to a VFP register and then reconverted back to a CPU register after the calculation.
    I thought C calling conventions were R0-R3 for ARM and S0-S7 for VFP?
    Is there a way to make the compiler follow this convention?

    C++ can call on C code as long as C++ is given instructions that the function prototypes are in fact C functions, and not C++ functions.
    You have to do this since C and C++-s scheme of handling function names at the object code level are different. By invoking the extern "C" {}, the compiler will generate object code that can link against C code.
    You have maybe seen C header files with
    #ifdef __cplusplus
    extern "C" {
    #endif
    //... prototypes here
    #ifdef __cplusplus
    #endif
    Last edited by Themaister (2010-05-15 20:19:35)

  • Showing advanced statistics for Custom Metrics (min/max/median)

    In my test project I'm able to add custom metrics but I can only view charts with the average value.
    (Tested today on the new Azure Portal https://portal.azure.com)
    I would like to see min/max value, the median or even specify ranges myself.
    Is that possible?
    Friedo

    Currently we have CTI ToolKit Supervisor Desktop which is working just fine, all agents are listed and agent monitoring is enabled. Only call recording option is not available here and this is the major reason why we are trying to find a way to list all agent statistics into the Supervisor Desktop application.
    Is this somehow even possible? Is there any way that we can start the cad services when user logged into the java app through the jtapi? Please share your experience it means alot to me.
    Is CTIOS Supervisor Desktop different than CTI ToolKit Supervisor Desktop?
    Thank you, Ema

  • Call Bundling for custom bapi for mass data processing

    Hi all,
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/4c/4c0e96725311d396a80004ac96334b/frameset.htm
    can i create a custom bapi where i can compress created update tasks. Not single inserts but a single sql insert with many records.
    Are there some SAP FM in order to do it? Documentation says, i must do "Operations in buffer" and "Update buffer data".
    Regards
    Paul

    Is ABAPFIELD an IMPORTING parameter?
    > Total Questions:  17 (15 unresolved) 
    Maybe you should consider cleaning up your old posts.
    Rob

  • Problem in creating include program for customer exit for BC425_01

    Hi,
         I want to write a customer exit for transaction BC425_01. For identifying the include program for exit , i go to System->Status.There I double click on the program name(GUI).Then I perform a 'FIND' in main program for 'customer-function' keyword. I get 3 search results with "CALL CUSTOMER-FUNCTION '001' " , "CALL CUSTOMER-FUNCTION '002' " , "CALL CUSTOMER-FUNCTION '003' ".
    Now i double click on CALL CUSTOMER-FUNCTION '001'  and i am taken to the code of program where this function is called in MODULE cust_check INPUT. I double click on CALL CUSTOMER-FUNCTION '001'  and then I am taken to the function module code which contains a single statement 'INCLUDE ZXBC425G01U01 .' .
    Now I double click on this include program so that I can write my own code. But when i double click on it , a message displayed 'Program names ZX.. are reserved for includes of exit function groups'. Hence I am not able to creates this include program and write my coding.
    Kindly Help
    THANKS

    Hi Amber,
    Then you click enter button.It is asking to create object with that include name ZXBC425G01U01 in a pop-up.You  should select YES option.It will ask package . Give the package name and save.Then include program is created and allowed you to write your own code.
    Thanks,
    Prasad GVK.

  • Batch Processor and Custom Functions

    Hi,
    We're using the 10.4.2 Batch Processor, connected to an Oracle 11g database to handle large amounts of data.
    Recently, four custom functions have been added to the rulebase. Nothing complicated, just some string manipulation stuff (trim whitespace etc.). Each function is just a few lines of fairly simple code. No database calls, no web service calls or anything like that. It stays within the Java jar file.
    Suddenly the processing time of the BP has gone up from a couple of minutes to well over an hour. The only change to the rulebase has been the addition of the functions, nothing else.
    It almost looks like the BP is initialising the custom functions with every case that's processed. If this is the case then this would be massively inefficient and as a result we would not be able to implement our new functions.
    Has anybody else come across this before?
    Regards,
    Evert

    943413 wrote:
    Hi,
    We're using the 10.4.2 Batch Processor, connected to an Oracle 11g database to handle large amounts of data.
    Recently, four custom functions have been added to the rulebase. Nothing complicated, just some string manipulation stuff (trim whitespace etc.). Each function is just a few lines of fairly simple code. No database calls, no web service calls or anything like that. It stays within the Java jar file.
    Suddenly the processing time of the BP has gone up from a couple of minutes to well over an hour. The only change to the rulebase has been the addition of the functions, nothing else.
    It almost looks like the BP is initialising the custom functions with every case that's processed. If this is the case then this would be massively inefficient and as a result we would not be able to implement our new functions.
    Has anybody else come across this before?
    Regards,
    EvertEvert,
    You are correct, it does initialise the custom function for every case that is processed. This is necessary as every case is a determinations engine session.
    However, you have control over how long the initialization process. If you make the time consuming parts of your custom function static, and then make the initialization fast, then you will get a much faster custom function call. The custom function code is entirely within your control and you can make it as fast as you like.
    Cheers
    Frank

  • Find collective Search Help for partner function at runtime

    Hi experts,
    I have a screen very similar to VF05. When I enter the partner function, the corresponding field for the partner function, I want a collective search help to open.
    If I enter the partner function - Employee responsible, then the search help PERM has to be called or for partner function Payer, I want the search help DEBI to be called. Can anyone let me know how can I get the related partner functions, without hardcoding for every partner function. Something similar to the VF05 report.
    Warm Regards,
    Abdullah

    Hi,
    Collective search helps:- Combination of elementary search helps. When we need to fetch data based on multiple selection criteriau2019s. More than one tables are Selection from multiple tables
    Steps for creating collective search help.
    1) Enter the search help name and click on create.
    2) Choose Collective search help radio button option as the search help type.
    3) Enter the search help parameters.
    Note that there is no selection method to be entered for a collective search help.
    4) Instead of the selection method, we enter the included search helps for the collective search help.
    5)We need to assign parameters for each of the included search helps.
    6) Complete the parameter assignment by clicking on the push button.
    7) Collective search help offers the user to obtain F4 help using any of the included search helps.
    Hope this helps u.
    thanks

  • Business Objects 4.0 (Custom functions) -- Expert advise required

    Good day All!!!
    I require a technical expert advise from this forum ASAP. I hope you have some time amidst
    your busy schedule and answer the required clarifications.
    Problem Description:
    I would like to write a custom function (e.g to convert local time zone to utc and from utc time zone to local) and import that function in the BO 4.0 universe so that universe has the ability to use this function.
    I understand BO 4.0 supports importing of the custom functions e.g data_quality_custom_functions.atl.
    Expert advise Required from you on below questions:
    Now my question is how to write a custom function and generate the required .atl files that can be imported in the universe?
    Does this require any specific tool/API's to generate these functions ?
    Can we use traditional languages like C/C++ to generate the custom functions or does it uses any script based languages?
    Is there any flexibility to accommodate complex algorithms in the custom based function?
    Are do we have to approach SAP to generate the .atl files by giving some interface document?
    It would be of great help at this stage if you could provide some insight into the mentioned areas as we are in a critical stage to finalize a design approach. If you have time to answer our queries and require additional details on why we have to go for custom functions then I will be glad to provide right level of details.
    Looking forward to your expert advise early....
    Thanks
    NAGSCAT

    Yes, it is. Please, look at chapter 8.5.2 in the Business Intelligence Platform Administrator Guide.

  • Operation failed when trying to Save a Custom Function to the Repository

    When attempting to save a Custom Function to the Repository in Crystal Reports XI R2, I get the following error message:
    "Operation failed: You do not have edit right on: "Default folder for custom functions".
    Where is the default folder for custom functions and how do I grant it the "Edit" right?
    Thanks,
    Jim

    Hi Jim,
    To give rights to a user or a group to save custom function in the Repository:
    1. Open the Business View Manager
    2. Logon to your BusinessObjects Enterprise as the Administrator
    3. In the "Repository Explorer",  right click on the "Custom Functions" folder, and in the contextual menu, select "Edit Rights"
    4. In the "Edit Rights" window, add the user or group that you want to give the right to save a custom function to the repository, and set the "Edit" right to "Granted". Finally, click on the "OK" button to accept the change.
    The user will then be able to save a Custom Function to the Repository in Crystal Reports XI R2.
    Also, note that it is important that the "Everyone" group "Edit" right isn't set to "Denied" as every user is part of the "Everyone" group.
    If the group "Everyone" is set to denied, it will take precedence to the user rights, so nobody will be able to save custom function. So ensure the "Everyone" group right is either set to "Inherited" or "Granted".

  • Non-editable mode for customer master data in VA01 and VA02

    Hi all,
    User requirement is they don't want to give permission to change customer master data (payer & ship-to ). I didn't find any user exit to do screen non-editable.
    Can any one help me in this..
    Regards,
    Sudhakara

    Hi Sudhakar Reddy,
    For this transaction code user exits available :
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    For ur requirement whixh exit is suitable plz check it out. other wise put breakpoint for userexit and check it out.
    Rewards somr points.
    Rgds,
    P.Nag

  • Disco 10G Custom Function for HTML Call to pass specific sheetid

    After learning that I cannot specify Disco 10G to open a particular worksheet in a workbook from a form menu launch (currently all I get is a listing of worksheets available in the workbook), I am told to create a custom function to handle this - instead of using OracleOASIS.RunDiscoverer.
    I have tried creating a custom function in our custom schema, but I only end up with an error page (Invalid Function) when I try to launch the report from the menu function. I even tried duplicating the Oracle OracleOASIS package and renaming it in APPS, only to receive the same results.
    Does anyone know the correct steps involved to create a new package for the HTML Call of a function in order to launch a Discoverer report?
    Thank you,
    Suzanne

    Hi Suzanne
    Here's a simple form that can be used to call Discoverer Plus:
    <br><br>
    <html><br>
    <form method="post" name="Login" action="http://myserver.com/discoverer/plus"> <br>
    Username: <input type="input" name="us" value="username"> <br>
    Password: <input type="input" name="pw" value="password"> <br>
    Database: <input type="input" name="db" value="database"> <br>
    EUL: <input type="input" name="eul" value="EUL"> <br>
    Workbook: <input type="input" name="opendbid" value="MY_AIRLINE"> <br>
    Worksheet: <input type="input" name="sheetid" value="222"> <br>
    <input type="submit" name="connect" value="Connect"><br>
    </form> <br>
    </html>
    <br><br>
    You will need to make sure you pass the correct username, password, database, eul, workbooks id (opendbid), and worksheet id (sheetid). Note that the EUL needs to be passed in uppercase and that the workbook id is case sensitive. You should also notice that this form displays the values in the form and allows the user to change them. After the user has entered their own values, they click the button called Connect.
    <br><br>
    A similar form for Viewer is as follows:
    <br><br>
    <html><br>
    <form method="post" name="Login" action="http://myserver.com/discoverer/viewer"> <br>
    <input type="hidden" name="us" value="username"> <br>
    <input type="hidden" name="pw" value="password"> <br>
    <input type="hidden" name="db" value="database"> <br>
    <input type="hidden" name="eul" value="EUL"> <br>
    <input type="hidden" name="wbk" value="MY_AIRLINE"> <br>
    <input type="hidden" name="wsk" value="222"> <br>
    <input type="submit" name="connect" value="Connect"><br>
    </form> <br>
    </html>
    <br><br>
    You will notice that for Viewer not only is there a different URL but the commands to pass the workbook and worksheet ids are different too. You should also notice that Viewer will execute the call without showing the values on the screen. All you will see is a button called Connect.
    <br><br>
    Does this help?<br><br>
    Regards<br><br>
    Michael

  • Unable to debug an exit in CALL CUSTOMER FUNCTION 003

    Hi Guys,
    I have an exit EXIT_SAPMV45A_003 that is called by CALL CUSTOMER FUNCTION 003. I had placed a break point at
    CALL CUSTOMER FUNCTION 003 and the debugger stops here but i am unable to debug inside this to reach into
    the code in EXIT_SAPMV45A_003 even after setting the system debugging on & Update debugging
    ON.
    Can someone help me with this?
    thanks
    Dan

    You have to include that Enhancement of that exit in the Project and Activate that project in the CMOD.
    The Enhancement for the exit EXIT_SAPMV45A_003 is V45A0003.
    Create a project in CMOD
    And inclue V45A0003 in the project.
    Activate the Project.
    Now, it will stop at break point.
    Regards,
    Naimesh Patel

  • Unable to set breakpoint at statement CALL CUSTOMER-FUNCTION

    HI,
    I am try to set break point at CALL CUSTOMER-FUNCTION , to know the exit name for VA01 screen.
    But even after setting the break point it is not stopping . can anyone tell me wht could be the problem.
    i am setting like this ,
    1) entering '/h'
    2) from menu   BREAKPOINTS->BREAKPOINT AT -> STATMENT
    3) Enter.
    4)f8
    mineis Ecc 5.0 version.
    please let me know

    Hi,
    Here is the final answer to your problem.
    CALL CUSTOMER-FUNCTION does NOT call the function module if it is not linked to an active project. Thus, a break-point in the function module will be ineffective.
    So make sure you have linked it to a project.
    Also refer this nice link on wiki for User Exits.
    [Customer Exits (CMOD)|http://wiki.sdn.sap.com/wiki/display/ABAP/CustomerExits%28CMOD%29]
    Hope this solves your problem, close the thread if it does solve.
    Regards
    Abhii
    Edited by: Abhii on Aug 27, 2010 8:47 PM

  • Call function and call customer function

    Hi
    Can anybody let me know what is the difference between CALL FUNCTION AND CALL CUSTOMER- FUNCTION .
    i know call customer- function is used while we r working on user exits .
    but is their any specific reason of difference ...
    Thanks

    CALL CUSTOMER-FUNCTION function_exit parameter_list.
    Effect
    This statement can be used in programs delivered by SAP. It includes the function module exit specified in function_exit . The function module exit is a customer exit. In an SAP program, it enables you to call a function module provided by SAP and implemented by the customer.
    The indicator function_exit must be a three-digit text field literal. A function module exit is specified by SAP using the transaction SMOD and can be activated using the transaction CMOD in customer systems.
    Specifications by SAP
    An empty or partly implemented function module must be assigned to the function module exit using the transaction SMOD. The name of the function module consists of EXIT_, the program name, which contains the statement CALL CUSTOMER-FUNCTION, and the three-digit indicator in function_exit. The interface of the function module is completely defined by SAP.
    Activation in the customer system
    The transaction CMOD enables the customer to implement the source code of the function module within an enhancement project and to activate the function module exit. If the function module exit is not activated, the statement CALL CUSTOMER-FUNCTION is ignored. If the function module is activated, the corresponding function module is called in the same way as the general function module call.
    Syntax and meaning of the parameter_list for the assignment of the actual parameters to formal parameters and for the exception handling are the same as in a general function module call. It is not possible to dynamically fill the interface.
    CALL FUNCTION func
    Syntax
    CALL FUNCTION func { parameter_list
                       | parameter_tables }.
    Effect
    This statement calls the function module specified in func. The identifier func must be a character-type data object, which contains the name of a function module in uppercase letters during the statement execution. Each function module of an SAP system has a unique name, which is why you need not specify the function group.
    Use additions parameter_list or parameter_tables (as of release 6.10) to statically or dynamically assign actual parameters to the formal parameters of the function module and return values to the non-class-based exceptions.
    Note
    If the name of a function module is specified by a constant or as a literal, the extended syntax check can check the statement.
    Exceptions
    Catchable Exceptions
    CX_SY_DYN_CALL_ILLEGAL_FUNC
    Cause: The called function is known but not active.
    Runtime Error: CALL_FUNCTION_NOT_ACTIVE
    Cause: The called function is unknown.
    Runtime Error: CALL_FUNCTION_NOT_FOUND
    CX_SY_DYN_CALL_ILLEGAL_TYPE
    Cause: The type of the actual parameter does not fulfill the requirements of the function interface.
    Runtime Error: CALL_FUNCTION_CONFLICT_GEN_TYP
    Cause: The actual parameter does not have the length expected by the function.
    Runtime Error: CALL_FUNCTION_CONFLICT_LENG
    Cause: The actual parameter does not have the type expected by the function.
    Runtime Error: CALL_FUNCTION_CONFLICT_TYPE
    Cause: Only those functions can be called in the update task that are intended for it.
    Runtime Error: CALL_FUNCTION_NO_VB
    Cause: An actual parameter does not fulfill the alignment requirements of the respective formal parameter.
    Runtime Error: CALL_FUNCTION_WRONG_ALIGNMENT
    CX_SY_DYN_CALL_PARAM_MISSING
    Cause: The function expects a parameter, which has not been passed by the caller.
    Runtime Error: CALL_FUNCTION_PARM_MISSING
    CX_SY_DYN_CALL_PARAM_NOT_FOUND
    Cause: The caller has passed a parameter, which is not known to the function.
    Runtime Error: CALL_FUNCTION_PARM_UNKNOWN
    plz reward points if it helps

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

Maybe you are looking for

  • Problem with swf on 1 page of my website?

    I have created a simple flash swf which I have added to all the pages of my website. For some reason when I load one particular page a blank screen appears. When I delete the swf the page appears! This doesn't happen on the other pages and wonder if

  • Intel GMA and OpenGL 1.2... update? Even the Radeon 7000 supports 1.3!

    It seems that on several large projects (VMWare, a few games out there being developed for OS X too), the issue of the Intel GMAs not having proper OpenGL support in Apple's drivers have been a problem for months now. The thing is, the GMA 950 is cap

  • Auto change page size of local printer ?

    Dear all, I have two reports with different output page size. Those two reports print with the same local printer. Each time i print report, i need manully select the print page size on the printer setting page (on printer server level, not sap level

  • Acrobat Pro CS6 onn OSX scroll speed

    Hi all, This is a strange one... I installed CS6 on my Macbook Pro, updating from CS5.5. All is ok except for one weird issue. Scrolling up and down PDF files in Acrobat Pro is super slow. Like mollases. It's very annoying. I have always assumed scro

  • Problems with 802.1x MS PEAP machine and user authentication

    Using Microsoft PEAP 802.1x client on Windows XP SP2, if we enable machine authentication against a Windows Domain, the machine authentication is successful and the machine gets access to the network. However, when user logon occurs to the domain, co