BADI for Profit Center Substitution

Hi,
Please suggest some BADI which can be used to subtitute the Profit Center in the Vendor Line items which posting the document.
we tried AC_Document, but unable to trigger the breakpoint at the time of document posting.
Thanks
Mohit

HI,
Another option.
1. User Constants
2. FAGL3KEH defualt profit center.
Reg
Madhu M

Similar Messages

  • Exit or BADI for Profit Center Block in Tcode KE51 , KE52

    Dear all,
    Is there any BADI or User Exit available to block Profit Center  during create or change.
    Thnaks in advance.

    You can go for implicit enhancements.In case no badi or exit is avaiable.
    Regards,
    Nabheet Madan

  • User Exit for Profit Center Substitution?

    HI,
    Here is my requirement.
    The actual flow is like this:
    Sales order -> line item -> Condition type -> G/L Account -> Default Profit center
    Requirement is:
    Sales order -> line item -> Condition type(ZXXX) -> G/L Account (AAA) - > Profit center 'PYYY'
    Explanation:
    Normally Profit cneter get assigned based on line item,
    But my requirement is that the Profit center should get as 'PYYY' based on condition type 'ZXXX' irrespective of the line item.
    Please tell me the user-exit used for this?
    I am trying with EXIT_SAPLV60B_001, But unable to meet the requirement...
    If u give the code, itz really very helpful to me.
    Thanks in advance.
    Regards,
    Rahul

    Hi,
    U can use Function Module: EXIT_SAPLV60B_008
    And write required code in Include ZXVVFU08
    Hope this will help u.
    Regards,
    Kumar

  • Profit center substitution in Sales Order item level

    Dear all,
    In Our senario for Sales Order creation time at item level that is material level sale B tab user specified Berth no: in Pricing group field ( KONDA), Based on the Berth no, concern profit center derived  from subtitution rule .That purpose I tried Profit center substitution in that substitution,SAP has given PCB SUB structure in that structure main field has given but KONDA field not available, so please guide me how I update that KONDA field to that stucture (PCB SUB) in Profit center substitution area with ABAPER or
    I have developed a abap enhancement specifing berth no and profit center assignment and excuting the enhancement in sales order exit. Is there any problem for SD process, Our SD consultant using the sales order user exit for other purpose. He is not allowing to use that exit to execute the zdevelopment
    Please suggest me How I update that field into that PCB SUB structure for creation profit center substitution or
    can I use zdevelopment through sales order user exit . without affeting the SD process.

    Hi 
    I have the issue like..
    1.  For each line item of the sales order check, whether the profit center is filled or not, if it is not filled then determine the profit center and populate.
    2. If material of the line item is "sub component code" of a material that is "Offering component code", then compare the profit centers of line item with the profit center maintained for the material that is offering component code.  If the profit centers are different, replace the sales order line item profit center with the profit center of the offering component code material.
    3.  Above activities should happen when the sales order is saved.
    can somebody tell me which user exit ?? where coding can be dine.

  • Profit center substitution in Goods issue document

    Hello Gurus
    I am determining profit center through the profit center substitution in sales order through 0KEM transaction and activated it in 0KEL as activation 3.
    I have taken the fields as sales organization  and sales office with transaction code VA01 and VL02N .
    After this the substitution happening in sales order and also in delivery but the substitution is not reflecting in the goods issue document neither coming  for inventory nor in COGS anyway but it is reflecting in the FI accounting document but not for customer but for sales.
    Please help me  to with your kind suggestion for resolving this issue.
    I need the substituted Profit center also to come in the accounting document of PGI and for customer in FI accounting document.
    Thanks in advance
    Subu

    Hi Subbu
    1. 0KEM works for sales order and related billing.. It does not work for PGI, unless you are in MTO scenario and sales order is CO object
    2. At PGI - Inventory a/c will be Cr with PC in Mat Master... COGS (If not a cost element) will also be Dr with the same PC
    If you are in MTO, the COGS will be posted to sales order and hence, it will have the same PC as sales order
    3. During Billing, revenue a/c is Cr with PC in sales order... Customer line is never shown with PC in the line item....
    - If you are on EC-PCA, you need to run 1KEK at month end...
    - If you are on New GL + Doc Splitting, PC will be shown in the "General Ledger View" in customer line item... the "Entry View" wont have any PC
    BR,Ajay M

  • Profit Center Substitution Not getting reflected in FI document duirng MIGO

    Hello friends,
    I have implemented a substition exit for profit center replacement. The rule has been created with this exit. But when I do a MIGO, i see the FI documents getting created with original profit center, not with the profit center that we have manipulated in the substitution. Even though i see in the debugging mode that the profit center is being replaced within the code, when the accounting document is generated, I see the old profit center only in FB03. There is no other substitution exit that is overwriting the profit center. What else could impact this / any inputs would be of great help.
    Thanks,
    Mayank

    Are you using Accounting document substitution (Tcode OBBH)? Try using Controlling substitution (Tcode OKC9), this will substitute the coding block (COBL) of accounting doc where profit center (COBL-PRCTR) is found.

  • Profit center substitution rule miss matching or not working properly

    Hi Experts,
    We have a   substitution rule for profit center for sales group and profit center rule is like
    Is the sales group is 123 profit center should be 123, but now for some g/l like sales deductions that rule is not working for sales group BG1 PROFIT CENTER IS COMING AS BG4  in the same sale order
    I have checked out OKB9 settings also but for that g/l there is no derivation rule has been defined and there is no    cost derivation also
      Please help me out how find out the correct reason
    Thanks in advance,

    can any one give tthe sujestions ,plzzzzzzzzzzzzz
    Thanks and Regards
    Visu

  • Profit center substitution with internal order when generating GL doc from

    Profit center substitution with internal order when generating GL doc from MM
    Dear expert,
    Please advise how to substitute successfully the profit center by which user-exit via FI substitution function.
    Substitutions have been set for profit centers in FI via t-code OBBH, but  the profit center will always be determined from the internal order when posting from MM subcon goods receipt
    Thanks
    James
    Edited by: Yun-Chung Yung on Jun 3, 2010 10:46 PM

    Hi,
    SAP give note 539421 - Dummy profit center with cost center
    account assignment. Looks applicable for your case.
    Solution:
    With the attached modification, you can restore the function from Release
    3.1: The directly assigned profit center remains and is not overwritten
    with the dummy profit center of the cost center.
    The problem is not caused by a program error in this case. The profit
    center is always derived from the existing CO account assignment even if
    this is the dummy profit center (see also Note 62417).
    This note applicable from release 40 until 605
    I hope this can help you. FYI, in my case, i do not create dummy profit centre, then profit centre working as sap priority.
    Regards,
    Dewi

  • Reporting - restricted for profit center-wise

    Hi
    My client has two profit centers (1000 and 2000) in one company code. Both profit centers are totally independent. Now my client requirement is that when user of profit center 1000 runs AR01 (i.e. asset balances), he should be able to see assets only for his profit centers i.e. 1000. Asset of profit center 2000 should not appear in that report.
    In EHP 4, there is provision for Profit Center-wise document posting, change and display functionality. But i want to know if this profit center-wise authorization will work for asset balances report (AR01) and other assets reports also.
    Please help.
    Edited by: Deepak Agrawal on Jan 1, 2012 5:43 PM

    K_PCA or authorization object for profit center is not check in assets report.
    In AR01 you cannot restrict the results to profit center as it is not checked in authorization . The fields which are checked are company code , Asset class and asset views.
    Hence you will have to lookup for alternatives like selection based on plant or cost center or responsible cost center etc.
    In case if the requirement is a show stopper then you will have to code the things in Enhancement points as there are no BADI or Exits available for the same .
    Cheers,
    Dewang

  • Profit Center Substitution in Sales order

    Hello All,
    I have a Small Issue here.
    we have a substitution rule for the PCA Derivation in the SO with the combinations of few Sales Org, Distribution Channels and Divisions.
    But when a WBS Element is Assigned in the Sales order it is over writting the Substitued profit center with the profit center in the WBS Element.
    If we have not maintained any thing in the WBS it is Deriving the Dummy Profit Center from the controlling Area Settings in PCA
    Best Regards
    Ravi

    Ravi-
    Generally, the following prioritization in ascending order applies during the determination of the profit center:
    a) Material master
    b) Profit center substitution
    c) Manual entries
    d) Actual account assignment, for example: internal order.
    a) = Lowest priority , d) = Highest priority.
    This is standard.
    Hope this helps.
    Shail

  • Anyone know what is the tcode for profit center ??

    i want to create a cost center but i need to have profit center first right????
    because it seem keep asking me for profit center and i dont have one..
    pls anyone can tell me the tcode for profit center
    Thanks
    guanwei.

    Hi guanwei,
    http://mit.edu/sapr3/docs/webdocs/reports/profitctr/rpPCvol.html
    http://mit.edu/sapr3/docs/webdocs/finop/lds/foLDSreptrecon1.html
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/profit-center-substitution-671456
    Check these these links may be useful for you.
    Reward points if useful.
    Regards,
    Muneesh Gitta.

  • Profit Center Substitution - Intercompany sales

    Hi all,
    I have a situation where we are making a sales, but since the material belongs to a different plant, 2 invoices are generated - intercompany invoice and customer invoice. The problem is that the profit center on the customer invoice is not showing up (it shows up on the intercompany invoice).
    I am trying to use a profit center substitution for this, but can't get it to work. I have a very simple user exit as a test that changes pcasub-prctr yet this doesn't work. (it is activated in 0KEL)
    FORM U901.
    Data: s_pcasub type pcasub.
    s_pcasub-prctr = '401'.
    MOVE s_pcasub-prctr TO pcasub-prctr.
    ENDFORM.
    Please advice, thanks,

    Hi
    Once you update PC in the Sales Order, the same gets passed on to billing... For that 0KEM is the right place..
    You can build in conditions (Prerequisites in 0KEM) like: If Plant = XXXX and Dist Channel = YY and Div = ZZ, then PC = ABCD
    If that logic is not sufficing, then you need to use exit.... Activation needs to be done in 0KEL....
    The note says, create 2 substitution rules in 0KEM 1 for Field PRCTR and another for PCTRF
    If you use exit, it asks you to use PCASUB-INT_*
    br, Ajay M
    Edited by: Ajay Maheshwari on Oct 4, 2011 8:04 PM

  • Profit Center Substitution - cross company code sales

    Hi all,
    For each cross company sale, there are 2 invoices: intercompany and regular invoice. The intercompany invoice picks up the profit center but it does not show up on the regular invoice.
    I am trying to use profit center substitutions to resolve this, but I'm not sure if this is the correct procedure. Reading note 815972, it seems like there is another method but I don't understand how this works.
    Can someone explain this to me or has anyone done this before? What is the best practice?
    Thanks

    Has anyone ever used profit center substitution for this situation? We would like the profit center on the customer invoice to be the same as that on the intercompany invoice. Should we do a user exit in the profit center subsitution, or is there another way?
    Thanks

  • How to create master data source for Profit center group in source system

    Profit center group information is available in SAP(T-code:kch3). But, I want to have this information in BW too.
    Can anyone tell me how to create a datasource for Profit center group? And which SAP table is able to feed master data for this information?
    Many thanks
    rajatina.

    HI ,
    It looks lilke we need to use the FM like 'G_SET_LIST_SELECT' to get the Profit
    Here ais note from the forums to get profit center group from table
    From Table SETLEAF,  Field SETCLASS  =  '0106'. Field SUBCLASS with controlling area. Profit center in Field VALFROM.
    You will get Group name in Field SETNAME.
    Regards,
    Sathya

  • Report Painter Report for Profit Center

    Hi All,
    I am creating a report for profit center in GRR1.I was using library 8A3,& ledger 8A.which uses for PCA line i tems and table used is GLPCT.which shows profit center totals by period.I ran GLPCT in SE16 and found  out No data selected.I see that profit center accounting is not active  in my system ECC6.0
    and I didn't see any line records for profit center in any of the profit center tables.GLPCA.Now if someone  knidly suggets me how to achieve this report, can I still do it profit center wise or  not? which library should i use in GRR1.The layout of my report is as under.Thanks
    CURRENT MONTH*                                                                               
    Current Yr      Current Yr    Prior Yr
    Actual            Budget        Actual          Variance          
    YEAR TO DATE 
    Current Yr      Current          Prior Yr        Annual
    Actual            Budget        Actual           Budget    Variance
    Regards
    Shaun

    Thanks Abhijit , I can now see my report group at the bottom of the list .I assigned you full points.I posted another question regarding report painter .If you could also give me some guidance on that.When I was creating rows and updating cost elements with account numbers.I set up 3 revenue accounts and then ran the report to see if I get any data for profit centers.I did get data but when I double clicked on one of the account,it displays this messsage.I read the msg. but could not make any sense with it.for example in definning row I put account number from/to  400000- 400000    Explode. and thats a characteristic.
    No valid master data for characteristic 'Account Number'
    Report MEG1 does not contain any data pages.
    No valid master data for characteristic 'Account Number'
    Message no. GR633
    Diagnosis
    No valid master data within the specified interval was found for the characteristic 'Account Number'.
    Explanation:
    For each characteristic that is processed in a report, the Report Writer optimizes the interval limits which are relevant for selecting data from the database.
    Example:
    A report contains the characteristic 'account', for which an account interval from 100000 to 200000 has been entered.  However, if the master data validation shows that the lowest/highest account in this interval is 110000/190000, the selection will be limited to accounts 110000 to 190000 only.
    The system returns this error message if no master data exists for the interval.
    This error is typically caused by an invalid version.  In FI-SL Special Purpose Ledger, for example, versions are assigned to the ledger and are defined in configuration.  The report definition can then contain a non-defined version.  A similar situation applies to controlling (cost center accounting): here, versions are assigned to the controlling area and fiscal year and can be defined in planning.
    Another cause of this error is a ledger that is not assigned to the table for which the report was created.
    Technical information:
    The field name for 'Account Number' is 'RACCT'.
    System Response
    The system cancels processing.
    Procedure
    Check the report definition, or the specified master data, or the intervals.
    Regards
    Shaun

Maybe you are looking for

  • Please, Help Embedding Fonts in TextArea , TextInput and Alert Components

    Please, forgive my bad english. Here is my problem (using Flash CS3 ActionScript 2). I have on the stage : • an instance of TextArea with Instance Name : message_ta • an instance of TextInput with instance Name : name_ti • and I have in the library a

  • Payment Transfer Prinitng using Z-script

    Dear All, I am trying to print Payment transfer form from the transactions FB60 and F110. Here I have taken the Z-copy of the Script form "F110_D_AVIS" and modified the script to my requirement. Then I assigned the Z-form in the FBZP transaction. But

  • Stock transfer plant to plant with capturing the revenue & Profitability.

    SAP gurus Scenerio is like below. Plant 100 produces any material and that material uses any other plant 200. Material movement from one plant (100) to another plant (200) then in this situation plant 100 create revenue and profitability because of p

  • Migration SQL To Oracle

    Hi all, I want to migrate the data from sql server to Oracle 9i in windows Xp. Kinldy any one tell me correct method, i want to transfer the data by using the SQL Script, kindly send the script its urgent Regrads S.Senthil Kumar

  • Cover for 20GB Zen Creative (bla

    Does anyone know where I can get some kind of case of cover for my 20GB creative zen? Amazon only seems to have cases for the micro/vision/sleek models. Any help would be welcome. Cheers, Christina