Getting the percentages in PO13 costcenter view (IT1018)

Hi,
I need to get hold of the percentage shown in PO13 costcenter view(IT1018) in a ABAP program. How can I do that? Is there a function module for this?
If I look in infotype 1018 the last field is just a key or reference to the data, but I do not know how to get the data itself.
Thanks,
George Wüst

Get the TABNR from HRP1018 & lookup HRT1018 for the PROZT value for this TABNR.
~Suresh

Similar Messages

  • Getting the Values from a Tiled View

    Hi,
    I have a TiledView and I have checkbox in the tiled view. I am trying
    to get the values of the checked boxes.
    I have coded like this.
    Object[] links = getRSystemLinks().getCbSystemUrl().getValues();
    if I see the links.length i get only one. In html If I see the code
    it appends the TileIndex in brackets. If I replace the TileIndex with
    0 in all the fields in endCbSystemUrl method I get the correct values.
    In the TiledView beginDisplay() method my code is like this.
    if (getPrimaryModel() == null) throw new ModelControlException
    ("Primary model is null");
    super.beginDisplay();
    resetTileIndex();
    pgCustomizeLinksViewBean parentBean = (pgCustomizeLinksViewBean)
    getParent();
    ((DatasetModel) getDefaultModel()).setSize
    (parentBean.SystemChoicesValue.size());
    Any Suggestions on this.
    Thanks
    Namburi

    Namburi--
    Remember, the getValues() method does not return the values from a column in
    a TiledView. It is strictly for use by fields that can have multiple
    values, like multi-select list boxes.
    DO NOT remove the indexing feature from the field names, especially in the
    case of checkboxes, because checkboxes aren't submitted back to the server
    unless they are checked. By overriding the automatic checkbox tracking
    feature JATO provides, you won't be able to tell which checkboxes were
    actually checked by row--you'll simply get back a list the same size as the
    number of checkboxes that were checked, without any placeholders for the
    ones that weren't checked.
    Instead, on submit, you simply need to move through the tiledView and check
    the value of checkbox on each row:
    tiledView.beforeFirst();
    while (tiledView.next())
    if (getDisplayFieldBooleanValue("myCheckBox"))
    You can use the same construct to build up an array or list:
    List checkedList=new LinkedList();
    tiledView.beforeFirst();
    while (tiledView.next())
    if (getDisplayFieldBooleanValue("myCheckBox"))
    checkedList.add(new Boolean(true))
    else
    checkedList.add(new Boolean(false))
    Todd
    Todd Fast
    Senior Engineer
    Sun Microsystems, Inc.
    todd.fast@s...
    ----- Original Message -----
    From: <vnamboori@y...>
    Sent: Wednesday, October 17, 2001 3:49 PM
    Subject: [iPlanet-JATO] Getting the Values from a Tiled View
    Hi,
    I have a TiledView and I have checkbox in the tiled view. I am trying
    to get the values of the checked boxes.
    I have coded like this.
    Object[] links = getRSystemLinks().getCbSystemUrl().getValues();
    if I see the links.length i get only one. In html If I see the code
    it appends the TileIndex in brackets. If I replace the TileIndex with
    0 in all the fields in endCbSystemUrl method I get the correct values.
    In the TiledView beginDisplay() method my code is like this.
    if (getPrimaryModel() == null) throw new ModelControlException
    ("Primary model is null");
    super.beginDisplay();
    resetTileIndex();
    pgCustomizeLinksViewBean parentBean = (pgCustomizeLinksViewBean)
    getParent();
    ((DatasetModel) getDefaultModel()).setSize
    (parentBean.SystemChoicesValue.size());
    Any Suggestions on this.
    Thanks
    Namburi
    [email protected]

  • How to you get the percentage of a number in an array in ipad numbers

    How to you get the percentage of a number in an array in ipad numbers?

    Try asking here
    https://discussions.apple.com/community/iwork/numbers
    it's a part of the forum dedicated to numbers.

  • How do you get the percentage of one number compared to the sum of the total in an array in ipad numbers

    How do you get the percentage of one number compared to the sum of the total in an array in ipad numbers

    On the iPad my example looks like this:
    To fill the formula down you tap cell and then Fill:
    And drag the bottom part of the yellow rectangle down:
    Wayne's example would look similar.
    SG

  • How to get the colums from a project view

    Greetings,
    I have a PjView-object from type Microsoft.Office.Interop.MSProject.View
    and I can output the name of the view (MsgBox(PjView.Name.ToString)
    So far so good.
    But now I have two questions:
    1. How do I access the columns that are included in this view?
    2. If I have a column, how can I read the Title property (In Project: Field Settings -> Title)
    Thank you!
       Michael

    This code will get the fields that exist on the Gantt Chart view in the current project:
    Public Sub GetCurrentViews()
    Dim vw As View
    Dim vw_sng As ViewSingle
    Dim vw_com As ViewCombination
    Dim tbl As Table
    Dim fld As TableField
    Set vw = ActiveProject.Views("Gantt Chart")
    If vw.Single Then
    Set vw_sng = vw
    Else
    Set vw_com = vw
    Set vw_sng = vw_com.TopView
    End If
    Set tbl = vw_sng.Table
    Debug.Print tbl.Name
    'step through each column on each table
    For Each fld In tbl.TableFields
    'check that it isn't the "Insert column" marker
    If fld.Field <> -1 Then
    'if it is an actual field, output field title
    Debug.Print " " & fld.Title
    Debug.Print " " & fld.Field & " - " & Application.FieldConstantToFieldName(fld.Field)
    End If
    Next fld
    End Sub
    Hope that helps,
    Andrew
    Andrew Simpson
    Founder – Eversight Ltd
    E: [email protected]
    W: www.eversight.co.uk
    Download Eversight for MS Project — a free add-on which helps users build high quality schedules with MS project.

  • How to get the distinct values in Attribute View?

    Hi,
    While doing the data preview of attribute view its showing duplicate records.
    Can i restrict all these duplicate in attribute view and get only distinct values?
    Thanks in advance.

    Hi Deepak,
    Please check the Key Attribute combination in the Source System and Create Attribute view with the same combination.
    so that you won't get any duplicate values.
    If you are taking fields randomly Pls ensure that you are taking at least one primary key combination  use the same combination while creating Attribute View.
    As u know that the purpose of Attribute view is to store the Master Data Objects like BI/BW which stores Non duplicate values.

  • In Dreamweaver 2014.1 how do I get the vertical settings for split view?

    In split view, I want the code window to appear left of the design window as I had it set up in the previous version. I cannot find a place in preferences to do that. Help. I like the code window to the left and properties below the design window.

    No I cannot. I've tried to drag the coding window and it seems to be immoveable. I read the reference. It does not answer my question nor do any of the linked articles connected to it. I can float the property window and the other windows just fine and move them where I need them, however the code window in split view goes nowhere. When I have multiple file windows open in tabs and drag one of them the code view stuck at the bottom moves with it.

  • How do I programmatically get the display name for a view object in Java?

    When you define a view object, there is a display name that is configured. I would like to retrieve that in Java. Can someone tell me how?
    Thanks, -Klaus

    Klaus,
    you can use the attribute definitions which you get using
    getAttributeDefs
    AttributeDef[] getAttributeDefs()This method is accessible via the vo.
    If you need this information in a bean, you can use EL like you see if you drop a vo on a page.
    Timo

  • How to get the tax screen in Sales View 1

    Hi,
    I am creating a HAWA material but I do not see the tax date tab in sales view1.
    How can I get it activated.can you please suggest the settings to be done ?/
    Regards,
    Manoj

    Hi Manoj,
    Use the Transaction code OVK1 to define the Tax determination rule for the Country.
    Path: SPRO> Sales and Distribution-> Basic Functions> Taxes> Define Tax determination rule for the Country.
    Country code and Output Tax condition type MWST, there should be a in entry here other wise we can not see Tax classification in Sales view.
    Br,
    Satya.

  • Where can I get the definition for MDSYS.USER_SDO_TILE_ADMIN_TASKS view ?

    The new 11gr1 Users Guide says
    "Automatic Long Tile Administrative Request Recovery
    Long running tile admin requests that are interrupted due to Fusion Middleware or
    MapViewer shutdown will be able to resume automatically after MapViewer is
    restarted. (You do not need to do anything to enable this feature, other than creating
    the new database view USER_SDO_TILE_ADMIN_TASKS if it does not already exist.
    For more information, see Section 2.9.)"
    When I go to 2.9 it says: "MapViewer also uses some other metadata views, which may be defined in other files."
    I couldn't find the definition for the MDSYS.USER_SDO_TILE_ADMIN_TASKS, anyone here know where I could find it ?

    in MAPVIEWER_HOME/web/WEB-INF/admin/mcsdefinition.sql
    Use that file. Run the relevant commands as sys or a privileged user.

  • How can I get the percentage of the image color more faster?

    I tried the command of ColorSampler/ColorSamplers.
    but , sampling speed is very slow.
    So, the script run sampling for 2000x1000 pixels image , then it hangs for five minutes over.
    Do you know the method that can be processed early?
    Sample Script:
        var myDoc = app.activeDocument;
        var lighterSamples=0; // number of lighter pixels
        var darkerSamples=0; // number of darker pixels
        var docWidth = myDoc.width;
        var docHeight = myDoc.height;
        app.activeDocument.colorSamplers.removeAll();
        var pixelLoc = [UnitValue(0) , UnitValue(0)];
        var myColorSampler = app.activeDocument.colorSamplers.add(pixelLoc);
        for(xPos = 0 ; xPos < docWidth ; xPos++){
            for(yPos = 0; yPos < docHeight; yPos++){
                var myColor = myColorSampler.color;
                if(myColor.rgb.red>125){
                     lighterSamples++;
                }else{
                     blackSamples++;
                pixelLoc[0] = xPos;
                pixelLoc[1] = yPos;     
                myColorSampler.move(pixelLoc);
        alert("number of lighter px="+lighterSamples+" / number of darker px="+darkerSamples);
    Thanks.
    Nakamori

    A variation of this thread might help.
    http://forums.adobe.com/thread/834970?tstart=0
    If you saved your document as an eight bit RGB RAW file you could use this code...
    File.prototype.readByte = function() {//aka unsigned byte
         return this.read(1).charCodeAt(0);
    var rawFile = File.openDialog("Please select Raw Image");
    rawFile.encoding = 'BINARY';
    rawFile.open('r');
    var whiteSamples = 0;
    var blackSamples = 0;
    var Total = rawFile.length/3;
    while(!rawFile.eof){
         var R = rawFile.readByte();
         if(R > 125){
             whiteSamples++;
             }else{
                 blackSamples++;
         var G = rawFile.readByte();
         var B = rawFile.readByte();
    rawFile.close();
    alert("Total pixels = "+ Total + " White Samples = " +whiteSamples + " Black Samples = " + blackSamples);

  • How to get the values inputted by the user in Classification view of  MM02

    Hello,
    Does anyone know how to get the inputted values in Classification view of MM02/MM01? I tried to use CLAF_CLASSIFICATION_OF_OBJECTS but this gets the values that is currently saved in the tables and not the values that the user recently inputted in the screen.
    Regards,
    Alfred

    hi
    try this...
    How to Display the Batch Characteristics in BOM?

  • HT3805 In my split view, the viewed picture is all the way to the right- only a sliver is visible. How do I get it to be centered and viewed in total?

    How can I get the picture in my split view to move back to the center where I can see it all?

    Lynn,
    there should be. Are you perhaps looking in the system library?
    The User Library should appear in the Finder's "Go" drop down menu, like this:
    If your system is Lion or Mt. Lion, you will have to hold down the option-key ⌥ to make it appear in the menu.
    Then look in the folder Preferences for "com.aperture.plist" and remove it.
    Don't forget to quit Aperture before you do this.
    Regards
    Léonie

  • How can I view a PDF file on my IPad? I only get the first page.

    How can I view a PDF file from my Ipad, both in email and Internet links? I only get the first page.

    Support for viewing PDFs in emails and web-pages is built in to the iPad. You need not have bought an app for that.
    There are PDF apps that provide more features than the built-in functionality, but for basic viewing of multi-page PDFs no app is required.

  • Get the web part properties of documeny lib view web part using power shell

    Hi,
    Am looking to get the propeties of a list view web part - a document library's  list view web  part- using PowerShell
    Manually I am able to do the same: the steps followed by me is given below:
    1) I went to the
    http://srvr1:123/sites/enggtest/mydoclib1/forms/allitems.aspx
    2) Edit the page
    3) Edit the  mydoclib1 view web part
    4) go to the peroperties
    5) Check the Server Render checkbox
    is there   anyway i can do this using power shell.

    The code below assumes that the webpart is at index 0:
    $SiteUrl = "http://aissp2013/sites/TestSite/"
    $pageURL = "http://aissp2013/sites/TestSite/Lists/MyList/AllItems.aspx"
    $web = Get-SPWeb $SiteUrl
    $wpm = $web.GetLimitedWebPartManager($pageURL, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
    $wp = $wpm.WebParts[0]
    $wp.ServerRender = $true
    $wpm.SaveChanges($wp)
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

Maybe you are looking for