How to find the number of Z or Y programs and amount of code lines?

hi all, I'm trying to find the number of programs on user namespace (Z* or Y*) and the number of coded lines in them. something like report Z_MY_REPORT, lines 582; Include Z_MY_INCLUDE, lines 135.
Exist any standard report to do it or do I have to develop it by myself?
thanks for any suggestion.

If you have to do in urself
DATA: i_reptx TYPE STANDARD TABLE OF textpool WITH HEADER LINE.
READ TEXTPOOL 'ZJ_ALV' INTO i_reptx.
and describe the itab.. and get  the lines.
In conjunction with TADIR table to get the program repository.

Similar Messages

  • How to find the number of Ram modules in M4000 and M3000

    Dears,
    Hope you all are in best of your health, I would like to know the command to check the number of RAM modules in M4000 or M3000 Sun Sparc Servers. I think it should be via XSCF Console if am correct? I trigger following command *"showhardconf"* got below output.
    ======================================================================================================
    XSCF> showhardconf
    SPARC Enterprise M4000;
    + Serial:BCF094403J; Operator_Panel_Switch:Locked;
    + Power_Supply_System:Single; SCF-ID:XSCF#0;
    + System_Power:On; System_Phase:Cabinet Power On;
    Domain#0 Domain_Status:Running;
    MBU_A Status:Normal; Ver:0101h; Serial:BC0943029D ;
    + FRU-Part-Number:CF00541-0893 06 /541-0893-06 ;
    + Memory_Size:16 GB;
    CPUM#0-CHIP#0 Status:Normal; Ver:0401h; Serial:PP093500VY ;
    + FRU-Part-Number:CA06761-D202 E0 /375-3568-05 ;
    + Freq:2.400 GHz; Type:32;
    + Core:4; Strand:2;
    CPUM#0-CHIP#1 Status:Normal; Ver:0401h; Serial:PP093500VY ;
    + FRU-Part-Number:CA06761-D202 E0 /375-3568-05 ;
    + Freq:2.400 GHz; Type:32;
    + Core:4; Strand:2;
    MEMB#0 Status:Normal; Ver:0101h; Serial:BF0939DFFA ;
    + FRU-Part-Number:CF00541-0545 08 /541-0545-08 ;
    MEM#0A Status:Normal;
    + Code:ce0000000000000001M3 93T5660QZA-CE6 4151-478d0372;
    + Type:2A; Size:2 GB;
    MEM#1A Status:Normal;
    + Code:ce0000000000000001M3 93T5660QZA-CE6 4151-478d0306;
    + Type:2A; Size:2 GB;
    MEM#2A Status:Normal;
    + Code:ce0000000000000001M3 93T5660QZA-CE6 4151-438845e9;
    + Type:2A; Size:2 GB;
    MEM#3A Status:Normal;
    + Code:ce0000000000000001M3 93T5660QZA-CE6 4151-478d02e9;
    + Type:2A; Size:2 GB;
    MEMB#1 Status:Normal; Ver:0101h; Serial:BF0939DKJ6 ;
    + FRU-Part-Number:CF00541-0545 08 /541-0545-08 ;
    MEM#0A Status:Normal;
    + Code:ce0000000000000001M3 93T5660QZA-CE6 4151-478d0374;
    + Type:2A; Size:2 GB;
    MEM#1A Status:Normal;
    + Code:ce0000000000000001M3 93T5660QZA-CE6 4151-478d037b;
    + Type:2A; Size:2 GB;
    MEM#2A Status:Normal;
    + Code:ce0000000000000001M3 93T5660QZA-CE6 4151-478d02f9;
    + Type:2A; Size:2 GB;
    MEM#3A Status:Normal;
    + Code:ce0000000000000001M3 93T5660QZA-CE6 4151-478d0373;
    + Type:2A; Size:2 GB;
    DDC_A#0 Status:Normal;
    DDC_A#1 Status:Normal;
    DDC_B#0 Status:Normal;
    IOU#0 Status:Normal; Ver:0101h; Serial:BF0938DA6R ;
    + FRU-Part-Number:CF00541-2240 05 /541-2240-05 ;
    DDC_A#0 Status:Normal;
    DDCR Status:Normal;
    DDC_B#0 Status:Normal;
    PCI#1 Name_Property:SUNW,qlc; Card_Type:Other;
    PCI#2 Name_Property:SUNW,qlc; Card_Type:Other;
    PCI#3 Name_Property:network; Card_Type:Other;
    XSCFU Status:Normal,Active; Ver:0101h; Serial:BF0939DTNJ ;
    + FRU-Part-Number:CF00541-0481 04 /541-0481-04 ;
    OPNL Status:Normal; Ver:0101h; Serial:BF0940EAEM ;
    + FRU-Part-Number:CF00541-0850 06 /541-0850-06 ;
    PSU#0 Status:Normal; Serial:1357FYG-0911AD02JY;
    + FRU-Part-Number:CF00300-2011 0202 /300-2011-02-02;
    + Power_Status:On; AC:200 V;
    PSU#1 Status:Normal; Serial:1357FYG-0911AD02K8;
    + FRU-Part-Number:CF00300-2011 0202 /300-2011-02-02;
    + Power_Status:On; AC:200 V;
    FAN_A#0 Status:Normal;
    FAN_A#1 Status:Normal;
    FANBP_B Status:Normal; Ver:0401h; Serial:BF0940E134 ;
    + FRU-Part-Number:CF00541-3098 01 /541-3098-01 ;
    FAN_B#0 Status:Normal;
    FAN_B#1 Status:Normal;
    ==============================================================================================
    With the above output I understand that we have the following:-
    -> *16GB RAM*
    -> We have memory boards **MEMB#0** and **MEMB#1**
    -> We have 4 modules on **MEMB#0** and they are following:-
    MEM#0A -2GB - if we Upggrade to 4GB what will happen to the existing 2GB RAM?
    MEM#1A -2GB- if we Upggrade to 4GB what will happen to the existing 2GB RAM?
    MEM#2A -2GB- if we Upggrade to 4GB what will happen to the existing 2GB RAM?
    MEM#3A -2GB- if we Upggrade to 4GB what will happen to the existing 2GB RAM?
    -> We have 4 modules on **MEMB#1** and they are following:-
    MEM#0A -2GB- if we Upggrade to 4GB what will happen to the existing 2GB RAM?
    MEM#1A -2GB- if we Upggrade to 4GB what will happen to the existing 2GB RAM?
    MEM#2A -2GB - if we Upggrade to 4GB what will happen to the existing 2GB RAM?
    MEM#3A -2GB- if we Upggrade to 4GB what will happen to the existing 2GB RAM?
    So, I understand that the above server will have 32 GB Ram as our company ordered recently, Correct?
    In the specifications of M4000 i see that for these servers we can upgrade he Ram upto 128 GB.
    Please guide, any help offerred is appreciated.
    Edited by: user9007339 on 26/01/2013 03:14 ص

    A Key document is:
    http://docs.oracle.com/cd/E19855-01/819-2210-14/819-2210-14.pdf
    The m4000 can have 4 memory modules.
    Each memory module can contain up to 8 dimms. (Two groups on same size (A and B) of 4 dimms). Group A dimms may must not be smaller than Group B dimms. (within a memory module).
    The server can contain 4 memory modules of 8 dimms ... 128GB is attained by 32 4GB dimms. ( 8GB dimms used to be purchasable but are now discontinued ).
    Depending on what you purchased to achieve 32GB on your server then following options are available:
    - If you purchased 2 memory modules of 8GB each simply put these in two unused module slots and goto 32GB
    - If you purchased 2 memory modules of 16GB each simply put these in two unused module slots and goto 48GB
    - If you purchased 4 memory modules of 8GB each using 8 x 1GB dimms then move your existing simms into the group A slots of the new memory modules, goto 40GB and sell the spare dimmms on ebay or put them certain DELL's (then watch the thing crash due to a static dimm destruction issue and possilbe issues as it isn't supported.)
    - If you purchased 8 2GB dimms stick them in your existing memory modules
    - If you purchased 16 2GB Dimms ... and don have spare empty memory modules sell spares on ebay.
    .... There may be further options ....
    In general the person you are purchasing from should be giving good advice ... better than mine above.
    ... My cynical opinion is a lot of partners (and perhaps even Oracle itself) supplying the purchase may be on commission and have no interest and little care in minimising your cost .... having seen the performance of some oracle 'partners' in the uk I can see why some customers might want to move away from oracle hardware.
    Please be aware certain games with switching things about could affect your warrantee ... ( its highly embarrassing when a failing disk in a dilbert has the wrong part number or even worse an incorrect backplate affecting the airflow ... ) ... and what you are really paying for is for an engineer to come and sort your server out if there is a hardware issue. So take some of the suggestions above with a pinch of salt.
    Please be aware while have I tried to be accurate above I may have made a mistake. ... .... (in fact knowing me I probably have).
    Edited by: bigdelboy on 26-Jan-2013 03:51 (NB: adding memory to servers is often a difficult balancing act and may not be cost effective .... and may make smaller dimms redundant in an upgrade in order to maintain supportable/workable configurations). A new T4/T5 may be more cost effective}. Buying fully populated at the beginning is also often more cost effective .... though the largest dimms to achieve highest capacity may be cost prohibitive.

  • How to find the number of data items in a file written with ArryToFile function?

    I have written an array of number in 2 column groups to a file using the LabWindows/CVI function ArrayToFile...Now if I want to read the file with FileToArray Function then how do I know the number of items in the file. during the write time I know how many array items to write. but suppose I want the file to read at some later time then How to find the number of items in the file,So that I can read the exact number and present it. Thanks to all
    If you are young work to Learn, not to earn.
    Solved!
    Go to Solution.

    What about:
    OpenFile ( your file );
    cnt = 0;
    while ((br = ReadLine ( ... )) != -2) {
    if (br == -1) {
    // I/O error: handle it!
    break;
    cnt++;
    CloseFile ( ... );
    There are some ways to improve performance of this code, but if you are not reading thousands of lines it's quite fast.
    After this part you can dimension the array to pass to FileToArray... unless you want to read it yourself since you already have it open!
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to find the number of entries in a master data table

    Hi Experts,
    I am trying to find the entries in 0CUSTOMER master data.
    BW>LISTCUBE>Data target: 0CUSTOMER and selected the fields that I need.
    I would like to know how to find the "number of entrees". I tried to run the SUM for a count field, but it is taking forever as there are huge number of records .

    Hi Dev,
    Go to the change/display mode of the info object (0CUSTOMER) in your case. Go to the Master data/Text tab. Here you will find the master data tables according to your settings (P orQ or X or Y). Double click on the table name and it will take you to the SE11 display. From there, you can check the number of records as you do in any transparent table.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • How to find the number of links in a website

    hi every body
    can any one clear my doubt
    my doubt is that
    in a website how to find the number of links the hole website contains
    is there any navigation tool to find that
    plz help me yar
    i am waiting for the reply

    If you're talking about commercial sites (sites you don't have the source code for) I'm not sure.
    If you want to count the links in site that you have the source code for, it should be relatively easy to write a Java application to do it. All you really need to do is have a list of the files you want to count links in, read each file line by line and check for the existance of the <a> tag in each line. Anywhere their is an <a> tag there is a link.
    Hope this helps.

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • How to find the number of fetched lines from select statement

    Hi Experts,
    Can you tell me how to find the number of fetched lines from select statements..
    and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
    Thanks in advance
    santosh

    Hi,
    Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
    For ex:
    data: itab type mara occurs 0 with header line.
    Select * from mara into table itab.
    Write: Sy-tabix.
    This will give you the number of entries that has been selected.
    I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
    Hope this helps,
    Sudhi
    Message was edited by:
            Sudhindra Chandrashekar

  • How to find the number of occurance of a string in text field of Infopath form?

    Hi All,
    In Infopath text field, How to find the number of occurrence of a particular string in that field?
    Thanks in advance!

    You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
    Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
    Example:
    String: "1"
    Box A - "123451234512345"
    Box B - "23451234512345"
    Box C - "2345234512345"
    Box D - "234523452345"
    etc.
    We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • How to find the number simultaneous call at a given moment on UCCX ?

    Hello,
    I would to know how to find the number simultaneous call at a given moment on UCCX ?
    it's on UCCX or UCCX RTMT, I don't know thanks a lot for your help.
    Aubert

    Hi Gergely,
    I should made a report on the number simultaneous call at a given moment on UCC on the server (all calls on the server)..

  • How to Find the number of Databases in a server.

    HI,
    Please tell me how to find the number of Databases are in a server . when the DB is not up.
    ps -ef | grep ora_
    This i know whether our DB is up or not. But i want to know how many databases are in a server .If the database is down .
    Cheers,
    Gobi.

    Hi,
    [oracle@oralinux admin]$ lsnrctl status
    LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 01-DEC-2006 16:25:41
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    TNS-01169: The listener has not recognized the password
    [oracle@oralinux admin]$
    Plz give me the solution.
    Cheers ,
    Gobi.

  • How to find the number of ODBC connections to Oracle Database

    Hi All,
    How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
    Thanks in advance,
    Mahi

    What Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
    For example: if you already know of a user using ODBC, you can verify as:
    select username, osuser, terminal, program from v$session where username = 'SCOTT'
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
    SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
    Hope this helps...

  • How to find the number of columns in an internal table DYNAMICALLY ?

    Hi,
    How to find the number of columns in an internal table DYNAMICALLY ?
    Thanks and Regards,
    saleem.

    Hi,
    you can find the number of columns and their order using
    the <b>'REUSE_ALV_FIELDCATALOG_MERGE'</b>
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = sy-repid
       I_INTERNAL_TABNAME           = 'ITAB'
       I_INCLNAME                   = sy-repid
      changing
        ct_fieldcat                  = IT_FIELDCAT
    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
    now describe your fieldcat . and find no of columns.
    and their order also..
    regards
    vijay

  • How to find the number of records per months  in cube

    Hi,
      how to find the number of records per months for my all cubes?
      Can i use the ListCube transaction to find totl number f records per cube monthwise ?
    Jimmy

    Hi,
    Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
    1.Copy the code into your Z<programname> from Se38.
    2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
    3.Save program.
    4.Schedule the program in background as required
    5.Create cube with infoobjects to hold no of records and Infoprovider name
    6.Load this cube based on event after the program job is done.
    Hence you can report on this cube to see no of records in  CUBE or ODS in your box.
    Please find the code below.
    Cheers,
    Kavitha Kamesh.
    types: begin of itabs ,
          tabname type dd02l-tabname,
          end of itabs.
    data: itab type itabs occurs 0 with header line.
    data: counter type i.
    data: begin of itab1 occurs 0,
    tabname type dd02l-tabname,
    counter type i,
    end of itab1.
    DATA: ITABTABNAME TYPE STRING.
    DATA: LENGTH TYPE I.
    DATA: OBJECT(30).
    data: str(6) type c.
    select  tabname from dd02l into table itab where ( tabname LIKE  '/BIC/F%' or tabname LIKE  '/BIC/A%00' )
    and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
    loop at itab.
      select count(*) from (itab-tabname) into counter.
      str = itab-tabname.
      if str = '/BIC/F'.
    LENGTH  = STRLEN( ITAB-TABNAME ).
      SHIFT  itab-tabname BY 6 PLACES LEFT.
    ELSEIf  str = '/BIC/A'.
      SHIFT  itab-tabname BY 6 PLACES LEFT.
      LENGTH  = STRLEN( ITAB-TABNAME ).
    LENGTH = LENGTH - 2.
    endif.
      itab1-tabname = itab-tabname(LENGTH).
      append itab1.
      itab1-counter = counter.
      clear itab-tabname.
      clear:  COUNTER.
    endloop.
    *********** itab1
    loop at itab1.
    write:/ itab1-tabname, itab1-counter.
    endloop.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                    =
        FILENAME                        = 'c:records.xls'
        FILETYPE                        = 'ASC'
    *   APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = ','
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    * IMPORTING
    *   FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab1
    *   FIELDNAMES                      =
    * EXCEPTIONS
    *   FILE_WRITE_ERROR                = 1
    *   NO_BATCH                        = 2
    *   GUI_REFUSE_FILETRANSFER         = 3
    *   INVALID_TYPE                    = 4
    *   NO_AUTHORITY                    = 5
    *   UNKNOWN_ERROR                   = 6
    *   HEADER_NOT_ALLOWED              = 7
    *   SEPARATOR_NOT_ALLOWED           = 8
    *   FILESIZE_NOT_ALLOWED            = 9
    *   HEADER_TOO_LONG                 = 10
    *   DP_ERROR_CREATE                 = 11
    *   DP_ERROR_SEND                   = 12
    *   DP_ERROR_WRITE                  = 13
    *   UNKNOWN_DP_ERROR                = 14
    *   ACCESS_DENIED                   = 15
    *   DP_OUT_OF_MEMORY                = 16
    *   DISK_FULL                       = 17
    *   DP_TIMEOUT                      = 18
    *   FILE_NOT_FOUND                  = 19
    *   DATAPROVIDER_EXCEPTION          = 20
    *   CONTROL_FLUSH_ERROR             = 21
    *   OTHERS                          = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    Dear Friends,
    I am absolutely agree with your answer .
    But my question is,
    Lets say.....
    One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
    So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
    Hope you all understood my requirement .
    Thanks & Regards,
    Aditya

Maybe you are looking for