How to display the subtotals (BPC NW 7.5)
We are on BPC-NW 7.5
I have to develop a schedule where I have to show totals at each parent node based on what they enter for the base members. (Is it possible to show totals before they save, as they enter data?)
If my dimension is as below
Parent1
Parent11
Base111
Base112
Parent12
Base121
Base122
Parent13
Base131
Base132
My report should look like below when i do a row expansion on Parent1
Base111 --- --- ---
Base112 --- --- ---
Parent11 <sub> <sub> <sub total>
Base121 --- --- ---
Base122 --- --- ---
Parent12 <sub> <sub> <sub>
I know when we use AfterRange we can use the EVSUM to get the total when you have a nested expansion on the row.
I am not sure how you do this when you are not doing nested expansion.
One more thing is I need to insert a blank line after each subtotal.
Can someone share their thoughts on how to achieve this?
Thanks
-S
Hi Shilpa,
You can do one thing for getting a blank space before your parent(Sub-Total), I think you are taking Accounts in Rows
and Time in Col., assuming that go to your account dimension and add a member before your parent member. Example you may
be having members 001,002,003,004 (in your account dimension )etc., if you check your report before Parent/subtotal the member 004 will be displayed, so you add one member 005 description some dot(.) and process the account dimensiont. when you go for reports in BPC Excel, please remove Y from "Surpress" in control panel. So that you will get a blank line before sub-total.
I hope you understand what i mean.
Raghu B.S.
Edited by: Raghu B.S. on Jul 25, 2011 12:57 PM
Similar Messages
-
ALV: how to display only subtotals and total rows in the output
ALV: how to display only subtotals and total rows in the output
i am getting output
i am getting subtotals for respective fields
but i want to display only subtotals and totals rows in the output
i have tried the
totals_only parameter in slis_layout_alv
but it is not working.hi,
For TOTAL
For the amount field / quantity field in the field catalog give DO_SUM = 'X' for WHOLE total
For SUBTOTAL
For subtotal you will have to create an internal table sort..Let's say you want to do subtotal for each customer..
DATA: lt_sort type SLIS_T_SORTINFO_ALV,
ls_sort type slis_sortinfo_alv.
CLEAR ls_sort.
ls_sort-spos = 1.
ls_sort-fieldname = 'Give the field name that you do the sum'.
ls_sort-up = 'X'.
ls_sort-subtot = 'X'.
APPEND ls_sort TO lt_sort.
fieldcatalog-do_dum = 'X'.
for subtotals
WA_SORT-FIELDNAME = 'ERSDA'.
WA_SORT-SPOS = '2'.
WA_SORT-UP = 'X'.
WA_SORT-SUBTOTAL = 'X'.
APPEND WA_SORT TO IT_SORT.
Refer
http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/doesnt-function-event-subtotal_text-in-alv-713787
regards,
Prabhu
reward if it is helpful -
How to calculate the subtotals using reuse_alv_grid_display_lvc
Hi folks,
How to get the subtotals of shipped quantity monthly wise using reuse_alv_grid_display_lvc.
Thanks in Advance
RaoHi,
As per the standard SAP, it is not possible to display the subtotal in a different field. The solution is remove the subtotal field from the internal table.
In the slis_t_sortinfo_alv table pass the kunnr field with subtot = 'X'.
I hope this will solve your query.
Reward all useful answers.
Thank you. -
How to calculate the subtotals in smartform
hi all
can any body tell me how can i display teh subtotals in smartform, please tell me the steps how to do that and aslo is there any special events in smartforms that are helpfull in getting and displaying the subtotals in smartforms
thanks in advanceHi,
For doing subtotal calculation in SMARTFORMS, do like this.
Create one "Program Lines" to your main window table row.
Already you are maintaing "Internal table" for you table in main window.
Before that, sort the particular internal table with key fields through which you want to find out the sub total, now within the program lines code, first identify how many quantity and currency fields are there.
Declare respective temporary variables for each and every quantity and currency field.
then write logic like this.
at new matnr.
v_menge = wa_out-menge + v_menge.
v_netwr = wa_out-netwr + v_netwr
end at.
Also dont forget to declare character variables for quantity and currency fields. We cannot directly display them in smartforms. we need to pass them to the respective quantity and currency fields.
After end at statement write like this,
write: / v_menge decimals 2 to v_mengetext,
v_netwr decimals 2 to v_netwrtext.
after this dont forget to clear,
clear: v_menge, v_netwr.
no populate v_mengetext and v_netwrtext in your text elements.
Regards,
Santosh Kumar M. -
In sap scripts how to display the driver program
Hi,
I Want to know the sap scripts How to display the output to driver programHi,
Go to NACE Transaction.
Select application for ex: if sales V1.
Click on output types.
Select the output type for ex : BA00
Double click on Processing routines.
There you can find the Driver Program name and Script/smart form name.
Reward if useful.
Thanks,
Raju -
How to display the sort value in the selection screen in the report title
Dear All,
How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
Good day,
Thanks and regards
Arun SHi Arun,
Try this.
1, Set one dynamic parameter,
2, Drag and drop that parameter into your report title.
3, Pass the value(sort value) dynamically from your application,
4, Cheers..
Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then set the data source from CR designer. and darg and drop that data column into the report.
Hope this will work,
Regards,
Salah
Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM -
How to display the header data on different position in alv report
hi all,
how to display the header data on different position in alv report.
for example ,
customer name
xxxx xxxx
vendor name street
xxxx xxxx xxxxx
pls help me .hi
as per my understanding you need to trnasfer header internal table data to pdf..
please check the following links for internal table to pdf..
Convertion of Internal table data to PDF
This link is related to ur issue
Re: how to insert the calling of the FM: OTF to PDF
Thanks -
HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS
HI,
HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS?in ur script main window
/: IF &TTXSY-PAGE& = 15.
ur text or standard text
/: ENDIF.
use this.
hope it helps if any issues revert back -
How to display the Buyer's signature in PO BI Publisher Report
Hi,
How to display the Buyer's signature dynamically in XMLP Purchase Order Report.
Please anybody help on this.Your help greatly appriciated.Hi All once again
I was able to display the signature on XMLP AP Check Print Report by went through the follwoing Tim's blog http://blogs.oracle.com/xmlpublisher/2006/04/13#a12
But in Purchase Order report requirement is different. We need to display the Buyer's signature on XMLP PO Report. So, where is the best place to store the buyers signatures.(For example if we have 10 buyers with 10 signatures respectively then after approving the PO, we should display that particular buyer's signature in PO XML Publisher report).We observed that in byuers & User's form there is no attachment feature enabled.
This is an urgent requiremnt. Please help/guide/suggest to resolve this issue.
Thanks in advance. -
How to display the results in order by based on search value
Hi All,
how to display the results in the below order.
CREATE TABLE TEST( SONGID NUMBER, TITLE VARCHAR2(200))
INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
SELECT *FROM TEST WHERE INSTR (TITLE, 'MADONNA') > 0
output:
SONGID TITLE
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
11 CICCONE, MADONNA (CA)
12 DALLIN, MADONNA LOUISE/STOCK
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
16 MIRWAIS AHMADZAI, MADONNA
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
18 MADONNA (CA),CICCONE
Expected output :
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
...if user searches with 'MADONNA' , I have to display the results like title starts with 'MADONNA' first then rest of the records.
Please let me know is it possible to display the results in that order.
Regards,
RajasekharThis may be a bit more accurate:
SQL> SELECT *
2 FROM TEST
3 WHERE INSTR (TITLE, 'MADONNA') > 0
4 ORDER BY INSTR (TITLE, 'MADONNA')
5 ,TITLE
6 ;
SONGID TITLE
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
12 DALLIN, MADONNA LOUISE/STOCK
11 CICCONE, MADONNA (CA)
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
16 MIRWAIS AHMADZAI, MADONNA
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA) -
How to display the fields in ALV Output without using Field catalog?
How to display the fields in ALV Output without using Field catalog?
Could you pls tell me the coding?
Akshitha.Hi,
u mean without building field catalog. is it? I that case, we can use the FM REUSE_ALV_FIELDCATALOG_MERGE.
data: itab type table of mara.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_structure_name = itab
CHANGING
ct_fieldcat = lt_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
*Pass that field catalog into the fillowing FM
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_grid_title = 'REPORTING'
is_layout = gt_layout
it_fieldcat = lt_fieldcat[]
tables
t_outtab = itab. -
How to display the proxy settings for a specific group of servers in an OU ?
Hi,
Can anyone here please assist me in how to display the value of Proxy server settings from the computers in a specific OU member ?
$Computers = Get-ADComputer -Filter * -SearchBase "OU=Terminal Servers,OU=Servers,DC=domain,DC=com" | Where-Object { Test-Connection $_.Name -Count 1 -Quiet }
ForEach ($Computer in $Computers) {
| Export-csv "C:\Proxy-Setting-Results.csv" -Append -NoTypeInformation -UseCulture
I've done similar script for some other task but not sure how to do this for Proxy setting.
Thanks.
/* Server Support Specialist */Proxy settings are not set in Active Directory
The below code works for 2003 servers and Win XP
$colItems = get-wmiobject -class "Win32_Proxy" -namespace "root\CIMV2" `
-computername $env:computername
foreach ($objItem in $colItems) {
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Proxy Port Number: " $objItem.ProxyPortNumber
write-host "Proxy Server: " $objItem.ProxyServer
write-host "Server Name: " $objItem.ServerName
write-host "Setting ID: " $objItem.SettingID
write-host
You can try checking the registry values- Works in 2008 + and Windows 7
Get-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
or use netsh
netsh winhttp show proxy -r <remotemachinename>
Regards Chen V [MCTS SharePoint 2010] -
How to display the text as a Bold in the Text Element of a Smart Form
Hi,
I created one Smart Form.
In that i created the Text element.
I provide some data also in that.
It is coming as a MS WORD.
I executed my smart form.
Customer Number: &WA_KNA1-KUNNR&
it display the data of the particular customer.
But i need to display the Customer Number as BOLD or else Increase the Size.
For this also I created one SMARTSTYLE.
In that I created the Paragraph and Character Formats also.
Now i assignee that SMARTSTYLE in the Output Option Tab of the Text Element also.
But i unable to get the CUSTOMER NUMBER in Bold.
In MS WORD we have BOLD button.
I selected the Text and Press the BOLD button. At that time it is Highlighted.
Whenever i press the SAVE Button.
Then it is not saved with BOLD.
It is coming in Normal Format.
In the ECC 6.0. I am unable to get the Text as a BOLD.
This text Element is like a MS WORD.
Can you please tell me how to display the Data with BOLD. please tell me. I am unable to get that one.
Thank You.
Regards,
B. Krishna.Hi,
Check where u have given BOLD. In character Format or in Paragraph format.
In SMART FORM,
1. Change to OLD EDITOR if u are confused with the new one.
(This can be done by clicking the button left to new editor ).
2. If it is PARAGRAPH FORMAT,
Give the name of paragraph format in the editor.
P1 &WA_KNA1-KUNNR&
If it is CHARACTER FORMAT,
<C1> &WA_KNA1-KUNNR&
Thanks,
Nithya. -
How to display the time 00:00:00 as blank?
Dear Friends,
I have created a new field GDF_9000_CREATED_AT in the normal screen (dynpro), the format is TIMS, however, when there is no value for it, is always display like "00:00:00" on the screen.
So how to display the time 00:00:00 as blank in the normal screen (dynpro) when there is no value for it?
Thanks a lot!!In screen PBO module:
LOOP AT SCREEN.
if screen-name EQ 'my_time' AND my_time EQ time_zero.
screen-invisible = 'X'.
screen-active = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
I don't try this, but i think is true...
Edited by: Marco Modenese on May 7, 2009 10:36 AM
Edited by: Marco Modenese on May 7, 2009 10:36 AM -
How to display the name of my metric in a PivotTable.
Hi I am working with OBIEE Plus
How to display the name of my metric in a PivotTable.
Why when I add a field to the sector of the measures in a PivotTable field name disappears.
Help please
Thanks beforehandWhere are your 'measure labels' ? These show what the metric is.
Maybe you are looking for
-
How to View Slideshow but NOT in FULL SCREEN?
I often would like to start a slideshow of images on my mac but I don't want it to take up the whole screen. I just want to view the slideshow in a window. I have tried both iPhoto and Preview and can't figure out how to do that. Is there a way to do
-
Dial UP Modem is not working properly in Satellite A200-1GB
My A200 - 1 GB's modem is not working properly. It tries to connect but at last it says remote computer is not responding. As i noticed It has a "Agree" 56kpbs modem. It shown as Toshiba Software Modem. I tried so many times it doesn't work properly.
-
The new OSX update (10.6.6) would not finishing "writing" files even if i leave the MacBook Pro running for days.!! what shall I do.?
-
Why is laying out component sizes in Swing so incredibly opaque? Each time I build a swing interface it seems to be a series of visual compromises, and ending up in more TLOC than any other part of even a complex application. Changing one value seems
-
Error when using comma in number range
when i use the comma character in a table, in use with some formulas i am getting an error. pages thinks that the comma character is a string. here in the netherlands we use the comma, as a seperation character for our numbering. (like this 7,80) doe