Userexit/BAdi to update profit center in VF01

Hi Experts,
My Scenario is in IS Retails Project. We are using WPUTAB01 Idoc to post Means of Payment inbound. With WPUK tcode the idoc is generating but unfortunately it is not updating the Profit Center field in billing so an Acounting doc.
My requirement is to update the profit center field in the billing document when this idoc WPUTAB01 is posted with WPUK tcode.
My process code is using fn IDOC_INPUT_POS_END_OF_DAY. I tried to modity User exit EXIT_SAPLWPUE_152, but no use.
Kindly help me how to go throught this.
Thanks in advance.
Regards,
Pavan

There is a long story about profit center accounting. I assume you are using Classic PCA, this means you can see the PCA documents.  And the solutions is below:
     For P/L account, even you don't maintain cost element for it, if you maintain the profit center in the application (Frontend transaction), then PCA line items will be generated for this account.
    For B/S account,  if you maintain the default Profit Center with transaction 3KEH/3KEI, the PCA line items will generated for this account also.
  Hints, don't maintain default profit center for AR/AP accounts, these accounts to be treated in periodic processing.
  First, calculate the distribution/adjust by F.5D, then transfer it by 1KEK. for others account rather than AR/AP, use F.5E
For you case, if this account is P/L account, but you don't maintain profit center in the transaction, you can maintain default profit center as B/S account in 3KEH and 3KEI, then transfer it subsequently by transaction 1KE8.
Good Lucky!
Flex Yang

Similar Messages

  • How to update profit center in posted document without profit center ?

    HI,
    I want to know,
    How to update profit center in posted document without profit center ?
    So that i can get my profit center accouting report proper.
    Thanks
    Nilesh

    There is a long story about profit center accounting. I assume you are using Classic PCA, this means you can see the PCA documents.  And the solutions is below:
         For P/L account, even you don't maintain cost element for it, if you maintain the profit center in the application (Frontend transaction), then PCA line items will be generated for this account.
        For B/S account,  if you maintain the default Profit Center with transaction 3KEH/3KEI, the PCA line items will generated for this account also.
      Hints, don't maintain default profit center for AR/AP accounts, these accounts to be treated in periodic processing.
      First, calculate the distribution/adjust by F.5D, then transfer it by 1KEK. for others account rather than AR/AP, use F.5E
    For you case, if this account is P/L account, but you don't maintain profit center in the transaction, you can maintain default profit center as B/S account in 3KEH and 3KEI, then transfer it subsequently by transaction 1KE8.
    Good Lucky!
    Flex Yang

  • Update Profit Center in MARC Table

    Req is to update Profit Center in MARC table.So let me know any BAPI or function module for Mass Upload to change profit center.
    Thanks
    Suresh

    Hi Suresh,
    For MARC table data change you should use BAPI_MATERIAL_SAVEDATA as it is data related to Material number.
    Regards,
    Atish

  • BAPI_MATERIAL_SAVEDATA for updating Profit center giving an error message.

    Hi All,
           I have a requirement to update Profit Center in storage view of Material Master. So for updating Profit Center I used ‘BAPI_MATERIAL_SAVEDATA’. In this BAPI we will pass Material number, Plant and New Profit center. When I used this it is successfully updating the MM view and in the return message it’s showing no authorization for this transaction. For my ID I have authorization for General Plant Data / Storage, Costing and Plant/Storage Location Stock views in Material Master Change (MM02).
    I want to know why it is giving error message. Do I need to have authorization for all views in MM02 if I want to update the profit center through this BAPI?
    Pointers to any other BAPI which can be used for updating Profit center in storage view in such a way that I need to have authorization for any specific view in MM02 will be helpful.

    Hi Shyam,
         Check out the Auth object for which it is saying no authorization or
    Do the changing of Profit center using the transaction and check whether it is asking for Authorization object or not.
    Reward Points if it is helpful.
    Regards,
    Kiran I

  • Update Profit Center Field in CO Line item tables

    Hi,
    We are working on ECC6.0 NewGL with Real-time CO-FI integration for Cross Company Code and Cross Pofit Center.
    For those CO internal documents (like activity confirmation at production order) where there is no cross company code or cross profit center postings, no FI document is generated and hence table FAGLFLEXA is not updated. So, we wanted to take data from CO table COEP / COVP for these internal CO documents. However, there is no Profit Center field in CO line item tables COEP / COVP. We don't want to refer to Object Number (OBJNR) of COEP / COVP tables and take profit center from master table of cost centers, IOs etc..,as Profit center in the cost center, IO masters may get changed latter.
    I tried to generate a new report through report painter from structure CCSS, but Profit center is not defined as Charactericts there. Hence of no use.
    Can we append Profit Center field in CO line item tables COEP / COVP and update tatabase at the time of posting? Is there any risk?
    Please suggest any other alternative...
    Thanks,
    Bijay

    Hi,
    As per the standard process we can't derive PC from CO-internal Object...as per my knowledge.
    Better you can derive from IO-CC master PC ....if your question that it will change frequently then -no control can make.
    Regd,
    Kha

  • Update Profit center field in FBL1N report

    Hi
    I have a query. We are making payment to vendors from bank account relevant to profit center A .Bill was raised by vendor for profit center A
    In FBL1N report it shows profit center relevant to bank line itemsi,e, A instead of B.
    We have activated New GL and specified Default profit center for bank GL accounts.
    Regards
    Ajay

    Hi,
    In new GL vendor line item is not having the field called profit center.
    for vendor line item profit center field will update from exiting bank line item only based on your document splitting functionality
    if you activate the Inherite check box ticked at 'activation fo document splitting' node else it will take the defualt profit center.
    Reg
    Madhu M

  • BAPI To Update Profit Center And Profit center group

    HI All,
    We have requirement scenario in which MDM Will Syndicate the PC and PCG And We have to update the PC and PCG in R3.
    Do we have a Standard BAPI For Profit center and Profit Center Group Update?
    Thanks In Advance!!!!!
    Moderator message : Search for available information, duplicate post locked. Continue with original thread.
    Edited by: Vinod Kumar on Oct 17, 2011 1:59 PM

    Hi
    Try This BAPI...
    BAPI_PROFITCENTER_CHANGE
    Regards
    Ajit

  • Manual Reposting of Costs (KB11N) does not update Profit Center

    When I do Manual Reposting of Costs on KB11N, the system does not update the Profit center with the value but it does update the Cost center.
    Please Help
    Thanks,
    Sindane

    Hi,
    Please check whether sender as well as receiver cost object is assigned to profit center. If this is done PCA document gets generated and update is made in respective Profit center.
    Bye,
    Ramesh

  • Updating Profit center and cost element  in already posted transactions

    Dear Expert
    Example
    we have one g/l account called:30200,& we made lots of posting on this G/l now business want to make it cost element ,and want to update that particular cost element in past transaction with profit center, Kindly guide me how can i do it with SAP
    REGARDS
    Ajeesh.s

    Hi Ajeesh,
    Please check this note, it might be helpful note: 98520
    Regards...
    Jose

  • How to update profit center group?! Please help

    Hello All:
          We upgraded to ECC6.0 from 4.6C and I am getting an error below when I call some transaction that uses this profit center group:
    "Profit Center group XXXXXXXX not updated. The function is not supported for the selected object"
    Could anyone please tell me how to resolve this issue? All answers will be rewarded.
    Thanks.
    Mithun

    Thanks for the reply Rob. No, that is the only information I have! I just get a popup with that message!
    Thanks.
    Mithun

  • How to update "profit center for billing"(VBAP-PCTRF) for sales order.

    Now, we need to bring "profit center for billing" in sales order to correspondence with meterial master, while BAPI "BAPI_SALESORDER_CHANGE" contain not this field, is there any way to achieve except modify database table directly.
    Thanks!

    Hello,
    Pay attention with BAPIs in SAP, they often use different names as input parameters as the actual fieldnames.
    In your example you can use the BAPI BAPI_SALESORDER_CHANGE.
    You have to check the parameter ORDER_ITEM_IN (table) with field PROFIT_CTR.
    This will correspond with the field VBAP-PCTRF that you want to update.
    You will also have to use the table ORDER_ITEM_INX of the BAPI and flag your field (PROFIT_CTR) with an 'X' in order to update it in the database.
    Always use the RETURN (table) parameter from the BAPI to see what the result is of your update.
    Success.
    Wim

  • Unable to update profit center or plant code in the customer line item

    Hi,
    We require the profit center and plant code and division in FI
    documents (Posted through billing document or through direct FI entry)
    We are unable to input plant or profit center in the customer line item
    while using F-21 or any other FI transaction
    The plant and profit center is not appearing even in customer line item
    in RV document (From SD billing)
    We have made the Field status group as optional for the reconcilation
    accounts.
    Regards
    Sembian

    Hi
    Profit center / cost center are generally entered in revenue & expense line items (P&L items). Customer / vendor master and line items are balance sheet items which will not show profit / cost centers.
    Regards
    Neeraj

  • Substituion Of Profit Center In VF01

    Dear All,
    Please let me know can we sustitute profit center based on delivering plant and storage location.Please let me know any user exit is there for this requirment.
    Regards,
    Sures
    Edited by: sureshbabusure on May 11, 2011 8:14 AM

    Hello
    Check following SAP Notes:
    - 173798 - User exit for PCA substitution
    - 1532865 - FAQ: Profit center in the billing document
    - 167912 - Substitution call-up points for sales order/billing document
    - 114954 - Partner profit center for intercompany billing
    - 112974 - Subst. Prof.ctr subst.,create KDAUFf.cross-CC sales
    - 39254 -  Profit Center - cross-company code sales
    Also, refer following links:
    - Create Substitution Profit Center when billing
    - Profit Center for Billing Substitution
    Thanks & Regards
    JP

  • Blocking Updating Profit Center on Journal Entry

    Dear Experts,
    We would like to block all finance users from editing/updating profit centre or cost centre on journal entry, especially for all those transactions which are coming from marketing document and payment.  But of course, finance user still can post journal entry transaction and select profit/cost centre.
    Is there a way to achieve this requirement without customization?  Please advise.
    Best Regards,
    Lailus Shobah

    Hi,
    With the help of transaction Notification , you can do this.
    Use Cursor in SP Transaction Notification for your purpose.
    Hope Helpful!!

  • BAPI to update  Profit Center Group

    Hi ,
    Is there any BAPI To update PCG ?
    Moderator message : Search for available information, duplicate thread locked.
    Edited by: Vinod Kumar on Oct 17, 2011 2:19 PM

    Hi
    Try This BAPI...
    BAPI_PROFITCENTER_CHANGE
    Regards
    Ajit

Maybe you are looking for

  • Data from a file need to be read and mapped  into a custom table of R/3

    Hello all, This is related to inbound to  SAP ECC via SAP PI. There is a requirement concerning PI part that data from a file need to be read and mapped  into a custom table of R/3. To have this scenario developed , do we have any other  option than

  • Free Good for Quotation

    Plz. explain the procedure to configure Free Goods for Quatation

  • Black and White RDP session

    Is it possible to view an RDP sessions as black and white?  I'm considering ordering a privacy screen, but I think if the RDP sessions could be black and white that would be sufficient.

  • Memory Leak in Oracle BLOB writing

    Hi, We have strange performance problem. Our profiler shows that Oracle connection object holds the inserted BLOB (byte[]) data. This is not getting released at all. The details are below. BLOB writing method: ============== We are using Hibernate OR

  • Safari reload program 7.0 how?

    Safari suddenly freezes with an attempt to reload a previous web page by sliding the page sideways with two fingers. I have to quit and restart Safari. There must be a glitch in the program. This only occurs on my desktop, not my other Macs. How can