Determine profit center for a partner function or number

Hi,
How to determine profit center of partner function/number.
Can any one help me on the above
thanks in advance
Message was edited by:
        Bobby G

Hi,
For geting the data as u desired ,U can make query by using and joining table VBPA and VBAK.
Use SQVI t-code for creating Query,.
Thanks,
Raja

Similar Messages

  • PFAC rule for detrmining partner functions in Actions of Opportunity

    Hi all,
    In Opportunity, we have scheduled the actions automatically for every phase.When we select phase in Opportunity transaction & save , the activities in that pahse would be created automatically based on conditions with person responsible same as in Opportunity transaction.
    Now I have changed the access sequence in partner determination procedure not to determine person responsible from preceding document means this partner function would be empty in Actions created & I have created rules in transaction PFAC with category 'Agent Determination-Responsibilitis' & responsibility & need the system to deterimine different user for this Person responsible for activities.(Not from preceding document).I have maintained this rule & Partner function in parameters of Actions.& action profile has been assigned to Activity transaction type( Actions). But this rule is not determining the users for the Partner function 'Person responsible'.In activities this partner function 'Person responsible' remains empty.
    Solution to this problem would be very helpful & maximum points would be rewarded for the useful answers.
    Reagards,
    Basavaraj Patil

    Hi Prashanth,
                          Thanks for your reply. I want the Rule  to determine Partner function 'Person responsible in Activity transactions  created in Phases of Opporunities not exactly partner function of Opportunity transaction.The procedure user( CRM Opportunity & Task) is maintained in Partner determination Procedure.
    For this I have assigned different Action profile with Method Call - CRM_DNO_PARTNER_1 containing Parameters for Rule(Structure - PDTASK & Field SEARK -  & Partner function(Structure - CRMD_PARTNER & Field - PARTNER_FCT).
    But still it is not determining Partner Determination in Activities.
    Regards,
    Basavaraj Patil

  • Validation for Profit Center and Trading Partner

    Hi Gurus,
    Please help me in creating validation for Profit Center and Trading Partner.
    I want system to give an error if we use Trading Partner related to particular profit centers.
    Please revert asap.
    Thank You

    Hello,
    Please use T.code OB28 and select the call up point 2.
    Than go to Prerequisite in expert mode and say
    Prerequisite  :           BSEG-VBUND <> ' '
      Check:               BSEG-PRCTR = ' '
      Error Message.: xyz
    I have created Validation understanding if someone gives Trading Partner and also Profit center while posting a doc than it will generate an error message.
    however if you have some diff req please change it accordingly/ take Abapers helps if not very clear.
    I hope this helps
    Regards
    Shireesh

  • Profit center for purchase order without account assignment

    I've requirement to include profit centers in purchase orders without account assignment category.
    The trouble is when there is no profit center maintained in material master.
    Is there a way to determine profit center in purchase order for such cases?

    Dear Abinash,
    Define substitution in GGB1 at line item level as shown below:
    Prerequisite : BSEG-WERKS = Maintain plant
    Substitution : BSEG-PRCTR = maintain profit centre as constant value
    After define it, assign to the co.code.
    Regards,
    Mukthar

  • Determine Profit center in FI postings in Vendor rebate processing (MEU2)

    Hi ,
        We are processing vendor rebates settlement using Tcode - MEU2 , the profit center getting assigned to FI document line is  common profit center and not the one specifically assigned to the material being processed in the Setllement document  .
    If I process vendor invoice or any other GI /GR document for this material profit center is being correctly determined .
    Please let me know where I might be going worng or any additional configuration I need to do to achieve this .'
    Thanks & Regards
    Milind

    to arrive the profit center at a time of Goods Movment, select the cost center for Industry Motor before to that do the settings in OKB9 for the Cost element a default Profit Center for Cost center.
    Hope this helps u in resolve the issue.
    rgd
    YJ

  • BAPI_PO_CHANGE me22n add profit center for purchase requisition number

    Hello all,
    I have to add an item line for a specific sales order( p_vbeln ).
    for that i use BAPI_SALESORDER_CHANGE and it works and the item is inserted.
    ( p_posnr = sales order item and ln_etnr = schedule_line = 1 )
    Now I have to maintain the specific po item line and to insert the Profit Center related to the Purchase Requisition Number that was assigned to the above sales order item like using transaction ME22N.
    when i use the transaction all i have to do is to ADD the Purchase requisition number to the PO Order Number and to add the PROFIT CENTER.
    for this i use BAPI_PO_CHANGE.
    i colect the folowing data:
    from table VBFA( vbelv = sales order number vbeln = l_ebeln)
    PO Number = p_ebeln.
    from table VBEP ( vbeln = sales order number, posnr = the previously inserted sales order item )
    Purchase Requisition Number = l_banfn
    Purchase Requisition Item = l_bnfpo
    from table VBAP (vbeln = sales order number, posnr = the previously inserted sales order item )
    Profit Center = l_prctr
    from table EKKN
    select max(  ebelp )
    from ekkn
    into l_ebelp
    where ebeln = l_ebeln.
    add 10 to l_ebelp
    Purchase Order Item = l_ebelp .
    and i move the data:
      i_t_poitem-po_item = l_ebelp.
      i_t_poitem-preq_no = l_banfn.
      i_t_poitem-preq_item = l_bnfpo.
      i_t_poitem-acctasscat = cc_x.
      APPEND i_t_poitem.
      i_t_poitemx-po_item = l_ebelp.
      i_t_poitemx-po_itemx = cc_x.
      i_t_poitemx-preq_no = cc_x.
      i_t_poitemx-preq_item = cc_x.
      i_t_poitemx-acctasscat = cc_x.
      APPEND i_t_poitemx.
      i_t_poaccount-po_item = l_ebelp.
      i_t_poaccount-itm_number = p_posnr.
      i_t_poaccount-SCHED_LINE = ln_etnr.
      i_t_poaccount-profit_ctr = l_prctr.
      APPEND i_t_poaccount.
      i_t_poaccountx-po_item = l_ebelp.
      i_t_poaccountx-profit_ctr = cc_x.
      APPEND i_t_poaccountx.
    then i use the function BAPI_PO_CHANGE:
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder                = p_ebeln
          testrun                          = l_test
       TABLES
         return                            = i_t_return_po
         poitem                          = i_t_poitem
         poitemx                        = i_t_poitemx
         poaccount                    = i_t_poaccount
         poaccountx                   = i_t_poaccountx.
    BUT i get the folowing result ( messages in return table)
    Insert item for PO-order                                                                               
    Message:  Changing of PO using Enjoy BAPI unsuccessful ;                                                
      Message:  Purchase order item 00120 still contains faulty account assignments ;   
      Message:  Enter Profit Center ;                         
    what should i do?
    best regards,
    emilia

    hello,
    i debugged the function.
    first the data from poaccount is copied in lt_account.
    then this happens:
      PERFORM get_current_data
          TABLES    poitem               poschedule               poaccount
                    pocondheader         pocond
                    extensionout
                    poexpimpitem         allversions              popartner
                    potextheader         potextitem               return
          USING
                    l_po                 lf_header_currency
          CHANGING
                    expheader            exppoexpimpheader.
      exppoexpimpheader = poexpimpheader. "foreign trade export workaround
    after this form is executed poaccount-profit_ctr is empty.
    lt_account-profit_ctr in not empty but then it is not anymore.
    in the form this happens:
    item data
      CALL METHOD im_po->get_items
        IMPORTING
          ex_items = lt_items.
      LOOP AT lt_items INTO an_item.
        l_item ?= an_item-model.
        CALL METHOD l_item->get_data
          IMPORTING
            ex_data = ls_mepoitem.
        ls_mepoitem-ebeln = ls_header-ebeln.
        APPEND ls_mepoitem TO lt_item.
    schedules
    accountings*
        CALL METHOD l_item->get_po_accountings
          IMPORTING
            ex_accountings = lt_accountings.
        LOOP AT lt_accountings INTO an_item.
          l_accounting ?= an_item-model.
          CALL METHOD l_accounting->get_data
            IMPORTING
              ex_data = ls_mepoaccounting.
          ls_mepoaccounting-ebeln = ls_header-ebeln.
          APPEND ls_mepoaccounting TO lt_account.
        ENDLOOP.
    item conditions
    foreign trade (item data; EIPO)
      ENDLOOP.
    so it acctualy copies every item from purchase number ebeln in lt_item.
    for each one of them it copies the account data into lt_account.
    so the last loop is for the item that i want to enhance.
    here it copies all the necessary data in lt_account except of course the profit center because that's the one that i need to insert.
    after this loop there is a form:
      PERFORM move_account_out TABLES lt_account
                                                                ext_poaccount
                               USING  header_currency.
    where the ext_poaccount is the poaccount parameter.
    this form:
    clears ext_poaccount.
    copies the data from lt_account into ext_poaccount.
    and returns the ext_poaccount with the empty Profit center field
    and so after performing get_current_data my parameter is deleted.
    then it's almost the end of the function and nothing else related to the poaccount parameter.
    so it's no use for me to insert the field Profit_Center?
    is there another FM that i should use to be able to insert the profit center?
    what should i do?
    Best regards,
    Emilia

  • Substitution for profit center for credit line item

    Hi
    There is some common material sold in two segments. (Example head phone is sold from cell phone segment and computer segment). These segments are created as a division also for SD purpose.
    Now for determining the profit center, i am using the validation rule. Logic: if the division in sales order is cell phone, entry should be posted in cell phone division. So my revenue and PGI will be in cell phone segment.
    When head phone was procured, it was procured in computer segment (division). So my inventory credit should be the posted to computer segment (via profit center) and consumption should be posted to cell phone division (for matching with revenue). Hence i want some substitution rule for posting to two different profit center ( or segments, determined by profit center) at the time of PGI. Debit (consumption) should be to the profit center for cell phone and credit (inventory posting) should be to profit for computer.
    Please help.
    Edited by: Meenu_ND on Jun 23, 2011 8:02 PM

    Hi
    In an ideal scenario, profit center is derived from material master. Since, your business is such that profit center is nto known as unique for a material master, try using the following BADI to derive profit center at the time of Goods movement document. You should not maintain profit center in material master in such a case.
    MB_MIGO_ITEM_BADI
    MB_MIGO_BADI
    Regards
    Sanil Bhandari

  • Profit Center for Vendor/Customer line item in F-02

    hi all,
    We have implemented SAP ECC 6.
    At the time of vendor line item posting, there is no input field for profit center.
    Can anyone please tell the way out for Profit Center field pop up in case of t-code like f-02 for vendors & customers
    Abhishek

    Please note the following:
    - On FBL5N and alike customer/vendor line item reports you won't find
    the field profit center filled; hence you can't directly input it during document entry (as pre-mentioned)
    and the profit center for customer/vendor gets inherited (as of document splitting functionality) from the document other line item(s) (according to the defined document splitting rules...)
    - Yet you can use the below reports (with New G/L.) to get the customer/vendor line items wise reporting over a profit center (i.e. unlike FBL5N & showing the inherited customer/vendor profit center in the G/L. view)
    S_AC0_52000887 - Line Items->Open Items->Receivables: Profit Center
    S_AC0_52000888- Line Items->Open Items->Payables: Profit Center
    In both reports you can use:
    "Custom Selections" -Dynamic Selections Icon- enabling you to filter the output according to
    a. Customer line items specific data entered within the posted document(s)
    b. General ledger items of the G/L. view of the posted document(s)
    & the "Output type" includes like most of the New G/L. Reports:
    - Graphical report output
    - Classical drill-down report
    - Object list (more than one lead column)

  • Partner Function Queries Multiple Partners for Single Partner function SO

    Hi Experts
    Is it possible to  enter multiple partners  for Single partner Function in SALES ORDER
    For Ex : We have created Z1 as a Partner function for Sales Executives : and Sales Executive 1 , Sales Executive 2 Sales xecutive 3 etc as sales Partners for Z1 partner Function .
      Now Is it possibe to enter for Z1 -
    sales Exeutive 1
                                                Z1----
    Sales executive 2
                                               Z1----
    Sales Executive 3............
    I would be greatful if you repond the same at the earliest
    Thanks
    Rashmi K

    Hi Rashmi,
    The requested function is possible.
    In the customizing of partner function, you could set the field Unique as blank. Then you could enter multiple partners for same partner function.
    IMG->SD->Basic functions->Parnter determination->Partner Functions
    Hope it helps.
    Thanks and best regards,
    Smile

  • Difference in Profit center for GR/IR account in MIGO & MIRO Transaction

    1) We have created material 106267 with material type ROH. We have assigned profit center 1001052999 (common profit center) to material.
    2) We have created WBS element MUM-RIV002.SS.RC.RF with profit center 1001052002.
    3) We have created PO 4000000236 for account assignment category u2018Qu2019 for the above material with WBS element MUM-RIV002.SS.RC.RF   . After posting GRN for PO 4000000236 we have identified that for GR/IR account profit center is taken from material master & for stock account profit center is taken from WBS element.
    Please find the below Flow
    In MIGO
    Entry
    Accounting Document number in Entry View
    5000001125
    PSKY          G/L Code      Description
             Amount
         Curr.
              Profit Center
         WBS element
    89          231101     RAW MATERIAL STOCK     2,000.00     INR          1001052002     MUM-RIV002.SS.RC.RF
    96          162101     GR/IR-Material     -2,000.00     INR          1001052999     MUM-RIV002.SS.RC.RF
    Document number in Ledger View
    L.item     PK     SG     Account     Description         Amount     Curr.     Tx     Profit Ctr     WBS element
    1     89          231101     RAW MATERIAL STOCK     2,000.00     INR          1001052002     MUM-RIV002.SS.RC.RF
    2     96          162101     GR/IR-Material     -2,000.00     INR          1001052999     MUM-RIV002.SS.RC.RF
    3     50          162001     InterSegment Clrg     -2,000.00     INR          1001052002     
    4     40          162001     InterSegment Clrg     2,000.00     INR          1001052999     
      It should take profit center from WBS element for GR/IR account & Stock account but for GR/IR account profit center is taking form material master & for stock account profit center is taking from WBS element.
    MIRO
    Entry
    Accounting Document number Entry View
    5100000657
    PK     SG     Account     Description         Amount     Curr.     Tx     Profit Ctr     WBS element
    31          100000     Ambuja Cement Ltd     -1,996.00     INR     V4          
    86          162101     GR/IR-Material     2,000.00     INR     V4     1001052002     MUM-RIV002.SS.RC.RF
    40          254001     VAT Receivable     80     INR     V4          
    50          172103     TDS PAYABLE -194C     -42     INR               
    50          176101     WCT-TDS payable     -42     INR               
    Document number in Ledger View
    PK     SG     Account     Description         Amount     Curr.     Tx     Profit Ctr     WBS element
    31          160100     CRS-Domestic Supp     -1,996.00     INR     V4     1001052002     
    86          162101     GR/IR-Material     2,000.00     INR     V4     1001052002     MUM-RIV002.SS.RC.RF
    40          254001     VAT Receivable     80     INR     V4     1001052002     
    50          172103     TDS PAYABLE -194C     -42     INR          1001052002     
    50          176101     WCT-TDS payable     -42     INR          1001052002     
    In the MIRO Accounting Document profit center for [162101] GR/IR-Material A/C has taken from WBS element
    Please note that we are using document splitting with Profit center is mandatory
    We have created same scenario for Cost center. After posting the GRN profit center is taken from cost center for both GR/IR account in MIGO & MIRO accounting documents.
    Plez help

    Hello
    ANy suggestion for question & if solved do let me know

  • B/S Profit Center for GR/IR clearing act in MIGO is fine but not in MIRO

    Hi Experts,
    Can you please help on the below as am posting this after reviewing the existing postings:
    We are in ECC 6.0 and implementing Classic GL.
    While posting MIGO and MIRO the GR/IR clearing account (B/S account) is getting the Profit enter from expense line item.
    Requirement is to have the B/S profit center from 3KEH.
    As an option we created one Substitution so getting B/S profit center only for MIGO but MIRO is still getting the exp Profit center.
    How to get the B/S profit center for MIRO also?
    Thanks,
    Sudha

    Hello
    ANy suggestion for question & if solved do let me know

  • Assigning profit center for vendor to vendor transfer (F-02)

    Hi,
    We are having two profit centers and would like to generate financial statments each profit center wise for which we must assign profit center for each entry passed.
    Now we want to transfer balance from one vendor to another(which is a normal scenario in our case) with tcode F-02, but it doesn't allow us to select profit center  and at the same time it gives  an error that profit center not selected.
    kindly guide us
    Sanjay

    Hi,
    You have not mentioned teh Verison you are in.
    Assuming you are in ECC 6.0 (As the error posted seems to be more relevant for this version) and document splitting is enabled, you cannot transfer from vendor to vendor or customer as profit centres in recon accounts are not taken by system.
    So you need to take a intermediary GL account for first transferring from one vendor to  GL account where you will be giving the profit center in teh gl line item and save. After that you use same GL account to transfer th amount to other Vendor account.
    The system derives the proft center from GKL line item to teh AR/AP line items. Use F-44 or F-32 as the case may be.
    Check document type in F-02 if you are using this as document type also controls the psoting in new GL.
    Reward if useful.
    Sarma

  • Open profit center for reconciliation account

    Hi experts
    I need to display the field profit center for reconciliation account and I check  Field Status Group  (OBC4 & OB41). The field Profit center is mandatory.The new legder is not activate
    But when I use the FB01 , the profit center is not available 
    So It s possible to display the field Profit center for reconciliation account without the New Ledger ??
    Thanks for your help

    Hi
    If you are referring to Asset Recon account - You can not enter any Pr Ctr manually in it...
    Just ensure
    1. Cost Center is maintained in Asset master
    2. Maintain KOSTL in T code ACSET for Acq Posting and transaction type *
    3. Create APC account as Statistical cost element
    Whether New GL or not, PC in Asset recon a/c depends on these settings.... You cant enter it manually in the APC acount
    Regards
    Ajay M

  • Profit center for Open items

    Hi,
    We have a stanndard report for customer evaluation is 'RFDOPR00'.This report is working based on company code level.
    But our client needs a custom report which should work based on Profit center.
    for that I have created a report for customer evaluation taking profit center value from BSID table. But in this table no PRCTR value filled except  0099990000.
    So in this case, how can we get profit center value to make a report.
    Kindly provide me a solution for this...
    Thank you!!!
    Regards,
    Anilkumar.G

    Hi,
    Thanks for your replies...
    Actually the standard report program is using LDB 'DDF' and inside source code we have PRCTR. But not able to find the table name (which are having open items) where PRCTR value will be available..
    Regards,
    Anilkumar.G

  • Default Profit Center for Retained Earnings Account

    Hi,
    We wish to default a profit center for our retained earnings account. Currently, the system carries forward P/L balance to Retained Earnings Account Profit Center wise.
    Kindly advise on how we can default a particular PC for retained earnings account. Also in case it is possble, does the system balance the PC wise trial balance by changing balances in Inter PC Balancing account (Zero Balance Clearing)?
    Thanks!

    Dear,
    You can default through 3KEH in classic GL and through FAGL3KEH in New GL
    Br, Vivek

Maybe you are looking for