Performance Tunning- data extraction from FMGLFLEXA table

Hi,
  Need to fetch data from FMGLFLEXA table based on below condtion.
       WHERE rfund IN s_rfund
           AND rgrant_nbr IN s_rgnbr
           AND rbusa IN s_rbusa
           AND budat LE v_hbudat.
Please tell me how can i optimize this extaraction b'coz in production system there are lacks of records.
Regards,
Shweta.

create a index on these fields due to which data extraction from table will be fast.

Similar Messages

  • Data extract from huge table

    Hi,
    I am extracting data from a table which has more than 25 million records without using any where condition.
    45000 records in a file, in multiple files.
    What is the best way to write the select statement.
    Thanks,
    fract

    Don't know why you're extracting 25,000,000 records, but package size would be my first choice....something like:
    types: gtyp_int type i.
    data: itab type table of <dbtab>.
    parameters: p_pkg type i default 45000.
    start-of-selection.
    perform myform.
    form myform.
    data: file_cnt type gtyp_int.
    select * from <dbtab> into table <itab>
    package size p_pkg.
      file_cnt = file_cnt + 1.
    do something with itab contents
    case file_cnt.
      when 1.
         append lines of itab to ....  "or do a table copy.
    when 2.
    endcase.
    endselect.
    endform.

  • Data extract from hr-tables to sybase

    hello Gurus
    i am extracting data from hr-tables to flatfile . i have data in pa0001 ,pa0002,pa0006,hrp1208,hrp1000,t513s data .
    i am extracting data from pa0001 to pa0006 with the help of select query but where as with hrp tables i am facing a problem with the relationship between pa0001 and hrp1208 tables.
    plz help me in this regard with some sample code.so that i can solve my problem
    thanks
    rad

    Rad,
    May be you should use 'object type', 'begin date' and 'end date' as the key combination. Try this. May be helpful.
    Thanks,

  • Data extraction from shared table

    Hello All,
        I have a scenario where I have two different software systems (SAP and xyz systems), where a intermediate table will be created in between the two systems that is shared. Data will be updated by the xyz systems into this shared table. Now, my questions regarding this shared table.
       1) Can we write some program or something to get the data from shared table to update the SAP?
       2) If possible send me the suggestions
       3) Please also send me the sample code to get the data from the shared table
    Thanks in advance,
      SDN powered

    HI,
    Where will this shared table resides ? In SAP system ? or any database ?
    If any database, you can extract the data from there and update/insert the data into SAP table thru XI. For this you need to query the shared table with JDBC adapter and post the information...
    It is easy, if you give the informations about shared system ..
    Regards,
    moorthy

  • Data extraction from CO tables

    Hi,
      How does the accounting document no in bseg table related to the co-pa table ie. ce1***table.
      The fields paobjnr pasubnr in the bseg table for my accounting document no is not available. Then how can i get the data from co-pa table for that accounting document number.
    Regards,
    Nagendra Prasad.J

    Hi Nagendra,
    To find the CO-PA data, you must go with paobjnr field in bseg  to the ce4***_acct table and use ce4key field to extract details in ce4**. Please don´t use ce1** table.
    regards,
    Rodrigo Ramirez

  • Datas extracted from production tables in Oracle into pipe delimited flat f

    Hi
    Plz anyone tel me the query how to extract data in oracle into pipe delimited flat files using plsql stored procedure and also do incremental updates.plz tel me its urgent

    how to extract data in oracle into pipe delimited flat files using plsql stored procedure You can try utl_file.
    and also do incremental updates.This part I don't get. Updates to what? The above file?
    plz tel me its urgentWe don't care.

  • Data Extraction from AR Aging Tables to Acess

    Hi
    I used to work on developing the reports.But I am a new to the Data Extraction from AR Aging Tables into Acess and the data is upload from Acess to SAP.
    Can anybody help me to relove this issue.I really appreciate to you.After mapping then the data is loaded to SAP.

    Hi
    I used to work on developing the reports.But I am a new to the Data Extraction from AR Aging Tables into Acess and the data is upload from Acess to SAP.
    Can anybody help me to relove this issue.I really appreciate to you.After mapping then the data is loaded to SAP.

  • Data fetching from BSEG table

    Hi,
    I have used smartforms for generating suppler payment statement for financial department. more time duration is taken by the program when it is generating.
    I think this problem comes while data fetching from BSEG table. because, it has more records for one vendor ID.
    I want reduce this time duration.
    Please guide me.

    Have you tried this selection in se16? I'm quite sure that It will take
    a long time.
    The problem has been explained in this group before and I think you
    should search for bseg in the answers given.
    As a hint: It has to do with the selection universe. You are restricting
    only bukrs from the primary key (all the other restrictions in your
    where clause are filters that are applied on SAP's side (not on the
    database side)). The problem is that bseg isn't stored as separated
    fields in the RDBMS, but as a table with the primary key and a stream of
    bits in a raw field.
    You should review and change the logic you're using before reading bseg.
    It's the only way you'll improve the performance of this select. (for
    example, you could use one or more secondary index tables - bi or ba
    to retrieve belnr and access bseg with a better where clause).

  • Data Extraction from CRM to BW

    Hi,
    I just need some information/help on BW Data Extraction from CRM, it would be great if some one could help out or mail some related help documents.
    Currently we are implementing the complaints module in CRM simultaneously on the BW side we have identified an info cube for complaints 0CSAL_C09, but this cube and its ODS source does not have all the required fields like (newly created text types, serial number etc), so how these tables and fields can be identified in the source system and added to extract structure in CRM. Also what is the table in which the CRM transaction data would be stored.
    Especially i require the newly added text types in CRM to appear in BW, there are around 5 new text types are added and user can enter free text, i need these information to be captured in reports. kindly mail me the steps to [email protected]
    Thanks
    Akila.R

    hi,
    try these links
    http://help.sap.com/bp_biv335/BI_EN/html/BW/SalesAnalysis.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f2910623-0c01-0010-de8f-d1926988a986
    http://help.sap.com/bp_biv135/html/bw.htm
    http://help.sap.com/bp_biv135/html/BW/SalesAnalysis.htm
    http://help.sap.com/bp_biv235/BI_EN/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/af/ed833b2ab3ae0ee10000000a11402f/frameset.htm
    this:
    http://help.sap.com/bp_biv235/BI_EN/index.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/af/ed833b2ab3ae0ee10000000a11402f/frameset.htm
    regards,
    pankaj singh
    reward if helpful

  • Data Extraction from MS-BI to SAP-BI

    Hi All,
    We have a requirement for data extraction from MS-BI to SAP-BI. In MS-BI cube they have same fact table and dimension table. This fact table is linked with dimension key. I want to know how to extract the data from the MS-BI cube to SAP-BI.
    Can we go with DB connect or Info spoke. Which will be the best option?? Let me know the steps also.
    And also how to find out the dimension table in SAP-BI cube??
    Pls let me know.
    Regards
    Sathiya

    Hi,
    a few years ago I used the DB-connect to extract data from siebel. Nowadays I think you can easily use UD-connect.
    regards
    Siggi

  • DATA EXTRACTION FROM ORACLE & SYBASE

    Hello members...
    Good day. This is my first posting in this site. I am new to Oracle and have a question regarding Data extraction from Oracle and Sybase.
    My project has two applications one having Oracle as the database and the other has Sybase as the database. On the proposed production schedule, there would be a interface data update from the Oracle database to the Sybase database.
    My aim is to check if the data update is in sync after the update. We plan to extract the data from the two databases (Oracle and Sybase) and compare in a Third Party tool. We have the tool to compare. Can any of you suggest a nice data extraction tool. I have to set this data extraction as a batch in the nightly batch schedule.
    Thanks in advance,
    Regards,
    Krishna Kumar...

    Sybase provides the best data extraction utility called BCP. You can load and extract data. It is very user friendly. From your unix prompt if you type in BCP ? you will all the switches and
    help messages you need to use. It is so simple.
    Oracle dosn't have such a utility to extract data from table.
    You need to write a Stored procedure and use UTF_FILE package to
    extract data from table and write into a file.

  • Sort a Table with data extracted form Another table

    I have a MAster Table that consist of many columns of data. I have extracted data (rows) from the table to another table for a list. I used vlookup to get the extracted data. In my new table everything is list ed out perfectly. I want to sort the table using one of the columns. I tried the reorganize button and just sorting on that one column and it won't sort. I know I'm doing something wrong whether the way I am extracting the data,or something else. Do I use lookup and large or small function to list and sort it from the main table? I stumped. Anybody have sugestions?

    Hi tj,
    "The Master file is the second image. I have extracted the data for the second table(second image). "
    Hmmm...
    Both tables are the second image. Good trick!
    Good thing you included the description.
    The (modified) Master table is Table 1 on Sheet 15. From this, you are extracting the participants for "R & B Winter Sk8 Jam. You want the extracted rows to be displayed on the Contestant Sheet table sorted by Division.
    I see two possible lines of attack here:
    The simplest might be to presort the Master table on Division, then within that sort, on last name, then on first name. With the Master table in that order, extracting the data using the index you are currently using should pull the rows in the desired order.
    Construct an index of numerical values constructed from the sum of:
    -- a very large number corresponding to the event, pulled from a Lookup table.
    -- a large numbers corresponding to the division, pulled from a second Lookup table.
    -- a small number corresponding to he count (from the top of the main tale to the current row) of Sk8ers entered in each event. (This, I think, would be the same as the count in your Index column.)
    Retrieval would be done using RANK to determine the smallest and largest index values to retrieve, and SMALL to collect data from the rows with index values within that range.
    No. 2 is at the concept stage, and is open to anyone wanting to give it a go.
    Regards,
    Barry

  • Steps for Data extraction from SAP r/3

    Dear all,
    I am New to SAP Bw.
    I have done data extraction from Excel into SAP BW system.
    that is like
    Create info objects > info area> Catalog
                                                --> Character catalog
                                                --> Key catalog
    Create info source
    Upload data.
    create info cube
    I need similar steps for data extraction for SAP R/3
    1. when data is in Ztables ( using Views/Infosets/Function etc)
    2. When data is with Standard SAP using Business Content.
    Thanks and Regards,
    Gaurav Sood

    hi,
    chk the links
    Generic Extraction
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    CO-PA
    http://help.sap.com/saphelp_46c/helpdata/en/7a/4c37ef4a0111d1894c0000e829fbbd/content.htm
    CO-PC
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fb07ab90-0201-0010-c489-d527d39cc0c6
    iNVENTORY
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Extractions in BI
    https://www.sdn.sap.com/irj/sdn/wiki
    LO Extraction:
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    Remya

  • Master data extraction from SAP ECC

         Hi All,
    I am a newbie here and teaching myself SAP BI. I have looked through the forums regarding master data extraction from SAP ECC in all forums but could not answers for my question. Please help me out.
    I want to extract customer attributes from SAP ECC. i have identified the standard data source 0customer_attr and replicated in SAP BI. I have created infopackage for full update. I validated the extractor checker(RSA3) and found 2 records for 0customer_attr.
    When I run the info package, the info package remains in yellow state until it times out. Please let me know in case i am missing anything, Please let me know if there is any other process for master data extraction similar to transaction data extraction.

    Hi All,
    i did the below and afte clicking execute in the Simple job, it takes me back to the Monitor Infopackage screen.
    From your info pack monitor --> menu environment-->job overview--> job in the source system--> prompts for source system(ECC) user id and password, enter them, you will get your job at SM37(ECC), select job and click on log details icon. there you can see details about your error. please share that error screen shot.
    Please find the screenshots.
    I did an Environment -->Check connection and found the below,

  • Parallel Data Extraction from R3 to BI

    Dear Experts,
       I am trying to execute Parallel data extraction from R3 Development to BI development.It was previously done smoothly .Without any changes its stop in parallel .Your suggestions are welcome.
    Regards
    SurendraJain

    Hi Surendra,
    thanks for your reply, I am not a basis expert but a BI person. You did not detail the solution when you resolved yourself, so i was wondering if you can share some bits over here.
    I would have appreciated if you would have give some details - there are quite a few parameters in RZ11.  What is the technical name of the parameter you are talking about ?
    You mentioned about checking the parameter - I mean what needs to be checked, any specific values need to be there.
    Regards
    Deepak

Maybe you are looking for

  • Need to convert a string to boolean

    i have string true, false, i need to convert them to boolean, is it good to use String.equals(true/false) or is it good to use Boolean.valueOf(true/false) Regards, Surya

  • Ipod not being recognized by comp or itunes.

    its not being recognize and the prob is not the usb port itself(flashdrives, cameras,ect will work) the comp is a dell and when i do connect it just charges and stuff no actually activity with the comp

  • How do I re-install iTunes music correctly?

    I have 130GB of music on an external hard drive. For some reason the default music location drive changed to the C: drive. No problem. I changed the default music location to the external drive. Closed iTunes. I copied 20 songs by going to File > Add

  • Process Chain step status

    Hello All, In one of our process chain , we have an AND step, where in its checks its 4 preeceding steps, its all 4 are green,the AND Step executes and it goes to the next step. Chain is running fine since many years. But yesterday , we faced the iss

  • Converting iTunes (m4a) to mp3 or wav

    I have a fairly extensive iTunes library which I sync with my iPod Nano 2. My daughter has just been given an mp3 player for her birthday and I'm trying to find a simple way of exporting & converting tracks for her to either mp3 or WAV format without