G/L account population on the basis of Cost center in PO

Hello All
Just have a query regarding defaulting the G/L account in account assigned PO.
is it possible while creating a account assigned PO(suppose K) that system will take the G/L account value automatically as soon as we enter the cost center.
in simple words controlling the G/L account on the basis of cost center.
regards
Yogesh

Dear Yogesh,
You will have to implement a proper BAdi/Enhancement to achieve this. You would need to write the logic such that G/L Account if fetched based on Cost Center at runtime.
I am not sure if it can applied here but you can try with search help as well. In few screens if you select one field data other fields data would also get populated with the search help.
Hope this will help.
Regards,
Naveen.

Similar Messages

  • Data required on the basis of Profit center group.

    Hi,
        Is there any table or report from where we can find out the values of customer, cusotmer description, city, GL Account, GL description, amount, sales document or sales order on the basis of PROFIT CENTER GROUP.
    Means i need the above details on the basis of  profit center group.
    Can anybody suggest on this
    Regards,
    Shree.

    Hi:
    Using this report, you can display according to profit center wise, not as profit center group wise.
    All the details are displayed accordling according to your requirement.
    Select the screen layout and select the fields you required.
    The Standard report is
    FBL5N - Display/Change Line Items
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    MSReddy

  • Account assignment as a IO or Cost Center

    Hi All Experts,
    we are implementing for Constrcution company (Real Estate ) client. We have scenario where client gets the contract of constructing any project and after completetion hand over to client.
    For booking any expenses for procurement of material what could be the better option to use as a Account Assignment ?
    Internal Order or Cost Center ?
    CASE - 1
    I am trying in my test system for internal oder where after completion of we will lock the IO and that can not be used future wrongly.
    When I am trying through KO02 - Edit - LOCK - SAVE. And same using in FB60 it is giving me short dump instead of any error
    CASE - 2
    I have created Cost Center with some 2 years expired definite time frame,  since I am using that CC in FB60 it is also not giving me any error that time frame has expired so can not used !
    Both of the account assignment not working perfectly to my scenario.
    Can any expert guide me how to achieve this requirement ?
    Note :- We are not using PS in our project.
    Regards,
    Sharvari Joshi.

    Hi Aleksey,
    I am doing the same in my system, I am using the LOCKED IO for posting in FB60 as a account assignment I am getting below dump.
    Is it becasue of WRONG configuration ? Or SAP's standard system behaviour
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          24.10.2011 19:10:29
    |Short text                                                                                |
    |    The current application triggered a termination with a short dump.                            |
    |What happened?                                                                                |
    |    The current application program detected a situation which really                             |
    |    should not occur. Therefore, a termination with a short dump was                              |
    |    triggered on purpose by the key word MESSAGE (type X).                                        |
    |What can you do?                                                                                |
    |    Note down which actions and inputs caused the error.                                          |
    |                                                                                |
    |                                                                                |
    |    To process the problem further, contact you SAP system                                        |
    |    administrator.                                                                                |
    |                                                                                |
    |    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |
    |    at and manage termination messages, and you can also                                          |
    |    keep them for a long time.                                                                    |
    |Error analysis                                                                                |
    |    Short text of error message:                                                                  |
    |    Error GENERAL_ERROR MESSAGES_ACTIVE_REQUIRED                                                  |
    |                                                                                |
    |    Long text of error message:                                                                   |
    |     Diagnosis                                                                                |
    |         The following program error or handling error has occurred.                              |
    |         Error information:                                                                       |
    |         GENERAL_ERROR                                                                            |
    |         MESSAGES_ACTIVE_REQUIRED                                                                 |
    |     System Response                                                                              |
    |         Processing is terminated.                                                                |
    |     Procedure                                                                                |
    |         If you cannot solve the problem yourself using the error                                 |
    |         information, note down this information and the entries which led                        |
    |         to the error. Contact your system administrator for further                              |
    |         assistance.                                                                              |
    |                                                                                |
    |    Technical information about the message:                                                      |
    |    Message class....... "K5"                                                                     |
    |    Number.............. 011                                                                      |
    |    Variable 1.......... "GENERAL_ERROR"                                                          |
    |    Variable 2.......... "MESSAGES_ACTIVE_REQUIRED"                                               |
    |    Variable 3.......... " "                                                                      |
    |    Variable 4.......... " "                                                                      |
    If its standard behaviour I guess nobody can help in this ! According to me user should get error when he trying to use LOCK IO.
    Regards,
    Sharvari Joshi.
    +Thank you very much for your explanative and patient replies+

  • Can we change the date of cost center

    Can we change the date of cost center with we have already created????????

    Hi Shivika
    Changing a date can mean many things.. Example - You created a CC from 01.01.2014 to 31.12.2015
    If you want to have the Validity from 01.01.2013 now, create the CC from 01.01.2013 to 31,.12.2013 from KS01
    If you want to extend the validity till 31.12.9999, again do the same.. KS01 -> Create from 01.01.2016 to 31.12.9999
    If you want to shorten the validity i.e. say, You want the CC to be valid from 01.01.2015 instead of 2014, then you can delete the CC from KS04 for 2014 provided no data is posted (plan or actual)
    Br., Ajay M

  • Hundreds of fields to be populated on the basis of various check box selection

    Hi,
    I have a requirement I have to display 593 fields on the basis of user's checkbox selection. There are 8 checkboxes and multiple checkbox combinations which is not mentioned. I need to consider all possible selection and populate values accordingly. If user selects any 2 or 3 or 7 checkboxes, I need to display the inner join of (respective tables)of  all the selected checkboxes. please suggest me the best possible way that will take least amount of time. Do i need to populated all 593 fields multiple times as per the user selection? please help

    Hi..
    You need to create structures only during the Run time.
    Based upon the check box, we need to create a dynamic internal table or structures at run time.
    Runtime Type Services (RTTS) - ABAP Development - SCN Wiki
    SAP Cafe Corner!: Advanced ABAP Programming
    Please check these link. Still if you have any issues. Please let me know.
    SKR

  • Hours not populated in the Table C1 (Cost Distribution) in Time Evaluation

    Hi All,
    I am entering Time info along with the Reciever Cost Center, Internal Order and other info in the CATS Time sheet and transferring the saved details to HR Time Mgmt & CO. Later when I run Time Evaluation (PT60 using schema TM00) for the person his Cost Distribution info is getting populated in the Table C1.
    Then when I go to the Time Evaluation Results Table (B2 Cluster) thru transaction PT66 and want to check the details for the employee under C1. I see all the Reciever Cost Center, Internal Order  info. I double click on the TReciver Cost Center to see how many hours getting charged to it, it shows 0.000
    even thogh I had entered 4.00 hours against the Reciever Cost center in CATS.
    Can someone direct me in a step by step way as to how to overcome this anamoly.
    Your suggestions are highly welcome.
    Regards,
    Aslam

    Hi,
    I hope you are using transaction CATA to transfer to HR and Controlling.
    When you transfer entries from CATS to HR to which Infotype the hours get transfered?
    Could you clarify me on this?

  • Launching the depreciation, which cost center is posted?

    Hi All,
    an asset contain a cost center in its master data.
    For the Cost elemen which refers to that asset, in t.code OKB9 in signed as defualt another cost center.
    When I launch the depreciation of that asset, which cost center is posted? The one in it's master data or the other that i find in t.code OKB9?
    Thanks
    G.Rossi

    Hi, if you make customizing in acset and additional account assignment for asset, then from asset master data

  • How to use the next 'initial' cost center in infotype 0027

    Hello experts!
    I need some help in posting in infotype 0027 which should be fairly easy to most of you. As you guys know, there are a total of 25 cost centers available (KST01-KST25) for this infotype. What I want to do is check from KST01 if it exists with a valid entry at a specific date (BEGDA and ENDDA will be provided as well) all the way up to KST25 and choose the first cost center field that is INITIAL. This is used before 'BAPI_COSTCENTER_CREATEMULTIPLE' so that if KST01 up to KST05 all have values on the same BEGDA & ENDDA, how can I have KST06 chosen? Thanks in advance for your help!

    Hi,
       Write as below.
    data : p_0027 like pa0027 occurs 0 with header line.
    data : lv_KOSTL type KOSTL.
    data : lv_index(2) type n.
    data : lv_cost(12).
    field-symbols : <lv_kostl> type any.
    select single * from pa0027 into p_0027.
    do 25 times
          varying lv_KOSTL from p_0027-KST01 next p_0027-KST02.
      lv_index = lv_index + 1.
      IF lv_KOSTL is initial.
        concatenate 'KST' lv_index into lv_cost.
        exit.
      endif.
    enddo.
    assign  component lv_cost of structure p_0027 to <lv_kostl>.
    IF sy-subrc = 0.
    <lv_kostl> = '100'.    " <-- Assign any value here
    ENDIF.
    Regards,
    Srini.

  • How to restrict the users specific cost center/profit center in FBCJ transaction.

    Hello Guru's
    We have created multiple profit centers across india. So I would like to restrict area wise profit center to use the users.
    ex ; I have created for MUMBAI M001 to M009 range and for Hyderbad I have created H001 to H009.
    So my requirement is Only Mumbai user should able to post the entries in FBCJ transaction and should not able to post other area's which are hynderbad and so on.
    In T code FBCJ, Users are able to post to any cost center/profit center even it is not in the range of B001 to B991. I have maintained these values in object K_PCA and org levels as well
    Kindly provide your valuable solutions’.
    Thanks
    Mohan

    Hi Rajiv,
    Thanks for information.
    I have already restricted the filed RESPAREA of K_PCA. Please find the below details.
    PCFFCLB001-PCFFCLB991, PHFFCLMUMBAI
    However still the user is able to post the entries in other area's (hydarbad n delhi..). Can you please let us know other solution.
    Let me know if you need any other details.
    Thanks
    Mohan

  • Know the price from cost center and actyviti type

    Hi expert,
    I Know the cost center and the actyvity type.
    I have to know the price: I can use the transaction KSBT but I need to know some BAPI
    or tables without using KSBT .
    Any idea ??
    tks a lot,
    bye.

    Hi Roberto,
    Use - BAPI_ACTIVITYTYPE_GETPRICES.
    If helpful award points
    Regards,
    Vivek

  • Split Accounting Document on the basis of SD Billing Document

    Dear All,
    When we create an SD Invoice, system generates an Accounting Document too. Any idea as to which program / interface does this?
    Also, is it possible that I can split the Customer line item in FI Document? Please see the example below:
    As it happens in SAP
    Billing Document:
    Item 10 - Rs. 1000
    Item 20 - Rs.   500
    Accounting Document:
    Customer A/c Debit      Rs. 1500
         Revenue 1 Credit     Rs. 1000
         Revenue 2 Credit     Rs.   500
    What is required
    Billing Document:
    No Change
    Accounting Document:
    Customer A/c Debit      Rs. 1000
    Customer A/c Debit     Rs.   500
         Revenue 1 Credit     Rs. 1000
         Revenue 2 Credit     Rs.   500
    Thanks in advance,
    Shalin Shah

    Hi Shalin,
    Did you find any solution to this ?
    I have a similar requirement for one of the client as they dont want the delivery/invoice to get split from SD and we cant do FI summarization due to certain other limitations.
    The only option that I see is to split accounting document when it is getting created from Billing. I did happen to find one of the user exit EXIT_SAPLV60B_008, but unsure if it can really help solve the purpose when document clearing, debit credit notes and cancellation happens.
    Regards,
    AS

  • Price incorrect when the GI to cost center reversal occured

    Hi Gurus,
    can anybody please help me with this. When the material was issued to a cost cetner, everything seemed fine. but when the material doc was reversed (mvt type 202), the price on the doc went up by 10 times, we are puzzled how is this possible.
    Thsanks
    Anusha

    Hi,
    In both the transactions the price can be changed .The difference in MR22 is you can see the quantity in the same screen and if you want to put the correct amount of the value what should be for the quantity it will show you the MAP by diving the value with quantity .The difference value will be debited/ credited to stock account and Price valuation difference account.You have mentioned the present MAP ,but have not told you waht should be the MAP considering the wrong entry which changed the MAP.
    Before doing that try the same scenario in ur Test client and see the repurcussion .
    Dhruba
    Edited by: Dhruba Charan Behera on May 2, 2010 9:34 AM

  • How to include some costs  in standart price on the base of material costs?

    Hi,
    the current client want to include some costs in standart price for the material on the base of raw material costs (according to bill of material). "Some costs" are costs for whole plant or workshop: electricity, gas, salary of some wokers an so on. These costs can not be ascribe to concrete finished products, but must be included in cost of goods manufactured. I assume to use cost center to collect these costs. Direct costs for raw material collects on cost collectors.
    Now the problem by standard cost estimate:
    1.The balance this cost center must be zero (it follows flegal requirements). Therefore I can not use overhead rates. Or I don`t know something?  
    2. I can create activity type, calculate its price on the base of planned costs of this cost center and use it in operation in routing for finished product. But in routing I can not use the costs of raw material to determine how many units of activity type must be confirmed. I can make only rule like: 1 Unit finished product - 1 Unit of activity type.
    So, no chance?
    P.S.
    In fact there is no problem - I can use distribution of cost objects hierarchy
    Best regards,
    Yury
    Edited by: Yury Pogorelov on Jun 17, 2009 4:33 PM
    Edited by: Yury Pogorelov on Jun 17, 2009 4:33 PM
    Edited by: Yury Pogorelov on Jun 17, 2009 4:34 PM
    Edited by: Yury Pogorelov on Jun 17, 2009 4:35 PM

    Hi Anu,
    Putting the resource files in WEB-INF/classes is the correct and good way!
    Simon

  • What is the different between account assignment P Project & K Cost center?

    Hi ,
    I need to raise a PR and PO for repairing damge of our Project's Product.
    In this stituation, I should create PR with account assigment P (Project) or K (Cost center)?
    Thanks

    Hi,
    Material are procured as stock or non-stock materials. When you procure material which can be used in production of finished product ,stock is maintained.
    Account assignment category describes how the procured material is being used (for eg: Cost Center, Sales Order, etc). It also determines how the accounting entries made when a GR document or IR document is posted.
    When you use the Account Assignment Category "K", it means the material is allocated to a cost center for consumption. The Materials is accounted to the particular cost center.
    Account Assignment Category "P" is used for materials that are required for the project related.
    Hope it helps.
    Regards,
    Bijoy Kumar

  • HT3500 Where is the base station menu?

    Trying to connect my Lexmark prospect pro250 to my new Airport Extreme over wi fi... I read that I should go into the airport utility and find "add wi fi printer" from the base station menu... But this option doesn't show up.  When I click on the pic of my Airport Extreme there is an edit button that opens to what looks like a base station menu but no options for adding anything except "Back to my Mac".  Can anyone help?

    You are likely confusing the Base Station menu (top of screen) with the Base Station tab (center of screen)
    When you click on the AirPort Extreme icon and then click Edit.......follow the instructions to click on the Base Station menu.
    That would be at the very top of the computer screen up where the other menus are located.....File, Edit, Window Help, etc.

Maybe you are looking for