Finding Profit center group description ?
Hi all,
I want profit center group description for my report, when i look at the setheader table i could see the description in the output but when i try to locate the field in the SE11 for SETHEADER i couldnt find that
field ? Can you people tel me how to solve this problem ?
Thanks,
Lavanya.
Hi Lavanya,
You can get the description from the table SETHEADERT, field DESCRIPT.
Cheers,
Sri.
Similar Messages
-
How to find profit center group for any profit center
Hello,
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.Hi,
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.
Regards,
Ashok. -
Profit center group number on the report painter report.
Hi,
We have a client requirement where we have to develop Profit center by Functional Area report by using report painter report functionality, however we are able to bring profit center group description on to the report as per the requirement, but not able to get profit center group number displayed on the report.
Can anyone please advice me if we can get the Profit center group number displayed on the report in Report painter report. Else let me know if we can get the requirement met by an ABAPER.Hi.
First of all, through transaction GS01 create a set ID for profit centers.
Give table GLPCT, let the set type be the default (basic set) and give field name RPRCTR. Then define the range of profit centers you want. If you want all the profit centers give * in the "from value field".
Then create a variable through transaction GS11. Give table and field as above, choose variable type set and at the default set field choose the set you created.
Finally, at report painter go to Edit/General Data Selection and select profit center.
Check both flags (for entering sets and variables) and give at the form field the variable you've made.
Now the progit center group will be available in the selection screen with default value the set you've made.
Regards -
Hi iam working on a report to list all open customer invoices. I need to list them with respect to profit center group. I have the profit center.Pls help me how to find profit center group for that profit center.Hierarchy is the top node.
Thanks.hi
good
go through this link which ll give you clear idea about the profit center group.
http://help.sap.com/bestpractices/industry/serviceindustries/v346c_us/BBLibrary/documentation/B30_BPP_04_E.doc
go through these tables.
CEPC Profit Center Master Data Table
CEPCT Texts for Profit Center Master Data
thanks
mrutyun^ -
How to get profit center group and its description
According to three tables(as below), i get profit center group, how to get its description?
CEPC (Profit Center Master Data Table)
SETLEAF
SETNODE
PS:(Referrence to teh link fields in table)
For Profit centre Group ( SETLEAF-SETNAME )
Select BSEG-BUKRS / BSEG-PRCTR from BSEG.
SELECT SINGLE SETNAME INTO WA_SETNAME
FROM SETLEAF
WHERE SETCALSS = '0106'
AND SUBCLASS = BSEG-BUKRS
AND VALFROM = BSEG-PRCTR
i can get two records, why?Hi,
I am not sure of the significance of this table...
But looking at the table structure it is having LINEID as one of the key fields..
So you can have more than one record for the same combination..
Thanks,
Naren -
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 -
Find Profit centers based on profit center group
1) If I know profit center group how to pick profit centers which belongs to that profit center group.the tcode is (KCH3)
2) In the tree there may be many levels I mean for the profit center also contain other profit centers, just to display in the same way as like in KCH3 tcode, how we are going to maintain in alv treesHello,
Check the tables:
<b>SETLEAF
SETNODE
go through this link which ll give you clear idea about the profit center group.
http://help.sap.com/bestpractices/industry/serviceindustries/v346c_us/BBLibrary/documentation/B30_BPP_04_E.doc
go through these tables.
CEPC Profit Center Master Data Table
CEPCT Texts for Profit Center Master Data
</b>
REgards,
Vasanth -
Data required on the basis of Profit center group.
Hi,
Is there any table or report from where we can find out the values of customer, cusotmer description, city, GL Account, GL description, amount, sales document or sales order on the basis of PROFIT CENTER GROUP.
Means i need the above details on the basis of profit center group.
Can anybody suggest on this
Regards,
Shree.Hi:
Using this report, you can display according to profit center wise, not as profit center group wise.
All the details are displayed accordling according to your requirement.
Select the screen layout and select the fields you required.
The Standard report is
FBL5N - Display/Change Line Items
Please let me know if you need more information.
Assign points if useful.
Regards
MSReddy -
Authorisation check on profir center group
Dear Experts,
We have a requirement to restrict the users's access to a particular profit center group.I have set the value in the tab "profit center group" for object K_PCA.The profit center org level is set to * .With these settings users are able to access other profit centers also.Do I have to remove or maintain a specific value for profit center to meet my requirement.
Please suggest any solutions
Edited by: mutnuru dinakar on Jun 24, 2011 1:48 PMHi,
Sorry for my late reply.Yes,I have done authorisation trace.It is only tracing object for company code F_BKPF_BUK.It is not showing the objects for either profit center or profit center group.I have found the below information from help.sap.com link.
http://help.sap.com/saphelp_46c/helpdata/en/38/ac94de8d49d111a4620060b03c3b0e/content.htm
If a transaction checks and does not find the authorization for the given profit center, it checks for authorization for the profit center group in the standard hierarchy that contains that profit center. If this authorization is also missing, the system checks on the next level up in the hierarchy. This search ends with the highest node in the standard hierarchy.
Doe it mean can't we control the access on profit center group as the highest node will cover all the profit centers.
Please suggest any solutions.
Regards, -
Reg: Profit Center Group Upload Prog
Hi,
In profit center group upload program im using FM: BAPI_PROFITCENTERGRP_CREATE, when
im trying to upload data, in the flat file, if Hierarchy level '0' is appearing once means
i can able to upload, but Hierarchy level '0' appears n number of times in flat file.
how can i write logic; if level '0' appears means upload the file. after saved again need to come bak to the loop and need to process 2nd group(it starts with '0'). i need to pick one group from the internal table and process the logic, thn need to come out of loop and next set of group.
Following code is working for a single set of profit center group.
wa_pg[] = it_pg[].
LOOP AT wa_pg.
t_bapiset_hier-groupname = wa_pg-pcg.
t_bapiset_hier-hierlevel = wa_pg-hierlvl.
t_bapiset_hier-descript = wa_pg-pcgdesc.
APPEND t_bapiset_hier.
ENDLOOP.
CALL FUNCTION 'BAPI_PROFITCENTERGRP_CREATE'
EXPORTING
controllingareaimp = 'S001'
TOPNODEONLY = ' '
IMPORTING
CONTROLLINGAREA =
GROUPNAME =
RETURN =
TABLES
hierarchynodes = t_bapiset_hier
hierarchyvalues = t_bapi1116_values
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
RETURN =
Thanks
HemaHi,
Could you please try as follows:
DATA: l_str type sychar50.
LOOP AT wa_pg.
if wa_pg-hierlv = '0' and t_bapiset_hier[] is not initial.
perform call_bapi.
clear: t_bapiset_hier, t_bapi1116_values, t_bapiset_hier[], t_bapi1116_values[].
endif.
t_bapiset_hier-groupname = wa_pg-pcg.
t_bapiset_hier-hierlevel = wa_pg-hierlvl.
t_bapiset_hier-descript = wa_pg-pcgdesc.
APPEND t_bapiset_hier.
at last.
perform call_bapi.
clear: t_bapiset_hier, t_bapi1116_values, t_bapiset_hier[], t_bapi1116_values[].
endat.
ENDLOOP.
form call_bapi.
CALL FUNCTION 'BAPI_PROFITCENTERGRP_CREATE'
EXPORTING
controllingareaimp = 'S001'
TOPNODEONLY = ' '
IMPORTING
CONTROLLINGAREA =
GROUPNAME =
RETURN =
TABLES
hierarchynodes = t_bapiset_hier
hierarchyvalues = t_bapi1116_values
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
RETURN =
endform.
Regards,
Prasanth -
Adding profit center group and Common currency functionality S_PL0_86000028
Hi Gurus,
We are copying S_PL0_86000028 into a custom program and add we need the following new features:
First, We need to find a way to add profit center group in the selection screen and add a new column for this on the report.
Second, add common currency functionality like on F.10 to the selection screen and also add new columns common currency and common currency rate.
Is this enhancements possible?
Can anyone help me on this?
pochenko
Edited by: pochenko on Oct 27, 2011 12:56 AM
Edited by: pochenko on Oct 27, 2011 12:57 AMI think this report is based on report painter, so If you know report painter, you can define your own form and report according to your requirement.
Financial Accounting(new) > General Ledger Accounting(New) >Information system >Drill down Reports(GL Accounts) > Form & Report.
Here you have to define form first and create report and assign the form created.
Rgds
Murali. N -
Profit Center Group Organization Change - Effective for Prior Periods
Hi Experts,
A client wants to perform a horizontal organization change (profit centers) and see the effects retroactively to the prior periods. To achieve this, they plan to re-execute the consolidation tasks going back two to three years once the org change is made, so that they have comparative financial statements that take into account the change. The requirement is to re-post the group level postings to the updated profit center group after the change. For example, Italy related postings would occur under the group Central Europe instead of Western Europe as before. All the group level postings previously booked to Western Europe would now need to recorded under Central Europe going back prior periods.
Does anyone have any ideas as to how to meet the requirement without re-consolidating?
One option was the restatement feature but based on the SAP help description of the monitor required, it does not take into account consolidated postings, only uploaded PL00-10 data and translation.
Another option is to copy the version but then the results is in another version rather than the original 'actual' "100" version.
Any ideas would be appreciated.
Thanks
Eyal FeilerEyal,
I know of no other way to accomplish this than to re-execute the consolidation for the prior periods after the hierarchy has been changed.
I have used the restatement feature and like you have found it very limited.
The copy to another version would only work if you copied the existing data to the new version before re-executing the consolidation. The the version 100 can be re-consolidated for the previous periods and the existing reports do not have to be changed for a new version.
However, with the copy, it is important to set the cons group and cons unit hierarchies to be version dependent so the changes are only good for the version that is to be re-consolidated for previous periods. This allows you to report on the data before the change where the logic will read the old, unchanged version of the hierarchy.
Dan -
Relation Between Profit Center & Group
Hi
I know the profit center in which my recs are there.
But I need to know to which profit center group this particular profit center is assigned to it.
Pl share your thoughts.
Thanks
KiranRefer the SETCLS table to get the class name for PRofit center group.Here, use the description 'Profit center Group' to get the SETCLASS field.
Now use the table SETLEAF to get the relationship between Profit center and Profit center groups.
SETNAME field is for Profit centet group and
VALFROM and VALTO fields to get the Profit center range
SETHEADERT table contains the list of Profit center group names.
BAPI_PROFITCENTERGRP_GETLIST to get Profitcenter group list.
BAPI_PROFITCENTERGRP_GETDETAILS to get PRofit center based on group name
Regards,
Kiran Bobbala -
How to get the profit center nodes descriptions
Hi Experts,
i have value of profit center 17007236. but i need to get the hierarchy above this profit center and their descriptions. previously i have done similar kind of problem, but i that case i have top level node from which i have extracted bottom level descriptions and profit center values. this can be referred in the below link.
Re: Profit Center Groups
but now i have profit center values but i need to get the above hierarchy value and descriptions. which are shown in bold letters.
any suggestions or any function module available please kindly reply me. point will be rewarder for all answers.
<b> 5 SOI_STREAM Downstream PPS
5 SOI5000007 DOWNSTREAM NON-OPERATING BU'S
5 SOI6IS0001 INTEGRATED SUPPLY TRADING
5 SOI7IS0091 IST EAST COAST
5 SOI7IS0092 CHICAGO PRICING BASIS
5 SOI7IS0100 (CHG) CHICAGO BASIS GAS BOOK
5 SOI7IS0126 MARKETING CHICAGO BASIS GAS </b>
17007236 CHG 4022 GRAFTON OH (LTAZ)
17007326 CHG 4022 GRAFTON OH (LTAZ)
Thanks & Regards,
Poorna.Hello Poorna
The following sample report may be useful to you. The sample cost center was taken from the cost center group 'H1' on our IDES ECC 5.0.
*& Report ZUS_SDN_COST_CENTER_BOTTOM_UP
REPORT zus_sdn_cost_center_bottom_up.
TYPE-POOLS: abap.
DATA:
gd_setid TYPE setid,
gt_supersets TYPE STANDARD TABLE OF setlist,
gs_setlist TYPE setlist,
gs_setinfo TYPE setinfo,
gt_setinfo TYPE STANDARD TABLE OF setinfo,
gs_costcenterdetail TYPE bapi0012_ccoutputlist,
gt_return TYPE bapirettab.
DATA:
gs_layout TYPE lvc_s_layo.
PARAMETERS:
p_kokrs TYPE kokrs DEFAULT '1000',
p_kostl TYPE kostl DEFAULT '2-1110'.
START-OF-SELECTION.
CALL FUNCTION 'BAPI_COSTCENTER_GETDETAIL1'
EXPORTING
controllingarea = p_kokrs
costcenter = p_kostl
* KEYDATE = SY-DATLO
* MASTER_DATA_INACTIVE = ' '
IMPORTING
costcenterdetail = gs_costcenterdetail
TABLES
return = gt_return
* EXTENSIONIN =
* EXTENSIONOUT =
CALL FUNCTION 'G_SET_ENCRYPT_SETID'
EXPORTING
setclass = '0101' " cost center group
shortname = gs_costcenterdetail-costctr_hier_grp
kokrs = p_kokrs
IMPORTING
setid = gd_setid
EXCEPTIONS
no_co_area_specified = 1
illegal_setclass = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'G_SET_GET_ALL_SUPERSETS'
EXPORTING
* CLIENT =
setname = gd_setid
TABLES
supersets = gt_supersets.
CLEAR: gs_layout.
gs_layout-cwidth_opt = abap_true.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_structure_name = 'SETLIST'
i_grid_title = 'Supersets'
is_layout_lvc = gs_layout
TABLES
t_outtab = gt_supersets
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_setinfo.
LOOP AT gt_supersets INTO gs_setlist.
CLEAR: gs_setinfo.
CALL FUNCTION 'G_SET_GET_INFO'
EXPORTING
class = '0101' " Cost Center Group
* NO_SET_TITLE = ' '
setname = gs_setlist-setname+4
* TABLE = ' '
* FIELDNAME = ' '
* USE_TABLE_BUFFER = 'X'
* CLIENT =
IMPORTING
info = gs_setinfo
EXCEPTIONS
set_not_found = 1
illegal_field_replacement = 2
OTHERS = 3. .
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
APPEND gs_setinfo TO gt_setinfo.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_structure_name = 'SETINFO'
i_grid_title = 'Setinfos'
is_layout_lvc = gs_layout
TABLES
t_outtab = gt_setinfo
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
END-OF-SELECTION.
Regards
Uwe -
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
Maybe you are looking for
-
Exporting PDF to Word document
We have purchased "Adobe Acrobat X Standard" version. This version provides options to export a PDF document into Microsoft Word. I want to do this programmatically using Adobe\Acrobat SDK or which ever suitable available SDK. It would be great if so
-
Query takes too long to complete...
SELECT SUBSTR(C.PHRMNUM,1,2), C.PHRMNUM, PH.NABPNUM, HICNUMBER, RCVDATE, RXDATE, C.NDC , MMITHPTY, QUANTITY, STATUS1, ALLOWED, PRICE, COPMT, INSPMT, PATPMT, BALANCE, CASHADJ, NONCASHADJ, CODE, PAIDTOVEN , MMFEE, PAIDDATE, IDNUMBER, M.GPI, GPINAME, DI
-
Is it Risky Buying Playbook with all of the problems that RIM is having?
The latest financial report from RIM is not a good one. With a loss of approximately 30% in sales, the question that begs to be answered is... How risky is it to purchase a Playbook that may not have a company supporting it one year from now? I have
-
Archive multiple folders into one zip (Shell/Applescript)
Hi guys, This is the third place I'm posting this question and I hope it's third time lucky. How do I zip several folders from different locations into the one archive using the ditto command or Applescript? Thanks, Kuzey Mac OS X (10.3.9)
-
Show mail attachments as icons
How to permanently show mail attachments as icons?