Data come from difference data source

In my saturation, my program's data are come from difference data source. For example, the program will retrieve PO balance, material consumption, future consumption and so on. In my program logic, i retrieve all of the material number, the retrieve the PO balance, material consumption... into internal table, then loop the internal table of material number and update this table from internal table of po balance, material consumption..., but i found that the program's running time is long. How to improve the performance or any suggestion for the program logic. Thanks.

Hi,
Few Guildlines:
1. program is slow mainly because Database load is too high,  try to reduce it and that load can be shared by ABAP. gotrhough SE30-perfromance tuning.
Also, in Se30 u will get all most important Tips and tricks, follow it,...
2. Try to find out summary table and dont try always to get data from basic tables.
3. Try to use perfect SELECT statemetn with porper joins, which is most important in reduction of load on DB.
4. you can make ABAP part faster, following coding standard like use of Binary search.
5. Use SLIN to find out which part of program is taking too much time, try to reduce it.
Hope this will guide u.
Jogdand M B

Similar Messages

  • Header data come from the Data Set, Issue if Data Set is sorted

    Currently in our Data Set, the 1st line contains unique fields for the HEADER. For example "adress of the user site".
    If we are sorting the Data Set, the 1st line value is empty, so the Header Data is empty.
    What would be the best way to solve this problem:
      - Duplicate on all lines, but we want to avoid this solution to reduce the Data Set Size?
      - Does Crystal Reports fields can have a specific "Set-up" to define that they are for the Header so, it's an unique value?
    Remark: Our Data Set is unique, ie: there is no table link because it's not possible from the database we are extracting values.
    Thanks in advance

    Hi Alexandre
    The best way to display only the header i.e. the uniques line would be to write a formula. Write a formula to extract the line for header and drag this formula field to your report.
    Hope it helps!!
    Regards
    Sourashree

  • Fields comming from which data base tables

    Hi Experts,
    Every extractor should fetch data from some data base table. For generic data source and LO data source I know to see but could you please tell me, how I can find for business content (ex: 0FI_GL_4) data source which field data coming from which data base table. 
    Regards
    Lokanatha.

    Hi,
      We can get from SAP help about the tables being used in each business content extractor.
    For Eg-0fi_gl_4, data coming from BKPF,BSEG tables.
    Go thru this link which tells the table for the above extractor..
    http://help.sap.com/saphelp_nw70/helpdata/en/8b/02f93abb013b0de10000000a114084/content.htm
    Hope this helps..
    Thanks & Regards,
    Pradeep

  • Value Set whose Data come from customize table with distinct record

    Dear All,
    I am new in Oracle EBS, currently i am creating value set whose data come from customize table which have 40 duplicate record in which distinct column return 27 record .
    Table XX_ROUND_SET
    Columns (Transactions_id,set_record)
    Total Record (40)
    Distinct Record (Set_Record --> 27)
    I just want to show only 27 record in it.
    Thanks
    Rehan

    Hi Rehan,
    PL.IGNORE MY EARLIER UPDATE AND TREAT THIS UPDATE AS YOUR SOLUTION.
    Method 1
    Create the VIEW based on DISTINCT values; use the VIEW for creates the VALUESET.
    Method 2
    Paste the QUERY in TABLE field with alias name, and give the column name (with alias name).
    (in your case )
    TABLE NAME : ( select distinct transactions_id, set_record from XX_ROUND_SET ) Y
    VALUE : Y.transactions_id
    HTH
    Sanjay

  • Where is the data come from when BW extract data from APO's MSP

    Hi,all.
       The APO system has many datasource,I have activated all the datasource with TCODE RSA5.
      I want to extract APO data to BW(Not APO's),where the APO data come from for BW extract,APO BW or SAP transparent table of APO or APO liveCache?
      PLZ help me,thank you very much.

    Hi,
    APO to BI Data Flow :
    1. Normally APO  DS  naming convention start with "9".
    2. Normally Planning area will provide the data for the DS.
    3. Using one T-Code ( /N/SAP/ ..... Ask APO Person) DS will be generated .In the specified T-Code you will provide the relavant 
        Planning area and DS will be generated.
    4.As you know RSA3 is for checing the data for DS.If you found there is no data for some fields then you will check the data at the planning area level (In R/3 table level).
    Regards
    Ram.

  • Data deleted in ODS, data coming from the data source : 2LIS_11_VASCL

    Friends,
    I have situation :
    Data deleted in ODS, data coming from the data source : 2LIS_11_VASCL.
    when for the above ods and the data source when trying to delete the request whole data got delted.
    All the data got deleted in the fore ground. no background job has been generated for this.
    I ma really worried abt this issues. can u please tell me what should be the possibilities for this issue.
    Many Thanks
    VSM

    Hi,
    I suppose you want to know the possibilitiy of getting the data.
    If the entire data is being deleted, you can reload the data from source system.
    Load the setup table for your application. Then carry out init request.
    Please note that you would have to take a transaction-free period for carrying out this activity so that no data is missed.
    Once this is done, delta queues will again start filling up.

  • Where the data comes from?

    Hi experts
    Suppose we have some tcodes in R/3 eg mb51..
    In which we can select say some material & can find some information related to that material..
    Where does the data come from? How can we find that from which tables data is getting populated in these transactions??
    Kindly help..
    Regards
    Swati

    Hi Swati.....
    I will take ur exemple.........Look in MB51........there are several fields.........Actually it is a standard MM report.......For this some ABAP program is running in the background......Now it doest'nt mean that all the fields are getting populated from the same table.........may be that this program is joining different table on the basis of some common fields and fetching the data........and aone field may exist it more than one table....
    You can check that each field belongs to which table.............To do this press F1 on each field.........
    Suppose on the Material field u press F1....There is an icon Technical Information.....(It looks like a hammer.....;) ).........click on it.........from there .......if u are very lucky.then u will get the table name directly........like in case og Matarial........in the Transparent tabl field .........the table name MSEG is already given.........sometimes you will find that the table name which is given here is a structure.........and structure does'nt holds any data..........it gets data from some table........So in that case you have to copy the field name >> Go to SE11 >> in the Data type field..........give the field name and click on the Where-Used List on the top..........Select Table fields..and execute.........you will find all the related tables.......which contain this field...........
    Now U may be more unlucky.......it may happen someone has created a customized field using the Data Element.......In this case Copy the Data element.....Go to SE11 >> put it in the Data type field and click on the Where-Used List on the top..........Select Table fields..and execute.........you will find all the related tables.......which contain this field which is bulid of this data element................
    Hope this helps....
    Regards,
    Debjani......
    Sometimes it may happen that is a Structure field only...........

  • Where data come from in storage location automatically?

    Hi!
    In SPRO, if I select  the storage location automatically option (in movement type and in plant), when the systems creates the data automatically, where the data comes from?
    Thanks in advance.

    in the moment when you perform the first movement to this storage location, then SAP will extend the material master. Most fields in the material master storage location view are not storage location specifc, the are kept at client or plant level. Only a few fields are storage location specific. you either have to complete those fields later manually or you must not activate auto storage location creation .

  • Where does the data come from which powers the ship date and delivery date

    Hi All,
    Please let me know, where does the data come from which powers the ship date and delivery date?.
    Adi.

    Hi,
    DELIVERY DATE  will be maintain in the SALES DOCUMENT TYPES in VOV8 in the tab REQUESTED DELIVERY DATE/PRICING DAE/PURCHASE ORDER DATE.
    The field is PROPOSE DELIVERY DATE .
    If you check the field then the document created date will be the Requested date and will be carried from ORDER TO DELIVERY.
    If you want the delivery date other thann the CURRENT date then you have to maintain the LEAD TIME in days in the same tab.
    SHIP DATE: is the date on which you do the PGI in the delivery .
    Please check them and revert back if u need further details
    thanks,
    santosh

  • Will any of DDL command trigger a data flush from the data buffer to disk?

    Will any of DDL command trigger a data flush from the data buffer to disk?---No.164

    I mean if I issue the DDL commands Such as DROP, TRUNCAE, CREATE, Can these commands trigger a data flush action?

  • Data Extraction from Multiple data sources into a single Infoprovider

    Hi Experts,
    Can anyone send me links or examples on how to extract data from multiple data sources into 1 Cube/DSO.
    Can anyone send me example scenarios for extracting data from 2 data sources into a single Cube/DSO.
    Thanks
    Kumar

    Hi Ashok,
    Check the following link from SAP help. Ths is probably what you are looking for.
    [ Multiple data sources into single infoprovider|http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    Data from multiple data sources which are logically related and technicall have the same key can be combined into single record.
    For example, if you have Sales order item and sales order item status .
    These both have the same key - sales order and item and are logically related.
    The Sales order item - provides information on Sales order item - material , price, quantity, plant etc.
    The item status  - povides information on delivery status, billing status, rejection status....
    These are two different data sources 2LIS_!1_VAITM ad 2LIS_11_VASTI.
    In case you have few master data attributes coming from different systems ie tow data sources in different systems say completely defines your master data. Then you could use a DSO or infoobject to combine the records.
    If you want to see aggregated data you use a cube.
    ie say you want to analyzae the customer revenue on a particular material and a particular project.
    The project details would come from Project syatem and Sales details fom sales flow.
    The data is then combined in the DSO with key cutomer and sales area say.
    Then it is aggregated at cube level...by not using sales order in the cube model...so all sales order of the same customer would add while loading the cube.. to give direct customer spend values for your sales area at aggregated level.
    Hope this helps,
    Best regards,
    Sunmit.

  • Error is data loading from 3rd party source system with DBCONNECT

    Hi,
    We have just finished an upgrade of SAP BW 3.10 to SAP NW 7.0 EHP1.
    After the upgrade, we are facing a problem with data loads from a third party Oracle source system using DBConnect.
    The connection is working OK and we can see the tables in the source system. But we cannot load the data.
    The error in the monitor is as follows:
    'Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.'
    But, unfortunately, the error message has no further information.
    If we look at the job log in sm37, the job finished with the following log -                                                                               
    27.10.2009 12:14:19 Job started                                                                                00           516          S 
    27.10.2009 12:14:19 Step 001 started (program RSBATCH1, variant &0000000000119, user ID RXSAHA)                    00           550          S 
    27.10.2009 12:14:23 Start InfoPackage ZPAK_4FMNJ2ZHNNXC6HT3A2TYAAFXG                                              RSM1          797          S 
    27.10.2009 12:14:24 Element NOAUTHORITYCHECK is not available in the container                                     OL           356          S 
    27.10.2009 12:14:24 InfoPackage ZPAK_4FMNJ2ZHNNXC6HT3A2TYAAFXG created request REQU_4FMXSQ6TLSK5CYLXPBOGKF31G     RSM1          796          S 
    27.10.2009 12:14:24 Job finished                                                                                00           517          S 
    In a BW 3.10 system, there is no  message related to element NOAUTHORITYCHECK. So, I am wondering if this is something new in NW 7.0.
    Thanks in advance,
    Rajib

    There will be three things to get the errors like this
    1.RFC CONNECTION FAILED
    2.CHECK THE SOURCE SYSTEM
    3.CHECK IT OUT WITH Oracle Consultants WEATHER THEY ARE FILLING UP THE LOADS.TELL THEM TO STOP
    4.CHECK I DOC PROCESSING
    5.FINALLY MEMORY ISSUES.
    6.CATCH THE DATA SOURCE FIRST CHANGE IT AND THEN ACTIVATE AND RUN THE LOAD
    7.LAST IS MEMORY ISSUE.
    and also Check the RFC connection in SM59 If  it is ok then
    check the SAP note : 692195 for authorization
    Santosh

  • Appending New item to drop down .. drop down data comes from R3

    Hi,
    We have deployed ESS 1.0 BP. In leave request application we select the leave request type(PL, CL, SL) from drop down menu.
    Here privelige Leave is by default selected... but we need to remove PL from default and add hipen(-) so that user has to compulsory select the leave type from drop Down,
    Now the problem is as this list comes from R3 .. so how can we add new item to this drop down menu. Whether its needed to be done R3 side or do i need to modify Leave request Application. If i need to modify this leave request application than h0w can append hipen to the already list coming in drop down menu...
    Can any person specify in detail from where this configuration is needed to be done..?
    Regards,
    Jigar OZa

    Hi,
    For example the leave types are coming in the below model node from R/3.
    LeavesModelNode - Model Node
             LeaveType - Model Context Attribute
    And the data in this model node is
    - Privlige Leave
    - Casual Leave
    - Sick Leave
    Now create one Value node with the same structure as below in the Component Controller.
    LeavesValueNode - Value Node
             LeaveType - Context Attribute
    Populate your extra value here
    IPublicTestComp.ILeavesValueNodeElement element=wdContext.createLeavesValueNodeElement();
    element.setLeaveType(" - ");
    wdContext.LeavesValueNode ().addElement(element);
    Now Populate the values from model node to value node as below
    for(int i=0;i<wdContext.nodeLeavesModelNode.size();i++)
    IPublicTestComp.ILeavesValueNodeElement element=wdContext.createLeavesValueNodeElement();
    element.setLeaveType(wdContext.nodeLeavesModelNode().nodeLeavesModelNodeElementAt(i).getLeaveType());
    wdContext.LeavesValueNode ().addElement(element);
    Now map this LeavesValueNode to your View Controller and bind to your dropdown list also.
    Regards,
    Charan

  • Applying order by for the data comming from the formula column

    Dear Friends,
    I am having a report in which some of the columns in which data is comming from the formula columns,but i need the data in asc order.
    How can i do it.
    Please advice.

    I am having a report in which some of the columns in
    which data is coming from the formula columns,but i
    need the data in asc order.Lets say you have this query:
    select empno, sal, comm from emp
    And you have empno, sal, comm and a formula column 'f_percentage' in one group. Add one dummy column in the query, like this:
    select 'temp' temp, empno, sal, comm from emp
    Move this 'temp' column into the second group (drag and drop outside the first group). You don't have to create repeating frame/or need to show this 'temp' column on the report.
    Now if you use break order on formula column, that should work. Make sure you have break order on other columns also. Arrange items (change order) in data model as you needed. Run your report before and after this change and make sure you have same number of rows before and after this change.
    (from reports builder's help)
    "Break Order has no effect on columns that belong to the lowest group of a particular query. Break Order only affects columns in groups that are above the lowest child group of a query"

  • Where does data come from? SCOM?

    I'm just trying to get my head around how data is transferred from servers into Ops Insights with SCOM.
    We have 300+ servers in SCOM.  What information is read from SCOM and utilised in Ops Insights? and what information is gathered from servers when needed?  
    Is this just the alert management and configuration assessment that comes from SCOM?
    If I add in logs, such as Application or Security, - are these transferred to SCOM temporarily (or permanently) , and then forwarded to Ops Insights?
    Hope that makes sense? :)
    Cheers
    Darren

    Alert Management is only synced from the management server to the cloud.
    For all other scenario, in SCOM, the data is coming directly from the agents, is NOT stored permanently onprem in any of the databases, but ONLY sent to the cloud. In most cases, data is sent from the agents to the management server first, and then
    to the cloud.
    In some upcoming high-volume intelligence packs, in order not to affect the MS queues, agents will send their data directly to the cloud entirely bypassing the Management Servers. The MS is still used to distribute the configuration down to agents (those
    are 'normal' management packs with a bunch of collection rules, with a special write action...).
    I also advise you watch the TechEd Europe presentation by Joseph Chan that goes into some of this
    http://channel9.msdn.com/Events/TechEd/Europe/2014/CDP-B343
    Our troubleshooting blog post goes in various details about how the communication happens and to which destinations (albeit it is not written as a lecture, but more of a troubleshooting guide)
    http://blogs.technet.com/b/momteam/archive/2014/05/29/advisor-error-3000-unable-to-register-to-the-advisor-service-amp-onboarding-troubleshooting-steps.aspx
    Also read the FAQ on the portal
    https://go.microsoft.com/fwlink/?LinkId=517580
    HTH,

Maybe you are looking for

  • ITunes 10 Not Working Properly on Windows 7 64-bit

    Hello all. I had installed iTunes 10 for Windows 7 64-bit on my Windows 7 64-bit system. After that, my computer would not recognize my iPhone at all, so I uninstalled everything Apple on my computer and reinstalled iTunes 10. Now after reinstallatio

  • HELP SOMEBODY... ANYBODY (iPhone No Longer Syncs Since Downloading iTunes 11.1.1. Update)

    I updated my phone to the new iOS7 and I also updated iTunes to 11.1.1. NOW ALL OF A SUDDEN I cant get my phone to backup. When I connect it to my computer is doesn't do ANYTHING! I try to drag and drop my music, NOTHING. If ANYBODY could help me wit

  • ITunes Authentication with Windows Vista

    I've recently upgraded to Windows Vista. It would seem the computer authorization then becomes broken - my complete purchased library became unplayable without having to authorize another computer for each song (even though it's the same machine), an

  • Error on Installing CS5.1, CS6 - Exit Code 15, ERROR: Media DB Error 6

    Hi. I am trying to install Photoshop CS6 trial on my machine (win 8 x64) but all the time it returns the error: Exit code : 15 Summary - 0 fatal error(s), 1 error(s), 0 warning(s) ERROR: Media DB Error : 6 I have already used all the steps described

  • Lightroom 2.3 and Camera Raw 5.3 Available - Note from Adobe

    Lightroom 2.3 and Camera Raw 5.3 are now available as release candidates on Adobe Labs. Lightroom 2.3, http://labs.adobe.com/wiki/index.php/Lightroom_2.3 Camera Raw 5.3, http://labs.adobe.com/wiki/index.php/Camera_Raw_5.3 Regards, Tom Hogarty Adobe S