How to extract data from info cube into an internal table using ABAP code

HI
Can Anyone plz suggest me
How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
Thankx in advance
regds
AJAY

HI Dinesh,
Thankq for ur reply
but i ahve already tried to use the function module.
When I try to Use the function module RSDRI_INFOPOV_READ
I get an information message "ERROR GENERATION TEST FRAME".
can U plz tell me what could be the problem
Bye
AJAY

Similar Messages

  • How to extract data from BW cube

    Hello friends,
    Kindly advice me how to extract data from BW cube.
    My requirement is to write an ABAP program to retrive the data from the BW cube.
    Kindly provide me any sample code for my requirement.
    Thanks in advance.
    S.Jaffer Ali

    Hi Jaffer,
    If you want to load the data from the BW cube into any other Cube/ODS in the same of another BW system you can use the export datasource.
    If you want to load the data from the BW cube into any other system then you can use any of these options:
    1. Infospoke - Open hub service and is widely used.
    2. APD
    3. RFC enabled fn modules.
    Bye
    Dinesh

  • Extract data from a cube into an excel

    Hi All,
    I am new to sap BI .
    How i can extract content of a cube into an excel sheet with a request id?
    Thanks in advance,
    Aparna.

    Goto RSA1 --> InfoProvider
    Right Click on your InfoCube --> Manage
    then Select the Content Tab and Click on InfoCube Content
    Select the fields you want to get in your excel o/p file ( include the Request id field which u want)
    change max no of hits from 200 to blank or some greater value
    Execute it (press F8)
    U ll get the o/p on your screen, next is to take it in excel file.
    Press on local file icon ( or Press CTRL + SHIFT + F9 ) , then select radio button Spreed Sheet
    Regards,
    Vinod

  • How to fetch data from bseg based  on 2 internal tables in 1 select query?

    hi,
    i have bukrs and belnr in one internal table and bukrs and vbeln in another internal table..now if i select from bseg twice using for all entries for fields bukrs vbeln and bukrs belnr twice in 2 select statements its fine..but since bseg is a huge table i want to use select only once..but the problem is that none of the belnrs in the one internal table will have vbeln in another internal table....ie if vbeln is selected from bseg based on belnr in 1 internal table non eof those vbeln will be equal to vbeln on another internal tables..in this scenario even if i take all data from two internal tables into 1 single internal table and then use for all entries on vbeln and belnr of that table ..but i think this will not work because and AND operator will not work because no record will satisfy both vbeln and belnr conditions..even if i use OR operator if the 1st condition satisfies the select clause will not enter into the second clause and all the records will not be fetched...Please help how should i tackle this..

    Hi vijaya,
    no simple select statement solution so far.
    As BSEG is a huge table you should try to get the full key values into another internal table first.
    SAP avoids direct selections from BSEG.
    Pleas consider the use of one of the secondary index tables first:
          BSAD : Accounting: Secondary Index for Customers (Cleared Items)
          BSAK : Accounting: Secondary Index for Vendors (Cleared Items)
          BSAS : Accounting: Secondary Index for G/L Accounts (Cleared Item
          BSEC : One-Time Account Data Document Segment
          BSEG : Accounting Document Segment
          BSID : Accounting: Secondary Index for Customers
          BSIK : Accounting: Secondary Index for Vendors
          BSIS : Accounting: Secondary Index for G/L Accounts
    you may include
          BKPF : Accounting Document Header
    for restrictions about time and document type.
    The last step is a FOR ALL ENTRIES selection from BSEG providing the full key values.
    Although you may have even more selects, the overall performance will be much better.
    Regards,
    Clemens

  • Data from field symbol into an internal table or workarea

    Hi Experts,
    I have field symbol in which i get the data. I want to get this data into an internal table of type any or into an work area. How is this possible.
    My declaration for field symbol is as follow:
    FIELD-SYMBOLS: <l_t_data> TYPE any.
    DATA l_r_data TYPE REF TO data.
        CREATE DATA l_r_data type STANDARD TABLE OF (l_local_tab).
        ASSIGN l_r_data->* TO <l_t_data>.
    I get the data in this field symbol <l_t_data>. by passing into a funtion module. and I get the data into it. Now i have to assign the values of this field symbol to any internal table or to a work are how do i do it. Please help.
    Regards,
    Prashant.

    Not exactly sure what you need here, but.....
    FIELD-SYMBOLS: <l_t_data> TYPE TABLE.   "<<-- Change this
    FIELD-SYMBOLS: <l_s_data> TYPE ANY.      "<<---Add This
    DATA l_r_data TYPE REF TO data.
    CREATE DATA l_r_data type STANDARD TABLE OF (l_local_tab).
    ASSIGN l_r_data->* TO <l_t_data>.
    Loop at <l_t_data> assigning <l_s_data>.
    * Do what ever using <l_s_data>
    Endloop.
    Regards,
    Rich Heilman
    Edited by: Rich Heilman on Feb 28, 2008 2:42 PM

  • How to extract data from virtual cube..?

    Gurus,
    How can i read data from an virtual infocube thru an ABAP code..Is there any FM that i can use..
    Kindly Help me in this...
    Really URGENT..
    Thanks
    Sam

    Subray,
    Thanks for the reply..I have created a wrapper for this FM in the same way te DEMO program shows but still doesn't wrk.
    No data is returned in the Table.
    I also tried using the FM RSDRI_INFOPROV_READ_RFC and it does some processing but does nt return the results..
    I am attaching my code...Can u please help me with that...
    TYPES:
      BEGIN OF gt_s_data,
      cs_version(3) TYPE c,
      cs_chart(2) TYPE c,
      bcs_llob(4) TYPE c,
      bcs_lcus(3) TYPE c,
      bcs_ldch(2) TYPE c,
      bcs_lprg(5) TYPE c,
      curkey_lc TYPE /BI0/OICURKEY_LC,
      curkey_tc TYPE /BI0/OICURKEY_TC,
      bcs_lmay TYPE /BIC/OIBCS_LMAY,
      figlxref3 TYPE /BIC/OIFIGLXREF3,
      unit TYPE /BI0/OIUNIT,
      CS_TRN_LC TYPE /BI0/OICURKEY_GC,
      CS_TRN_TC TYPE /BI0/OICURKEY_GC,
      CS_TRN_QTY TYPE /BI0/OIUNIT,
      END OF gt_s_data.
      DATA:
      l_msg_text TYPE string,
      g_s_sfc    TYPE rsdri_s_sfc,
      g_th_sfc   TYPE rsdri_th_sfc,
      g_s_sfk         TYPE rsdri_s_sfk,
      g_th_sfk        TYPE rsdri_th_sfk,
      g_s_range       TYPE rsdri_s_range,
      g_t_range       TYPE rsdri_t_range.
      DATA:
      g_s_data        TYPE gt_s_data,
      g_t_data        TYPE STANDARD TABLE OF gt_s_data,
      g_t_rfcdata     TYPE rsdri_t_rfcdata,
      g_t_sfc         TYPE rsdri_t_sfc,
      g_t_sfk         TYPE rsdri_t_sfk,
      g_t_field       TYPE rsdp0_t_field.
      DATA:
      g_first_call   TYPE rs_bool.
      g_first_call  = rs_c_true.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0CS_VERSION'.
    g_s_sfc-chaalias = 'cs_version'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0CS_CHART'.
    g_s_sfc-chaalias = 'CS_CHART'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LLOB'.
    g_s_sfc-chaalias = 'BCS_LLOB'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LCUS'.
    g_s_sfc-chaalias = 'BCS_LCUS'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LDCH'.
    g_s_sfc-chaalias = 'BCS_LDCH'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LPRG'.
    g_s_sfc-chaalias = 'BCS_LPRG'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0CURKEY_GC'.
    g_s_sfc-chaalias = 'CURKEY_LC'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0CURKEY_GC'.
    g_s_sfc-chaalias = 'CURKEY_TC'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'BCS_LMAY'.
    g_s_sfc-chaalias = 'BCS_LMAY'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = 'FIGLXREF3'.
    g_s_sfc-chaalias = 'FIGLXREF3'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    CLEAR g_s_sfc.
    g_s_sfc-chanm    = '0UNIT'.
    g_s_sfc-chaalias = 'UNIT'.
    g_s_sfc-orderby  = 0.
    INSERT g_s_sfc INTO TABLE g_th_sfc.
    ***Fill up the key figures data.
    CLEAR g_s_sfk.
    g_s_sfk-kyfnm    = '0CS_TRN_GC'.
    g_s_sfk-kyfalias = 'CS_TRN_LC'.
    g_s_sfk-aggr     = 'SUM'.
    INSERT g_s_sfk INTO TABLE g_th_sfk.
    CLEAR g_s_sfk.
    g_s_sfk-kyfnm    = '0CS_TRN_GC'.
    g_s_sfk-kyfalias = 'CS_TRN_TC'.
    g_s_sfk-aggr     = 'SUM'.
    INSERT g_s_sfk INTO TABLE g_th_sfk.
    CLEAR g_s_sfk.
    g_s_sfk-kyfnm    = '0CS_TRN_QTY'.
    g_s_sfk-kyfalias = 'CS_TRN_QTY'.
    g_s_sfk-aggr     = 'SUM'.
    INSERT g_s_sfk INTO TABLE g_th_sfk.
    Fill up selection criteria.
    CLEAR g_s_range.
    g_s_range-chanm    = '0CS_VERSION'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = '100'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = 'BCS_VERS'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'ACT'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0CS_CHART'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'ZG'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0CO_AREA'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'AZ01'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0FISCVARNT'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'K2'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0FISCYEAR'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = '2007'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0FISCPER3'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = '003'.
    APPEND g_s_range TO g_t_range.
    CLEAR g_s_range.
    g_s_range-chanm    = '0SEM_CGCOMP'.
    g_s_range-sign     = rs_c_range_sign-including.
    g_s_range-compop   = rs_c_range_opt-equal.
    g_s_range-low      = 'US0075'.
    APPEND g_s_range TO g_t_range.
    g_t_sfc = g_th_sfc.
    g_t_sfk = g_th_sfk.
    CALL FUNCTION 'RSDRI_INFOPROV_READ_RFC'
      EXPORTING
        I_INFOPROV                   = 'BCS_C1V11'
      I_REFERENCE_DATE             = SY-DATUM
      I_SAVE_IN_TABLE              = ' '
      I_TABLENAME                  =
      I_SAVE_IN_FILE               = ' '
      I_FILENAME                   =
      I_AUTHORITY_CHECK            = RSDRC_C_AUTHCHK-READ
      I_CURRENCY_CONVERSION        = 'X'
      I_S_RFCMODE                  =
      I_MAXROWS                    = 0
      I_USE_DB_AGGREGATION         = RS_C_TRUE
      I_USE_AGGREGATES             = RS_C_TRUE
      I_ROLLUP_ONLY                = RS_C_TRUE
      I_READ_ODS_DELTA             = RS_C_FALSE
      I_RESULTTYPE                 = ' '
      I_DEBUG                      = RS_C_FALSE
    IMPORTING
      E_END_OF_DATA                =
      E_AGGREGATE                  =
      E_RFCDATA_UC                 =
      E_SPLIT_OCCURRED             =
      TABLES
        I_T_SFC                      = g_t_sfc
        I_T_SFK                      = g_t_sfk
       I_T_RANGE                     = g_t_range
      I_T_TABLESEL                 =
      I_T_RTIME                    =
      I_T_REQUID                   =
       E_T_RFCDATA                   = g_t_rfcdata
      E_T_RFCDATAV                 =
       E_T_FIELD                     = g_t_field
    EXCEPTIONS
      ILLEGAL_INPUT                = 1
      ILLEGAL_INPUT_SFC            = 2
      ILLEGAL_INPUT_SFK            = 3
      ILLEGAL_INPUT_RANGE          = 4
      ILLEGAL_INPUT_TABLESEL       = 5
      NO_AUTHORIZATION             = 6
      GENERATION_ERROR             = 7
      ILLEGAL_DOWNLOAD             = 8
      ILLEGAL_TABLENAME            = 9
      ILLEGAL_RESULTTYPE           = 10
      X_MESSAGE                    = 11
      DATA_OVERFLOW                = 12
      OTHERS                       = 13
    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 'RSDRI_DATA_UNWRAP'
      EXPORTING
        i_t_rfcdata = g_t_rfcdata
      CHANGING
        c_t_data    = g_t_data.

  • How to Copy data from field symbol to Dynamic Internal Table

    Hi,
    I want to copy the data between two dynamic Internal tables . Following is the code were I have data in the field symbol wanted to transfer it to the other Internal table :
    REPORT  ztest.
    DATA:
           gd_dref          TYPE REF TO data,
           gd_dref1          TYPE REF TO data.
    FIELD-SYMBOLS:  <fs1>   TYPE any,
                               <fs_wa> TYPE any,
                                <field>    TYPE any,                  
                                <fs_wa1> TYPE ANY TABLE.  * Contains data from p_src
    *Copy data from p_src to p_dest*
    PARAMETERS: p_src LIKE dd02l-tabname .    * Name of Dynamic Internal table *
                             p_dest LIKE dd02l-tabname .  * Name of Dynamic Internal table*
    *DATA : lt_csks LIKE p_dest WITH HEADER LINE.
    START-OF-SELECTION.
      CREATE DATA gd_dref TYPE (p_src).
      CREATE DATA gd_dref1 TYPE TABLE OF (p_src).
       ASSIGN gd_dref->* TO <fs_wa>.
       ASSIGN gd_dref1->* TO <fs_wa1>.
       SELECT * FROM (p_src) INTO TABLE <fs_wa1>.
    *Write out data from FIELD SYMBOLS TO Table.
       loop at <fs_wa1> into <fs_wa>.
         do.
           assign component  sy-index
              of structure <fs_wa> to <field>.
           if sy-subrc <> 0.
           exit.
           endif.
           if sy-index = 1.
             write:/ <field>.
           else.
           write: / <field>.
           endif.
         enddo.
       endloop.
    *Need Logic To Copy the Data to p_dest table from <fs_wa1>.
    *p_dest is a table having a similar structure to table p_src .
    *Need Logic To Copy the Data to p_dest table from <fs_wa1>.
    EXIT.
    Thanks in Advance.

    try this...
    I have extended your source code and just used vbak/vbap as an example as they have some common fields like vbeln/erdat etc which corresponds with your requirement of 'similar structure' i.e. shared/common fields in both.
    Cheers...
    report  ztest.
    data:
      gd_dref type ref to data,
      gd_dref1 type ref to data,
      gd_dref_str type ref to data,
      gd_dref_tab type ref to data.
    field-symbols:
      <fs1> type any,
      <fs_wa> type any,
      <fs1_dest_str> type any,
      <fs_dest_tab> type any table,
      <field> type any,
      <fs_wa1> type any table.
    * contains data from p_src
    *Copy data from p_src to p_dest*
    parameters: p_src like dd02l-tabname default 'vbak',
    * name of dynamic internal table *
                p_dest like dd02l-tabname default 'vbap'.
    * name of dynamic internal table*
    *data : lt_csks like p_dest with header line.
    start-of-selection.
      create data gd_dref type (p_src).
      create data gd_dref1 type table of (p_src).
      assign gd_dref->* to <fs_wa>.
      assign gd_dref1->* to <fs_wa1>.
      select * from (p_src) into corresponding fields of table <fs_wa1>
      up to 3 rows
      where vbeln ne space.
      create data gd_dref_str type (p_dest).
      create data gd_dref_tab type standard table of (p_dest).
      assign gd_dref_str->* to <fs1_dest_str>.
      assign gd_dref_tab->* to <fs_dest_tab>.
    *write out data from field symbols to table.
      loop at <fs_wa1> into <fs_wa>.
        " break-point here - can see vbeln/waers/create date/ etc move over to new structure
        " the 'common' fields of your structures - the same will happen. if they not the same name you will have to do an
        " explicit move i.e. if fieldname = xyz ....move fieldxyz to new field123....after the move-corre
        break-point.
        move-corresponding <fs_wa> to <fs1_dest_str>.
        insert <fs1_dest_str> into table <fs_dest_tab>.
    **    do.
    **      assign component  sy-index
    **         of structure <fs_wa> to <field>.
    **      if sy-subrc <> 0.
    **        exit.
    **      endif.
    **      if sy-index = 1.
    **        write:/ <field>.
    **      else.
    **        write: / <field>.
    **      endif.
    **    enddo.
      endloop.
      " write out some dest data from the dest table build from previous loop
      loop at <fs_dest_tab> assigning <fs1_dest_str>.
        do.
          assign component sy-index of structure <fs_wa> to <field>.
          if sy-subrc <> 0.
            exit.
          endif.
          if sy-index = 1.
            write:/ <field>.
          else.
            write: / <field>.
          endif.
        enddo.
      endloop.

  • How extract data from bw cube to MS SQL server.

    Hi all,
           This is Sateesh.In my requirement, i need to extract date from  BW Cube and to be moved to MS SQL server.can any one give  the slution .Pls give me the process how to move from bw to sql server.

    HI Kumar,
                       Try with Open Hub.........
    Check these.....
    http://help.sap.com/saphelp_nw04/helpdata/en/66/76473c3502e640e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c5/03853c01c89d7ce10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/59/90070982d5524b931ae16d613ac04a/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/c2463c6796e61ce10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/43f92595-0501-0010-5eb5-bb772d41ffa4
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e830a690-0201-0010-ac86-9689620a8bc9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
    http://help.sap.com/saphelp_nw04/helpdata/en/66/76473c3502e640e10000000a114084/frameset.htm
    /people/happy.tony/blog/2006/09/18/hyperion-essbase-data-extraction-transformation-and-loading
    /people/marc.bernard/blog/2005/07/11/reorganization-of-sap-business-intelligence-forums
    Using OpenHub Unix to export to SQL Server
    Infospoke
    HOW TO RETRACT DATA FROM BPS 7.1 TO SRM 5.0
    Regards,
    Vijay.

  • Best way to extract data from archived cube

    Hello Experts,
    Can anyone tell me best way to extract data from archived cube.
    Basically I am trying to pull all the data from archived cube and then load it into another brand new infoprovider which is in different box.
    Also I need to extract all the master data for all infoobjects.
    I have two options in my mind:
    1) Use open hub destination
    or
    2) Infoprovider>display data>select the fields and download the data.
    Is it really possible to extract data using option (2) if records are too high and then load it into another infoprovider in new system.
    Please suggest me the pros and cons for the two options.
    Thanks for your time in advance.

    Hello Reddy,
    Thanks a lot for your quick reply.
    Actually in my case I am trying to extract archived infocube data and then load it into new infoprovider which is in different system. If I have connectivity I can simply export data source from archived infocube and then reload into new infoprovider.
    But there is no connectivity between those two systems (where archived cube is and new infoprovider) and so I am left with the two options I mentioned.
    1) Use Open Hub
    or
    2) Extract data manually from infoprovider into excel.
    Can anyone let me know which of the two options is the best and also I doubt on how to use excel in extracting data as excel have limit of no.of records 65536
    Thanks
    Edited by: saptrain on Mar 12, 2010 6:13 AM

  • How to extract data from Chart History?

    Dear all, I have read a lot of posts, but still don't understand how to extract data from Chart history.
    Suppose you acquired 1024 points of data every time, then use "build array" to build an array, then send to intensity chart to show, then save the history into a .txt file,  but how to extact data from the file?
    How Labview store the data in the 2D history buffer?
    Anybody has any examples?

    The simplest would be to save the 2D array as a spreadsheet file, the read it back the same way.
    Maybe the attached simple example can give you some ideas (LabVIEW 7.1). Just run it. At any time, press "write to file". At any later time, you can read the save data into the second history chart.
    If you are worried about performance, it might be better to use binary files, but it will be a little more complicated. See how far you get.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    IntensityChartHistorySave.vi ‏79 KB

  • How to extract data from ODS to non-SAP system

    Hi,
    Can anybody tell me, step by step, how to extract data from ODS to a non-SAP system?
    Is it possible to do it without programming effort? And is there volume limits for this kind of extraction?
    The non-SAP system is an unix system.
    Thanks in advance
    Ella

    Ella,
    You can look at it from the concept of a BADI / Infospoke
    Extract the data from the ODS to a Flat file / RDBMS using an infospoke. I am not sure as to how the infospoke loads data into the RDBMS ( did it very long ago ) but then you can push it into an RDBMS and I am sure it will be system neutral.
    Hope this helps...
    Arun
    Assign points if it helps

  • How to extract data from custom made Idoc that is not sent

    Hi experts,
    Could you please advise if there is a way how to extract data from custom made idoc (it collects a lot of data from different SAP tables)? Please note that this idoc is not sent as target system is not fully maintained.
    As by now, we would like to verify - what data is extracted now.
    Any help, would be appreciated!

    Hi,
    The fields that are given for each segment have their length given in EDSAPPL table. How you have to map is explained in below example.
    Suppose for segment1, EDSAPPL has 3 fields so below are entries
    SEGMENT          FIELDNAME           LENGTH
    SEGMENT1         FIELD1                   4
    SEGMENT1         FIELD2                   2
    SEGMENT1         FIELD3                   2
    Data in EDID4 would be as follows
    IDOC           SEGMENT                          APPLICATION DATA
    12345         SEGMENT1                        XYZ R Y
    When you are extracting data from these tables into your internal table, mapping has to be as follows:
    FIELD1 = APPLICATIONDATA+0(4)        to read first 4 characters of this field, because the first 4 characters in this field would belong to FIELD1
    Similarly,
    FIELD2 = APPLICATIONDATA+4(2).
    FIELD3 = APPLICATIONDATA+6(2).  
    FIELD1 would have XYZ, FIELD2 = R, FIELD3 = Y
    This would remain true in all cases. So all you need to do is identify which fields you want to extract, and simply code as above to extract the data from this table.
    Hope this was helpful in explaining how to derive the data.

  • ABAP Function Module Example to move data from one Cube into Another

    Hi experts,
    Can any please help out in this ..?
    A Simple ABAP Function Module Example to move data from one Cube into Another Cube
    (How do i send the data from one client to another client using Function moduel).
    Thanks
    -Upen.
    Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again, BI related? ("cube"), also search for information before asking.
    Edited by: Thomas Zloch on Oct 29, 2010 1:19 PM

    This is the start routine to duplicate records in two currencies.
    DATA: datew   TYPE /bi0/oidateto,
          datew2  TYPE rsgeneral-chavl,
          fweek   TYPE rsgeneral-chavl,
          prodhier TYPE /bi0/oiprod_hier,
          market  TYPE /bic/oima_seg,
          segment TYPE /bic/oizsegment.
    DATA: BEGIN OF S_DATA_PACK OCCURS 0.
            INCLUDE STRUCTURE /BIC/CS8ZSDREV.
    DATA: END OF S_DATA_PACK.
    S_DATA_PACK[] = DATA_PACKAGE[].
      REFRESH DATA_PACKAGE.
      LOOP AT S_DATA_PACK.
        move-corresponding s_data_pack to DATA_PACKAGE.
        if DATA_PACKAGE-loc_currcy = 'EUR'.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalloc.
          DATA_PACKAGE-CURRENCY = 'EUR'.
          APPEND DATA_PACKAGE.
        else.
          DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
          DATA_PACKAGE-CURRENCY = 'USD'.
          APPEND DATA_PACKAGE.
        endif.
      ENDLOOP.
    This is to load Quantity field
    RESULT = COMM_STRUCTURE-BILL_QTY.
    This is to load Value field
    RESULT = COMM_STRUCTURE-NETVAL_INV.
    UNIT = COMM_STRUCTURE-currency.

  • How to extract data from essbase to oracle database incrementally?

    I have to extract data from essbase to an oracle database table incrementally using informatica , can anyone tell me how to do it or give me some tips. I have been thinking about it for a whole day but have no ideas.
    I cannot do the delete & insert method because this oracle database table is a interface table that has to deliver the data to Oracle ESB tables.
    Thanks in advance....

    Hi,
    Have you read through :-
    Oracle Data Integrator Adapter for Hyperion Essbase Getting Started - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_getting_started.pdf
    Oracle Data Integrator Adapter for Hyperion Essbase User's Guide - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_users.pdf
    If you have read them and are still have a problem at what stage are you having the issues?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to extract data from SAP in FDM 11121

    I came across some documents from version 11113, says there is a SAP adapter, however ,when I check 11121 there's no such adapter, does anyone know how to extract data from SAP in FDM 11121?

    I download a package from Bristlecone, but I dont see any xml files in it, just a bunch of dll and I didn't find any instructions on how to set up/configure in FDM, it just explained how to register in SAP app server and client.
    Hyperion 11113 has readme on sap adapter(Hyperion Readme Template), but I cannot find the same readme file in 11121, all I can find is ERP Integration Adapter document. any idears where I can find at least a readme document?

Maybe you are looking for

  • Can I create a "Shiftable" calendar?

    I would like to create a "shiftable" calendar for a training program. I have a list of events that need to happen over a 40 day period and the start date can change, I want to be able to add this 40 day calendar and change the start date for multiple

  • JTable: Custom Table Model (pII)

    As was explained in pI, I'm creating a custom table model to overcome a few pitfalls I came across using the DefaultTableModel class, such as aligning cells, and getting certain columns to return only numeric type data. However, I've come upon a few

  • Nokia 2330 memory

    Hi. I bought a nokia 2330 classic and I was told it had a 32 Mb internal memory (on each technical specification pages about this phone this is also noted). Now, when I search inside the phone, I can't find that much memory, just about 11 Mb... I upl

  • HT2045 I accidentally put some cd books in the songs.  How do I get them to the right file

    I accidentally put some of my cd books in the songs.  How do I get them to the books?

  • BDC program to change to vendor master

    Can anyone give me a sample BDC code to change vendor master MK02 After entering the Vendor number and selecting the checkboxes Address and Control in the first screen if i take enter it should go to the second screen which contains all fields of add