Code for generating Rank

Hello all,
Below is my requirement. I need to generate the rank for Value$ by plant and $ by plant within a sales org
My itab has the following data format:
Material   plant  SalesOrg  Value$
I need the output as: (no material)
Plant  SalesOrg  Value$   (Rank $ plant)  (Rank $ plant-Sales org).
(Rank $ plant) --> rank for all plants
(Rank $ plant-Sales org) --> rank of plants within a sales org.
Please help with the code...
Thanks,
Ani.

Yes, it would be a sort ascending for all plants and then for plants within a sales org.
Can someone please help me with the code...

Similar Messages

  • Can some body help me to develop labview code for generating pulse to drive ac servo motor

    can some body help me to develop labview code for generating pulse to drive ac servo motor... i am using NI 9401 card ....tnx

    Driving an AC servo motor would (I missed AC on the previous msg) requires some complex hardware. This is generally done by drivers specifically designed for this purpose. I doubt you will be able to accomplish this with the hardware you currently have and it might be cheaper to just buy a driver for it and control the speed through the driver.

  • T Code for Generating Service Tax Half Yearly Return i.e. ST3 in 4.6 Versio

    Hi,
    Can anybody tell what is the T Code for Generating Service Tax Half Yearly Return i.e. ST3 in 4.6 Version.
    Regards
    Srinivas

    Hi Srinivas,
    I think their is no direct transaction for that, and think creation of a Pricing report using TCode  V/LA and specifying your conditions in that, and then executing it using the TCode V/LD wil do.
    Hope this Info will be helpful.
    Regards with points if Helpful.
    Regards
    Karan

  • Can anyone help me wid d codes for  Generated Program for gate pass

    can anyone help me wid d codes for  Generated Program for gate pass in MM
    Message was edited by:
            Ronei Shedi

    Hi
    There is no std business process in SAP for Gate pass for the Material entry
    before GR stock entry into the stores.
    You have to write a Z program based on the details of Purchase order tables EKKO and EKPO.
    This will mainly check whether the correct PO qty was delivered or not with proper quality.
    So use the PO tables EKKO and EKPO and fetch the data and use it
    Since this is client specific there is no feneralised program for it.
    Reward points if useful
    Regards
    Anji

  • Please help to write a java code for generate Random numbers

    I need a program for generate Random integer numbers by using roulette wheel theory. I search several ares, but I'm unable to find out at lease a Pseudo code for implement this. If you know or have a code for this, Please send me a mail to [email protected] or post here.

    Gagana wrote:
    I need a program for generate Random integer numbers Have a look at the java.util.Random class:
    [http://java.sun.com/j2se/1.5.0/docs/api/java/util/Random.html]
    Or Google:
    [http://www.google.com/search?q=random+java]
    by using roulette wheel theory. What is that?
    ... Please send me a mail to [email protected]
    No, that defeats the purpose of a public forum. And no one is going to e-mail you (other than someone trying to sell V1AGRA).

  • T codes for generating report in MM

    Can anyone tell me the tcodes for generating following reports in MM.
    1)Req# along with the dollar amount in the req per line item.
    2) the repot which shows the dollar value in the Info record & the dollar value in the req.

    hi latha,
    Enter Tcode SAP1 and check in MM you will get all tcodes related to reports in MM .. check if any of those match ur requirement
    regards
    pushpa

  • Code for generating hash chains

    hi can anyone give me a code to generate hash chains of length 8.

    you can try to use MAC.
    the result length is about 32 bit.
    if you convert in hexa format you'll have a string of 8 characters.

  • T code for generating 103 mvt. document report.

    What is the T-code used for getting the document report for Movement type 103
    the document should have the following fields
    Material :   Description:   Qty on order:    Qty received:   Value
    & also the costing elements applied ( example freight charges, customs packaging etc. )
    Pls. let me know if any of the Tcodes comes close to meet this requirment

    Hi, Try MB51 / MB59, with 103 Mvt type & 'Trans./Event Type' - WE,after executing go to details list (Ctrl + Shift + F12) here change the layout & check if you are able to achieve your requirement or get it developed by your abapers as per your requirement, no such std. report.

  • Need Code for book publishing in BPC

    Does anyone have any VBA code for generating multiple report tabs?  This would take the place of book publishing since I do not want to create PDFs or HTML reports, but rather spreadsheets.

    I am just noticing this -   did you resolve your issue?   You basically need to write the code.
    Edited by: Deborah Silverman on Mar 16, 2009 7:30 PM

  • ABAP code for Hierarchy Loading from Flat File

    Hi,
    Can anyone give me some idea / ABAP code for generating parent - child relationships (NODEIDS) from a flat file and load into BW.
    Best regards
    Any insight into this development is highly appreciated

    Hi,
    also have a look at this how to to get informations about the file structure:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb
    /manfred

  • T Code for Service Tax Half Yearly Return i.e. ST3 in 4.6 Version

    Hi,
    Can anybody tell what is the T Code for Generating Service Tax Half Yearly Return i.e. ST3 in 4.6 Version.
    Regards
    Srinivas

    Hi Srinivas,
    I think their is no direct transaction for that, and think creation of a Pricing report using TCode  V/LA and specifying your conditions in that, and then executing it using the TCode V/LD wil do.
    Hope this Info will be helpful.
    Regards with points if Helpful.
    Regards
    Karan

  • Exit in iw31 for generating IORDER IDOC

    Hi,
    We are trying to generate the IORDER01 IDoc for PM orders through transaction iw31. I need exit name where i can write code for generating idoc. Exit should be triggered <b>after save</b> as i need to pass the following data - order id and operation details.
    I tried exit - FUNCTION EXIT_SAPLCOIH_016 but it doesnt work
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(CAUFVD_IMP) LIKE  CAUFVD STRUCTURE  CAUFVD
    *"             VALUE(AFVGD_IMP) LIKE  AFVGD STRUCTURE  AFVGD
    *"             VALUE(ACTYP) LIKE  TC10-TRTYP
      INCLUDE ZXWOCU13.
    ENDFUNCTION.
    Please suggest correct exit name. Thanks in advance.
    Sonali

    Thanks Sajan.
    Exit 031 triggers after save but at that point the order id(aufnr) is not generated. The system generated order number is also to be passed to the idoc so i need exit after FM - CO_ZV_ORDER_POST (include LCOIHF2V) is triggered.
    i could not find exit after this FM. Apart from exit can we use any other method ? i've not worked on badi so not sure which method of IWO1_ORDER_BADI would work.
    Any help on this is appreciated. Thanks a lot.
    Sonali

  • How do I generate redemption code for creative cloud?

    how do I generate redemption code for creative cloud?

    On October 27th 2014, you have purchased two CC (one complete &one photography) under the same Adobe ID. That is the reason you are being asked for a code because under one Adobe ID only one CC can be activated(twice).
    Please contact Adobe Support or you can inbox me privately the CC order number  that you would like to cancel.
    You can also check if the host file has Adobe entry or not as if Adobe entries are there then also CC can ask for serial number. You can check the host by the followinh method.
    Creative cloud do not need a serial number. it will be using your Adobe ID on which you have purchased the creative cloud membership.
    So you need to login with your Adobe ID and password to activate the cloud membership.
    Log out & log back in of the CC Desktop App.
    In case it is not signing in successfully please try the following:
    I don't know which operating system you are working on so i am giving you some steps windows and MAC OS:
       Windows:
       In windows 7 navigate to following location:
         /windows/system32/drivers/etc
       1. look out for "Hosts" file
       2. Open it with notepad
       3. Check if you have any entry for Adobe
       4. Remove the entries and try again launching any product from CC
      Mac:
       1. Please click on "Go" and navigate to /private/etc
       2. Open "hosts" file and check out for any entries for Adobe.com
       3. Remove the entries and save the file
       4.  try again launching any product from CC
      Please refer to Creative Cloud applications ask for serial number
    Hope it helps you.
    Regards
    Rajshree
    Cannot license Illustrator CC after buying subscription

  • How to create Transaction code for Table Maintanance generator.?

    Hi,
    I have created a Z Table. and I maintained the Table maintenance generator for the same. Now, my requirement is.. I have to create Transaction code for maintain and Display of this Z table.
    Can someone help me how to create the transaction code for Maintain and Display of the table. I know that we have to create a Transaction code for 'SM30'. Can someone tell me the steps to do the same. When I goto SE93 and say CREATE transaction, I get 5 options, Which one to select and what are the details should I provide in the subsequent screens.
    Thanks in advance.
    Best Regards,
    Paddu,

    Hi,
         Check the below steps......
    1. Go to Tcode u2018se93u2019.
    2. Select ' Transaction with parameters'.
    3. Then Transaction 'SM30' with click on skip initial screen
          VIEWNAME : XXX9tABLE NAME)
          UPDATE   : X
    4. Maintain the  Table maintenance generator
      Authorization group : &NC&
      Authorization object :
      Function group : name(xxx)
    Maintenance Screens :
    Maintenance type : One step
    Maint Screen No : Overview screen (2)
    If still u have problem I will send u steps with Screen shot ...send me Yr id.
    Regards,
    Biswanath

  • Assign Transaction Code for Report Painter generated program

    I am trying to assign a transaction code for report painter generated program... I assigned the transaction code in Development for the generated program but the program name changes in every system and I get a runtime error...
    Can you please guide me on how to handle this problem

    http://dap-consulting.com/yahoo_site_admin/assets/docs/Report_Painter_Reports.47142031.pdf
    Found my answer in the above link

Maybe you are looking for

  • PSE 8.0 is very slow with tags

    I used to work with V5.0 and was very happy with that. Then I saw the feature of 8.0 an upgraded to it. After I had converted my database, the program was so slow. Adding a new tag took about one minute. Adding this tag to a picture took another minu

  • FM to change an inspection lot

    Hi folks, when inspection lot is created i have no information about the batch. so SAP creates the inspection lot without the batch information and sets the state CHER. unfortunately you can't fill in results to an inspection lot with state CHER. Now

  • How can I update the project varibles  in OBPM 10.3

    Hi All, OBPM version : 10.3.2 (weblogic Enterprise version) How can I update the project variables from the External process? I per my knowledge we use termination wait activity and notify the same from the external process. I am successfully do this

  • Diffcult location for Wireless

    Hope someone here can help. I have a client that lives in a large home with an external mother in law building. AP is in this building. His wife uses the computer in the main house and consistently getting dropped connections. Originally they had a D

  • SM37 Job  in BW

    Hi    How to cancel or put on hold a Released/Scheduled SM37 Job in BW Thanks