Function Module to read Info cube data

Hi Guys,
          Is there any function module which is used to read the data in the info cube and collect the data to an internal table?
Thanks
Kumar

Reading data from ODS is the best choice provided (1) you have full key, (2) there is an index on ODS for the search fields, or (3) ODS doesn't have too many records.
If performance starts becoming an issue (due to the lack of one of the three conditions mentioned above), you have no other choice but to read from the cube and only reliable way to query a cube is to use the function module mentioned earlier.

Similar Messages

  • Function Module to read EDIDC table data.

    Dear All,
    I am retrieving data from EDIDC table depending upon the creation date and message type. But it is consuming a lot time and hence while going for more than one month data , it gives run time error.
      I found while going through debugger that maximum time is consumed  by the SELECT query in retrieving the EDIDC data.
    Is there any Function Module for retrieving EDIDC table data.
    If so kindly let me know.

    How can a fm replace this performance issue ? You have only two fields to be passed such as creation date and message type.
    For the table EDIDC there is a secondary index 3 for message type. Did you use that ? What is your query written ?
    If you look into the standard report RSEIDOC2, the field for creation date used is UPDDAT. It implies usage of secondary index 2
    Refer line no 114
    Regards
    Kesav

  • Function module to read sales area data of a Business partner

    Hi,
    Could anyone please tell me if there is a functio module to read the sales area data of a business partner.
    Also, what tables contain the sales area data of a BP.
    Thanks,
    Sahil

    Hi Gregor,
    I was basically looking for a function module that would give me the details on the Billing Tab from the BP Sales area data.
    we can use BAPI_BUPA_FRG0030_GETDETAIL function module to retreive that data.
    Thanks,
    Sahil
    Message was edited by: sahil gupta

  • Function module to read data form customer tabels

    hi,
    can anyone suggest function module to read data form customer tabels?
    Please give me reply.
    TKS,
    Dharani.P

    Hi,
    this thread is hvaing your answer.
    Is there a Function module to get customer hierarchy data?
    Regards,
    Pravin

  • Function module to read data from a SPO

    Hi guys,
    Inside a transformation a have a rule, ABAP routine type, in wich I need to read data from a SPO (semantically partitioned object). Is there an ABAP function module or Class that allows to read data from a SPO?
    The SPO from wich I need to read the data is DSO based.
    Thanks in advance.
    David.

    Hi David,
    The normal procedure is using Function Module RSDRI_INFOPROV_READ. However, according to the documentation it only works for DSOs, InfoCubes and MultiProviders.
    Could you access as a work-around a MultiProvider? Or use any logic to first determine which PartProvider of the SPO-based DSO or InfoCube is required and then use the Function Module to read the data?
    Best regards,
    Sander

  • Function Module to Read data from ESLH & ESLL

    Hi All,
    Presently i am working on the Service Purchase Order
    I have to get the data from the Service Master tax conditions which is storing in ESLH & ESLL database tables.
    So is there any Function Module to get the data.
    regards:
    Sridhar J

    Hi David,
    The normal procedure is using Function Module RSDRI_INFOPROV_READ. However, according to the documentation it only works for DSOs, InfoCubes and MultiProviders.
    Could you access as a work-around a MultiProvider? Or use any logic to first determine which PartProvider of the SPO-based DSO or InfoCube is required and then use the Function Module to read the data?
    Best regards,
    Sander

  • Function module to read all the views of material data

    Dear all ,
           Is there any function module to read all the views of material data ?
           Like we have MATERIAL_MAINTAIN_DARK for updating all the views of material data , I need a function module to read all the views of material master.
    Thanks & Regards
    Shivanand

    Hello,
    Check these BAPI'S
    <b>BAPI_MATERIAL_DISPLAY          Display Material
    BAPI_MATERIAL_GET_DETAIL       Determine Details for a Material</b>
    Regards,
    Vasanth

  • Function Module to read Timeseries data in SNP

    Hi Gurus,
    Is there a function module to read timeseries KF (in SNP book)? I need to use this in deployment userexit  to read time series values of other Product/Location combination.
    I tried using  'BAPI_PBSRVAPS_GETDETAIL2' with in the userexit but i got simsession error.
    Thanks,

    Hi BKN,
    Check the below function modules,
    1)  /SAPAPO/OM_STOCK_TSERIES_GET
    2)  /SAPAPO/RET_DB_GET_TIMESERIES
    3)  /SAPAPO/SCC_SHOW_TIME_SERIES
    4)  /SCA/INTF_APO_TS_TIMESERI_READ
    Regards
    R. Senthil Mareeswaran.

  • Function module to load transactional cube directly.

    Hi,
    Is there any function module to load transactional cube directly.
    Thanks.

    Hi.
    Transactional cube behaves as regular cube except additional possibility to write directly from planning applications.
    So you can load this cube with regular BW tools (data source, info source, info package, update rules).
    But as mentioned above before loading you should switch cube to load mode and after switch to planning mode using FM or manually.
    Regards.

  • How to make this function module as RFC to get data from different system?

    Hi
    I am trying to use following function module . This function module is used to copy data from one cube to another cube within same system however I need a this should happen across two different system. How can I use this function module to make it remote call to different system and do the same function what it is doing ?
    Name of function module -
    RSDRT_INFOCUBE_DATA_COPY
    Any help would be really helpful
    AG

    HI,
      let us say you want to copy the data of a cube in system A to a cube in system B .
      1) create a RFC function module in system B (in this function module  call the function module RSDRI_CUBE_WRITE_PACKAGE to update the data), this RFC function module should have same parametersa as RSDRI_CUBE_WRITE_PACKAGE .
    2) write a program in system A .. read the data from the infocube using the function module RSDRI_INFOPROV_READ and call the RFC function module in system B that you have created..
    for the details of the parameters to pass to these two function modules use the RSDRT_INFOCUBE_DATA_COPY and get the required code
    Thanks
    mahesh

  • Function module to create Inspection setup data

    Hi all,
    Please tell me a function module to create inspection setup data(The tab found in MM01).
    Thank you.

    HI Sanu,
    Check with
    QIBP_INSPPOINT_CREATEFROMDATA
    QPLEXT_INSPECTION_LOT_CREATE
    QPLEXT_INSP_CREATE_REQ_CONF
    for more info search wiht QINSPCREATE*  in the SE37.
    hope it helps you.
    Thanks!

  • Any function module to read all the values in Tcode-PPQD?

    Hi all
    Is there any function module to read all the values in Tcode-PPQD (Display Qualifiaction Catalog).
    and any idea what tables are involved to get these values like parent and child relationship?
    Thanks in advance.
    Murali.

    Murali,
    you can use the following..
    data: w_sobid type sobid, "Qualification ID
          w_objid type objid. "Qualification Catalog
    select objid  into w_objid
                  up to 1 rows
                  from HRP1001
                 where otype = 'QK'
                   and plvar = '01'
                   and istat = 1
                   and risgn = 'B'
                   and relat = '030'
                   and endda ge sy-datum
                   and begda le sy-datum
                   and sclas = 'Q'
                   and sobid = w_sobid.
    endselect.
    if sy-subrc eq 0.
    write: / w_objid,w_sobid.
    endif.
    Regards,
    Suresh Datti

  • Function module to read 'Customer Material InfoRecords'?

    Is there a function module to read customer material inforecords?
    Transaction code VD53 is the display screen for Customer Material INforecords. I have a requirement to read this data in user exit.
    Thanks
    Gova

    I found one FM. RV_CUSTOMER_MATERIAL_READ
    But it won't serve my purpose as I need to find customer material number for a given material number.
    But, I found the table where this information is stored. KNMT. I'm going to create a custom FM to serve my purpose.

  • Function Module for getting the desired date

    Hi All,
    I need a function module where in get the date value from Current date - 540 days.
    i,e System Date - 540 days = ????
    Thanks
    Suresh

    previous FM works good , this is for ur info , to give in month, date and year instead of onlly days
    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
        EXPORTING
          date      = sy-datum
          months    = '00'
          days      = '07'
          years     = '00'
          signum    = '-'
        IMPORTING
          calc_date = w_due_date.
    Message was edited by: chandrasekhar jagarlamudi
    Message was edited by: chandrasekhar jagarlamudi

  • Function module to read Comma Seperated File (CSV)

    Hi,
    Is there any Function module to read CSV file from presentation server or Application server?
    Regards,
    Madhu

    Hi madhukeshwar,
    1. Exactly for this purpose,
    i have developed an independent FORM
    where we give inputs
    a) file name (eg. abcd.txt)
    b) separator (eg , COMMA in your case)
    c) internal table (eg. t001)
    2. It will provide the data
    in proper format
    (no matter what the separator)
    (it can work with any kind of separator)
    3. just copy paste in new program.
    REPORT abc.
    change your table declaration and file name
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    PERFORM myupload TABLES t001 USING 'd:\t001.txt' ','.
    BREAK-POINT.
    in debug see t001
    INDEPENDENT FORM
    FORM myupload TABLES orgtab
    USING filename separator.
    Data
    DATA : BEGIN OF itab OCCURS 0,
    myline(1000) TYPE c,
    END OF itab.
    DATA : extension(5) TYPE c.
    DATA : name(100) TYPE c.
    DATA : newfilename TYPE string.
    Step 1
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = filename
    TABLES
    data_tab = itab.
    Step 2
    LOOP AT itab.
    REPLACE ALL OCCURRENCES OF separator IN itab-myline WITH
    cl_abap_char_utilities=>horizontal_tab.
    MODIFY itab.
    ENDLOOP.
    Step 3
    DATA : path LIKE pcfile-path.
    path = filename.
    CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
    EXPORTING
    complete_filename = path
    CHECK_DOS_FORMAT =
    IMPORTING
    DRIVE =
    extension = extension
    name = name
    NAME_WITH_EXT =
    PATH =
    EXCEPTIONS
    invalid_drive = 1
    invalid_extension = 2
    invalid_name = 3
    invalid_path = 4
    OTHERS = 5
    Step 4
    newfilename = filename.
    REPLACE name IN newfilename WITH 'temp'.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    filename = newfilename
    TABLES
    data_tab = itab
    FIELDNAMES =
    Step 5
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = newfilename
    has_field_separator = 'X'
    TABLES
    data_tab = orgtab.
    ENDFORM. "myupload
    3.
    regards,
    amit m.

Maybe you are looking for