How to determine value of PO account assignment item

G'Day,
Simple question: I'm after a cost breakdown of a PO at account assignment level. For this I need to determine the value of an account assignment item in a consistent manner. e.g. if a PO item has an account assignment split across multiple cost centers then I need the value against each cost center. Very straightforward in theory, however in practice the value field in EKKN is not always filled. Some account assignment categories use percentages, others use quantities and others use values or combinations thereof.
I can code this quite easily, but the examples I've seen for different account assignment categories are a bit too random for my liking. I don't know if I will catch every option so I would prefer some SAP function module or something similar, which I have thus far been unable to find. Does anyone have a method using standard SAP?
Input appreciated,
Mike

Dear Mike,
Try report ME2K with Cost center using *, account assignment K, plant and posting date restrictions.
This report will give you the purchasing document - cost center wise quantity distribution details (irrespective of either Quantity or Percentage distribution in Purchase order).
Only part missing is - in this report you will get ordered price / per unit and cost center wise allotted quantity, the value (Price per unig X cost center wise allotted qty) you didnt get. This can get if the data transferred to excel.
I hope this will help the requirement.
Regards,
Syed Hussain.

Similar Messages

  • How to link Purchase Order using account assignment category "F"* to asset

    Hello,
    I'd like to know how to link Purchase Order, using account assignment category "F" to asset .
    When I enter asset no. in my ANEK table, po no(ebeln) and po item(ebelp) field is blank.
    whether every line item in a Purchase order have differrent asset.
    can anybody give me the link between asset and materal no?
    Regards,
    Rachel

    Hi Rachel,
    Your message is a little bit confusing. There is no link between the asset and material number. If you want to post your purchase order, using account assignment F - that is internal order - you may do it. Futher, you can settle the postings from this order to asset.
    You can read more here:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/71e7cd448011d189f00000e81ddfac/frameset.htm
    Regards,
    Eli

  • BADI to populate Asset Master Class valu in Account Assignment Item Detail?

    Hi All,
    In Shopping Cart  - COST ASSIGNMENT - Account Assignment Item Details   Tab 
    we have
    Create New Asset Master Record    section  and the field
    Choose an Asset Master Class 
    I need to populate this field (Choose an Asset Master Class) with my own value.
    What BADI I can use to populate value on this field? Any ideas?
    Thanks in advance.

    Hi,
    As i told you there is no badi to do this.
    1-What you can do is to create a CUF in the accounting tab to store your asset category.
    You will then have to
    2- hide the standard field but let the standard populate it with a default value from the org structure
    3- add in the SRM iMG the cuf field for the accounting data.
    4- code bbp_doc_change_badi to populate your CUF field
    5- code bbp_driver_determine in order to call the FM to create the asset
    6- create 1 FM in ECC to create the asset (copy of bapi_fixedasset_create1)
    Hope this helps,
    Kind regards,
    Yann
    Edited by: Yann Bouillut on Apr 15, 2009 5:23 PM

  • Account Determination and G/L Accounts Assignment Flow

    Hello Guru's,
    Can anyone help me in finding Account Determination and G/L Accounts Assignment Flow with T Codes. I am new to SAP SD and I want to maintain G/L accounts for my company. Thank you.
    Regards,
    Pranava

    There are mainly links, sdn thread & message, sdn wiki & doc flowing around.
    Only thing required from your side is to put afford to search them.
    Thus, kindly put an afford to search for the topics search you want and if you find any problem in that then post your query on any of the respective forum.
    For instance, follow the following links:
    - [Account Determination|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=ERPLO&title=Account+Determination&decorator=printable]
    - Re: Account Determination
    - [Account Determination|http://wiki.sdn.sap.com/wiki/display/ERPLO/SD+FAQ#SDFAQ-2.AccountDetermination]
    Hope you are aware of rules & regulation of SDN forums.
    -Welcome and Rules of Engagement
    -Read this before posting
    Kindly corporate.
    Regards
    JP

  • Customer Invoice-Account Assignment item

    Hi,
    When i am posting Customer Invoice through FB70 then getting as an error as " Account Assignment item"
    Could you give sugguestion
    Regards
    Venki

    Hi,
    No, its asking at Customer (Recon account level) below is the error
    Account assignment item 7270/ASDEUDOR does not exist
    Message no. FI 590
    7270 is the  Company Code
    Regards
    Venki

  • "Purchase Order item 00010 still contains faulty account assignment items"

    Dear Gurus,
    Good Morning and have a nice week ahead. One of our users encountered the following error in SRM(front end) when try to approve the shopping cart.
    "MEPO 046 : Purchase Order item 00010 still contains faulty account assignment items"
    As per my investigation, this specific error appears when shopping cart is created for a particular cost center only. when i ordered the similar material for different cost center, I did not encounter this error.
    Your valuable inputs pls. Any OSS messages???
    Pls help..
    Best Regards
    Thamarai Kannan MK

    Hi
    <u><b>See these SAP OSS Notes which will definitely help -></b></u>
    Which SRM version are you using ?
    <b>Note 990946 - BBPSC01: Accounting error during PO creation</b>
    <u>Related Notes</u>
    Note 1000184 - Account assignment error when document transfer to back end
    Do let me know.
    Regards
    - Atul

  • Integration MIRO error, how to determine the VST related accounts.

    integration Miro error.
    Hi gurus,
    please resolve the problem urgent.
    while doing MIRO Iam getting the following error.
    after given PO number in MIRO I getting the following error. please how to resolve the problem.
    where i can determin the accounts, which accounts will be effect.
    Error in account determination: table T030K key ASHA VST V0
    Message no. FF709
    Diagnosis
    In the chart of accounts to be posted to, no accounts are defined for the tax code you used.
    Procedure
    Contact your system administrator.
    Define the accounts to which a tax posting is to be made with the tax code entered in Customizing for taxes on sales/purchases.
    To do this, choose Maintain entries (F5).
    How to determine VST

    I have already replied to the same question in one of ur earlier posts.
    If you want to knowthe GL accounts which are used presently for the transaction VST, you can go to table T030K give the field name KTOSL value as VST and execute. YOu will get the list of all GL accounts which use the transaction VST for all possible tax codes and Chart of Accounts.

  • How to remove a PO with account assignment K from MD04

    Hi guys
    I have create a Purchase Order in ME21N with account assignment K and removed the Goods receipt mark in delivery tab.
    Will this PO be removed from MD04 and when?

    Hi
    My requirement is the following: My company have some suppliers which holds inventory for us. My company controlled that with contracts in SAP.
    Som parts of this inventory must be scrapped if demand changes. Therefore we need to create a PO, where my compagny buy the materiels. We will never use these materials so the supplier can just scappe them at his site and there we unmark the Goods receipt mark and use account asignment K.
    But the buyer will see the PO in MD04 and this create confusion, so I would like to be able to remove this from MD04.
    Thanks!
    Sune

  • Share of the costs that is to be alocated to the account assign item NE 100

    Hi SAP Gurus,
    There is a PR created with account Assign=P (Project). Multiple Line Services are under "Services " tab and used different WBS (see sample below)
    10    Procurement - MDA                          500,000  USD       WBS 1  = 99.7
    20    Project Management - JKA                450.00 USD          WBS 2 = 0.0
    30    Fab. & Assembly (Installation) MDA   1000.00 USD          WBS 3 = 0.2
    Buyer will create a contract with reference to above PR. All items will be automatically adopted to contract however, there is an error encountered. Sum of percentages >99.9< smaller than 100 %. During adoption process, the sum of the % is behind by 0.1%. Why does the system does not allocate for the line item 20? This is standard percentage allocation..Is it because the amount is too small for the allocation? Please advise if there is a customization we need to maintain.
    Thanks,
    Madelyn

    Hi SAP Gurus,
    There is a PR created with account Assign=P (Project). Multiple Line Services are under "Services " tab and used different WBS (see sample below)
    10    Procurement - MDA                          500,000  USD       WBS 1  = 99.7
    20    Project Management - JKA                450.00 USD          WBS 2 = 0.0
    30    Fab. & Assembly (Installation) MDA   1000.00 USD          WBS 3 = 0.2
    Buyer will create a contract with reference to above PR. All items will be automatically adopted to contract however, there is an error encountered. Sum of percentages >99.9< smaller than 100 %. During adoption process, the sum of the % is behind by 0.1%. Why does the system does not allocate for the line item 20? This is standard percentage allocation..Is it because the amount is too small for the allocation? Please advise if there is a customization we need to maintain.
    Thanks,
    Madelyn

  • How to determine a certain gl account where it belongs? Purchase or Sales ?

    Hi gurus,
    I'm still struggling how to optimize the select statement in bsis. My last option is to limit the gl account in where statment (where hkont in so_hkont). I want to know the gl account for localpurchases.
    The user tol me that they used numbers of gl accounts for purchase report. Some are AP Non trade/Trade an others.
    Is there another table that categorized the GL Accounts?
    Need your help. Points will be given for the helpful ieas....Thank you

    Hi ashish,
    here's my code:
    select a~mandt            
            a~belnr            
            a~buzei            
            a~mwskz            
            a~budat            
            a~shkzg            
            a~dmbtr            
            b~lifnr            
            b~name1            
            b~ktokk            
    appending corresponding   
    fields of table lt_tab1   
    from bsak as a            
    inner join lfa1 as b      
    on a~lifnr = b~lifnr      
    where a~bukrs eq so_ccode 
    an hkont in so_hkont
    and umsks eq space        
    and umskz eq space        
    and a~gjahr eq lv_year    
    and a~budat in so_postp   
    and mwskz in so_txcde.    
    My problem here is the content of my so_hkont... Since the client doesn't want to give the gl account they are using for purchase report. I retrieve all the glaccount from SKAT  delete  input and output tax an place it in so_hkont.
    I want to lessen the gl account and remain that is for purchases (like AP trade or Non trade) to optimize the sql.
    Is there a table that determines this GL Account is used for purchases, another GL Account is for sales,... another is for employees salary..and so forth.
    Thanks...

  • How to change value of GL account on sales order line item

    I am trying to change COGS account based on discount percentage. How do I write formatted search?
    discount filed is $[$38.15.1] and I need to change COGS account if discprcnt = 100 on sales order
    Thanks

    Thanks again Jim and Manikadan
    I had to modify the query a little bit to following but I was able to change the COGS account on FMS.
    Declare @prcntdisc as nvarchar(20)
    Declare @acctcogs as nvarchar(20)
    Declare @defaultcogs as nvarchar(20)
    SET @prcntdisc = (SELECT $[dln1.discprcnt])
    SET @acctcogs = '67000015-01-001-03'
    SET @defaultcogs = (SELECT C.FormatCode
                  from
                   dbo.oitb A
                   inner join dbo.oitm B on B.ItmsGrpCod = A.ItmsGrpCod
                   inner join dbo.oact C on A.SaleCostAc = C.AcctCode
                  where
                   B.ItemCode =(SELECT $[dln1.ItemCode])
    if @prcntdisc like '100.%' 
    begin
    Select  @acctcogs
    end
    else
    begin
    Select @defaultcogs
    end

  • Logic of determining value for Inventory offsetting line item

    Hi,
    I want to know the following for the reversal of Process Order for materials for which the price control is 'S'.
    How the value for GBB (Inventory offsetting) is determined. I have observed it taking the weighted rate of the (Summation of the Total Actual Cost / Sumation of Actual Qunatity) * Reversal Quantity. The BSX line item is determined by Standard Price * Reversal Quantity
    The balance is posted in the Price difference.
    I want to know why this difference is determining tge line items.
    I have gone thru SAP Note 216080 in this regard but failed to understandard the basic resaon why this is happening.
    Regards
    Partha

    Dear colleague,
    you are right
    >note 422606:
    a) The manufactured material has price control 'S' (Standard price).
       Valuation is carried out for goods receipts using the standard
       price that is currently valid.
       For the reversal of goods receipts, the valuation of the debit of
       the order (offsetting entry to stock posting) is carried out
       using the price determined from the quotient of value of goods
       received and quantity of goods received. That is, all previous
       goods receipts are used for the valuation of the reversal of a
       goods receipt, but order settlements are not used.
    It is the standard system behaviour that the reversal of goods receipt
    for production order are not valuated with standard price. All previous
    goods receipts are used for the valuation of the reversal of a
    goods receipt.
    Goods receipts are always reversed with an average of the prices of
    all goods receipts in the order history. Therefore price differences
    may occur. This behaviour is as well explained in the attached
    note 49995 in the reasons and prerequisites step. As well you find
    an explanation in note's 422606 symptoms. the system tries to avoid the reversal
    with posted values no longer possible.
    If this replies your question ,please mark it as answered,
    best regards,
    maria

  • How to insert values using pushputtons in text item & fetch data based on

    Dear friends,
    I want to insert values in the Text item using pushbutton e.g to insert 05CST884 into text item using pushbuttons '0' '5' 'C' 'S' 'T' '8' '8' '4' (alpha numeric buttons) in the layout editor and then fetch data based on the number entered with that of one in the table in the another text item2 in the layout editor.
    Suggestions regarding how to develop and use effective triggers are welcome.

    At the block level (for the control block where all your push buttons are, let's call it block1) create a WHEN-BUTTON-PRESSED trigger. Your [A-Z] and [0-9] buttons should be on a dedicated non-database datablock to reduce problems. As stated previously, this trigger should just contain the code:
    :block2.text_item := :block2.text_item||get_item_property(:system.trigger_item, label);
    Also on the pushbutton block, create a backspacve button with its own dedicated WHEN-BUTTON-PRESSED trigger containing:
    if length(:block2.text_item) > 0 then :block2.text_item := substr(:block2.text_item, 1, length(:block2.text_item)); end if;
    This will hopefully erase the last character entered.
    block2 should be based on the database table (see Property Palette --> Database) you wish to query and text_item should be based on the database item which contains the code you entered. All the other database items you wish to displayshould also be added to block2.
    Add another FIND push button to block1 with the code:
    go_block('block2');
    execute_query;
    Without writing the whole thing for you, I'd suggest you get a decent Forms tutorial book to guide you through the basics (Oracle Forms Developers Handbook).

  • How to determine Component materials for PO line item Materials.

    Hello friends,
    I woluld like to know the table name for getting the component Materials of a Purchase Order line item material.
    There is a table called RESB, which is containing the component materials for the PO line item materials. But this table is populating only after creating (saving) the PO.
    But, i have to do some validations on component materials, before saving the PO. For that i would like to know the table, from which the component materials will pick.
    Or
    Please provide some user exit names, which will contain Component materials, during the PO creation.
    Thanks in Advance.

    hi
    header BOM table - STKO ( u need to fetch BOM# from here)
    Item table - STPO ( pass the BOM # here and retreive all the item details)
    try using FM
    CS_BOM_EXPL_MAT_V2
    regards
    kunal

  • How to determine price difference account for 301 MT?

    I know that 309 movement type is used for tranferring a material to another material . If the prices of two materials are different, price difference will go into transferring account determined by transaction key AUM.
    301 movement type is used for transferring material A from plant 1000 to plant 2000. Suppose a scenerio:
    plant 1000, material A, standard price 115,
    plant 2000, material A, standard price 100,
    so, if I use MB1B to do a transfer posting, the  accounting entry must be:
    Dr: stock posting account    100
         price difference account   15
       Cr: stock posting account   115
    What I doubt is, in this scenerio, How to determine this price difference account in OMJJ and OBYC? It is also determined by transction key AUM like 309?
    Hope you can help. Thanks.

    I have checked that price difference account of 309 MT is also determined by AUM. But, from SAP documentation, AUM is described like this:  "This transaction is used for transfer postings from one material to another if the complete value of the issuing material cannot be posted to the value of the receiving material. " So I think that AUM is is used for transferring one material to another material, not used for transferring a material from one plant to another plant.  It is different therotically, I think. but, in practice, 301 and 309 both use AUM for price difference account.
    THis is my doubt.

Maybe you are looking for

  • Saving changes in the Search Window

    How do I save changes in the search window? Is this possible?

  • How to change the order of phone numbers in Contacts?

    For the phone numbers for a specific contact on my iPhone, I may have: 1. work fax, 2. work, 3. home, 4. mobile. For the same contact synced on my Mac, I have, in Address Book: 1. home, 2. mobile, 3. work and 4. work fax. I obviously prefer to have M

  • Deployment of Acrobat 9 with custom stamps

    Hi, I would like to deploy Adobe Acrobat 9 Standard using the Customization Wizard which appears straight forward however I would like to know if there is anyway to deploy custom stamps as we have over 50 and is a major time consumption to deploy man

  • VPN Connectivity

    Just had Infinity Installed via HH3. Great speed, email no problem, but, connection to my office server from my laptop at home via SSL VPN doesn't work. Do i need to make a setting change in the Hub manager? Anybody else had the same experience?

  • Can having too many emails stored in Mail cause problems?

    I've got over 3,800 emails in my inbox and I sometimes have problems with Mail not starting. My mail is stored in iCloud (so I can access them across all my Apple devices) but I also have a lot of old emails just stored on my Mac. Should I just archi