CCMS function module runtime monitoring

Hi SAP Gurus,
We have our ECC 6 production server  which has a BAPI running many times a day. It is a function module running using an RFC connection from an external system and uses a dialog work process when it is running. The time we need to monitor is the Time/RFC call from RFC profiles in ST03. I have to monitor that whenever this function module runs for more than 10 seconds,there is a CCMS alert. I think I have to setup a new monitor for this but I don't what attributes to use to configure an alert. The Production server is connected to the Solution Manager System and CCMS & Solution Monitoring is set up. Please help me out. Thanks in advance.

Debug using update debugging.
Run ur program by  using /h it will enter debug mode, now switch on update debugging, and press f8 it should stop at ur break point(by the way is it a break point)

Similar Messages

  • Function module to monitor Job Status (SM37)

    Is there a function module or a table that I can use to monitor JOB STATUS in BW?
    Thanks in advance!
    Cristina.

    Hi Cristina,
    they are two alike SM37 giving you back the result in a table; very powerful:
    BP_JOB_SELECT_SM37B            Select Background Requests 
    BP_JOB_SELECT_SM37C            Extended Job Selection     
    goto se37 with one of these. Testing mode: enter A for dialog mode. Perform some selections and execute.
    Check the result and how the system has populated the import parameters.
    let me know if that's what you wanted
    Olivier.
    Message was edited by:
            Olivier Cora

  • List of CCM Tables & Function Modules

    Dear All,
    I was wondering if anybody could let me know CCM tables names catalog content is held. I.e the procurement catalog table.
    Also is anybody aware of CCM Function Module(s)one could use to display a given by category?
    Regards,

    Hi Grace,
    You can also check these reports in SE38... There are more of them, do a search on /CCM/*
    Report Name      Description.      Attention / additional hints
    /CCM/CLEANUP_CATALOG      Deletion / Cleanup of catalogs. May be dangerous since all catalogs can be deleted via this report! The report is needed if an upload crashed in order to delete the temp. version of the uploaded catalog.
    /CCM/PATCH_CATALOG      Needed if data migration was necessary between two support packages in order to migrate the data.
    /CCM/VERIFY_CATALOG      Prints out a list of the database content of a catalog.
    Options on the selection screen for Item valuations, includes deleted objects, views etc.
    /CCM/CATALOG_CME_DATA      Shows the predefined characteristics / data types
    Shows the characteristics / data types of a catalog.
    Can be used to check the data (e.g. alias, aspects) of predefined characteristics
    /CCM/VISUALIZE_MAPPING      Displays the mapping tables for a given catalog ID
    /CCM/INITIALIZE_CME      Initializes the predefined data types / characteristics. Used to initialize the catalog
    Regards,
    Adeoye

  • Runtime Error in execution of 'SO_OBJECT_SEND' function module

    Hi friends,
    We are going for upgradation from 4.6c to ECC6.0. There is one program which is used to send external mails thru 'SO_OBJECT_SEND', but the function module is giving runtime error(line no:515) in ECC6.
    what could be the reason?
    rewarded,
    Steve

    Hi,
    Plz check if any latest release notes of SAP for the function module 'SO_OBJECT_SEND' are available. If so you may apply those.
    If you have valid SAP service username and password you can get the notes from service.sap.com. Else your BASIS people can help you.
    Which is the highest patch level you have applied?
    Regards,
    Renjith Michael.

  • Function Module to Fetch data of Vendor for Inbound Delivery at runtime

    Hi All,
    I am new to EWM. I am using BADI /SCWM/EX_DLV_DET_PROCTYPE method CHANGE_PROCTYPE to change process type of the inbound delivery as per some logic from a custom table. However the parameter Vendor is not available in IS_ITEM during inbound delivery creation. Vendor is one of the key fields in my table.
    Does anyone know any solution/function modules to fetch vendor data for the inbound delivery at runtime. I know the database tables to fetch vendor but this works only once the inbound delivery is saved.
    Thanks and Regards,
      Vanessa Noronha

    Hi All,
    I am new to EWM. I am using BADI /SCWM/EX_DLV_DET_PROCTYPE method CHANGE_PROCTYPE to change process type of the inbound delivery as per some logic from a custom table. However the parameter Vendor is not available in IS_ITEM during inbound delivery creation. Vendor is one of the key fields in my table.
    Does anyone know any solution/function modules to fetch vendor data for the inbound delivery at runtime. I know the database tables to fetch vendor but this works only once the inbound delivery is saved.
    Thanks and Regards,
      Vanessa Noronha

  • How to fetch values at runtime in field exit function module

    Hi all,
    I am creating a field exit for delivery date in Purchase requisition.
    For that I need to capture Delivery Date and Sale Order entered in purchase requisition and pass this to Function module and validate this data.
    I am using import and export parameters but it is giving runtime error.
    please tell me how to solve it.
    Regards,
    Sunny

    Hi,
    There are other ways to access the purchase requisition related values..that is using field symbols..
    pls check the below mentioned link:
    Re: Pricing Routine : Can we get the VBAP Data in this pricing routine.(VOFM)
    Identify the similar data fields for requisition.
    Hope this wil help..
    Sumit

  • Runtime error when testing function module 'RSWR_RFC_SERVICE_TEST'

    Hi,
    I'am integrating BIW 3.5 with EP 6.0 according to the report 'RSPOR_SETUP'.I've carried all the steps,but an error on step 12 : system failure during call of function module 'RSWR_RFC_SERVICE_TEST' is there .When I test the connection with function module 'RSWR_RFC_SERVICE_TEST', a runtime error is coming i.e. "<--Localization failed: ResourceBundle='com.sap.engine.services.rfcengine.RFCR'.
    Any help would be highly appreciated.
    Regards.
    Manoj

    Hi Manoj,
    From this I can understand that a critical resource is missing which is required to start the RFC service in Reporting Services Web Runtime. This might be because of incomplete patch deployment. Deploy all the required software component archives related to com.sap.engine.services component and then retry this... I think this should solve the issue.
    Imran...

  • Runtime Error while extracting data by datasource based on function module

    Hi all,
    I am facing an issue while extracting data from a customised data source based on a new function module.
    The datasource is extracting data successfully for only 15000 records but after that the runtime error is displayed.
    I am not able to extract whole data from R/3 system.
    Please take a look into the details and tell me what should I have to do.
    Details of Issue:
    Runtime Error : GETWA_NOT_ASSIGNED
    What happened?                                                                               
    Error in the ABAP Application Program                                                        
    The current ABAP program "SAPLZ_99Z_BW_SD_PRICING"had to be terminated because  it has  come across a statement that unfortunately cannot be executed.
    Error analysis                                                                               
    You attempted to access an unassigned field symbol                                          
        (data segment 32790).                                                                               
    This error may occur if                                                                   
        - You address a typed field symbol before it has been set with                               
          ASSIGN                                                                               
    - You address a field symbol that pointed to the line of an                              
          internal table that was deleted                                                          
        - You address a field symbol that was previously reset using                           
          UNASSIGN or that pointed to a local field that no                                        
          longer exists                                                                               
    - You address a global function interface, although the                                      
      respective function module is not active - that is, is                                  
          not in the list of active calls. The list of active calls                                 
          can be taken from this short dump. 
    Edited by: anshu13 on Apr 27, 2010 10:28 AM

    The code is displayed here:
    error is in line no. 625
    Source Code Extract                                                                               
    Line SourceCde                                         
      595            <fs_fldval> = l_fieldval.
      596            APPEND <fs_dyntable> TO <it_dyntable>.                               
      597            CLEAR :l_fieldval, wa_fldcat.                                                  
      598            CLEAR l_totlength.                                                             
      599            CLEAR <fs_dyntable>.                                                        
      600         ENDIF.                                                                           
      601        ENDIF.                                                                               
    602        MOVE-CORRESPONDING <dd03l_fields> TO wa_dd03l.                                    
      603        IF <dd03l_fields>-datatype EQ 'DATS'.                                             
      604          l_fieldval = 'X'.                                                                
      605       ELSE.                                                                               
    606        SHIFT <dd03l_fields>-intlen LEFT DELETING LEADING '0'.                         
      607          IF l_totlength IS INITIAL.                                                       
      608            SHIFT l_totlength LEFT DELETING LEADING '0'.                                   
      609            l_totlength = '0'.                                                            
      610          ENDIF.                                                                           
      611          l_currlength = <dd03l_fields>-intlen.                                            
      612          CONCATENATE l_totlength '('  l_currlength ') ' INTO l_fieldval .                 
      613          l_totlength = l_totlength + l_currlength.                                        
      614        ENDIF.                                                                               
    615*** Consider both field name and domian name for checking in range list:                   
      616        IF <dd03l_fields>-fieldname IN s_fieldlist.                                        
      617          wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                  
      618        ELSEIF <dd03l_fields>-domname IN s_fieldlist.                                      
      619          wa_fldcat-fieldname = <dd03l_fields>-domname.                                    
      620        ELSE.                                                                               
    621          wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                  
      622        ENDIF.                                                                               
    623        ASSIGN COMPONENT wa_fldcat-fieldname                                               
      624             OF STRUCTURE <fs_dyntable> TO <fs_fldval>.                                    
    >>>>|        <fsfldval> = l_fieldval._                                                             
      626        CLEAR l_fieldval.                                                                  
      627        CLEAR l_currlength.                                                                
      628      ELSE.                                                                               
    629        IF <dd03l_fields>-datatype EQ 'DATS'.                                              
      630          l_fieldval = 'X'.                                                                
      631       ELSE.                                                                               
    632          SHIFT <dd03l_fields>-intlen LEFT DELETING LEADING '0'.                           
      633          IF l_totlength IS INITIAL.                                                       
      634            SHIFT l_totlength LEFT DELETING LEADING '0'.                                   
      635           l_totlength = '0'.                                                              
      636          ENDIF.                                                                           
      637          l_currlength = <dd03l_fields>-intlen.                                            
      638          CONCATENATE l_totlength '('  l_currlength ') ' INTO l_fieldval .                 
      639         l_totlength = l_totlength + l_currlength.                                         
      640        ENDIF.                                                                               
    641*** Consider both field name and domian name for checking in range list:                   
      642        IF <dd03l_fields>-fieldname IN s_fieldlist.                                        
    643        wa_fldcat-fieldname = <dd03l_fields>-fieldname.                                   
      644       ELSEIF <dd03l_fields>-domname IN s_fieldlist.         
    Edited by: anshu13 on Apr 27, 2010 11:33 AM

  • Runtime analysis for an RFC function Module

    Hi,
    How to get an Runtime analysis for an RFC function Module?
    I have an RFC function Module I am using it for a WEB INTERFACE . For this function Module I need to get Runtime Analysis.
    Please do not duplicate or cross post
    Edited by: Rob Burbank on Feb 21, 2009 11:42 AM

    Total Questions:  40 (39 unresolved)
    Duplicate thread locked.
    Rob

  • Function Module  Error Message to appear in  Monitor-Detail TAB

    Hello ABAP / BW Gurus,
    how and can I write an error message in a function module
    that it appears in the detail tab of the monitor ?
    Thank You
    Martin Sautter

    OK

  • Function modules to read ibase at runtime

    Hi guru's,
                Is there any function modules to read ibase at run time if yes please send those function modules its urgent please please.
    regards
    naveen kumar

    answered

  • Runtime error in functional module

    they given below program is a function module calling program.while am execute this program they could display the message like as
    What happened?
        Error in ABAP application program.
        The current ABAP program "YSUSFUN1" had to be terminated because one of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
        In program "SAPLYGROUP3 ", the following syntax error occurred
        in the Include "LYGROUP3U01 " in line 1:
        "The main program of the function "Y_INTERNAL1" does not begin with "FU"
        "NCTION-POOL"."
        Author and last person to change the Include are:
        Author "BASIS "
        Last changed by "BASIS "
    Error analysis
        In program "SAPLYGROUP3 ", the following syntax error occurred:
        "The main program of the function "Y_INTERNAL1" does not begin with "FU"
        "NCTION-POOL"."
    REPORT  YSUSFUN1.
    TABLES YSUSTAB1.
    DATA IT1 LIKE YSUSTAB1 OCCURS 2 .
    SELECT * FROM YSUSTAB1 INTO TABLE IT1.
    LOOP AT IT1 INTO YSUSTAB1.
    WRITE: / YSUSTAB1-NAME, YSUSTAB1-ROLLNO,YSUSTAB1-PHONENO.
    ENDLOOP.
    CALL FUNCTION 'Y_INTERNAL1'
      TABLES
        IT4           =  IT1  .
        LOOP AT IT1 INTO YSUSTAB1.
        WRITE: / YSUSTAB1-NAME, YSUSTAB1-ROLLNO, YSUSTAB1-PHONENO.
        ENDLOOP.
    2.)
    the given below program is function module definition. while at that time of execution they could display the message as
    *Syntax error in program*
    *Source code   LYGROUP3U01                                    Line     1*
      *The main program of the function "Y_INTERNAL1" does not begin with*
      *"FUNCTION-POOL".*
    FUNCTION Y_INTERNAL1.
    ""Local Interface:
    *"  TABLES
    *"      IT4 STRUCTURE  YSUSTAB1
    LOOP AT IT4.
    WRITE : IT4-name, it4-phoneno, it4-rollno.
    endloop.
    ENDFUNCTION.

    thanks
    before am gone to se80 to activate the function group , am  activate the function module only  not activate the function group .
    now am activate the function group they could not be depict the error .

  • GETTING RUNTIME ERROR IN TEXT_CONVERT_CSV_TO_SAP FUNCTION MODULE

    HI TO ALL SDNERS,
                       IM TRYING TO INSERT A COMMA SEPERATED FILE INTO AN INTERNAL TABLE BY USING FUNCTION MODULE "TEXT_CONVERT_CSV_TO_SAP",BUT IM GETTING A TYPE CONFLICT AND THE PROGRAM IS DUMPED
    TYPES : BEGIN OF TY_CUST,
               KUNNR(10),
               BUKRS(4),
               KTOKD(4),
               ANRED(15),
               NAME1(35),
               SORTL(10),
               STRAS(35),
               ORT01(10),
               PSTLZ(10),
               LZONE(10),
               LAND1(3),
               SPRAS(2),
               AKONT(10),
         END OF TY_CUST.
    TYPES: BEGIN OF TY_ECUST,
             KUNNR(10),
             ERRORMSG(255),
          END OF TY_ECUST.
    TYPES: BEGIN OF TY_SCUST,
             KUNNR(10),
             SUCESSMSG(255),
           END OF TY_SCUST.
                  INTERNAL TABLE AND WORK AREAS
    DATA : IT_CUST TYPE STANDARD TABLE OF TY_CUST INITIAL SIZE 0,
           RAW_DATA TYPE  TABLE OF TY_CUST,
           W_RAW_DATA LIKE LINE OF RAW_DATA,
           WA_CUST LIKE LINE OF IT_CUST.
    DATA: IT_ECUST TYPE TABLE OF TY_ECUST,
          WA_ECUST LIKE LINE OF IT_ECUST.
    DATA : IT_SCUST TYPE TABLE OF TY_SCUST,
           WA_SCUST LIKE LINE OF IT_SCUST.
        INTERANAL TABLE FOR STORING BDCDATA
    DATA: BEGIN OF IT_BDCDATA OCCURS 0.
    INCLUDE STRUCTURE BDCDATA.
    DATA: END OF IT_BDCDATA.
         INTERNAL TABLE FOR STORING MESSAGES
    DATA: BEGIN OF IT_CUSTMSG OCCURS 0.
    INCLUDE STRUCTURE BDCMSGCOLL.
    DATA: END OF IT_CUSTMSG.
    DATA: V_FLAG(1) VALUE '',"FLAG FOR OPENING OF SESSION
          V_TLINES TYPE SY-TABIX,"TOTAL NO RECORDS PROCESSED
          V_SLINES TYPE SY-TABIX,"TOTAL NO OF SUCESS RECORDS PROCESSED
          V_ELINES TYPE SY-TABIX."TOTAL NO OF ERROR RECORDS
       SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-001.
    PARAMETERS : V_FNAME TYPE RLGRAP-FILENAME,
                 V_SESS TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF BLOCK B2.
    INITIALIZATION.
    V_FNAME = 'C:\Documents and Settings\Administrator\Desktop\2.TXT'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR V_FNAME.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       PROGRAM_NAME        = SYST-CPROG
       DYNPRO_NUMBER       = SYST-DYNNR
       FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = V_FNAME
    START-OF-SELECTION.
    PERFORM F_UPLOAD USING V_FNAME
                    CHANGING  IT_CUST.
    END-OF-SELECTION.
    PERFORM F_BDCGENERATE.
    *&      Form  F_UPLOAD
          text
         -->P_V_FNAME  text
         <--P_IT_CUST  text
    FORM F_UPLOAD  USING    P_V_FNAME LIKE V_FNAME
                   CHANGING P_IT_CUST LIKE IT_CUST.
    DATA: LV_FILE TYPE STRING.
    LV_FILE = P_V_FNAME.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = LV_FILE
      TABLES
        DATA_TAB                      = RAW_DATA
    IF SY-SUBRC = 0.
    *DESCRIBE TABLE P_IT_CUST LINES V_TLINES.
    ENDIF.
    CALL FUNCTION 'TEXT_CONVERT_CSV_TO_SAP'
      EXPORTING
       I_FIELD_SEPERATOR          = ';'
      I_LINE_HEADER              =
        I_TAB_RAW_DATA             = RAW_DATA
       I_FILENAME                 =  'C:\Documents and Settings\Administrator\Desktop\2.TXT'
      TABLES
        I_TAB_CONVERTED_DATA       = P_IT_CUST
    EXCEPTIONS
       CONVERSION_FAILED          = 1
       OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " F_UPLOAD

    hai,
    Use
    raw_data TYPE TRUXS_T_TEXT_DATA
    Don't forget to reward if useful....

  • How to make a call to function module of R/3 side in BW?

    I am writing a code in BW to check some discrepancies in data. But this code requires some values which are given as output to the function module, which is present on R/3 or PC1 system. So is there any way by which i can make a call to the R/3 function module in BW so that i could fetch its records directly in BW! any help or suggestion would be apprecited.

    Hi,
    Once you are administrator or overseer or owner of process that you want to monitor, you can use Guided Procedures Runtime Workcenter (Runtime WC role) which will provide you information (process title, start date, due date, description and progress) about running processes, completed processes, terminated process and erroneous processes.
    Another way to reach this information is through Maintain Process menu in GP Administration (GP Administrator role) that will provide you another administration tasks like change authorization, terminate instances, complete step or delete instances.
    Unfortunately GP doesnu2019t provide other UIs or Reports. You may use GP APIs to develop your custom report. As soon as I have time I will publish a blog with a custom report that I developed and it may be helpful to you.
    Best Regards,

  • Updating liveCache Data using Function Module or ABAP program.

    Is it possible to update APO Live Cache using Function Module or ABAP Program.
    Will the aggregation/disaggreagation remain the same if data is modified using Function Module or ABAP Program.
    Regards,
    Vikas

    ello Vikas,
    -> Please click at
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm
    & read about 'SAP liveCache'.
    As you know objects stored in liveCache in the class containers can be accessed
    and manipulated only via LCA routines which are methods of LCA objects.
    The registration of the LCA routines is done automatically when
    the liveCache is started by the LC10, check the lcinit.log file.
    The shared procedures in the LiveCache are written in C++ and shipped
    to the customers as binary shared libraries(LCA-Routines) < LCA build >
    together with the LiveCache. The original C++ source code of the
    libraries is not generally available to the customers.
    The LCA routines could be called via "/SAPAPO/OM*" ABAP functions.
    -> For SAP liveCache documentation in English:
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm
    < -> Database Administration in CCMS: SAP liveCache -> liveCache Assistant ->
    liveCache: Monitoring -> Problem Analysis-> DB Procedures >
    In transaction LC10 for the LCA connection choose liveCache:Monitoring
    then go to Problem Analysis -> DB Procedures=>
    The system displays an overview of all database procedures loaded into
    liveCache, their input and output parameters, and other details.
    -> Tr. /n/SAPAPO/OM16 ( in further releases /n/sapapo/om19 ) is provided by
    SAP to get information about data stored in the LiveCache. If you would
    like to get your own views, you should write a special report in ABAP using
    "/SAPAPO/OM"-development class functionality.
    -> There are standard function modules in ABAP available to extract/change data from/in liveCache.
    -> In addition to the given information => find more information at:
    SCM 4.0 -> http://help.sap.com/saphelp_scm40/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    SCM 4.1 ->
    http://help.sap.com/saphelp_scm41/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    SCM 5.0 ->
    http://help.sap.com/saphelp_scm50/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    You can go to the Advanced Planner and Optimizer documentation from the above links < Supply Network Planning Run -> Aggregated Planning -> SNP Disaggregation Or SNP aggregation . >.
    If you still have open questions on the posted topic =>
    Could you please give more information on your application scenario.
    Thank you and best regards, Natalia Khlopina

Maybe you are looking for