Skip to Content
author's profile photo Former Member
Former Member

UserExit in VF01 at time of save that will reflect in Profit Center

Hi Experts,

I want to know if there is any user exit that can used in changes of profit center while Invoice Creation or Cancellation.

Our requirement is to Divide the Profit center of Finished Goods into The Profit centers of Raw materials used to create the finished good.

If A,B,C are the Raw Materials to create D Finished Good.

A is having 001 Profit Center

B is having 002 Profit Center

C is having 003 Profit Center

D is having 004 Profit Center

Now currently the Invoices are made from delivery where in Finished Good was used and FG's Profit center is being displayed in Invoice.

Current requirement is to divide the profit center of FG 'D' into 3 Profit centers as 3 Raw materials were used for it and that should be reflected

in Accounting.

At the time of Save the profit centers of of raw materials should be reflected not the finished goods.

Is this possible via any user exit that is available at time of save.

Thanks,

Kunal Leo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Jan 03, 2014 at 11:23 AM

    Hi Kunal -

    Please check the Substitution (GGB1) / BTE (FIBF) for this. Probably it may help you.

    Regards,

    Atul Mohanty

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 03, 2014 at 01:19 PM

    Hi,

    Please check EXIT_SAPLV60B_008 component of user exit SDVFX008(User exit: Processing of transfer structures SD-FI).

    Thanks

    Deependra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 03, 2014 at 01:26 PM

    Hi

    these are the user exit for VF01, i will sujjest you to put break point in every user exit

    and run VF01, and then it will prompt you to different user exit based on each screen of VF01,

    choose the appropriate user exit and do the needful

    SDVFX001 User exit header line in delivery to accounting

    SDVFX002 User exit for A/R line in transfer to accounting

    SDVFX003 User exit cash clearing in transfer to accounting

    SDVFX004 User exit G/L line in transfer to accounting

    SDVFX005 User exit reserves in transfer to accounting

    SDVFX006 User exit tax line in transfer to accounting

    SDVFX007 User exit: Billing plan during transfer to Accounting

    SDVFX008 User exit: Processing of transfer structures SD-FI

    SDVFX009 Billing doc. processing KIDONO (payment reference numbe

    SDVFX010 User exit item table for the customer lines

    SDVFX011 Userexit for the komkcv- and kompcv-structures

    V05I0001 User exits for billing index

    V05N0001 User Exits for Printing Billing Docs. using POR Procedu

    V60A0001 Customer functions in the billing document

    V60P0001 Data provision for additional fields for display in lis

    V61A0001 Customer enhancement: Pricing

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2014 at 01:31 PM

    Hi,

    check this user-exit and write the coding as below!

    RV60AFZC

    form userexit_fill_vbrk_vbrp.


    Populate the profit center:

    Decide the W_prctr is based on your raw materiel or finished goods
    vbrp-prctr = w_prctr.


    endform.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 03, 2014 at 04:44 PM

    Hi

    See SAP Note 173798 - User exit for PCA substitution

    Regards

    Eduardo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2014 at 02:12 PM

    Hi All,

    I did not mention one thing after saving the Invoice the profit centers in accounting should be displayed.

    for example

    In the above Accounting Document only finished goods profit center and the amount and Invoice is displayed.

    What my requirement is if in Invoice the Finished good is made from 3 raw materials(A,B,C) those

    3 Raw materials Lines and Profit center and the Amount should be displayed on the said screen.

    like

    REF.DOC No ITM PERIOD Profit Center Partner PC Account ACC.Text In pctr Local Curr Curr

    90000757 11 10 Pr.Ctr for A 400000 Sales 15592.5 USD

    90000757 12 10 Pr.Ctr for B 400000 Sales 15592.5 USD

    90000757 13 10 Pr.Ctr for C 400000 Sales 15592.5 USD

    * 46777.5 USD

    this is what is to be done.So from which user exit it can be achieved.

    Thanks a Lot,

    Kunal


    1.png (17.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.