How to determine highest profit group center

Hi,
Is there any bapi or fm or database table that can show all profit center group a profit center belong?

hi check this t code. KCH6N - Display

Similar Messages

  • How to determine the purchasing group using BADI BBP_PGRP_FIND

    Hello Friends
    We use SRM Server 5.5 (Classic scenario).
    As you know that, purchasing group has the responsible product categories in PPOMA_BBP, when user creates the shopping cart to determine the purchasing group. 
    In our case, we should determine the purchasing group using other criteria.
    MM side is OK to determine the purchasing group using specific criteria.
    Because Material Master has the purch. Group information. 
    In case of SRM, we should develop the logic using BBP_PGRP_FIND BADI.
    But I’m not sure how to use this badi.
    We want to determine the purchasing group based on the following logic.
    If described shopping cart without product ID
    Do Standard purchasing group determination logic.
    Else
    Assign the purch group from MARC- EKGRP (Purchasing Group)
    Is it possible to determine above the logic?
    If yes, Could you give me some information?
    Thank you,
    Best regards,
    SH
    Message was edited by:
            So Hee Lee

    Thank you for your answer.
    I found the way to develop the our logic using BADI: bbp_pgrp_find.
    But I’m not sure the following logic is correct.
    To differentiate described req. or product id req, We check the E_ITEM – PRODUCT using BBP_PD_SC_GETDETAIL.
    IF E_ITEM – PRODUCT is blank, Read the category ID to find the purchasing group.
    To find the purch. Group, we can use FM:  BBP_OM_DETERMINE_RESP_PGRP.
    Import parameter: IS_RESP_ITEM_DATA – Category _ID
    Export parameter: ES_PURCH_DATA
    ELSE
    CALL the customer function to read the R/3 purchasing group from MARC- EKGRP
    Search the HRT5500-TABNR using purchasing group from R/3.
    Search the HRP5500 – OBJID using HRT5500-TABNR
    Call the FM:  BBP_OM_DETERMINE_RESP_PGRP
    Import parameter: IS_RESP_ITEM_DATA – PROC_GROUP – OBJID
    Export parameter: ES_PURCH_DATA
    Thank you
    Best Regards
    SH

  • How to add the Profit center Group in the PA report KE33.

    Hi Frnds,
    How to add the Profit center Group in the PA report KE33.Iam not able to find PC group in the list to add to the Charateristics already added.

    Hi
    PC group is not available as a Char in COPA..
    if you want to do that, either create a Char Hierarchy in KES3 for the Char Profit Center
    OR
    Create a WW char in KEa5 and write a derivation rule using the method "Enhancement" .. Write ABAP Code in COPA0001 exit
    bt, Ajay M

  • How to find the profit center group for a profit center?

    How to find the profit center group for a profit center?

    Hi,
    try this also
    In order to pass the setid parameter of the FM, you have to concatenate the following things
    Setid + KOKRS (Controlling area) + Profit Center Group into one variable.
    In my example below, I have declared as constants and concatenating to gv_setid.
    gc_01016 is the set id for profit centers
    gc_kokrs is the controlling area
    gp_pprct is the Profit Center group entered in the selection screen.
    You will get KOKRS value from the cepc-kokrs.
    data :   gc_0106(4)   TYPE c VALUE '0106',
               gc_kokrs      LIKE cepc-kokrs VALUE 'ABCD'.
               gv_setid          LIKE sethier-setid,
               gt_set_values_1   LIKE setvalues OCCURS 0 WITH HEADER LINE.
      CONCATENATE gc_0106  gc_kokrs gp_pprct INTO gv_setid.
      CONDENSE gv_setid.
      CALL FUNCTION 'G_SET_TREE_IMPORT'
        EXPORTING
          client                    = sy-mandt
          fieldname                 = 'RPRCTR'
          langu                     = sy-langu
          setid                     = gv_setid
          tabname                   = 'GLPCT'
          no_table_buffering        = 'X'
        TABLES
          set_values                = gt_set_values_1
        EXCEPTIONS
          set_not_found             = 1
          illegal_field_replacement = 2
          illegal_table_replacement = 3
          OTHERS                    = 4.
    By using the above FM you will get the values into gt_set_values1 once sys-subrc value eq 0, it is internal table which consists of all the profit centers for the proft center group.
    Regards,
    Venkatesh

  • How to Check the Profit Center - Sales Group - Sales District for a BP

    Hi,
    How to Check the Profit Center - Sales Group - Sales District for a Business Partner?
    I am not able to identify which Profit center - Sales Group- Sales District was assigned to a Business Partner. Please provide me some inputs to check this.
    thanks
    Yadayya

    Hi
    Pls check these tables for data or prepare a z report with abapers.
    GLPCA u2013 PCA line items
    VBKD u2013 sales district
    TVKGR u2013 Sales group
    BUT000 u2013 Business Partner
    Regards
    Sridhara Rao D

  • Auto Determination of Profit Center in Billing

    Dear all,
    we are using WBS element for posting accounting document from there system is determining the Profit center required for billing , Now I want to remove this WBS element and would like to determine profit center from Material Master Sales General Plant data in billing.
    If I am deactivating the setting of  WBS  element in sales order , system is giving me an error at billing stage , that accounting doc is not generated because sales gl required a  link of cost center,
    But iin our business profit center keeps changing as per the sales grp.
    So please advice how can I solve this issue.
    SO i can determine the prf center/cost center from material master in      billing.
    Sukh

    You need to have both
    - VKOA (GL assignment)
    - OKB9 (auto acct assignment)
    configured for sales billing.
    In OKB9, you have to map one cost center to one GL, say, GL acc 111111 = A100.
    Now for your material # 123456, you need to assign to GL acc 111111.
    Therefore, for that you can go for a substitution rule TCode GGB1 to replace the cost center based on material.
    Finally, maintain call up points for substitution in Tcode OKC9.
    Regards
    JP

  • How to change the Profit Center in Sales Order

    Hi Gurus,
    Previously they setted the profit center (YB999) in sales order, now i want to change the profit center and need to give the amount into this profit center 100500.
    So, could you guide me how to change the profit center in sales order.
    Thank you for your replies.....
    Thanks & Regards,
    Chandrababu.B
    Edited by: Chandrababu Naidu on May 25, 2011 12:44 PM

    Hi
    If this SO is processed partially - i.e. transactions happened - You cant change it
    You can use ABAP and change it in Debug mode, but not advisable... Better to short close the SO and open a new SO for Balance qty
    br, Ajay M
    Edited by: Ajay Maheshwari on May 25, 2011 5:10 PM

  • Error in determination of profit center

    Hi friends,
    While creating order i am getting an error as "error in determination of profit center".
    Can any one throw some light on these.
    Thanks in advance
    balu

    Hi, lakshmipathi.
    Profit center is there in material master, and also OKB( against my company code, still it is not reflecting in the order and i am gettiing an error as "Error occured during profit center determination".
    Can you please explain what could be other options for this
    thanks
    balu

  • How to determine the cost center

    Dear experts:
    Could you give me some suggestions about how to determine the cost center depending on the different
    storage location when we use the t-cdoe MI07
    Thanks in advance.
    Rong

    Hello experts!!!
    how have you resolved this issue???
    I have the same situation, and i dont know how to manage this.
    Thank you very much in advance.
    Best regards,
    M. Cecilia Vacatello.

  • How determine de Purchasing Group ID

    Hello,
    I need to determine the purchase group ID (field EKGRP) in SRM from a purchase or a shopping cart.
    Until now I can get the GUID value (ex. 50000026) but I need the field EKGRP. I have seen that this field appears into the  BBP_PDBEH table, but it refers to backend system.
    Do you know how can I get it?
    Thank you in advance.
    Best regards.

    Please find the details below:
    1. Get the Org Id say O 50012979 and pass it to the table HRP5500
    OTJID = 'O 50012979'
    Here select the value TABNR
    2. Pass the TABNR value to the table HRT5500
    TABNR = 'TABNR from HRP5500 for O 50012979'
    You can get the value EKGRP here.
    Hope this solves your problem.
    Regards
    Kathirvel

  • How to Possibal in Profit Center Mandatory in AR Invoice

    Dear Experts,
    How to Possibal in Profit Center Mandatory in AR Invoice through SP_Transaction _Notification ??
    I have write the code below
    <If @object_type = '13' and (@transaction_type = 'A')
    begin
    IF EXISTS (SELECT DOCENTRY FROM inv1 WHERE (ocrcode is null or ocrcode2 is null or ocrcode3 is null or ocrcode4 is null) AND DOCENTRY= @list_of_cols_val_tab_del)
    begin
    set @error = 1
    set @error_message = 'Please enter a Profit Center before Save'
    end
    end>
    Dixit Patel

    Hi Dixit Patel,
    Try this,
    IF @object_type = '13' AND @transaction_type IN ('A', 'U')
    BEGIN
    IF EXISTS (SELECT T1.DocEntry FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE (T1.OcrCode IS NULL OR T1.OcrCode = ' ') AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    Set @error =1
    set @error_message = 'Please enter a Profit Center before Save'
    SELECT @error , @error_message
    END
    END
    OR
    IF @object_type = '13' AND @transaction_type IN ('A', 'U')
    BEGIN
    IF EXISTS (SELECT T1.DocEntry FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE (T1.OcrCode IS NULL OR T1.OcrCode2 IS NULL OR T1.OcrCode3 IS NULL OR T1.OcrCode4 IS NULL)
    AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    Set @error =1
    set @error_message = 'Please enter a Profit Center before Save'
    SELECT @error , @error_message
    END
    END
    Regards,
    Madhan.

  • How to make the Profit Center Field Mandatory in Cost center Master Data

    Dear All,
    Please let me know how to make the Profit Center Field mandatory in Cost Center Master Data as well as my Internal Order Master Data?
    Thanks in advance!
    Regards,
    Rajeswari Shankar.

    Hi Rajeswari,
    You can modify message number KS096 to "Error" via OBA5. Thus, the users would no be able to save a cost center without entering a profit center. (Depending on your release you can make KS096 modifiable by implementing note 486781.) 
    Concerning the internal orders (transaction KO01), you can run KOT2 and set Profit center field as required entry in "change field selection" section.
    Regards,
    Greta

  • Mass change of profit/cost center groups

    we have a requirement to mass change the descriptions for profit/cost center groups. We tried out folowing options but they are not working.
    1. BDC recording for KCH2/KSH2.KCH5N - i think these are not supported in BDC.
    2. LSMW using available BAPI... it can be used only if the group is not assigned in the hierarchy.
    Please let me know if there is any other way of handling this.

    Have you seen note 314528 ?
    Rob

  • How to unlock a profit center

    Hi All,
    While creating Delivery for sales document ,i am getting error message " Profit Center is locked for posting"
    and when i am using KE52 to unlock the profit center;this field is deactivated.
    Please suggest how to unlock the Profit Center.
    Thanks and Regards
    Payal Saxena

    Hi Payal,
    The profit centre your are looking for unlocking might be a  dummy profit centre, for dummy profit centres the lock indicator field will be grayed out.
    You can do locking or unlocking for normal profit centres.
    Check the same
    regards
    srikanth

  • How Do I determine what AP Group an AP Belongs to with WCS?

    I am running WCS 7.0.164 and I can't seem to find where I can determine what AP Group an AP belongs to. Can anyone point me in the right direction?
    i'd expect it to be a field under Monitor/Access Point but I don't see it and my google-fu is getting me nowhere.
    Thanks!
    Mike

    Hi,
    From the Monitor page of the WCS >> Configure                                     >                                      Access Points  > Click on the AP >> Access Point Detail >> here you can see AP Group Name.
    This will let us know..
    Lemme know if this answered your question.
    Regards
    Surendra
    ====
    Please

Maybe you are looking for

  • Forms 10.1.2.0.2 application with ie7 and Jvm 1.5_11 unstable.

    Hi, We are running a 10.1.2.0.2 forms application, using the sun jvm, version 1.5.0_11-b03 . Since we started using IE7, some users experience sudden "hangs" or a total crash of IE& + JVM when starting the application. A log file appears with the fol

  • String problem java.lang.NullPointerException

    Hii all :) How are u?? :) I have a little a problem with String object in this class (You can say its a homework ^__^ ). public class Personne {      private String nom;      private String prenom;      private int age;      public Personne(){       

  • Just to share experience: HDMI - DVI cable

    I got my DVD and XBOX occupying the only two component slots of my plasma TV already. There is a DVI slot (but no HDMI) so I thought I would try the HDMI -> DVI cable from ExtremeMac Apple has in its store. Turns out the screen quality is visibly muc

  • Flash Player 11.8.800.174 on avast

    Greetings everyone. I have a problem in Flash Player versions of Internet Explorer Active-x. When I download here, a avast dialog box appears and says that the "install_flash_player_11_active_x.exe" file has a poor reputation along with a written sta

  • Mismatch assignment error`

    I have import the Loan Flow Demo sample from oracle sample example dir. I deployed the bpel in default domain. When I run the bpel, means I entered the ssn, loan amount, car model, car year & credit rating thro bpel console. After that I checked the