DB02 Status ??

Hello All,
                   Our sap team do not have access to sysdba.our database owner is sapsr3.Is it posible to do all the database activities with sapsr3??Moreover backup is taken by Rman so db02 is not giving any details so how the backup details will be relected in dbo2 if we are not doing the backup through brtools??We are using Oracle 10.2 & HP-Unix,ECC 6.0.

Hi,
If you have root access to your operating system, you can log on as ROOT and then follow the below procedure...
# su - ora<SID>
#brtools
Press 8 (Additional functions)
Press 4 (Change password of database user)
.... 2. Database user/password (user) [SAPSR3]
.... 3. Database owner to change password (owner) [SAPSR3]
.... 4. Log file name (log) [Filename.log]
(You can fill the details of the user here on this screen...)
Press "c"
OR
login to database as
#sqlplus / as sysdba
#SQL>ALTER USER SAPSR3 IDENTIFIED BY 'NEW_PASSWORD';
#SQL>COMMIT;
#SQL>EXIT;
You can also change the DB user password using below command..
brconnect -u / u2013c u2013f chpass u2013u SAPSR3 u2013p NEW_PASSWORD
Hope, It will help you...
Regards.
Rajesh Narkhede

Similar Messages

  • TCPS setup won't work

    Hello,
    I am running a Oralce 9i Database and I am trying to setup, that my client (I just have one client because I am studying for the OCP) connects to the database via TCPS.
    So I set up my listener to "speak" TCPS:
    TNSLSNR for Linux: Version 9.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/9.2.0.x/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/9.2.0.x/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserver)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=dbserver)(PORT=2484)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbserver)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production
    Start Date 10-FEB-2005 20:18:51
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/9.2.0.x/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/9.2.0.x/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserver)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=dbserver)(PORT=2484)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "db01" has 1 instance(s).
    Instance "db01", status UNKNOWN, has 1 handler(s) for this service...
    Ok and I set up the tnsnames.ora file on the client this way:
    DB01 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCPS)(HOST = dbserver)(PORT = 2484))
    (CONNECT_DATA =
    (SERVICE_NAME = db01)
    If I am trying to connect to the db "db01" then I get the following error.[No firewall between the client and the database. I also have performed a complete installation of the Oracle software on the client and the server.[/b]
    Error:
    ORA_28759:Failed to open file
    [b]I also get the error when I am using sqlplus when I am running sqlplus on the server and want to connect to the db "db01".
    I have looked here in the forum and also in the Internet but it seems like that I am pretty much the onliest one which is having this problem.

    I saw that too but this is the path I got when I browsed through the directories to get the wallet folder. However I tried with and without and it does not work.
    But I discovered something else:
    If I try a tnsping then I receive this:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCPS)(HOST = dbserver)(PORT = 24842484))) (CONNECT_DATA = (SERVICE_NAME = db01)))
    TNS-12541: TNS:no listener
    The of course check if the listener is running.
    LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 12-FEB-2005 11:56:28
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbserver)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production
    Start Date 12-FEB-2005 11:53:49
    Uptime 0 days 0 hr. 2 min. 38 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/9.2.0.x/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/9.2.0.x/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserver)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=dbserver)(PORT=2484)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserver)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbserver)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "db01" has 2 instance(s).
    Instance "db01", status UNKNOWN, has 1 handler(s) for this service...
    Instance "db01", status READY, has 1 handler(s) for this service...
    Service "db01XDB" has 1 instance(s).
    Instance "db01", status READY, has 1 handler(s) for this service...
    Service "db02" has 1 instance(s).
    Instance "db02", status UNKNOWN, has 1 handler(s) for this service...
    Service "db03" has 1 instance(s).
    Instance "db03", status UNKNOWN, has 1 handler(s) for this service...
    Service "omsrep" has 1 instance(s).
    Instance "omsrep", status UNKNOWN, has 1 handler(s) for this service...
    Service "recat" has 1 instance(s).
    Instance "recat", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    When I check the listener with the Oracle Net Manager then TCPS is not choosen in the list of procols the listener is listen to. But as you can see it is shown in the "listner status" command output.
    I have to admit that I screwed a little with the listener for my studies but I thought I have set every back as normal and with a normal connection it is not a problem to connect to the DB's.
    I also already deleted the listener and reconfigured it but the same thing.
    Pretty soon I will pull my hair out :)

  • With DB02 tcode, DB file in red color & status gives No free space

    Hi Experts,
    With DB02 transaction --> in File tab it is showing all Database files with red color and in the status message gives "No free space in file".
    Below is details for your reference
    Logical file name used by SQL Server:  DEVDATA1
    File size in MB: 30.220
    SQL Server FILE ID      1
    Next file growth(MB)     3.022
    Physical file name of the database file     E:\DEV\SAPDATA\DEVDATA1\DEVDATA1.mdf
    Allocated MB     30.167
    Free on file system (MB)     86.284
    Growth Setting     10%
    File size limit in MB     no limit
    Filegroup name     PRIMARY
    Status Message     No free space in file
    FLPRIM     X
    FILE GROWTH PERCENT     X
    Kindly reply what action we have to perform to change the file status.
    Regards,
    JP

    Hello Jigar,
    I had the same problem, I found this help file:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/f2/31ad9b810c11d288ec0000e8200722/content.htm
    It helped me solve my issue, I increased the size of the files as recommended and their status in DB02 changed to green.
    Hope this helps you.
    Regards,
    Chris

  • DB02 view is empty on Table and Index analyses  DB2 9.7 after system copy

    Dear All,
                 I did the Quality refresh by System copy export/import method. ECC6 on HP-UX DB29.7.
    After Import Runstats status n Db02 for Table and Index analysis was empty and all value showing '-1'. Eventhough
    a) all standard backgrnd job scheduled in sm36
    b) Automatic runstats are enabled in db2 parameters
    c) Reorgchk all scheduled periodically from db13 and already ran twice.
    4) 'reorgchk update statistics on table all' was also ran on db2 level.
    but Run stats staus in db02 was not getting updated. Its empty.
    Please suggest.
    Regards
    Vinay

    Hi Deepak,
    Yes, that is possible (but only offline backup). But for the new features like reclaimable tablespace (to lower the high watermark)
    it's better to export/import with systemcopy.
    Also with systemcopy you can use index compression.
    After backup and restore you can have also reclaimable tablespace, but you have to create new tablespaces
    and then work with db6conv and online table move to move one tablespace online to the new one.
    Best regards,
    Joachim

  • Missing indexes in db02

    Hello,
    Checking DB02 i've found a list of missing primary indexes. I know that i can use SE14 to adjust the indexes but i found some decumentation that says that i should first check if double index for the primary index exist and elimenate them.
    Please Advice.
    David.

    hi David,
    oss note 157918
    BW: DB02 shows "missing indexes"  
    Symptom
    DB02 shows indexes of a fact table to be missing. Such indexes have names that start with prefixes /BI0/F or /BIC/F (BW 1.2, BW 2.x) or /BI0/E or /BIC/E (BW 2.x only).
    Additional key words
    Business Information Warehouse, InfoCube, Fact Table, Bitmap Indexes, Oracle, DB02, Unique Index
    Cause and prerequisites
    For BW 1.2, this only applies to Oracle-based systems. For BW 2.x, this might apply to any DB-platform.
    BW 1.2 and BW 2.x take advantage of certain DB-specific features which are not supported by the data dictionary of R/3 4.0, 4.5 or 4.6 base systems. Prominent examples are bitmap indexes on fact tables (Oracle-based BW systems), partitioned/fragmented indexes, nologging and parallel index building facilities etc. Such features are used in BW by triggering native SQL statements which bypass the data dictionary.
    While all these features improve performance of the BW system, there are, however, some other transactions that are also affected when the data dictionary is bypassed. Amongst these is DB02. It sometimes claims that certain indexes of infocube fact tables are missing while direct checks on the database level show that those indexes are not missing at all or substituted by equivalent indexes. The latter might happen in BW 2.x where the primary index on fact tables might be replaced by a non-unique index or simply skipped as it is not required. Therefore you can usually ignore those messages. Obviously, we are currently working on removing such inconsistent information. If you want to be sure on the indexing then check the solution section of this note.
    Solution
    For BW 1.2A systems (Oracle only):
    You have to ask your local DBA to check the state of the indexes directly by looking at the USER_INDEXES table on the Oracle database.
    For BW 1.2B systems (Oracle only):
    There are two alternatives to check the secondary indexes of infocube and aggregate cubes fact tables:
               (1) Go to the Admin Workbench. Go to the infocube. Click the right mouse button and choose "InfoCube Performance". This leads you to a screen that shows the state of those indexes via traffic light semantics. There are also buttons to repair inconsitent states of the indexes.
               (2) Use transaction RSRV. Go to the tabstrip "Database". Choose the item "Indices of an InfoCube and its aggregates" and insert the (technical) infocube name (e.g. 0BWTC_C01) in the input box at the bottom of the screen. Press F8 ("Analysis") and wait until a red, yellow or green light appears beside "Indices of an InfoCube and its aggregates", i.e. in the "Result" column. Then press F6 ("Results") in order to see a detailed report on the index situation of that cube.
               (3) Go to SE37 and do a "single test" for the function module RSDU_CHECK_SECONDARY_INDEXES. Use the infocube's technical name (e.g. 0BWTC_C01) as the input parameter and 'X' for both, the I_COMPLETE_CHECK and I_WITH_AGGREGATES, parameters. Press F8 to run the module. Only the C_T_INDEX output parameter is relevant. It shows a list of indexes. Check the TYPE and STATUS columns. These should show 'BITMAP' and 'VALID' respectively.
    For BW 2.0A systems (all DB-platforms):
    For checking secondary indexes on individual infocubes the following methods can be applied, similar to the BW 1.2B solution:
               (1) Go to the Admin Workbench. Go to the infocube. Click the right mouse button and choose "Manage". Choose the tabstrip "Performance". This leads you to a screen that shows the state of those indexes via traffic light semantics. There are also buttons to repair inconsitent states of the (secondary) indexes.
               (2) same as (2) for BW 1.2B.
               (3) Go to SE37 and do a "single test" for the function module RSDU_INFOCUBE_INDEXES_CHECK. Use the infocube's technical name (e.g. 0BWTC_C01) as the input parameter, leave the I_FACTTAB initial, use 'X' for both, the I_COMPLETE_CHECK and I_WITH_AGGREGATES, parameters and use 'U' in the I_DOUBLE_FACTTAB parameter. Press F8 to run the module. Only the C_T_INDEX output parameter is relevant. It shows a list of indexes. Check the TYPE_CHECK, UNIQUE_CHECK, PARTITIONED_CHECK and STATUS_CHECK columns. These should show 'G' (= "green" = ok) respectively.
    If your BW 2.0A system is on patch level 11 Make DB02 consistent by running the report SAP_UPDATE_DBDIFF (via SE38), go to DB02 and press the "Refresh" button in order to synchronise the information in DB02 with the DBDIFF table. This should provide you with a consistent view.
    For BW 2.0B and BW 2.1C systems (all DB-platforms):
    DB02 should work consistently in BW 2.0B / BW 2.1C  with infocubes created in 2.0B / BW 2.1C. If you wish, you can still use the BW 2.0A approach. For infocubes that were created in BW 2.0A or BW 1.2 you need to adjust the index setup (on the facttables) by running the report SAP_INFOCUBE_INDEXES_REPAIR. The latter is available from BW 2.0B patch 3 onwards. It should be run in a background process as it might take a while to run through.
    You also might want to run the report SAP_UPDATE_DBDIFF once in order to update the table DBDIFF that lists database objects whose data dictionary setting do not correspond to the actual setup and that should therefore be omitted in DB02 checks.
    Source code corrections

  • Check Portal System Database Backup status

    Hi,
    we have a portal system and i have performed an online DB-Backup using brtools.
    Like DB02 in ABAP Stack, is there a way to display the status of the Backup either using NWA at SAP level or using brtools at OS level ?
    Thank you,
    Mohan.

    This is not possible from the portal page (NWA) but you can view the BRBACKUP logs from the OS level located at /oracle/SID/sapbackup and archive backup logs present at /oracle/SID/saparch.
    You can make use of the DBACOCKPIT function from another system like suggested above.
    Regards
    RB

  • "Row modification counter" in T-code db02

    Hi experts,
    In Transaction code DB02, when you enter the name of a table in Detailed analysis, you can see some indicators like Reserved (KB), Data size (KB), Total rows, Row modification counter...
    Do you know what does the indicator "Row modification counter" means ?
    I delete some old requests from a big Infocube, and during the deletions I check these indicators corresponding to the fact table. The Row modification counter increase a lot before coming down to 0.
    I thought that the utility of this indicator was to count the number of rows in status M of a masterdata...
    Could you give me more information about this indicator please ?
    Thanks,
    Tempka

    What is your support pack version?
    for sap nw 7.0 sp stack 13, apply corrections of these notes
    0001076507
    0001081265
    0001088211
    0001100026
    0001110280
    :for sap nw 7.0 sp stack 12, also examine and apply these notes
    1042725, 1046668, 1052909, 1076147, 1084949

  • Tcode DB02 all the values showing zero (0)

    Hi Oracle-experts!
    I have recently executed the upgrade from 4.6C  to ECC 6.0.
    I have the following errors after that:
    <b>Tcode DB02: by entering the Tcode all the values are showing the zero (0).</b>If I try to refresh the values the background job "space statistic:Default" is starting and canceling after while with "SAPOSCOL short dump" (compute bcd overflow).
    <b>Also I have a lot of red messages in TCode dbacockpit.
    How can I fix them? </b>
    Thank you very much
    regards
    Axel

    Die Table ORA_MON_DBCON should contain at least the local database.
    e.g.
      CON NAME       DEFAULT
      STATUS         A
      MAX RUNTIME    1.800
      MAX UPLOAD     1.000.000
      LOG LIFE       100
      DESCRIPTION    Local Oracle database
    Check all points in the SAP Note 1002840 - No data or obsolete data in DB Space Statistic monitor. This note is very important for this problem.
    Best regards
    K.Baran

  • DB02 is empty , no data there why?

    Hi Experts,
    T-Code DB02 doesn't have any statistics related to space
    i mean it is empty no data.
    SAB_Basis 700 sp 13   my database is Oracle10g
    i don't know the reason
    Thanks
    Sh...

    Thanks Guys,
    Note 1002840 solved the problem
    steps:
    1- standard job SAP_COLLECTOR_FOR_PERFMONITOR is scheduled hourly  at 0'oclock i mean 9:00 , 10:00 , 11,00 ...
    2-tabe ORA_MON_DBCON should contain 1 record as
    CON NAME       DEFAULT
      STATUS         A
      MAX RUNTIME    1.800
      MAX UPLOAD     1.000.000
      LOG LIFE       100
      DESCRIPTION    Local Oracle database
    3-table DB02_COLL_PLAN should contains entries
    if 2 or 3 not happen so do as follow
    -call report RSORACUP from SE38 with parameter:
                        CON_NAME = DEFAULT
                        OPERATIO = DELETE
    then call it again with
    CON_NAME = DEFAULT
    OPERATIO = CREATE
    after that 2 & 3 will contains entries.
    Thatnks
    Sherif

  • DATAFILE SYSAUX ---- STATUS RECOVER

    Database Version : 10.1.0.2.0
    OS System : Window 2003 Server
    SQL> SELECT FILE#, STATUS FROM V$DATAFILE;
    FILE# STATUS
    1 SYSTEM
    2 ONLINE
    3 RECOVER
    4 ONLINE
    5 ONLINE
    The following datafiles are offline immediate:
    D:\ORACLE\PRODUCT\10.1.0\ORADATA\DB02\SYSAUX01.DBF (3)
    What should i do.....for correction....
    reply plz.

    Is it running under archivelog mode????
    check and post the output of.
    SQL>  select * from  v$recovery_log;
    SQL>  select * from  v$recover_file;

  • Db02 problem

    Hi,
    I'm running netweaver 2004s on oracle 10.2 db
    after importing sp12 i can't see any details on db02
    did anyone came across such a problem
    please advise
    Regards,
    Moshe

    Hi,  I am running on NW2004s with BASIS support package 12 on Oracle 10.2.0.2 after the upgrade i am not able to see data in DB02  the standard job SAP_COLLECTOR_FOR_PERFMONITOR is running with the status Finished but in the job log is as follows
    Job started
    Step 001 started (program RSCOLL00,VARIANT,USER DDIC)
    Database system not supported
    Job finished
    any suggestions on this will be helpful
    Edited by: manu k on Jan 5, 2008 12:02 AM

  • Any ideas for a status or "at a glance" splash screen / presentation?

    This is an idea I've been tossing around and wanted to know if there was something easy out there that would accomplish this...
    I'd like to mount a monitor in one of our common areas for the management team and have it display current statuses of some of our IT features/services and maybe quick bits on what we are currently working on, major issues, etc... 
    I've seen some company lobbies with similar setups that display company-wide information, weather, etc.. so I know the capability is out there but I don't know squat regarding what that would entail. The easier, the better, naturally... as I don't want this to turn into an entire job position updating it, haha. But something that I could hopefully remotely update would be nice.
    Any ideas? Thanks!
    This topic first appeared in the Spiceworks Community

    Please see the two articles below:
    http://support.apple.com/kb/TS3694
    http://support.apple.com/kb/TS3125

  • Purchase order status open

    Hi Experts,
    Due to some other reasons we tried clear GR/IR clearing a/c. i will explain clearly.
    We have some purchase orders pertaining to 2006 year. we have not done MIGO and we did MIRO, So that we could not able to clear GR/IR A/C. SO, we have posted manual entry with fb50 same as MIGO posting then we cleared both documents with f-03 its done every thing was fine now But if we see purchase order report status showing OPEN
    How to change the status please some one let me know.this is high priority issue.
    Regards,
    JC

    Hi,
    First make sure that you will not receive goods against your PO..Then go to me22n and delete the item in your PO.
    This will resolve your issue.
    Thanks,
    Srinu

  • Sale Order Status Report

    Dear Expert.
    I want Sales Order Status report as below mentioned format required quarry base report from Date to To Date.
    Location-OrderSeries-OrderNo-CardCode-CardName-ItemCode-Item Descripotion-Inv.UOM-Order Qty-Allocated Qty-DeliverQty-Peniding Qty adn Pending Order Value.

    Hi,
    You can check this :
    select t3.location as 'Location',t0.series as 'Order Series',
    t0.docnum as 'Order No.',t0.cardcode as 'Business Partner Code',
    t0.cardname as 'Business Partner Name', t1.itemcode as 'Item',
    t1.dscription as 'Item Name', t2.invntryUom as 'Inventory UoM',t1.quantity as 'Order Qty',
    t1.QtyToship as 'Allocated Qty- Qty to Ship', t1.delivrdQty as 'Delivered Qty',
    t1.OrderedQty as 'Ordered Qty', t1.openCreQty as 'Pending Qty',
    t1.Opensum as 'Pending Order Row Value'
    from ORDR t0 inner join RDR1 t1 on t1.docentry = t0.docentry
    inner join OITM t2 on t2.itemcode = t1.itemcode
    inner join OLCT t3 on t3.code = t1.loccode
    where t0.docdate >= '2011.01.01' and t0.docdate <= '2011.12.31'
    Hope it helps.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • PF STATUS IN ALV REPORT

    hi,
    How to use PF STATUS IN ALV REPORT?

    HI,
    see this code.
    TABLES:MARA.
    SELECT-OPTIONS: MATNR FOR MARA-MATNR.
    DATA:BEGIN OF ITAB OCCURS 0,
         MATNR LIKE MARA-MATNR,
         ERSDA LIKE MARA-ERSDA,
         MTART LIKE MARA-MTART,
         MBRSH LIKE MARA-MBRSH,
    END OF ITAB.
    SELECT * FROM MARA INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE MATNR
    IN MATNR.
    TYPE-POOLS SLIS.
    DATA:FCAT TYPE slis_t_fieldcat_alv.
    DATA:LAYOUT TYPE slis_layout_alv.
    DATA:EVE TYPE slis_t_event WITH HEADER LINE.
    DATA:HEAD TYPE slis_t_listheader WITH HEADER LINE.
    DATA:SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE.
    SORT-UP = 'X'.
    SORT-SPOS = 1.
    SORT-FIELDNAME = 'ERSDA'.
    SORT-tabname = 'MARA'.
    APPEND SORT.
    SORT-SPOS = 2.
    SORT-FIELDNAME = 'MTART'.
    SORT-tabname = 'MARA'.
    APPEND SORT.
    EVE-NAME = 'TOP_OF_PAGE'.
    EVE-FORM = 'TOPOFPAGE'.
    APPEND EVE.
    EVE-NAME = 'TOP_OF_LIST'.
    EVE-FORM = 'TOPOFLIST'.
    APPEND EVE.
    EVE-NAME = 'END_OF_LIST'.
    EVE-FORM = 'ENDOFLIST'.
    APPEND EVE.
    LAYOUT-ZEBRA = 'X'.
    LAYOUT-no_hline = 'X'.
    LAYOUT-NO_VLINE = 'X'.
    LAYOUT-window_titlebar = 'MATERIAL DETAILS'.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = SY-REPID
       I_INTERNAL_TABNAME           = 'ITAB'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   = SY-REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
      CHANGING
        CT_FIELDCAT                  = FCAT
    EXCEPTIONS
      INCONSISTENT_INTERFACE       = 1
      PROGRAM_ERROR                = 2
      OTHERS                       = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
       I_CALLBACK_PROGRAM             = SY-REPID
    <b>   I_CALLBACK_PF_STATUS_SET       = 'STATUS'
       I_CALLBACK_USER_COMMAND        = 'UCOMM'</b>
      I_STRUCTURE_NAME               =
       IS_LAYOUT                      = LAYOUT
       IT_FIELDCAT                    = FCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
       IT_SORT                        = SORT[]
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
       IT_EVENTS                      = EVE[]
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 5
      I_SCREEN_START_LINE            = 5
      I_SCREEN_END_COLUMN            = 120
      I_SCREEN_END_LINE              = 25
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
      TABLES
        T_OUTTAB                       = ITAB
    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.
    FORM TOPOFPAGE.
    REFRESH HEAD.
        HEAD-TYP = 'H'.
        HEAD-INFO = 'MATERIALS'.
        APPEND HEAD.
        CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
            IT_LIST_COMMENTARY       = HEAD[]
          I_LOGO                   =
          I_END_OF_LIST_GRID       =
    ENDFORM.
    FORM TOPOFLIST.
    REFRESH HEAD.
        HEAD-TYP = 'H'.
        HEAD-INFO = 'MATERIALS-LISTTOP'.
        APPEND HEAD.
        CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
            IT_LIST_COMMENTARY       = HEAD[]
          I_LOGO                   =
          I_END_OF_LIST_GRID       =
    ENDFORM.
    FORM ENDOFLIST.
    REFRESH HEAD.
        HEAD-TYP = 'H'.
        HEAD-INFO = 'MATERIALS-LISTEND'.
        APPEND HEAD.
        CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
            IT_LIST_COMMENTARY       = HEAD[]
          I_LOGO                   =
          I_END_OF_LIST_GRID       =
    ENDFORM.
    <b>FORM STATUS USING MYMENU.
        SET PF-STATUS 'MENU' excluding MYMENU.
    ENDFORM.
    FORM UCOMM USING CODE STEXT.
        CASE CODE.
            WHEN 'ABC'.
            WRITE:/ 'YOU HAVE CLICKED ON ABC'.
            WHEN 'XYZ'.
            WRITE:/ 'YOU HAVE CLICKED ON XYZ'.
        ENDCASE.
    ENDFORM.</b>
    rgds,
    bharat.

Maybe you are looking for

  • Divx online streaming issue - no video

    hi, i am a first time mac buyer and own a macbook pro 2011. I am trying to view online streaming videos and i am getting audio but no video. i have tried safari in 24bit and i have tried using firefox instead but with no luck. i am able to view alrea

  • Itunes wont work with Airport Express

    Hi, I have been having issues with Itunes and Airport Express for years. I got if fixed a year ago through Apple, but now that the new Itunes came out, back to square one and frustrated. I have an IMAC G5 going wireless to Airport Express. There is n

  • Imagemap Rollover image - Dreamweaver CS3

    Hey, a quick run-down of what im trying to do: I have a background image of a map. What im wanting to do is when I hover over the word 'Germany' say, i want a new image to appear. Can this be done using Imagemap as apose to 'Rollover Image' or can it

  • CRS 5.0(1) issue with historical reports

    Hi support community, I'm facing an issue on a CRS 5.0(1) with historical reports (HDS). Last known issue on the Windows Server was that there were no free space on hard drive. This is now fixed and everything looks fine again. Now the user reporting

  • Data Transfer- Techno hopeless

    I got an iPad 2 for Christmas and was away so set up on the computer of a friend.  Now I am at home and want to  transfer all data/files/apps/music ect onto my home iTunes.  I am very bad with technology.  Apparently I cannot sync as all data on ipad