Steps for Enhancing Profit center in FI AP-AR

Dear All,
Kindly provide me the steps for enhancing Profit Center in FI AP-AR

hi sahil,
Stesp to append the filed
-- go to-> RSA6 selece ur datasource & click on the push button enhance extract structure
-- By default the system will propose a extract structure name which starts with ZA accept it.
-- In the next screen enter the field name & componant type, make sure that the field name will start with ZZ.
-- Save it and activate the extract structure
Next goto RSA6 --select the data source that you want to enhance . in order to populate the data to the filed that we had appended to the structure we need to write ABAP code
to write the ABAP code to populate the data to the filed that are appended follow the below steps
1) GOTO Tcode: CMOD
2) Select your project you are working
3) sap enhancement RSAP0001.its provided by SAP
4) Choose the exit which is called when the data is extracted.
EXIT_SAPLRSAP_001 - Transaction data
EXIT_SAPLRSAP_002 - Attribute
EXIT_SAPLRSAP_001 - hierarchies
5) it will take you to ABAP editor screen where you will find the option include ZXRSAU01--double click on it it will take you to ABAP editor screen.
6) below is sample code
data : l_s_ds like your data source extract structure,
l_vbkum like mbew-vbkum,
l_meins like mara-meins,
l_tabix like sy-tabix.
case i_datasource.
WHEN '0FI_AP_3'.  "Vendors: Line Items
      L_TABIX = SY-TABIX .
      IF NOT L_0FI_AP_3-BSCHL = '25'.
                WHERE VBLNR = L_0FI_AP_3-AUGBL
                AND   ZALDT = L_0FI_AP_3-AUGDT.
        IF SY-SUBRC = 0.
          L_0FI_AP_3-ZZCHECT = L_CHECT.
                                                   AND SEGMENT NE ' '.
When ever the data source is used to extract the data the when statement will be executed. so that the appended filed will be populated with data.
Check the below links
Hope this helps

Similar Messages

  • Display Report for 30 Profit center in 30 sheets in a Workbook

    Hi all
    I have a very unusual requirement .
    Part A.
    I need to display a particular report for a profit center , then I need to display the same report for each inner node of the above Profit center in separate sheets . & all these sheets should be renamed with the name of the Profit Center .
    These then need to sent via a Information Broadcaster to the user.
    e.g if I have a Profit Center A. & within Profit Center A , the inner hierarchy nodes are A.a , A.b , A.c etc
    Then my 1st sheet should contain the report for Profit Center A with the sheet name as Profit Center A . then the next sheet would contain the report for Profit Center A.a & also renamed as Profit Center A.a , then 3rd sheet would contain the report for Profit Center A.b & also renamed as Profit Center A.b
    This is part A. Would this be possible  ?
    I know that I can manually add the report each time in each sheet separately . But can be this done Dynamically ?
    Also the renaming of the sheet , can something be done to pick up the value of the profit center manually ?
    Part B
    I need to send the above prepared report workbook through Broadcaster to the users.
    can the above settings for multiple values of the Variable Profit center be created in the broadcaster setting ?
    When I searched for this , the Broadcaster allows multiple variables selection for some Formats ,but not for Excelsheets.
    Please help me out here.

    Check SPRO configuration for account assignment settings @
    SRM server->cross application basic settings->account assignment->Define account assignment
    1. Check for your acc assignment category for ex. WBS , what are account assignment fields are maintained.
        if not there maintain profit_ctr from search help.
    2. If you are not able to track profit_ctr in search help then you may need to make respective profit center entry in table BBP_C_ACC_F and then perfom step 1.
    after above steps even you are not able to get profit center on screen then you may need to check
    1. Meta data configuration
    2. WDP component for profit_ctr field

  • Vendor Trial Balance for a Profit Center

    We are on ECC 6.0 and created plants as a profit center. Now, need to develop a custom report for getting vendor trial balance for a profit center. The standard report FK10N does not provide the balance for a profit center. However, while pulling the data from BSEG, system is pulling all the Line Items, when I filter on GL Account Number (BSEG-HKONT), which i can then filter on Profit Center (PRCTR). However, when i fetch the same data on a combination of GL Account Number (BSEG-HKONT) = 304000 and Profit Center (BSEG-PRCTR) = USUR, system shows only certain line items, even though the Line Items are there in the table BSEG. Pl suggest
    Sanil Bhandari

    Use TCOD FGI0 for more drilldown report on GL, Vendor, Customer.

  • New cash journal for new profit center gives error of profit center

    Dear Friends
    I have configured a new Cash G/L for new profit center .But while posting throug T-code FBCJ the entry it gives following error .
    Field Profit Ctr is a required field for G/L account 1000 207001550
    Message no. F5808
    The value for field "Profit Ctr" in the interface to Financial Accounting is an initial value but you are required to make an entry in the field selection for G/L account "207001550" in company code "1000" linked to the field selection for posting key "50".
    System Response
    It might be an error in the configuration of the G/L account field selection. The initial application, used to call up the interface must otherwise define a value for field "Profit Ctr". If this is the case, contact the consultant responsible for the application used to call up the interface or get in contact with SAP directly.
    But its working file with another Cash G/L While the Field Status is same as the field status of another cash G/L.

    through Transaction 3KEH, Default Profit Center can be set against Required GL (i.e Cash account in your case)
    Warm Regards...

  • BTE for changing profit center based on MCN values

    Hi ,
    I need to change the profit centre value in accounting document line items based on MCN number. The iMCN value is updated in a BTE .We tried using substitution but since BTE is triggered after substitution ,MCN value is not updated. Kindly suggest a way to achieve this .
    Mohammed Aslam

    Hi Srilakshmi,
    There is no field for changinf  Profit center in that BTE.Now thinking of adding PRCTR using append structure to BSEG_SUBST and achieve it.
    Will let you know if it works.
    Thanks for the reply
    Mohammed Aslam Rasheed

  • 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.
    Kiran I

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

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

    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.
          client                    = sy-mandt
          fieldname                 = 'RPRCTR'
          langu                     = sy-langu
          setid                     = gv_setid
          tabname                   = 'GLPCT'
          no_table_buffering        = 'X'
          set_values                = gt_set_values_1
          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.

  • Number Range Creation for Manual profit Center

    Hi all,
    Where do we maintain numbe range creation for manual profit center documents

    Maintain all number ranges for controlling area in KANK.

  • Wrong step picked from Profit center Substitution.

    we have a number of steps created under a substitution rule (profit center accounting).
    I created a new step (1) with more details like sales org, sales order type, distribution channel, sales group and sales office with profit center "XXXX".
    However, there is an existing step (2) with the same sales org and distribution channel having profit center constatnt as "YYYY" in the same rule.
    I have placed the new created step above the existing step. so 1 precedes 2 in the rule.
    However, when creating the sales order it is picking up the profit center "YYYY" from the step 2. the details in the sales order matches for all the sales area data and order type of step 1.
    where am I making the mistake?
    Please help me on this.


  • Changing validity date using BAPI_PROFITCENTER_CHANGE for a profit center.

    Hi Friends
    I need your help to know if we can use BAPI_PROFITCENTER_CHANGE to change the validity period of a profit center.I am using this BAPI in a LSMW program.
    The changes I want to make are something like changing the validity dates from
    1) 01/01/2006 - 12/12/9999 to 01/01/2007 - 12/12/9999
    2) 01/01/2006 - 12/12/9999 to 01/01/2005 - 12/12/9999
    3) 01/01/2006 - 12/12/9999 to 01/01/2006 - 12/12/2010

    change document in profit center change
    need a function module for profit center
    Please give me reward points...

  • FI Table for Partner Profit Center

    Dear Friends,
    My client has requested for an FI report showing the Partner Profit Centers. The report needs to reflect the profit center & its partner profit center with respect to the GL account.
    I presume an ABAP logic has to be written for this report in order to map the sender & receiver PCs.
    I need a standard table in SAP where for the FI accounting documents I can see the profit centers & their partner PCs.
    Please help me as soon as possible.
    Thanks & Regards,

    not sure where exactly you are adding code.
    but in normal ABAP it would be

  • How to find profit center group for any profit center

    KCH3 is the transaction code.
    When you select ant profit center group and hit enter you will see the entire hierarchy, profit center groups and profit centers belonging to the group.
    Now my question is i have a report where i need to display the hierarchy of the profit center that is fetched, i.e. i am getting the profit centers from FLAGFLEXT (data base) table.
    Now i need to display the hierarchy from the top node till the profit center that is fetched in the report.
    Please suggest, BAPI_PROFITCENTERGRP_GETDETAIL only gives all the profit center groups in one internal table and all the profit centers in one internal table.
    I am looking for a place/ function module or a table that returns the relation between the profit center group and profit center.
    Thank you.

    In Table SETLEAF,
    1. Pass in field SETCLASS as '0106'.
    2. Pass in field SUBCLASS with controlling area.
    3. Pass Profit center in Field VALFROM.
    4. You will get Group name in Field SETNAME.

  • Userexit for populate profit center entry without material in T.code CORO.

    Hi guru's
    we are running T.code. CORO.. we want to populate profit center entry without material. can any one tell me the exact user-exit used for this and . can you tell me the procedure how to find the specific userexit trigger at that point while we are running any T.code.
    Thanks in Advance..
    user exist in PP for transaction code CORO-process order without matl code to populate profit center entry, can u plz find out that & send it to me..

    Thank you all for your valuable input.
    Srinivasa, your suggestion is very good, especially when calculation of variances/WIP is required. But again as there is no cost relevant material where the WIP/Variances will be settled during settlement process?
    1) PP need to create process order without material because changeover cost should not be charged to either material and capacity hours are consumed during changeover. 2) CO need to identify the cost of changeover which should be charged to cost center. So far we have achieved both of these two objectives by the following activities:
    Creation of Process Order without material using CORO T.Code     say 3 hours of changeover occurred we create order with quantity of 3 Hours. And confirmation of activities quantity 3 using COR6N so cost center is credited by 3 x rate per hour. As there is a separate Process Order type for Changeover we can identify changeover quantity and cost in a given period.
    After contributors feedback in this thread I have come to conclusion that I don't need to assign Settlement Profile and PA Structure to Changeover Process Order type. So no need to run Process Order settlement. As there is no specific required for Changeover WIP/Variances as well.

  • Substitute rule for default profit center

    Hi all,
    I have a One GL for VAT account for three regions. in each region we have 30 profit centers.
    Here my problem is when i post the sales transaction it is posting into  relavent profit center but my client wants  to post into regional office profit center instead of branch profit center.
    there is no chance to create default profit center for vat account in FAGL3KEH.
    How to write a Sub.rule for this.

    You seem to be on new gl. If you are using document splitting, as per standard, the profit center is derived from expense/revenue items for the tax accounts, which is correct. If however, you have an issue with that, implement BADI
    You can write your own code with the help of your ABAP Colleague on the way you want to derive profit centers
    Sanil Bhandari

  • Correction entries for Incorrect Profit center Assignment

    I am having an issue where the user posted a document using wrong Costcenter assignment in FB60(which in turn is assigned to a profit center). please help me out the procedure or entries to be done so that it reflects the costs in correct cost center and profit center. Would appreciate if you can suggest me the entries to assign to the correct profit center where some postings go to Dummy profit center.
    Will reward points for your answers.
    Thanks in Advance.

    Use Manual Repostings T-code KB11N

Maybe you are looking for

  • [Locked] Link colors work in Firefox but not Internet Explorer I have changed the link colors by setting a CSS class to a non default color a:link to the div containing thumbnails. The site behaves as designed in Firefox, but uses default colors in Internet Explorer and no colors in Safari fo

  • How can I burn a disk of photos with a modified file name?

    After importing photos from scan device, I use Photos > Batch > Change to rename files.  When burning a disk the changed file names do not transfer with the image but use the original file name.  How can I burn a disk of photos with the modified file

  • Dynamic tables with XML schema binding

    Hello, I'm currently fighting a strange issue dealing with a complex dynamic form. This form contains multiple dynamic tables to which the user may add new lines or delete lines that are no longer needed. This is being implemented using the instanceM

  • Taking Out The SIM Card Wears Out The SIM Tray

    I wanted to take the SIM tray out of my (black) iPhone 3G just to check the SIM card out. It slightly wears out the area around the hole on the SIM tray to do that, it looks exactly what would happen to cheap plastic. Did anyone else remove the SIM c

  • Mapping my webApp to the root of the appserver?

    Is it possible to map my web app (war file or Servlet 2.2 directory structure included)so I don't have to use the context name in the URL?