Function module to find out DATA BASE size, free space, used size

Is there any function module to find out DATA BASE , free space, used size
FM that gives all the details of the Date base
what data base, what is the size, free space, used space etc...
instead of writing case by case for each data base. based on  CASE SY-DBSYS.

Hi,
Check this FM:
DB02_ORA_SELECT_DBA_SEGMENT
alternatively u can check the tcode: DB02
thanks|
Mahesh

Similar Messages

  • Function Module to find out the release value in contract

    Dear All,
    I have to upload the contract with new accoutn assignment without changing the existing contract. For that i have to download all the existing contract data with value.
    In that case i have some issues regarding the value.
    For example : In the system old contract is created with value 1000 and the released value as 500.
    In that case i have to uload the new contract with all the details of existing contract with value of 500 (1000-500=500).
    How can i get the value (500) and from which table.Is there any functional module to find out the release value in contract.
    Thanks and regads,
    PM
    Edited by: PM on Jan 21, 2010 8:40 AM
    Edited by: PM on Jan 22, 2010 9:48 AM

    Hi
    You need to link the table VBFA and VBAK.
    For a contract you can check all the subsequent document (which you can filter whether you want to see Order / delivery / Billing) in VBFA and then from there pick the subsequent document no. and then from VBAK you can pick the Net value of these subsequent documents, and so you will have both the values (value of Contract and value in subsequent document) and you can determine the balance value.
    Regards
    Amitesh Anand

  • Function module to find out the changed values from tables

    What is the standard function module to find out the changed values (the old & new values) from tables in SAP ?

    Hi Harish,
    Please elaborate your requirement...
    Please have a look on CDHDR AND CDPOS tables... it contains changed data... but all chages are not being tracked using it..
    Try Below FMs as well..
    For Header Level...
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
        EXPORTING
          date_of_change    = cdhdr-udate
          objectclass       = cdhdr-objectclas
          objectid          = cdhdr-objectid
          time_of_change    = cdhdr-utime
          username          = cdhdr-username
        TABLES
          i_cdhdr           = icdhdr
        EXCEPTIONS
          no_position_found = 1
          OTHERS            = 2.
    For Item Level
    CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
          EXPORTING
            changenumber      = icdhdr-changenr
          IMPORTING
            header            = cdhdr
          TABLES
            editpos           = icdshw
          EXCEPTIONS
            no_position_found = 1
            OTHERS            = 2.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Function Module to find out detail of open period of Finance (FI)

    Hi  All,
    I have a query that I want to know the existing function module to find out
    FI period detail thatis detail of opened period in FI.
    Regards,
    Rishi

    Hi Rishi
    Go to transaction SE37 and you can see the list of FM.
    Thanks
    Ashok
    Assign points for useful answer

  • Table Name or Function Module to find out all the Screens & Subscreens for

    Hello Experts,
          Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
    Helpful Answer will b rewarded
    Arif Shaik

    Hi Balaji,
       But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
    Any other which U know

  • Function module to find start date and end date of fiscal year for company

    Hi,
    Is there any function module exist which will provide me start date and end date of fiscal year for company code and fiscal year provided?
    Thanks & Regards,
    Parag

    Hi,
    please check this link
    it would be very useful
    http://www.sapdevelopment.co.uk/fmodules/fms_fiscalyr.htm
    Thanks and regards
    durga.K

  • Function module to find out dependent requirements

    Hello Experts,
    Any function module to determine the dependent requirements for process order...
    Pls let me know.
    Regards.

    use the following FM
    MD_STOCK_REQUIREMENTS_LIST_API
    give material no and  plant and following\
    DISPLAY_LIST_MDPSX = X
    DISPLAY_LIST_MDEZX =  X
    DISPLAY_LIST_MDSUX =  x
    o/p
    MDPSX filter for the values of here DELKZ(MRP element indicator) = AR
    you will get all depnedent reservation from process order.

  • Function module to find the date

    Hi folks,
    Is there a FM where in by using the current date I could calculate an earlier date which is 30 days less than the current one?
    Thanks,
    Sk

    Hi,
    If you want to use FM, try FM RP_CALC_DATE_IN_INTERVAL.
    data: wa_date like sy-datum.
    call function 'RP_CALC_DATE_IN_INTERVAL'
             exporting
                  date      = sy-datum
                  days      = 30
                  months    = 0
                  signum    = '-'
                  years     = 0
             importing
                  calc_date = wa_date.
    write: / wa_date.
    Regards,
    Ferry Lianto

  • Is there any Function module to find out no. of printers connected to SAP .

    I would like to know Is there  any FM exist in SAP to findout the no. of Printers connected to SAP sytem.And FM to know the status of the printer .

    Hi,
    in table TSP03 check field PASTATUS. It contains a hex value.
    Here is the explanation:
    02 -> printer is disabled
    04 -> printer not active
    08 -> printer is active
    10 -> printer is faulty
    Table TSP03C contains additionally field PADISABLED, which means printer disabled.
    Hope that helps -sorry that I don't know a FM for you!
    Regards
    Nicola

  • Function Module to find 3 months Old Date

    Is there any function module to find out 3 months old date for a todays date....Pls Help me......

    Hi,
    use function module : J_1H_CAL_DATE_IN_INTERVAL
    use code as below :
    data : date type sy-datum, out_date type sy-datum.
    date = '20070702'.
    CALL FUNCTION 'J_1H_CAL_DATE_IN_INTERVAL'
      EXPORTING
        date            = date
        days            = '00'
        months          = '03'
       SIGNUM          = '-'
        years           = '00'
    IMPORTING
       CALC_DATE       = out_date.
    write :/ out_date.
    Sandeep Kaushik
    Message was edited by:
            Sandeep Kaushik

  • Function module to fine closest date among given date

    Hi All,
    Is there any function module to find closest date among given dates?
    Thanks in advance

    Hi
    I think there is no FM module available which will satisy this requirement...
    But You can develope one ZFM or You can write a code for it...
    Logic will be
    Check out below code...
    PARAMETERS : P_DATE TYPE SY-DATUM DEFAULT '20090909'.
    DATA : BEGIN OF WA_ITAB,
            DATE TYPE SY-DATUM,
           END OF WA_ITAB.
    DATA : ITAB LIKE STANDARD TABLE OF WA_ITAB.
    DATA : IND TYPE SY-TABIX,
            IND2 TYPE SY-TABIX,
            IND3 TYPE SY-TABIX,
            DATE1 TYPE SY-DATUM,
            DATE2 TYPE SY-DATUM,
            DIFF1 TYPE I,
            DIFF2 TYPE I,
            UTTER_CLOSE TYPE SY-DATUM.
    CLEAR : WA_ITAB, ITAB[].
    WA_ITAB-DATE = '20090824'.
    APPEND WA_ITAB TO ITAB.
    CLEAR : WA_ITAB.
    WA_ITAB-DATE = '20090901'.
    APPEND WA_ITAB TO ITAB.
    CLEAR : WA_ITAB.
    WA_ITAB-DATE = '20090912'.
    APPEND WA_ITAB TO ITAB.
    CLEAR : WA_ITAB.
    WA_ITAB-DATE = '20090930'.
    APPEND WA_ITAB TO ITAB.
    CLEAR : WA_ITAB.
    WA_ITAB-DATE = '20091011'.
    APPEND WA_ITAB TO ITAB.
    CLEAR : WA_ITAB.
    WA_ITAB-DATE = P_DATE. " P_DATE ==> Your Key Date
    APPEND WA_ITAB TO ITAB.
    CLEAR : WA_ITAB.
    SORT ITAB BY DATE.
    DELETE ADJACENT DUPLICATES FROM ITAB COMPARING DATE.
    READ TABLE ITAB INTO WA_ITAB WITH KEY DATE = P_DATE.
    IF SY-SUBRC = 0.
      IND = SY-TABIX.
    ENDIF.
    IND2 = IND - 1.
    IND3 = IND + 1.
    READ TABLE ITAB INTO WA_ITAB INDEX IND2.
    IF SY-SUBRC = 0.
      DATE1 = WA_ITAB-DATE.
    ENDIF.
    READ TABLE ITAB INTO WA_ITAB INDEX IND3.
    IF SY-SUBRC = 0.
      DATE2 = WA_ITAB-DATE.
    ENDIF.
    CLEAR : DIFF1 , DIFF2.
    DIFF1 = P_DATE - DATE1.
    DIFF2 = P_DATE - DATE2.
    IF DIFF1 = DIFF2. 
    UTTER_CLOSE = DATE1. " or date2 either
    ELSEIF DIFF1 > DIFF2.
      UTTER_CLOSE = DATE2.
    ELSEIF DIFF1 < DIFF2.
      UTTER_CLOSE = DATE1.
    ENDIF.
    WRITE : / 'Key Date ' , P_DATE.
    WRITE : / 'Lower Closest Date ' , DATE1.
    WRITE : / 'Upper Closest Date ' , DATE2.
    WRITE : / 'Utter Close Date based on key date ', P_DATE , ' is ' , UTTER_CLOSE.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya
    Edited by: ilesh 24x7 on Sep 19, 2009 3:54 PM

  • Function Module to find the day

    Hi,
    I have a date S_DATE with me.
    I need to find the day of that date.
    I hope there is a function module for this.
    Please reply me if you know the name of the Function Module to find the date.
    Thanks in advance.

    Hi Rajesh,
    Thanks for the reply. Your answer solved my problem.

  • Function Module to find date by passign the Planning Calendar

    Hi All,
    Can you tell me is there any function Module to find date by passign the Planning Calendar?
    The requirement is i have a planning calender assigned to the Material in the MRP2 view.
    Example: Material XXXXXX is assigned a Planning Calendar Z01.
    Z01 is defined such that Delivery is on Monday only. This calendar says that the material is received from the Vendor only on Mondays.
    So whenever i punch a Sales Order for Material XXXXXX, a PR is automatically geenrated when saving the sales order and the calculation of Delivery dates is also happening at this level.
    Basing on this PR a PO is raised to a Vendor for procuring the Material XXXXXX, now my problem is for example the PO is raised today (30.04.2008), but the Materail XXXXXX is available only on next monday in my plant (05.05.2008) basing on my Planning Calendar assigned in the Materail Master, so i have to inform this dealy to my customer at the time of punching the sales order.
    So is there any function Module to find date by passign the Planning Calendar?
    Thanks for your valuable inputs.
    Regards,
    Sudarshan

    Hi Jorge,
    Thanks for your reply.
    I am unable to open the Function module which you have mentioned below.
    I am working on 4.6 c version of SAP.
    Any ways i have found one function module which is useful to my requirement as stated below:
    DATE_GET_PERIOD
    Thanks and Regards,
    Sudarshan

  • Function Module to find the Last Execution date of Back ground Job

    Hi,
    Is there any function module to find the <b>last execution date of back ground job</b>.
    So that I can transfer the data from SAP to Legacy system based on the document creation date should be in between last execution date and current date.
    thanks in advance.
    Eswar.

    Don't know of a function module, but you should be able to use the information in table TBTCO to get the last start date and time of the job you are interested in.

  • Function module to find no of days between two dates

    hi everybody i want a function module to find no of days between two dates

    Function module              /SDF/CMO_DATETIME_DIFFERENCE
    Uppercase/Lowercase
    Runtime:        59,629 Microseconds
      Import parameters               Value
      DATE1                           01.01.2007
      TIME1                           00:00:00
      DATE2                           31.12.2007
      TIME2                           00:00:00
      Export parameters               Value
      DATEDIFF                                                    364  TIMEDIFF                                                      0
      EARLIEST                        1

Maybe you are looking for