Performance testing of a functional module

Hi
Based on the input and corresponding expected output parameters we will test a particular functional module
Here how to check the performance of that functional module
Output is correct,but is there any standard specified timelimit  for the runtime , Load or it depends upon the complexity of that funct mod.
Please provide some inputs regarding this
Regards
Amuthan M

http://www.javaperformancetuning.com/tips/webservice.shtml

Similar Messages

  • Performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA)

    Hi Friends
    I am having performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA) and one my client got over 8 thousend employees . This function-module taking forever to read the data. is there any other function-module to read the absences data IT2001 .
    I did use like this .if i take out this F.M 'HR_TIM_REPORT_ABSENCE_DATA_INI' its not working other Function-module.please Suggest me .
    call function 'HR_TIM_REPORT_ABSENCE_DATA_INI'
    exporting "Publishing to global memory
    option_string = option_s "string of sel org fields
    trig_string = trig_s "string of req data
    alemp_flag = sw_alemp "all employee req
    infot_flag = space "split per IT neccessary
    sel_modus = sw_apa
    importing
    org_num = fdpos_lines "number of sel org fields
    tables
    fieldtab = fdtab "all org fields
    field_sel = fieldnametab_m. "sel org fields
    To Read all infotypes from Absences type.
    RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.
    central function unit to provide internal tables: abse orgs empl
    call function 'HR_TIM_REPORT_ABSENCE_DATA'
    exporting
    pernr = pernr-pernr
    begda = pn-begda
    endda = pn-endda
    IMPORTING
    SUBRC = SUBRC_RTA
    tables
    absences = absences_01
    org_fields = orgs
    emp_fields = empl
    REFTAB =
    APLTAB =
    awart_sel_p = awart_s[]
    awart_sel_a = awart_s[]
    abstp_sel = abstp_s[]
    i0000 = p0000
    i0001 = p0001
    i0002 = p0002
    i0007 = p0007
    i2001 = p2001
    i2002 = p2002
    i2003 = p2003.
    Thanks & Regards
    Reddy

    guessing will not help you much, check with SE30 to get a better insight
    SE30
    The ABAP Runtime Trace (SE30) -  Quick and Easy
    what is the total time, what are the Top 10 in the hitlist.
    Siegfried

  • Test sequence for function module

    i want to perform a test sequence in which, what is the out put of the first funtion module i want to pass them to the second function module .
    i want to know that whether i can do that or not if yes how?.
    thanks in advance.

    Hi u can do that by doing like this.
    Call 'function1'
    exporting
    var1 = var1
    improting
    var2 = var2
    if var2 is not initial.
    Call 'function2'
    exporting
    var3 = var2
    importing
    var4 = var4
    endif.
    Mark points if helpful.
    Regs
    Manas Ranjan Panda
    Message was edited by: MANAS PANDA

  • Error while Testing the Inbound Function Module

    Hi,
           I have created a Z Function Module (Posting Program) for Testing the EDI Shipment Tender Status. When I try to process the IDoc with the Transaction WE19 and when I enter the name of the Z function Module , it gives me an error saying that "Interface for Function Zxxxx is incorrect". Can somebody give me a solution for this? Answer would attract reward points.
    Thanks,
    Venkat.

    Hi,
    You need to register this Function Module against Message Type.
    Transaction code is : WE57.
    Nilesh

  • Performance improvement in a function module

    Hi All,
    I am using SAP 6.0 version. I have a function module to retrive the PO's . for just 10,000 records its taking long time.
    Can any one sugguest the ways to improve the performance.
    Thanks in advance.

    Moderator message - Welcome to SCN.
    But
    Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting
    Just 10,000 records? The first rule in performance improvement is to reduce the amount of selected data. If you cannot do that, it's going to take time.
    I wouldn't bother with a BAPI for so many records. Write some custom code to get only the data you need.
    Tob

  • Test Data for Function module

    Hi all , I want to define test data for the function module . Can any one help how or where to define it.
    - Neo

    Hi Neo,
    Are u talking abt testing a functional module separately without implementing in a program.
    If this is the case, then do the following:
    1.go to se37
    2.write name of functional module and press F8.
    3.there would be a screen which would give you place to write in values for the input parameters including internal table rows.
    4.fill in and press F8.
    If I have gt u wrong ,then pls clarify.
    Rgds,
    Shweta

  • How to execute Se30(performance check) for a function module

    can anyone please let me know hot to execute perofrmance check for a function module.

    In SE30 below the program option you have Function Module option.
    Give the FM name there >execute, It will lead to the SE37 for Function Module execution screen, enter the values>Execute.
    The ctrl will return back to SE30.
    Press Evaluate to know the analysis.
    Hope this answers.
    Regards
    Vinayak

  • Performance problem with OLE_FLUSH_CALL function module

    Hello Everyone,
    I am facing problem with OLE_FLUSH_CALL function module (execution is taking long time which is going to be dump error).
    Could you please help me in knowing solution for this problem?
    Thanking you in advance.
    Srinivas

    Hi Srinivas,
    the OLE_FLUSH_CALL does an RFC from ABAP backend to frontend UI. So high execution time could result from high network time, for example latency between UI and backend server.
    How many UI interaction steps did you measure for the trace above? Ideally, there should only be one OLE_FLUSH_CALL per user interaction step. If its more, the application is not written in an optimized way.
    Best Regards, Randolf

  • In Function Module

    Hi all,
    My function Group name is Z_TEST
    in that i am having function Module ZTEST
    In this function group i have one system generated include with the name   Z_LTEST$02.
    for what this include is created and what is the purpose of this include.
    Thanks in Advance...

    Hi Joe,
    When you create a function group or function module in the Function Builder , the main program and include programs are generated automatically.
    The main program SAPLfgrp contains nothing but the INCLUDE statements for the following include programs:
    キ LfgrpTOP. This contains the FUNCTION-POOL statement (equivalent for a function group of the REPORT or PROGRAMstatement) and global data declarations for the entire function group.
    キ LfgrpUXX. This contains further INCLUDEstatements for the include programs LfgrpU01, LfgrpU02,... These includes contain the actual function modules.
    キ The include programs LfgrpF01, LfgrpF02,... can contain the coding of subroutines that can be called with internal subroutine calls from all function modules of the group.
    The creation of these INCLUDE programs is supported from the ABAP Workbench by forward navigation (for example creation of a subroutine include by double clicking on the name of a subroutine in a PERFORM statement within a function module).
    Regards,
    Ruthra

  • Data transfer of Selected sets (QS51) using Function modules

    Hi All,
    I am doing data migration of Selected sets (TCODE QS51) using function module. I have tried using BDC recording but it is not working in background.In foreground it is giving information error on second screen as field  RQSKT-AUSWAHLMGE is not present on screen 1000..  In foreground I am pressing enter after this error its working fine but in background the execution stops there. So I am trying function modules QPAM_SELSET_CODE_CREATE  and QPAM_SELECTED_SET_CREATE
    The fields in template I have are KATALOGART(Catalog), WERKS(Plant),AUSWAHLMGE(Selected set) ,KTX01(short text), STATUS(status),CODEGRUPPE(code group), CODE (code), KURZTEXT (short text for codegroup),BEWERTUNG(Valuation code), FEHLKLASSE(Defect class)
    QPAM_SELSET_CODE_CREATE contains fields  KATALOGART, WERKS,AUSWAHLMGE ,CODEGRUPPE,CODE which I need and While stand alone testing of this function module I am geting error as follows with the data filled :
    Runtime:        6.496 Microseconds
    Exception       WRONG_KEY
    Message ID:          QS                         Message number:           299
    Message:
    No entries were found in catalog 1
    MAN WERK K AUSWAHLM CODEGRUP CODE
    300 WI10 1 DDTEST   THREADS  1
    QPAM_SELECTED_SET_CREATE contains KATALOGART , WERKS,AUSWAHLMGE , KTX01 which I need and it requires Language key fiels KSP01. I specified it it executes successfully but in transaction it is not there. some FMs contain some fields and not all fields so I want to know which one to use ? Can anyone give me sample code how to use these FMs?

    Note 381286 - Code grps + selectd sets:Transport request requestd
    Note 592418 - Composite SAP note: Transport of code groups and codes
    But I do not recommend a modification because the system does not generate request for that in the production system.
    This means you can maintain catalog directly without transport in the production system.
    Only development or test system ask you a request number.
    Regards
    Luke

  • Error in function module ARCHIVOBJECT_GET_TABLE

    Hi experts,
    We are using the function module ARCHIVOBJECT_GET_TABLE to retreive
    the archived scanned image and then we will attach this image in
    emails.It was working previously .Suddenly this function module is giving error and I have tested the above function module in DEBUG mode.The error is due to " no entry exists in table 'SDOKPROF'.
    we are able to see the archived scanned dcoument through OAAD .Why this
    function module is giving error suddenly?How the entries are maintained
    in table SDOKPROF?
    We checked that all archiving settings are fine in OAC0 and OAC3 and RFC from SAP to IXOS also working correctly.
    This function module ARCHIVOBJECT_GET_TABLE has status Not released.
    the error is from the function module "SDOK_PROFILE_READ " inside the FM ARCHIVOBJECT_GET_TABLE.SDOK_PROFILE_READ also not release.Error raised is from the select query inside SDOK_PROFILE_READ.Is the problem due to the function module status not released?
    Kindly suggest Me.
    Best Regards,
    Veena.

    I have actually passed this information to our IXOS admin guy, he is still looking at it though.
    In the mean time can you please pass me the <b>sample code</b> on how you guyz are actually doing this through report. I tried couple of things but I'm sure I wasn't right in framing the correct process, since you have a proved report already, it would be of a great help if you can share.
    You can aswell mail it to my personal id <u>[email protected]</u>.
    Thanks in advance.

  • Bapi or Functional Module for shipment!!

    Friends,
    I need a Bapi or a FM to attach a delivery on a shipment . Please let me know if there is any. I am on 4.6 C
    Thanks

    Hi Andrew,
    BAPI_SHIPMENT_CHANGE does exist.
    But it is not yet released.
    CAUTION                                                              *
    This function module is not released officially.                     *
    It is not implemented in normal applications                         *
    and is not well tested.                                              *
    (This function module is only implemented to store the knowledge     *
    for later use)                                                       *

  • Idocs - Inbound function module

    Hi All,
    I'm facing a prolem while testing the inbound function module thru transaction WE19.
    The steps i'm following.
    1) i'll give the message type & will proceed further
    2) when i select the idoc & click on the push button "inbound function module " , My Z FM will displayed afterwards when i press enter a error message will be displayed.as"Interface for the Z function module is Incorrect"
    i have created Z funtion module, Z message type,Z IDOC type,Z segment type. Z process Code
    All the configuration like WE57,WE20,WE42 has been done.
    Please help.
    Points will be rewarded
    Thanks,
    Sureshkumar

    Suresh , please check if ure function module interface is as per the template below:
    IMPORTING     
         INPUT_METHOD LIKE  BDWFAP_PAR-INPUTMETHD
         MASS_PROCESSING  LIKE  BDWFAP_PAR-MASS_PROC
    EXPORT     
         WORKFLOW_RESULT  LIKE  BDWFAP_PAR-RESULT
         APPLICATION_VARIABLE  LIKE  BDWFAP_PAR-APPL_VAR
         IN_UPDATE_TASK  LIKE  BDWFAP_PAR-UPDATETASK
         CALL_TRANSACTION_DONE  LIKE  BDWFAP_PAR-CALLTRANS
    TABLES     
         IDOC_CONTRL STRUCTURE  EDIDC
         IDOC_DATA STRUCTURE  EDIDD
         IDOC_STATUS STRUCTURE  BDIDOCSTAT
         RETURN_VARIABLES STRUCTURE  BDWFRETVAR
         SERIALIZATION_INFO STRUCTURE  BDI_SER
    This is the general required format for IDoc inblund processing using FM.
    Message was edited by:
            Ayan Banerjee

  • Extracting Text Field using a function module

    Hi Experts,
          We are trying to extract a test field from the R3 using a Function Module.
                  The Text from R3 Looks like this
                 Input Parameters
                  ID -1
                  SEQ 2
    It displays
              Column 1 Column2
               This is test
               strategy for Function
               Module xxxx
    So we put in some parameters to get this test field displayed. As you see the above is just one field but they are in different lines
            So what happens when we put in the database is it adds a new field
    Eg
    ID SEQ Column 1 Column2
    1   2        *            This is test
    1   2        *            strategy for Function
    1   2        *            Module xxxx
    The result that we need is
    D SEQ Column 1 Column2
    1   2        *            This is test strategy for Function Module xxxx
    How can we handle this in the Query Transform
    Your help in advance is appreciated.
    Thanks
    Edited by: alangilbi on Nov 17, 2010 3:49 AM

    Have you considered using a pivot transform to get your rows into columns and then a query transform to concatenate the columns together?

  • Smartform function module

    HI,
      is it same development client smartform function module (meane when we execute the smartform) and test client smartform function module?pls help me?
    regrds,
    dhanan

    HI,
    We have two function modules in smartforms,
    One is when we activate the smartform it iwll give at runtime which will encapsulate all the attributes of that particular smartform we cant run the smartform in different client if we use that function module.
    Second One is We have one more function module is there which is main SSF_FUNCTION_MODULE_NAME
    output of this function module is another function module. we can run the program in any client if we use this function module

Maybe you are looking for