DBA table/view for procedures info?

Hi,
Any DBA table/view available to get some info about the last run of the procedures and the last compile date?
Thanks

That script gave me good info except the last run of the procedure. Any way I can find the last execution of a procedure?

Similar Messages

  • How to get the List of Database Objects (Table/View) for a given APEX Page.

    Hi,
    I have an application and that consist of pages like page1,2,3,.....
    *1.* I want a report which can give me the list of all the Pages1,2,3,....
    I am using the following query to acheive this.... THIS IS FINE..
    select a.workspace, a.owner, a.application_name, b.page_id, b.page_name
      from apex_applications a,
           apex_application_pages b
    where a.workspace = b.workspace
       and a.application_id = b.application_id*2. Now, I want for each individual page*, the list all the database objects (tables/views), which that page is using.
    I am using ALL_DEPENDENCIES , but I am not getting the result.
    So, want to know if there any view/table, where I can get the Application Pages & there database object list...
    Thanks,
    Deepak

    Hari,
    Thanks for the response.
    The view APEX_APPLICATION_PAGE_DB_ITEMS will only give me the table name related to any Page Items defined to that page..It will not give me all the database objects..
    suppose we have a Page, having a report based on multiple tables and there is no Page items defined on that page, we will not have any value in this ....DB_ITEMS table. same thing if we have define some PL|SQL(using some table/view) in a Process, that will not be populated in .....DB_ITEMS table. I want some thing like all the database objects (table/views/function/procedure/.....) for a particular Page ID.
    Thanks,
    Deepak

  • Documentation on table, view and procedures of the user portal

    Where can I find documentation on table, view and procedures of the portal user?
    Thanks.

    PL/SQL API doc here :
    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/summary.html
    VIEWS doc here :
    http://download-uk.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_cm_api.htm#CHDIFAGE

  • Import a schema (tables, Views, Stored Procedures) on logical standby

    Hi,
    We have a logical standby for reporting purpose. The logical standby build through data guard
    we need to import a new user in logical standby using import utility. The user dump contain tables, views, procedures, packages, roles).
    The new user import has to go in users tablespace.
    Is is possbile to import a new user in logical standby and what are the steps.
    Thanks in advance

    Hi,
    Can you give me more details about your envirnoment configuration, O/S, DB version.
    But generally i don't think that is this possible becuase as you know standby only for cloning the primary database, so you can import it on the production then it will be transfered to the logical standby database.
    Regards;

  • Crystal XI - Cannot see SQL Tables, View, Stored Procedures

    I have read a couple of similar posts but no answers.  I used to be able to see tables, view and stored procedures in Crystal XI, but suddenly I cannot.  I have spent days researching this, changing SQL security settings, checking options in Crystal, etc., etc., to no avail.  I really need an answer to this.  Does anyone know if I can call someone in support and give a credit card number for a one-time call? I don't have a support agreement.  Thank you in advance.

    Hi,
    In the data explorer, you can see the datasources such as oracle, sqlserver etc.. If you are using oracle then right click that one, you see options, a windowss opens you need to spectify the views, stored procedures etc..
    hope this helps

  • :: NWA does not show table view for monitoring reports ::

    Hi,
    We are facing an issue in one of our portal system.
    I click on Portal index page, then I go to Net weaver Administrator --> Monitoring --> Java system reports.
    Here I get the resource utilization graphs.
    The graphs show proper values however when I click on table view it does not show any value or table at all.
    Then I click on Settings button, and click on Persistent radio button.
    It asks to enter the number of days for which the the data should be stored.
    I gave it as 2 days and click on Apply button.
    It shows a message saying "changes would be effective after restarting monitoring service".
    However when I go there i.e. NWA --> Administration --> Applications
    I get below services
    cafruntimemonitoring~ear                 
    com.sap.ip.bi.sdk.monitoring                 
    tclmwebadminmonitoravail~wd            
    tclmwebadminmonitorcomplib~wd            
    tclmwebadminmonitorprovider_ear            
    tclmwebadminmonitorstate~wd            
    tclmwebadminoverviewmonitoring~wd           
    tcmonitoringsysteminfo
    Would you kindly suggest which service from above list should be restarted ?
    Thank you, Regards,
    Girish Garje.

    I think what is being asked is "How do I expose a database view as a schema table in Configuration Manager?"
    This is accomplished by creating a database view within the WCC database schema (and with the WCC schema user as the view owner). The view then will appear as a table in the "table" tab in Configuration Manager.
    One caveat in 11g is that the user created by RCU does not have any privileges to read/create views in its own schema. You may need to grant privileges to views for the WCC schema user before this will work.

  • Creating table types for procedures at design time: Where is the "Local Table Type" tab?

    Hello,
    I want to write a stored procedure (development perspective, repository object) and need to create a table type for the result table.I am working on HANA Studio 1.80.1 and the documentation tells me that I should open the "Local Table Types" tab. However, I do not see where this tab is.
    I get an SQLScript tab nothing else. Any hints?
    Regards,
    Andreas

    Hi ,
    Have a look on this discussion:
    Table type creation via HS repository / CDS / DDl Source
    Regards,
    Krishna Tangudu

  • View for procedures parameters

    Hello.
    Is there any view (the kind of dba_procedures) where the parameters of the procedures can be found?
    Thanks in advance.

    Hello Fernando,
    the views you are looking for are called
    All_Arguments / User_Arguments resp.
    Have nice day.
    Björn

  • Data Dictionary View for Procedure Text

    Hi,
    Is there a data-dictionary where I can see the body of procedures. In fact, I received a request from a collegue to give him the procedure name which access a table "table_1".
    So, my idea is to write a query as follows:
    SELECT <procedure_name> FROM <data_dictionary> WHERE <text> LIKE '%table_1%'.
    Thanks in advance.

    You can try with DBA_SOURCE or USER_SOURCE.
    i.e.
    SELECT NAME FROM DBA_SOURCE
    WHERE OWNER='<OWNER NAME>'
    AND TYPE='PROCEDURE'
    AND TEXT LIKE '%table_1%';
    Regards,
    Sabdar Syed.

  • OBIEE Povit Table View for Single Column

    Please any one can help me how to display following records
    ectual Records like
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    I want to display as in answer
    1 6 11
    2 7 12
    3 8 13
    4 9
    5 10
    Please help ...

    Hi ,
    refer this :
    Re: Pivot Table And Sections - Display horizontally

  • Links inside a table view for a few rows and not all

    HI
    I need some help wherein i have the a tableview which has some rows showing document numbers.
    Now the issue is i want some rows to be acting like links  and other rows to be just values .
    Can this be done?

    Hi,
    You can achieve this by using Iterator. See the code below it should give you some idea. Here m_row_ref is the row currently rendered.
    method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
      CASE p_column_key.
        WHEN 'LINK'.
        IF m_row_ref->link_flag = 'Y'.
          p_replacement_bee = CL_HTMLB_LINK=>FACTORY(
                                       id      =  p_cell_id
                                       text    =  m_row_ref->ORDER_NUM
                                       onClick =  'myEvent' ).
       ENDIF.
      ENDCASE.
    endmethod.

  • Table T588M for info type screen display:

    Hi Experts
    I have deleted relevant entry in in table T588M for an info type still the system shows some screen. where from does that screen come. Can anybody help..?

    As i understand, there is a screen element that you want to get it disabled but is not available in the table v_t588m. Is that right???
    If YES, the screen element/ field of your screen, for example 3000 of it0817, can be disabled from the screen layout also.
    Go to SE80 -> select the module pool mp081700 as your program -> select screen 3000 -> Click on the 'layout' in the application toolbar -> select the element and delete or change the properties, might be display properties in your case.
    Hope this helps.
    Cheers,
    LG

  • SWI5 transaction - is there a table view ?

    Hi
    I am trying to pull a report of outstanding approval inbox items (TS1230097 - for leave requests) that I see when I go to tcode SWI5 for managers. If I run a report it does not give me the manager id in it which I need.
    Is there a table view for SWI5 information possibly or can anyone suggest another transaction that can be used to see the current manager associated with outstanding leave request items (when I use various SWI* or PTARQ reports they do not show me the current manager in situations in which leave request items have been forwarded to new managers and so are unreliable. I'm just wondering if there's any other report/transaction I can use therefore.
    Thanks for your help
    Nicola

    Hi,
    Nicola paste this code in se38 and execute it.
    TYPE-POOLS : slis.
    TABLES : swwuserwi,swwwihead,bseg,bkpf.
      TYPE DECLARATION   *************************************
    TYPES : BEGIN OF TY_SWWUSERWI,
            USER_ID      TYPE SWWUSERWI-USER_ID,
            WI_ID        TYPE SWWUSERWI-WI_ID,
            TASK_OBJ     TYPE SWWUSERWI-TASK_OBJ,
            END OF TY_SWWUSERWI.
    TYPES : BEGIN OF TY_SWWWIHEAD,
            WI_ID        TYPE SWWWIHEAD-WI_ID,
            WI_LANG      TYPE SWWWIHEAD-WI_LANG,
            WI_TEXT      TYPE SWWWIHEAD-WI_TEXT,
            WI_RHTEXT    TYPE SWWWIHEAD-WI_RHTEXT,
            WI_STAT      TYPE SWWWIHEAD-WI_STAT,
           WI_CD        TYPE SWWWIHEAD-WI_CD,
           WI_CT        TYPE SWWWIHEAD-WI_CT,
            END OF TY_SWWWIHEAD.
    TYPES : BEGIN OF TY_TEMP,
            BUKRS TYPE BUKRS,
            BELNR TYPE BELNR_D,
            GJAHR TYPE GJAHR,
            END OF TY_TEMP.
    TYPES : BEGIN OF TY_BSEG,
            BUKRS TYPE BSEG-BUKRS,
            BELNR TYPE BSEG-BELNR,
            GJAHR TYPE BSEG-GJAHR,
            WRBTR TYPE BSEG-WRBTR,
            LIFNR TYPE BSEG-LIFNR,
            ZUONR TYPE CHAR10,
            END OF TY_BSEG.
    TYPES : BEGIN OF TY_CEPC,
            PRCTR TYPE CEPC-PRCTR,
            ABTEI TYPE CEPC-ABTEI,
            END OF TY_CEPC.
    TYPES : BEGIN OF TY_BKPF,
            BUKRS TYPE BKPF-BUKRS,
            BELNR TYPE BKPF-BELNR,
            GJAHR TYPE BKPF-GJAHR,
            BLDAT TYPE BKPF-BLDAT,
            BUDAT TYPE BKPF-BUDAT,
            XBLNR TYPE BKPF-XBLNR,
            END OF TY_BKPF.
    TYPES : BEGIN OF TY_LFA1,
            LIFNR TYPE LFA1-LIFNR,
            NAME1 TYPE LFA1-NAME1,
            END OF TY_LFA1.
    TYPES : BEGIN OF TY_FINAL,
            USER_ID     TYPE SWWUSERWI-USER_ID,
            WI_ID        TYPE SWWUSERWI-WI_ID,
            BUKRS       TYPE BSEG-BUKRS,
           WI_TEXT     TYPE SWWWIHEAD-WI_TEXT,
            WRBTR       TYPE BSEG-WRBTR,
            BELNR       TYPE BELNR_D,
            LIFNR       TYPE LFA1-LIFNR,
            NAME1       TYPE LFA1-NAME1,
            BLDAT       TYPE BKPF-BLDAT,
            XBLNR       TYPE BKPF-XBLNR,
            GJAHR       TYPE GJAHR,
            ABTEI       TYPE CEPC-ABTEI,
            BUDAT       TYPE BKPF-BUDAT,
            END OF TY_FINAL.
      DATA TYPE DECLARATION   *************************************
    DATA : it_swwuserwi TYPE STANDARD TABLE OF ty_swwuserwi,
           it_swwwihead TYPE STANDARD TABLE OF ty_swwwihead,
           it_final TYPE STANDARD TABLE OF ty_final,
           it_temp TYPE STANDARD TABLE OF ty_temp,
           it_bseg TYPE STANDARD TABLE OF ty_bseg,
           it_cepc TYPE STANDARD TABLE OF ty_cepc,
           it_bkpf TYPE STANDARD TABLE OF ty_bkpf,
           it_lfa1 TYPE STANDARD TABLE OF ty_lfa1,
           wa_swwuserwi TYPE ty_swwuserwi,
           wa_swwwihead TYPE ty_swwwihead,
           wa_final TYPE ty_final,
           wa_bseg TYPE ty_bseg,
           wa_cepc TYPE ty_cepc,
           wa_bkpf TYPE ty_bkpf,
           wa_lfa1 TYPE ty_lfa1,
           wa_temp TYPE ty_temp.
    DATA: wa_sort TYPE LINE OF slis_t_sortinfo_alv,
          it_sort TYPE slis_t_sortinfo_alv.
    DATA: it_field_cat TYPE slis_t_fieldcat_alv,
          ws_sort TYPE slis_t_sortinfo_alv,
          g_variant TYPE disvariant,
          ws_layout TYPE slis_layout_alv."slis_t_fieldcat_alv.
    DATA: IT_EVT_TAB         TYPE SLIS_T_EVENT,
          IS_LS_EVENT        TYPE SLIS_ALV_EVENT.
    DATA: C_TOP            TYPE SLIS_FORMNAME          VALUE 'TOP_OF_PAGE',
          IS_EVT             TYPE SLIS_ALV_EVENT     .
    DATA: REC_LAYOUT         TYPE SLIS_LAYOUT_ALV.
    *rec_layout TYPE lvc_s_layo.
    DATA: IS_LS_LINE         TYPE SLIS_LISTHEADER,
          IT_TOP             TYPE SLIS_T_LISTHEADER.
    DATA: TEXT(60) TYPE C,
          text1 TYPE char10,
          text2 TYPE char20,
          text3 TYPE char20,
          ebeln TYPE char10,
          year  TYPE char4.
    DATA: user TYPE SY-uname.
    DATA: lang  TYPE sww_lang VALUE 'EN',
          c_x TYPE char1 VALUE 'X',
          C_FLAG TYPE CHAR1 VALUE IS INITIAL,
               status1 TYPE sww_wistat VALUE 'READY',
          status2 TYPE sww_wistat VALUE 'STARTED'.
      INPUT OPTIONS   ***********************************************
    INITIALIZATION.
    DATA: C_PF_STAT        TYPE SLIS_FORMNAME          VALUE 'PF_STAT',
          C_USERC          TYPE SLIS_FORMNAME          VALUE 'PURVESH',
          C_TOP_OF_PAGE    TYPE SLIS_FORMNAME          VALUE 'TOP_OF_PAGE'.
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .
      PARAMETERS     : USERID LIKE USREFUS-BNAME MODIF ID 001.
      SELECT-OPTIONS : COMP   FOR BSEG-BUKRS NO INTERVALS.
      SELECT-OPTIONS : YEAR1  FOR BSEG-GJAHR NO INTERVALS.
      SELECT-OPTIONS : DOC    FOR BSEG-BELNR.
      SELECT-OPTIONS : VEND   FOR BSEG-LIFNR NO INTERVALS.
      SELECT-OPTIONS : DAT    FOR BKPF-BUDAT.
      SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR userid.
      PERFORM f4_help_fname.
    *&      Form  F4_HELP_FNAME
          text
    -->  p1        text
    <--  p2        text
    FORM F4_HELP_FNAME .
    data: begin of itab occurs 0,
    BNAME like USREFUS-BNAME,
    USERALIAS like USREFUS-USERALIAS,
    end of itab .
    select BNAME
    USERALIAS
    from USREFUS into corresponding fields of table itab.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'BNAME'
    dynpprog = SY-repid
    dynpnr = SY-dynnr
    dynprofield = 'USERID'
    value_org = 'S'
    TABLES
    value_tab = ITAB.
    *IF sy-subrc 0.
    *ENDIF.
    ENDFORM.                    " F4_HELP_FNAME
    **********************************************START - OF - SELECTION*******************************************
    START-OF-SELECTION.
      PERFORM init.
      PERFORM buildfieldcat.
      PERFORM displayalv.
    END-OF-SELECTION.
    *&      Form  INIT
          text
    -->  p1        text
    <--  p2        text
    FORM INIT .
      IF USERID IS NOT INITIAL.
        SELECT USER_ID
                 WI_ID
                 TASK_OBJ
                 INTO TABLE IT_SWWUSERWI
                 FROM SWWUSERWI
                 WHERE USER_ID = USERID AND NO_SEL NE c_x.
    endif.
      IF IT_SWWUSERWI IS NOT INITIAL.
        SELECT WI_ID
               WI_LANG
               WI_TEXT
               WI_RHTEXT
               WI_STAT
              WI_CD
              WI_CT
               INTO TABLE IT_SWWWIHEAD
               FROM SWWWIHEAD
               FOR ALL ENTRIES IN IT_SWWUSERWI
               WHERE WI_ID = IT_SWWUSERWI-WI_ID AND WI_LANG = lang.
        IF IT_SWWWIHEAD IS NOT INITIAL.
          LOOP AT IT_SWWWIHEAD INTO WA_SWWWIHEAD.
            SPLIT WA_SWWWIHEAD-WI_TEXT AT SPACE INTO TEXT TEXT1 TEXT2.
            WA_TEMP-BUKRS = TEXT2+0(4).
            WA_TEMP-BELNR = TEXT2+4(10).
            WA_TEMP-GJAHR = TEXT2+14(4).
            APPEND WA_TEMP TO IT_TEMP.
            CLEAR : WA_TEMP.
          ENDLOOP.
            LOOP AT IT_SWWUSERWI INTO WA_SWWUSERWI.
              READ TABLE IT_SWWWIHEAD INTO WA_SWWWIHEAD WITH KEY  WI_ID = WA_SWWUSERWI-WI_ID WI_LANG = lang.
                  WA_FINAL-USER_ID      = WA_SWWUSERWI-USER_ID.
                  WA_FINAL-WI_ID        = WA_SWWUSERWI-WI_ID.
             WA_FINAL-WI_TEXT      = WA_SWWWIHEAD-WI_TEXT.
                  APPEND WA_FINAL TO IT_FINAL.
                  CLEAR : WA_FINAL,WA_SWWWIHEAD,WA_SWWUSERWI,WA_TEMP,WA_BSEG,WA_BKPF,WA_LFA1,WA_CEPC.
                ENDIF.
              ENDIF.
            ENDLOOP.
          ENDIF.
        ENDIF.
        DELETE ADJACENT DUPLICATES FROM it_final.
      ENDIF.
    ENDFORM.                    " INIT
    *&      Form  DISPLAYALV
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAYALV .
      REC_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
      REC_LAYOUT-ZEBRA             = 'X'.
      REC_LAYOUT-F2CODE            = SY-REPID.
      REC_LAYOUT-WINDOW_TITLEBAR   = 'Workitem summery'.        "#EC NOTEXT
      REC_LAYOUT-COLTAB_FIELDNAME  = 'COLOR'.
      REC_LAYOUT-DETAIL_TITLEBAR   = 'Workitem Summery'.        "#EC NOTEXT
    WS_LAYOUT-ColWIDTH_OPTimize = 'X'.
    WS_LAYOUT-ZEBRA             = 'X'.
      wa_sort-tabname = 'IT_FINAL'.
      wa_sort-fieldname = 'USER_ID'.
    wa_sort-spos = 9.
    wa_sort-subtot = 'X'.
      APPEND wa_sort to it_sort.
      CLEAR wa_sort.
       PERFORM GET_EVT_UP.
    PERFORM alv_text.
    PERFORM top_of_page.
    *rec_layout-grid_title   = 'Report for WI Analysis'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
         i_callback_pf_status_set = c_pf_stat
          I_CALLBACK_USER_COMMAND  = C_USERC
         I_CALLBACK_TOP_OF_PAGE   = C_TOP_OF_PAGE
          i_grid_title             = text-024
          is_layout                = rec_layout
          it_fieldcat              = it_field_cat
          it_sort                  = it_sort
          I_DEFAULT                = 'X'  "allow default variant
          i_save                   = 'A'
          is_variant               = g_variant
         IT_EVENTS                = IT_EVT_TAB
        TABLES
          t_outtab                 = it_final
        EXCEPTIONS
          program_error            = 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.                    " DISPLAYALV
    *&      Form  build_catalog
          text
         -->P_TABNAME    text
         -->P_FIELDNAME  text
         -->P_DO_SUM     text
         -->P_SELTEXT    text
         -->P_X          text
         -->P_Y          text
    FORM build_catalog  USING  p_tabname   TYPE slis_fieldcat_alv-tabname
                               p_fieldname TYPE slis_fieldcat_alv-fieldname
                               p_do_sum     TYPE slis_fieldcat_alv-do_sum
                               p_seltext   TYPE slis_fieldcat_alv-seltext_l
                               p_x         TYPE c
                               p_y         TYPE c.
      DATA : wa_fieldcat TYPE slis_fieldcat_alv,
             pos TYPE i VALUE 0.
      pos = pos + 1.
      wa_fieldcat-col_pos     = pos.
      wa_fieldcat-tabname     = p_tabname.
      wa_fieldcat-fieldname   = p_fieldname.
      wa_fieldcat-do_sum      = p_do_sum .
      wa_fieldcat-seltext_l   = p_seltext.
      wa_fieldcat-HOTSPOT      = p_x.
      wa_fieldcat-fix_column  = p_y.
      APPEND wa_fieldcat TO it_field_cat .
      CLEAR wa_fieldcat.
    ENDFORM.                    "build_catalog
    *&      Form  PURVESH
          text
         -->L_UCOMM    text
         -->W_SELFIELD text
    FORM PURVESH USING L_UCOMM  TYPE SY-UCOMM   W_SELFIELD  TYPE SLIS_SELFIELD ."#EC CALLED
    BREAK AAB_PURVESH.
      CASE L_UCOMM.
        IF  USERID IS NOT INITIAL.
          user = userid.
        ELSE.
          user = sy-uname.
        ENDIF.
        WHEN '&IC1' or 'ZWORK_LOAD'.
          READ TABLE IT_FINAL INTO WA_FINAL INDEX W_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            IF user NE SY-UNAME.
              CALL FUNCTION 'SAP_WAPI_FORWARD_WORKITEM'
              EXPORTING
                WORKITEM_ID  = WA_FINAL-WI_ID
                USER_ID      = SY-UNAME
                LANGUAGE     = SY-LANGU
                DO_COMMIT    = 'X'
                CURRENT_USER = user.
              IMPORTING
                RETURN_CODE          =
                NEW_STATUS           =
              TABLES
                MESSAGE_LINES        =
                MESSAGE_STRUCT       =
                USER_IDS             =
            ENDIF.
            CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
              EXPORTING
                WORKITEM_ID          =  WA_FINAL-WI_ID
                LANGUAGE             = SY-LANGU
              IMPORTING
                NEW_STATUS           =
                RETURN_CODE          =
              TABLES
                MESSAGE_LINES        =
                MESSAGE_STRUCT       =
           DELETE IT_FINAL WHERE WI_ID = WA_FINAL-WI_ID.
           PERFORM displayalv.
          ENDIF.
      ENDCASE.
    ENDFORM.                    "PURVESH
    *&      Form  GET_EVT_UP
          text
    -->  p1        text
    <--  p2        text
    FORM GET_EVT_UP .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          I_LIST_TYPE     = 0
        IMPORTING
          ET_EVENTS       = IT_EVT_TAB
        EXCEPTIONS
          LIST_TYPE_WRONG = 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.
      ELSE.
        SORT IT_EVT_TAB   BY NAME.
        READ TABLE IT_EVT_TAB WITH KEY NAME = SLIS_EV_TOP_OF_PAGE INTO IS_LS_EVENT BINARY SEARCH.
        IF SY-SUBRC = 0.
          MOVE C_TOP TO IS_LS_EVENT-FORM.
          MODIFY IT_EVT_TAB FROM IS_LS_EVENT INDEX SY-TABIX TRANSPORTING FORM.
        ENDIF.
        READ TABLE IT_EVT_TAB  INTO IS_EVT WITH KEY NAME = SLIS_EV_USER_COMMAND BINARY SEARCH.
        IF SY-SUBRC EQ 0.
          IS_EVT-FORM = 'PURVESH'.
          MODIFY IT_EVT_TAB  FROM IS_EVT TRANSPORTING FORM WHERE NAME = IS_EVT-NAME.
        ENDIF.
      ENDIF.
    ENDFORM.                    " GET_EVT_UP
    *&      Form  ALV_TEXT
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_TEXT .
      CLEAR IS_LS_LINE.
      IS_LS_LINE-TYP = 'H'.
      IS_LS_LINE-INFO = 'Workload Analysis Report'.             "#EC NOTEXT
      APPEND IS_LS_LINE TO IT_TOP.
      WRITE: 'RunDate:' TO TEXT,
             SY-DATUM TO TEXT+10,
             ', Time :' TO TEXT+20,                             "#EC NOTEXT
             SY-UZEIT TO TEXT+27,
             ', User :' TO TEXT+38,                             "#EC NOTEXT
             SY-UNAME TO TEXT+46.
      IS_LS_LINE-TYP = 'S'.
      IS_LS_LINE-INFO = TEXT.
      APPEND IS_LS_LINE TO IT_TOP.
      CLEAR TEXT.
    ENDFORM.                    " ALV_TEXT
    *&      Form  TOP_OF_PAGE
          text
    -->  p1        text
    <--  p2        text
    FORM TOP_OF_PAGE .
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = IT_TOP.
    using this code specify only buildfieldcatalog and there is a custom inbox ready for you
    here you can specify userid and from alv report you can execute workitem of any user.
    Hope magic Works!
    Regards,
    Purvesh.

  • Syntax equivalent of CREATE TABLE AS for Functions?

    Hello,
    I'm trying to refresh my functions with a copy of them from another database. Is there a syntax equivalent of CREATE TABLE AS for Functions? Basically I want to drop my old function in my dev environment and recreate it with the version on prod. I need to use this in a loop for all functions in prod, so just using the plsql statement itself won't solve my issue.
    Thanks,
    John

    >
    Is there a syntax equivalent of CREATE TABLE AS for Functions?
    >
    No.
    >
    Basically I want to drop my old function in my dev environment and recreate it with the version on prod. I need to use this in a loop for all functions in prod, so just using the plsql statement itself won't solve my issue.
    >
    The proper way to do that is:
    1. check the DDL out of the PROD version control system
    2. check the DDL into the DEV version control system
    3. execute the DDL for each function using sql*plus or another tool
    If you don't have your production DDL in a version control system you need to solve that problem first and now is a good time to do it.
    Functions typically make references to other database objects (e.g. tables, views, synonyms, procedures, packages, etc) and those objects need to be updated in your 'dev' environment also or the function may produce different results than expected.

  • Set back ground color to a particular cell in table view

    hi,
        iam working on a jspDynpage and have a htmlb table view for which i need a way to set back ground color to a particular cell in table view, the color has to be set based on a value..is there a way to do it without using an iterator...well iam using a  cellRenderer for the table but cant find a way to set the colors...if anyone does have a way please do reply...regards

    You can mention the color in <b>textview</b> as well as <b>Label as follows:</b>
          <htmlb:textView     text          = "<span style='background-color: #00FF00'>My Textview</span>"
                              design        = "EMPHASIZED" />
          <htmlb:label for =  "MyLabel"
                       text = "<span style='background-color: #00FF00'>Label </span>"
                       encode = "false"/>
    Reward each helpful answer
    Raja T
    Message was edited by:
            Raja Thangamani

Maybe you are looking for

  • Automatically open excel spreadsheets with numbers

    can anyone tell me is it possible to set numbers as the default application to ALWAYS open excel spreadsheets? each time i try to open an excel spreadsheet the computer starts up the trial office software. I then have to cancel and choose "open with"

  • How can I deactivate an old computer that I know longer have?

    How can I deactivate an old computer that I know longer have? I own two computers and Adobe permits two computers on a subscription. However, when I bought my third new computer and didn't deactivate my old computer, I did not notify Adobe. Now, ther

  • How to setup a company code for material management

    Hi, While creating material in MM01, in sales org tab, when I gave plant XXXX, it is giving an error "Company code YYYY is not setup for material management". So can you help me , how to setup a company code for material management Help is appreciate

  • Unable to inject XMP Packet info into older versions of Adobe Illustrator files

    Hi, I am trying to inject XMP Packet into Illustrator files of version 9 and below. I am using XMP SDK 4.0 Prerelease. My Code is inserting xmp packet only into Illustrator 10 and above. But with Adobe Illustrator 9 and below.. its not. Can you pleas

  • My lightening digital av adaptor gets no signal?

    I Brought a lightening adaptor and connected to my iphone 5s and my tv with hdmi lead all I get is no signal when switch to the hdmi Channal any ideas why ?