How to find top items in alv similar to MC.5

hi abapers
can u plz tell me how to find top items in alv grid program as we find similarly in MC.5 top material...etc as top items.
Thanks in advance

Nagrenda -> http://sap.ittoolbox.com/groups/technical-functional/sap-abap/how-to-display-an-alv-grid-using-abap-oo-2016165
I suggest you read the rules of this forum.

Similar Messages

  • How to find top utilized query for last two months in oem

    how to find top utilized query for last two months in oracle enterprise manager?

    Can you mark the thread as Helpful  and once marked the information can be reviewed by other customer for similar queries
    Regards
    Krishnan

  • How to find open item in bsik table

    anyone can tell me how to find open items for vendor in bsik table or it will store only open item.
    i debug the tcode fbl1n to see . but not able to find
    Kumar

    Hi
    There is no specific field name for open item in the table BSIK.Yes BSIK include a structure named ABSIK_PSO and which is a "IS-PS: Data appendix of open items vendors".
    Yes there is a field name
    BUZEI - Line Item
    EBELP - Item
    You check with your requirement again and try to use these fields,if you still facing some probs than write back to me,i will try to give the appropriate solutions.
    Thanks
    Mrutyunjaya Tripathy

  • How to find top 10  SQL statments which are consuming more cpu time.

    hi all,
    Is there any command or script to monitor the top 10 sql statments which are consuming more cpu time.
    I know by using AWR REPORT we can find it, i want the command or script to find the top cpu utilization sql statments.
    Regards
    Subhash.

    Subhash,
    A quick and dirty Google search could have get you started with the following:
    Thread: how to get top CPU consuming sql oracle 10g
    Re: how to get top CPU consuming sql oracle 10g
    Oracle SQL top sessions
    http://www.dba-oracle.com/oracle10g_tuning/t_sql_top_sessions.htm
    "How to Find top 10 expensive sql's", version 9.2.0
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:73325450402303
    HTH,
    Thierry

  • Can you please tell me how to find top 10 wait events

    Hi
    Can you please tell me how to find top 10 wait events and what actions need to be taken when there is a wait?
    Thanks
    Regards,
    RJ.

    hi,
    suggest you to use statspack !!!!!!! for the all tuning..else use the views
    * v$session_event
    * v$session_wait
    * v$system_event
    go through this for tuning tips
    http://www.dba-oracle.com/art_dbazine_waits.htm
    Thanks
    --Raman                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to find open item?

    Situation:
    Sales order has Two line items.
    During delivery or billing one line item is left.
    How to find the in which sales order this has happened?
    Anand.

    Dear Anand,
    You can check this through VA05 or VL10C
    Regards
    MBS

  • How to find top level object on a given layer?

    I need to assign it to a var...
    var topLevelObj = app.activeDocument.layers.name("foo")... whatever is on top of that stack...
    ...this is probably not correct but you know what I mean

    Jump_Over wrote:
    Hi,
    top level object is the first in a collection:
    var fooLayerTopObj = app.activeDocument.layers.item("foo").pageItems[0]
    Jarek
    I'm not very good in ID-scripting, but I think this isn't good enough to find topmost item of a layer.
    Why?
    - create a new document
    create a polygon
    create a rectangle
    create an ellipse
    create a line
    Run this script snippet:
    var pI = app.activeDocument.layers.item(0).pageItems;
    for (i=0; i<=pI.length-1; i++) {
    pI[i].select();
    alert (i);
    pI[i].locked = true;
    Do you see, which element pageItems[0] is?

  • How to find top n data from the alv report

    hi abapers
    i have alv report is displaying  2 columns material and rate.
    i want to get only top 50 rate along with material  on the same screen  as we do similar thing in Tcode MC.5 pressing top n.
    i m trying to find the solution for this for last 2 months
    can u provide me the code how to do this as i m not able to understand mc.5 code for top n function.

    Hi Deepika,
    if you want the top 50 in the same screen, you can try the below logic.
    Here assume that it_tab is the tbale displayed through ALV and user command
    TOP_50 is to get the top 50 rate.
    FORM user_command USING
         r_ucomm LIKE sy-ucomm.
      DATA lit_grid TYPE REF TO cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = lit_grid.
      CASE r_ucomm.
         WHEN 'TOP_50'.
          it_tab1 = it_tab. "Copy to another tab
          REFRESH it_tab. "Clear the original
          SORT  it_tab1 BY rate. "Sort by rate
          DO 50 TIMES. "Only for top 50
            READ TABLE it_tab INTO wa_tab INDEX sy-index.
            APPEND wa_tab TO it_tab. "Fill the original tab
          ENDDO.
    "Refresh the ALV
          CALL METHOD lit_grid->refresh_table_display.
    ENDCASE.
    ENDFORM.
    Regards,
    Manoj Kumar P
    Edited by: Manoj Kumar on Mar 3, 2009 9:36 AM
    Edited by: Manoj Kumar on Mar 3, 2009 9:39 AM

  • How to find parent ITEM in pr generated by MRP?

    Dear Gurus,
    Please find below explanation and let me know what can be done.
    We have implemented MRP for our finish goods.
    For Example : I need to Produce ITEM Z001.
    We prepared a bom.
    We run MD02 and PRs generated automatically.
    But since, some Raw Materials are very common in other products. But while checking PRs by number, we are unable to find that whcih material is for which Finish good.
    Suppose BOM for Item Z001 is containing items A , B , & C.
    Item B & C is used in many other Final products.
    There are too many prs generated for items B & C.
    How could I know which PR is for Which Final Product? Is there any indication in PR or any report that suggest us that particular PR is for this final product.
    Please suggest.
    Thanks in Advance

    Hello
    Generally, transaction MD09 or the procedure mentioned by Jurgen can be used.
    However, keep in mind that there is no firmed link betweent the requirement and the receipt generated by MRP. That means, this information is not stored on any table and it's builded dynamically.
    Check my answer on the thread below for more details:
    Link between Planned order and Maintenance order from different plants in SAP table
    BR
    Caetano

  • ADF Tree with Boolean Check Box: How to find selected items

    Hi Experts,
    ADF: 11.1.1.5.0
    WLS: 10.3.6
    I am using an ADF Tree which contains elements at two levels (say Departments and Employees). My requirement is to give provision for user to select Departments and Employees using the check boxes. User should be able to select what ever Departments he/she likes and what ever employees he/she likes. There should not be a provision to select Employee with out selecting the corresponding Department (root node in the tree).
    I am facing the below issues while trying to implement this use case:
    1. Always, only the first master record will be expanded by default (I am using "Display Row" property value as "default" and "ExpandAllEnabled" as "true"). My need is to expand all the master records by default. So that user need not explicitly expand each master record node and then select the associated child records.
    2. Currently, I am using value change listener associated to af:selectBooleanCheckBox to identify the Departments and Employee records that have been selected. Since not all departments (masters) are expanded by default, if user selects the check box of department (master) and then expands the department node, automatically all the employees of that department are selected. But, this event is not triggering the value change listener for the employee records. Because of this, after a department node is selected and then expanded, all the child elements' check boxes are selected but the events are not generated. Hence, I am not able to capture the selection of employee records.
    To summarize,
    1. Please let me know how to expand all master nodes in af:Tree by default.
    2. Please let me know the best approach to identify the selected items (both master and detail items) in the af:Tree component using af:selectBooleanCheckBox.
    Thanks in advance,
    Rathnam

    Hi,
                Can you please elaborate the solution? I have a similar problem in
    https://forums.oracle.com/thread/2579664

  • How to find average item price

    How can i find the average item price of an item throug quey or application

    Hi,
    Please review the following threads ..
    item_price
    item_price
    SQL query to display the price of an ITEM
    Re: SQL query to display the price of an ITEM
    You can also search for old threads which discuss the same topic --> [Average Item Price|http://forums.oracle.com/forums/search.jspa?threadID=&q=average+item+price&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001].
    Regards,
    Hussein

  • HT4623 when I try to update it says I have purchased items not backed up on itunes but I believe they're all there.  any suggestions how to find these items or just upgrade anyways?

    I have tried to update my ipad 2 several times.  I have connected it to my computer in itunes had it download or backup my info.  But when I go to update it states you have purchased items not backed up are you sure you want to update now?  So I go back and check it for all my apps and they are all there on the computer in itunes.  I still have the original iso 4.3.3  please help as all the apps are requiring newer iso versions.

    Hi Oceanbreeze,
    If you are receiving an alert about purchased items that have not been transferred from your iPad, you may want to try initiating the transfer from iTunes to see if that may correct it. You may find the following article helpful:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    Regards,
    - Brenden

  • How to find supplier item

    Hello,
    For mapping , in which table can we find the supplier item corresponding to the customer item.
    Thanks
    Regards
    Swathi.

    Hi
    Check the lifnr field in LFA1 table.
    Pls reward pts if help.

  • BDC - How to find line item index in table control?

    Hi guys,
    I am doing a BDC for VL02N, I am stuck up in positioning the line item index. For example, I have 10 line items, I want to fill quantity for the item 000060 which is in the third line. I am able position the cursor using button for locating item ( ok_code = 'POPO' ), but I could not find the index of the item in the table control, so that I can enter the quantity value as
    PERFORM bdc_field  USING 'LIPSD-G_LFIMG(03)' '100'.
    Any expert to help me on this?

    Depending on the message the line number might be in one of the fields:
    MESSAGE_V1
    MESSAGE_V2
    MESSAGE_V3
    MESSAGE_V4
    Although if the message simply is not meant to include the line number, it won't be there. That's the way it is. If there is a user exit available, you may add your custom messages with the line number. In some user exits (in sales order for sure) there is a special variable (flag), which is set when the BAPI runs the transaction.

  • How to find empty item groups?

    hi Experts,
    Can anyone help me with writing query which will show me which item groups do not contain any items or are not in use?
    Regards
    Jon

    Hi Geoff,
    Both queries will work for you and return the same records.
    The top one executes slightly quicker as the WHERE clause for each item group isn't looking through the list of items each time, but if you don't have too many items or item groups it shouldn't make any difference.
    Regards,
    Adrian

Maybe you are looking for

  • Multiple Printers on USB Hub with Airport Express

    I have been testing all day and I think my question is already answered. However, I would like to confirm with the gurus in here: Can AE be hooked up to a powered 4 port USB hub to which three printers are connected? In the hardwired situation, there

  • Download data from URL to ABAP

    Hi, I need to download market index data from url which can be accessed from internet. I don’t have the server details and RFC user of the host server maintaining this url. How to get this data in ECC, please suggest. I have checked the report RSHTTP

  • Using applescript how do I set the angle of a gradient

    Using Applescript I need to set the angle of the gradient to 90 degrees. I've tried everything I can see in the scripting guide. This is a sample of the script I'm using to set the gradient all I need to know is where and how to set the gradient to h

  • How can I make location permanent easily

    I tag many of my photos with GPS coordinates before bringing them into Lightroom.  When I bring the images into Lightroom, the name of the location (City, State, Country, etc.) appear faintly if the Metadata panel is set to location as shown in the a

  • Stock Transfer for Excisable Materials Using Movement Type 301

    Hi, We are having a Plant 1002 as excisable Materials. During GR we following the process like GR (Part -I), Capture Invoice, Post Invoice. Can we transfer the Material from Plant 1002 to other Plant, say 1001, using Movement Type 301? Or we need to