Hierarchal Report for Fund Centre Hierarchy/Group for Total Records
Hello Gurus,
I need to check if there is some Hierarchal report in FM which displays the data as per my Funds Centre Hierarchy or group. Like there is a report in Cost Centre Accounting (S_ALR_87013611) which displays the figures according to different grouping on the left hand side of the screen.
In FM report for example if I will go to - FMB_PT01 - Totals Records report and populate the Funds Centre Group then system populates the report for the relevant funds centres in that group individually but do not group the figures logically as per the group structure like we have in Cost Centre Reporting.
Please advise if there is any such kind of report or is there any possibility of creating a report painter/writer or we need to go for fully customized report.
Thanks in Advance!
Regards
Rohit
Hi,
This is a standard feature with Report Painter reports. S_ALR_87013611 is a Report Painter report in library 1VK report 1SIP-001. There are 4 standard FM reports in Report Painter library 4FM. You can also define your own FM reports under library 4FM. Please see the link below on how to create a report:
Report Painter / Report Writer - SAP Library
Regards,
Ming
Similar Messages
-
SSRS 2008 R2 - Separate report for Each record?
Hi,
How do I create new pdf reports for each records from a table? The pdf files should be named as customerid.pdf and needs to be delivered in email or share path?
Each record has enough content for 5 page of pdf report.
How do we achieve this?
Thanks
RajYou can create a data driven subscription to loop through records in the table and create pdf based on number of customerid.
Have a look at this for DD subscriptions :
http://msdn.microsoft.com/en-us/library/ms169673.aspx
Kind Regards, Vikram Kansal Please mark solved if I've answered your question, vote for it as helpful to help other user's find a solution quicker -
Concurrent users reporting, by cost centre or group
hi, does anyone know of a way to report on peak numbers of
users across a cost centre or group, rather than just per meeting?
I can't find a way to do this, hope someone else knows how, it's
driving me nuts!
the scenario is multiple depts per cost centre, or group
(don't mind either way, whichever works will be acceptable!!!),
multiple groups in company. Groups are cross charged for concurrent
licences, so I need to report on how these are being used.
Thanks in advance,
JHi Barbara
I have been in this situation a couple of years ago. We ended with a solution where I made a report for generating the roles based on the responsibility area, and where the user assignment where done manually. Not a very elegant solution, but it worked.
I can see that your requirement are a bit more sophisticated though. And if you do not want to generate a lot of roles I think you will need to develop your own concept for this.
But again, as authorization check are implemented directly in the source code, this is not a small task ~ at least my guess is that you will have to limit the number of report etc used by managers to very few, perhaps Managers desktop or Manager Self Service could help here ? Otherwise I guess my suggestion would be to develop my own reporting application, or try to convince the customer to give up some of the requirements.
The bottom line is, that SAP Finance really can't handle this in an elegant manor, So Yes - a finance version of structural authorizations would be a great Idea -
Read-only report for two records
I have a table that has two records per one parent record.
I want to display these two records on a page containing read-only fields (items) of the parent record.
I was thinking of just having two regions each of which would perform a SELECT to pull it's respective record.
Would I have to create fields for each record to load the fields into and then make each field be read-only?
I did this to load one of the records into a form:
select field1, field2 into px_field1, px_field2 where...
I just wondered if there was an easier way other than creating two sets of fields to hold each record.
I tried some of the canned reports using the wizard. Easy enough to pull the two records but the formatting goes a mile to the right and this page is to be used for printing.
Thanks,semaphore,
Have you considered using a Master Detail form. The forms have record navigation and the detail columns of the form can be altered to Display As Standard Report Column making them read only. As well, the Master part of the form can also be configured to be read or display only.
Jeff -
Alv report for multiple record insertion
hi,
i'm new to abap. i'm using alv report for record display and insertion. how can i insert multiple records from alv to my table??well that can be achieved only by running BDC inside alv report to enter the entries.and in that too you can append or edit single entries only
reward if useful
regards
vivek -
Mass deletion of variants for Total Records
Hi there,
during tranings we create a lot of variants for the Total Records (UCWB->Analysis->Total Records->Save Variant). Is there a way to do a mass deletion of those variants?
The standard options of deleting variants only allows to delete one variant per selection.
We work with a SEM BCS EHP 4.
Thanks for all help,
HelgeHelge
you can do a mass deletion of variants.
First you will need to find the program name for the Totals Records. This can be found from the totals records screen when you click the Get Variant button. Across the top of the dialogue box you will see;
"Variant catelogue for program XXXXXXXXX".
Note this program ID.
Go to TCode SE38
Key in the program - make sure the Short description for the Program is "List of Totals Records"
Check the Variants checkbox
Click on Display
From the menu - go Variants > Catelogue
This should give a list of the variants for the Totals Records. If not then you must have the wrong program.
Click the button which has the picture of the rubbish bin with the words "Selection Criteria".
This will then allow you to put a check mark against all the variants you want deleted.
Click the button which has the picture of the rubbish bin with the word "Variant"
This will then mass delete your variants.
Regards -
Hi
I have a scenario where sender is file. In file there is a field Total records.
I need to validate Total records field with the total records in the file using UDF..
Can any suggest me the how to write the cod efor this..
venkatHi Venkatesh,
In your source structure should Detail Records count equal to Total Record Count?
if yes,just create <b>Context</b> UDF and pass the following 2 inputs
1. <b>DetailRecord</b> -> RemoveContext
2. <b>TotalRecord</b>
and inside UDF write java code for validation
suppose if your inputs are a[](DetailRecord) and b[](TotalRecord)
int scnt = a.length;
int tcnt = Integer.parseInt(b[0]);
if( scnt != tcnt)
//write code to trigger an alert(from the following weblog)
To Trigger alert from UDF just go through the following weblog
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
Cheers,
Jag -
Nee help on ALV report for Total of BSEG-BUZEI & F1 document in FB03
Hi friends,
I need to diplay line items total & when double clicked on BELNR field it should open the F1 document in FB03.
Could anyone plz guide me on this.
Waiting for response.
below is my code,
Kindly needed help.
REPORT YALV_1.
TABLES : BKPF,BSEG.
Data for ALV display
TYPE-POOLS: SLIS.
data : int_fcat type SLIS_T_FIELDCAT_ALV,
fieldcatalog type slis_t_fieldcat_alv with header line.
DATA: wa_sortinfo TYPE slis_sortinfo_alv,
i_sortcat TYPE slis_t_sortinfo_alv.
TYPES : BEGIN OF T_BKPF,
BUKRS TYPE BKPF-BUKRS,
BELNR TYPE BKPF-BELNR,
GJAHR TYPE BKPF-GJAHR,
BLART TYPE BKPF-BLART,
BLDAT TYPE BKPF-BLDAT,
BUDAT TYPE BKPF-BUDAT,
END OF T_BKPF.
types: begin of t_bseg,
BUZEI TYPE BSEG-BUZEI,
end of t_bseg.
DATA : it_bkpf TYPE STANDARD TABLE OF t_bkpf with header line,
wa_bkpf TYPE t_bkpf,
it_bseg type standard table of t_bseg.
wa_bseg type t_bseg.
field to store report name
DATA : i_repid like sy-repid.
select bukrs belnr gjahr blart bldat budat from bkpf into table
it_bkpf where blart = 'AA'.
field to check table length
*data i_lines like sy-tabix.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
PERFORM sortcat_init CHANGING i_sortcat.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but
*can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such
*as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'BUKRS'.
fieldcatalog-seltext_m = 'Company Code'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 4.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'BELNR'.
fieldcatalog-seltext_m = 'Doc No'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'GJAHR'.
fieldcatalog-seltext_m = 'Fiscal Year'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'BLART'.
fieldcatalog-seltext_m = 'DOC Type'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'BLDAT'.
fieldcatalog-seltext_m = 'Doc Date'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'BUDAT'.
fieldcatalog-seltext_m = 'Popsting Date'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'BUZEI'.
fieldcatalog-seltext_m = 'Line Items'.
fieldcatalog-col_pos = 6.
fieldcatalog-do_sum = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
FORM sortcat_init CHANGING i_sortcat TYPE slis_t_sortinfo_alv.
CLEAR wa_sortinfo.
wa_sortinfo-fieldname = 'BUKRS'.
wa_sortinfo-tabname = 'T_BKPF'.
wa_sortinfo-spos = 1. " First sort by this field.
wa_sortinfo-up = 'X'. " Ascending
wa_sortinfo-subtot = 'X'. " Subtotal at Name1
APPEND wa_sortinfo TO i_sortcat.
CLEAR wa_sortinfo.
wa_sortinfo-fieldname = 'BELNR'.
wa_sortinfo-tabname = 'T_BKPF'.
wa_sortinfo-spos = 2. " Sec sort by this field.
wa_sortinfo-up = 'X'. " Ascending
wa_sortinfo-subtot = 'X'. " Subtotal at Name1
APPEND wa_sortinfo TO i_sortcat.
ENDFORM. " sortcat_init
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
i_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = i_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_sort = i_sortcat
it_special_groups = gd_tabgroup
IT_EVENTS = GT_XEVENTS
i_save = 'X'
is_variant = z_template
tables
t_outtab = IT_BKPF
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.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
form data_retrieval.
IF it_bkpf[] IS NOT INITIAL.
select buzei from bseg into
table it_bseg for all entries in it_bkpf
where bukrs = it_bkpf-bukrs
and belnr = it_bkpf-belnr
and gjahr = it_bkpf-gjahr.
endif.
endform. " DATA_RETRIEVAL.Hello
1.
form display_alv_report.
i_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = i_repid
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = fieldcatalog[]
i_save = 'X'
tables
t_outtab = IT_BKPF
exceptions
program_error = 1
others = 2.
2.
* FORM USER_COMMAND
FORM user_command USING u_com LIKE sy-ucomm sel_lin TYPE slis_selfield.
CASE u_com.
WHEN '&IC1'.
CASE sel_lin.
WHEN 'BELNR'.
read TABLE IT_BKPF INDEX sel_lin-tabindex.
SET PARAMETER ID 'BLN' FIELD IT_BKPF-BELNR.
SET PARAMETER ID 'BUK' FIELD IT_BKPF-BUKRS.
SET PARAMETER ID 'GJR' FIELD IT_BKPF-GJAHR.
CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
ENDCASE.
CLEAR u_com.
ENDCASE.
ENDFORM. "USER_COMMAND -
Report for total IR value total GR value and Total P.O value
Is there is any report to get IR value GR value and P.O value as well............?
i don't need balance i want completed P.O and GR IR value with quantity.......
Please help me to get this kind of report in SAP
Thanks
NehaHi,
You can find change view option in ME80FN by executing the report and its available near by print and change layout button.
Click on the change view > select purchase order history.
You will get the required report then.
Also you can make the Z enhancement with the help of abapor.
Thanks & Regards,
Sandesh Sawant -
Problem when attempting to update the Fund Centre hierarchy to include new fund centres in the report painter reports.
I am using transaction FMRP_FC_SET_HIER program RFFM_CREATE_FC_SET_HIER with options, set hierarchy type = Fund centre group hierarchy and conflicting set handling = Overwrite the whole hierarchy. The message received is
"Conflicting set found - hierarchy not created".
Sets with same name exist in another hierarchy
Message no. SETHIER000
Diagnosis
One or more sets that you want to create already exist in the database (same name, same class), and are located in hierarchies other than the one being created.
A set hierarchy is identified by the name and class of the uppermost set record. You can only override a conflicting set hierarchy by defining a set hierarchy with the same uppermost set record.
System response
The requested set hierarchy is not created, and the conflicting sets already in the database are not modified.
Procedure
Use transaction SE16 to identify the conflicting set elements in table SETHEADER, using one of the following two options:
1. If a set is no longer needed, you should delete it, for example, using a report to delete the entire set hierarchy in all relevant tables, so that no "orphaned" sets remain. Then run the report again to create the set hierarchy.
2. You can decide not to override the conflicting sets, but instead to change the name of the sets being created by modifying the prefix in the selection screen. This will however only work for a "General Set Hierarchy", not for a "Group Set Hierarchy".
Can someone explain in detail how to perform option 1?
The top nodes in the 2 conflicting hierarchies are 4BFC_000_0000 and a hierarchy seemingly set up as a general set hierarchy 4BFC_MCC1_000_0000.Hi Kate,
Using Tcode GS01, you can create a set hierarchy
Say you want to extract an existing hierarchy from an SAP R/3 system and load it into BW so you can present your reports in a hierarchical way. For example, by loading a cost center hierarchy into BW, you could show expenses at the top node and then drill down to the lower nodes to see the details.
Although standard Business Content extractors support main hierarchies (e.g., cost center, general ledger [G/L] account, material, plant, work center), they do not support all hierarchies in the R/3 source system, such as Treasury Cash Management. In this case, SAP does not provide a standard DataSource to link R/3 hierarchies to BW.
So what are your options? In my example of working in Treasury Cash Management, you could define hierarchies for planning levels and create your own ABAP program to extract the data from R/3, send it to a flat file, then upload the flat file into BW via a custom DataSource, a multistep process. This is what I call the traditional method.
I developed a workaround that allows you to bypass the step of creating a flat file and extract directly from R/3 in a single step, like any Business Content DataSource. My workaround combines two different standard SAP mechanisms: the generation of a hierarchy DataSource on the R/3 IMG side and the user exit EXIT_SAPLRSAP_004 on the R/3 side. I tested this workaround with BW 3.5 and plug-in (PI) 2004-1, but it also works with BW 2.0B with PI 2002-1 and later.
Check these link's.
https://weblogs.sdn.sap.com/pub/wlg/3113. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
http://www.bwexpertonline.com/go/sample/
Hope This Helps.
Regards,
Ravikanth -
Apex report with details below for one record
Hi,
I'm looking for an answer to my problem:
We have a report with many columns ~60.
And is not very user friendly because it is so wide table.
If it is possible to display some less important columns like additional information below report,
for single record in report. E.g. user selects radio button from first column and details are refreshed for that record.
(if it is possible to group details in tabs)
Thank you for your answers.Hi,
Here is one example
https://apex.oracle.com/pls/apex/apex/f?p=39006:41
Create hidden item that is not protected. In my case item name is P41_DEPTNO
First report query
select
APEX_ITEM.RADIOGROUP(1,DEPTNO,:P41_DEPTNO) AS rg,
EMPNO,
ENAME,
JOB,
MGR,
HIREDATE,
SAL,
COMM,
DEPTNO
FROM EMP
Second report query
select LOC,
DNAME,
DEPTNO
from DEPT
WHERE DEPTNO = :P41_DEPTNO
In second report region set Page Items to Submit your hidden item name.
Create dynamic action
- event: Change
- Selection Type: jQuery Selector
- jQuery selector: input[name=f01]
- Action: Set Value
- Set Type: JavaScript Expression
- JavaScript Expression: this.triggeringElement.value;
- Selection Type: Item(s)
- Item(s): <Your hidden item name>
Then add another true event to dynamic action
- Action: Refresh
- Selection Type: Region
- Region: <select second report region>
Regards,
Jari -
hi gurus,
can any one tell me how to generate the hierarchical (tree ) report for a purticular project.
I should genarate a hierarchical report for all WBS (From top level to lower level WBS ).
With Regards,
Raj.Hi raj,
check BCALV_TREE_02 for ALV TREE DISPLAY ( for more clarification debug it )
* my final table structure
BEGIN OF gty_fin ,
posid TYPE ps_posid,
pspnr TYPE ps_intnr,
post1 TYPE ps_post1,
ebeln TYPE ebeln,
ebelp TYPE ebelp ,
name1 TYPE name1,
belnr TYPE mblnr ,
cplan TYPE wtgxxx ,
netpr TYPE ekpo-netpr ,
dmbtr TYPE dmbtr ,
obligo TYPE dmbtr,
vefugt TYPE dmbtr,
verfugbar TYPE dmbtr,
END OF gty_fin ,
* Coding starts here in ur PBO
*do modification accordingly
MODULE status_0100 OUTPUT.
PERFORM init_tree.
ENDMODULE. " STATUS_0100 OUTPUT
FORM init_tree .
* create container for alv-tree
DATA: l_tree_container_name(30) TYPE c.
l_tree_container_name = 'CCONTAINER1'.
CREATE OBJECT g_custom_container
EXPORTING
container_name = l_tree_container_name
* create tree control
CREATE OBJECT g_alv_tree
EXPORTING
parent = g_custom_container
node_selection_mode = cl_gui_column_tree=>node_sel_mode_single
item_selection = ' '
no_html_header = 'X'.
DATA l_hierarchy_header TYPE treev_hhdr.
PERFORM build_hierarchy_header CHANGING l_hierarchy_header.
* Hide columns and sum up values initially using the fieldcatalog
PERFORM build_fieldcatalog.
CALL METHOD g_alv_tree->set_table_for_first_display
EXPORTING
is_hierarchy_header = l_hierarchy_header
CHANGING
it_fieldcatalog = git_fieldcatalog
it_outtab = git_edit. "table must be empty !
PERFORM create_hierarchy.
PERFORM register_events.
CALL METHOD g_alv_tree->update_calculations.
* Send data to frontend.
CALL METHOD g_alv_tree->frontend_update.
ENDFORM. "init_tree
" INIT_TREE
*& Form BUILD_HIERARCHY_HEADER
FORM build_hierarchy_header CHANGING
p_hierarchy_header TYPE treev_hhdr.
p_hierarchy_header-heading = 'Project Definition'(002).
p_hierarchy_header-tooltip = 'Project Definition'(002).
p_hierarchy_header-width = 35.
p_hierarchy_header-width_pix = ''.
ENDFORM. " BUILD_HIERARCHY_HEADER
*& Form exit_program
* free object and leave program
FORM exit_program.
CALL METHOD g_custom_container->free.
LEAVE PROGRAM.
ENDFORM. "exit_program
*& Form build_fieldcatalog
FORM build_fieldcatalog.
DATA: lwa_fieldcatalog TYPE lvc_s_fcat.
* The following function module generates a fieldcatalog according
* to a given structure.
REFRESH git_fieldcatalog.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'ZDRK' " i created a structure same as final itab.
CHANGING
ct_fieldcat = git_fieldcatalog.
LOOP AT git_fieldcatalog INTO lwa_fieldcatalog.
CASE lwa_fieldcatalog-fieldname.
* hide columns which are already displayed in our tree
WHEN 'POSID' OR 'PSPNR' OR 'EBELN' OR 'EBELP' OR 'POST1'.
lwa_fieldcatalog-no_out = 'X'.
** Do some initial calculations:
** ALV Tree uses the field 'do_sum' to declare that a function
** for the corresponding column shall be calculated.
** Use 'h_ftype' to set the function type (MAX, MIN, SUM, AVG).
WHEN 'DMBTR' OR 'OBLIGO' OR 'VEFUGT' OR 'VERFUGBAR'. " 'CPLAN' OR
lwa_fieldcatalog-do_sum = 'X'.
lwa_fieldcatalog-h_ftype = 'SUM'.
WHEN 'BELNR'.
lwa_fieldcatalog-hotspot = 'X'.
lwa_fieldcatalog-tooltip = 'Invoice Document Number'(003).
ENDCASE.
MODIFY git_fieldcatalog FROM lwa_fieldcatalog.
ENDLOOP.
ENDFORM. " build_fieldcatalog
*& Form create_hierarchy
FORM create_hierarchy.
DATA: ls_fin TYPE gty_fin,
lt_fin TYPE TABLE OF gty_fin,
lv_posid1_last TYPE ps_posid,
lv_ebeln TYPE ebeln,
lv_post1 TYPE ps_post1,
lv_ebeln_last TYPE ebeln,
lv_ebelp TYPE ebelp.
DATA: lv_ebeln_key TYPE lvc_nkey,
lv_ebelp_key TYPE lvc_nkey,
lv_last_key TYPE lvc_nkey,
lv_top_key TYPE lvc_nkey,
lv_node_text TYPE lvc_value,
lv_text_psp TYPE char10 .
lv_text_psp = 'Project'(004).
* all my data is in final itab git_fin
lt_fin[] = git_fin .
lv_node_text = gv_proj.
CALL METHOD g_alv_tree->add_node
EXPORTING
i_relat_node_key = ''
i_relationship = cl_gui_column_tree=>relat_last_child
i_node_text = lv_node_text
IMPORTING
e_new_node_key = lv_top_key.
LOOP AT lt_fin INTO ls_fin.
lv_posid1 = ls_fin-posid.
lv_post1 = ls_fin-post1.
lv_ebeln = ls_fin-ebeln.
lv_ebelp = ls_fin-ebelp.
IF lv_posid1 <> lv_posid1_last. " on change of posid
lv_posid1_last = lv_posid1.
* PO- ebeln nodes
PERFORM add_ebeln USING lv_posid1
lv_post1
lv_top_key
CHANGING lv_ebeln_key.
ENDIF.
IF lv_ebeln <> lv_ebeln_last. " On change of lv_ebeln
lv_ebeln_last = lv_ebeln .
PERFORM add_ebelp USING ls_fin
lv_ebeln_key
lv_ebeln
CHANGING lv_ebelp_key .
ENDIF.
* Leaf:
PERFORM add_complete_line USING ls_fin
lv_ebelp_key
lv_ebelp
CHANGING lv_last_key .
ENDLOOP.
* expand first node initially
CALL METHOD g_alv_tree->expand_node
EXPORTING
i_node_key = lv_top_key.
ENDFORM. " create_hierarchy
*& Form ADD_EBELN
FORM add_ebeln USING p_lv_posid1 TYPE ps_posid
p_lv_post1 TYPE ps_post1
p_lv_top_key TYPE lvc_nkey
CHANGING p_lv_ebeln_key TYPE lvc_nkey.
DATA : ls_fin TYPE gty_fin,
lv_node_text TYPE lvc_value ,
lv_text_psp TYPE char11.
lv_text_psp = 'WBS Element'(005).
lv_node_text = p_lv_posid1.
CONCATENATE p_lv_post1 lv_node_text
INTO lv_node_text
SEPARATED BY space.
* add node
CALL METHOD g_alv_tree->add_node
EXPORTING
i_relat_node_key = p_lv_top_key
i_relationship = cl_gui_column_tree=>relat_last_child
i_node_text = lv_node_text " 'WBS Element'
is_outtab_line = ls_fin
IMPORTING
e_new_node_key = p_lv_ebeln_key.
ENDFORM. " ADD_EBELN
*& Form ADD_EBELP
FORM add_ebelp USING p_ls_fin TYPE gty_fin
p_lv_ebeln_key TYPE lvc_nkey
p_lv_ebeln TYPE ebeln
CHANGING p_lv_ebelp_key TYPE lvc_nkey.
DATA : ls_fin TYPE gty_fin ,
lv_node_text TYPE lvc_value,
lv_text_order TYPE char10 .
lv_text_order = 'ORDER '(006).
lv_node_text = p_lv_ebeln .
CONCATENATE lv_text_order lv_node_text
INTO lv_node_text
SEPARATED BY space.
CALL METHOD g_alv_tree->add_node
EXPORTING
i_relat_node_key = p_lv_ebeln_key
i_relationship = cl_gui_column_tree=>relat_last_child
i_node_text = lv_node_text " 'EBELN
is_outtab_line = ls_fin
IMPORTING
e_new_node_key = p_lv_ebelp_key.
ENDFORM. " ADD_EBELP
*& Form ADD_COMPLETE_LINE
* text
* -->P_LS_FIN text
* -->P_LV_EBELP_KEY text
* <--P_LV_LAST_KEY text
FORM add_complete_line USING p_ls_fin TYPE gty_fin
p_lv_ebelp_key TYPE lvc_nkey
p_lv_ebelp TYPE ebelp
CHANGING p_lv_last_key TYPE lvc_nkey.
DATA : lv_text_pos TYPE char10,
lv_node_text TYPE lvc_value,
lv_node_layn TYPE lvc_s_layn.
lv_text_pos = 'Position '(007).
lv_node_text = p_lv_ebelp .
IF p_lv_ebelp IS INITIAL .
lv_node_text = 'PLAN'(008) .
lv_node_layn-hidden = 'X'.
ELSE.
CONCATENATE lv_text_pos lv_node_text
INTO lv_node_text
SEPARATED BY space.
ENDIF.
CALL METHOD g_alv_tree->add_node
EXPORTING
i_relat_node_key = p_lv_ebelp_key
i_relationship = cl_gui_column_tree=>relat_last_child
is_outtab_line = p_ls_fin
is_node_layout = lv_node_layn
i_node_text = lv_node_text " Position of item
IMPORTING
e_new_node_key = p_lv_last_key.
CLEAR : lv_node_layn .
ENDFORM. " ADD_COMPLETE_LINE
Regards,
Aby
hope this might be useful. -
Reorganization of Fund Centres
In my company, the Fund Centre Hierarchy is NOT year-dependent.
Fund Centre D3070 -with-> Supervior Fund Centre C3070.
Fund Centre D3070 does NOT have any budget data in the Current Financial Year 2008 yet. However, there are budget data in the previous Financial Years.
We tried to move Fund Centre D3070 -to> Supervior Fund Centre C3000
However, SAP display an error message "Function not allowed: Budget was assigned for fund center 1100 D3070".
We do not have such problem in the past.
Do you have any idea what's wrong ?
Thanks in advance for all the input.Hi KL,
Maybe this note will help you, here explain in detail how you can move funds center and reconstruction of data FM.
189761 Reconstruction of data in FM as of Release 4.5A
Regards, JLB -
Can I delete the hierarchy groups and reload again from R/3
Hello all,
I am having some issue in my reports because of the hierarchy groups. Can i just delete the entire hierarcgy groups from "production" and reload again from R/3 will that cause any issue?
Thanks in advanceHi,
I think u can delete the Master Data Hierarchies. I dont see any issue in the production .
Rgds,
Ravi. -
Authorization object for FM e.g fund center group/fund center auth group
Hi,
I have a requirement to control the number of fund centers which can be viewed from PSM-FM Budget reports.
Currently, I have included authorization groups into the FM Master data.
However, I am looking to control it at org level instead of at the object level.
Is it possible to control fund center grouping at org level?
regards
DamonHi Damon,
I am not sure if I understood you correctly but your authorization group field (from the master data transaction) should reflect exactly what you want, therefore you should build it according the organization level that you requires.
The field 'Authorization Group', is the same used in the authorization rules. It is not the 'fund center' field itself, is the group that you are grouping the fund centers only for authorization purpose.
If in the table FMFCTR for your FM Area you have the same content for all records to this field, this means that all your funds center will be part of the SAME authorization group.
So, you should consider within your company to divide the authorization groups according your needs and adjust your roles in transaction PFCG accordingly.
I hope this helps you.
Best Regards,
Vanessa.
Maybe you are looking for
-
Having syncing problems after installing iPhone OS 2.0 for the iPod Touch
Ok, after finally installing the software on my iPod Touch 2nd Gen, I tried to sync it, and it only syncs my pix and apps. It will not sync my music nor videos. It read " an unknown error has occured. (error 13019). Has anyone else expericned this pr
-
DS 6.0 passthrough to ADC
Can someone please point to intructions/tips on getting DS 6.0 to passthrough authenticate with Active Directory? For a variety of reasons, we cannot use the Windows Sync stuff. At the end of the day, we want to be able to use DS 6.0 to authenticate
-
Cannot see my imac to a shared printer for PC
I have a problem with my Imac networking it to a shared printer that is mac compatible. I have an okiB4350 model and have this networked through a router and a printer server. I have a D-Link router. I have 4 other PC computers that is able to see th
-
Define Formula For Aging Report
Hi All, I have scenario like these. I have four characteristic named Fiscal Period , Business area , Customer , AGING and five keyfigures named amount ,0-28 days, 29-45 days , 46 to 60 days , above 60 days. Aging means my customer pays money in that
-
Syntax error when creating Overwrite method - implicit enhancement
Hi, I am working at a customer site, and need to implicitly enhance certain methods. I would like to create an Overwrite Method for the following class/method: CL_CRM_MKTDEF_DEFAULTS_PERSIST -> HEADER_WITH_KEY_EXITS_IN_DBASE( ) I proceeded in the fol