Total in dynamic internaltable
Hi ,
i am populating data using dynamic internal table,
data is coming properly
i can't able to total the column wise data .
how to total the column.
regards,
Mohd.
<table> is dynamic internal table for totals i declare one more dynamic internal table <table1>.
In which month is an month value that is 2009.01,2009.02.2009.03....,
for calculating the every column total so i am clearing month value ..,
but everytime it is appending one more row to <table1> table .
b'coz it is considering all the fields as character fields ..
LOOP AT <TABLE> inTO <STRUC>.
ASSIGN COMPONENT 'MONTH' OF STRUCTURE <STRUC> TO <FIELD>.
<FIELD> = IFINAL1-WEEK4.
clear: <FIELD>.
collect <struc> into <table1>.
ENDLOOP.
in fieldcatalog i am passing these values..,
IS_LVC_CAT-TABNAME = 'IFINAL'.
CONCATENATE IFINALT-VKGRP IFINALC-ZCARD INTO IS_LVC_CAT-FIELDNAME.
IS_LVC_CAT-SELTEXT = IS_LVC_CAT-FIELDNAME.
IS_LVC_CAT-OUTPUTLEN = 18.
IS_LVC_CAT-CURRENCY = 'WAERK'.
IS_LVC_CAT-CFIELDNAME = IS_LVC_CAT-FIELDNAME.
need to pass any othere values also.
regards,
mohd.
Edited by: abdul gaffar on Jul 2, 2009 12:15 PM
Similar Messages
-
Has any one figured out how to create a Percent of Total Member Dynamic Calc that could keep track of the Percent of Total without doing this in the reporting tool?For Example: ACT Percent of TotalCookies Jan 10 %10 Feb 20 %20 Mar 70 %70 2001 100 %100
Presuming that Actual is a member of the Scenario dimension and that Total Cookies is a dimension, I would probably create another member in the Scenario dimension and put the following formula against it:Actual%Actual->"Total Cookies";This would have to be dynamic calc to work.
-
Calculating Running Totals in Columns
I am trying to calculate running totals in Dynamic columns
I have data that is monthly and want to create a running total in the columns.
Data Format in:
Material|Type|Month|Qty
Query Report Ex:
Material|Type| Nov-05| Dec-05| Jan-06| Feb-06
PART1| DEMAND| -42 EA| -46 EA| -33 EA| -3 EA
PART1| SUPPLY| 58 EA| 0 EA| 0 EA| 49 EA
Result| | 16 EA| -46 EA| -33 EA| 46 EA
I would like running total taken from totals from previous columns + current column total are dynamic:
Result| | 16 EA| -30 EA| -63 EA| -17 EA
.continues for more parts
PART2
Thanks,
Mike Walker
FMC Technologies Inc.I am still having problems with this.
I have not figured out a way to control the Results row that is genereated to be a running total. Without having the data also becoming a running total.
I am wanting an new running total line. And not the standard Results row unless I can make it a running total and it leaves the data alone.
Material|Type| Nov-05| Dec-05| Jan-06| Feb-06|....<Dynamic>
PART1| DEMAND| -42 EA| -46 EA| -33 EA| -3 EA|....<Dynamic>
PART1| SUPPLY| 58 EA| 0 EA| 0 EA| 49 EA|....<Dynamic>
Standard Results Row:
Result| | 16 EA| -46 EA| -33 EA| 46 EA
I want this. Running total of the standard results.
Result| | 16 EA| -30 EA| -63 EA| -17 EA
I will look more on this next week.
Thanks. -
Spreadsheet structure - complex cost calculation
I am trying to set up a semi-automatic spreadsheet that will help me prepare quotes for building work.
I would appreciate any advice on the best set up that would for this and possible functions I would need to use to make it work. I tried finding a suitable solution or a template but to no avail.
I'll try to explain the requirements as clearly as I can, but please let me know if there is any further explanation you may require.
1. I have many tables that I set up to calculate costs and prices of particular types of work, i.e. building a brick wall or laying foundations
1.1 Each table has the same columns such as'type of resource', 'quantity', 'price per unit', 'cost', 'profit', 'price'
1.2 Each table has a different number of rows, depending on number of resources required for the particular type of work, some of the tables have multiple header rows to allow for data entry cells, such as 'length' or 'height'
1.3 I keep the tables in a separate file and just copy the ones I need for particular quote, one type of table may be used several times in a quote, depending on type of job quoted, i.e. I may have more than one wall to price
2. The main sheet of the quote has a table that lists all the items of work I need to price
2.1 The columns are: 'item id' (unique number), 'item description' and 'tender price'
2.2 'tender price' is manually linked to 'total price' in the relevant calculation table (I gathered here that perhaps using INDIRECT function will allow the link to be automatic, correct?)
2.3 Right now I use 'item id' as the name of the relevant table to be able to recognise which item it calculates
3.0 I need a summary sheet with few tables that will give me various information. The information required is:
- materials list and quantities collected from all the calculation tables
- labour list as above
- labour and materials per build stage (I need to add stages to the tables first)
I'm not sure this can work with me using separate tables for each item calculation. I think that if I put all the calculations into one, big table I may be able to pull info out by using categories, however I would like to avoid this as I would end up with very large, messy tables on larger quotes.
I have used excel and a combination of outline and pivot tables in the past, but it was by no means a perfect solution.
I hope my explanation is clear and I do appreciate your help.
Regards
BartBart,
I think I have what you were looking for. I only addressed what I thought was your concern.
1. I added a table to your "general calculators" sheet, and called it "Data"
2. I utilized the VLOOKUP and the INDIRECT functions to make your Totals more dynamic.
3. The formula is going to look to the table referenced in the "A" column of the line. (A3 = 1.1)
4. The formula will then look at the column heading and find the number in the "Data" table I added.
5. The lookup will then go over this many columns to find the value of the "Total" line.
You should be able to copy this formula to all the cells you are looking for the total of. As an example, copy cell C3 to C12. Then range fill to F22. Delete the formulas in C16 and D16 as they will error, because they are not necessary. Repeat the procedure for Job 3, etc.
If you change the Job (Table) reference in column "A" this will automatically look to the correct table. If you need to add a column some day, Add the column to all the appropriate tables, then add the name and column number to "Data." It should then recalculate correctly.
I have posted the spreadsheet here:
https://www.iwork.com/r/?d=samplequoteRevised.numbers&a=p108776228
If it you cant get to it, let me know....and we can try something else...since I dont have a mobileme account.
Let me know if you have ANY questions.
Waza -
Macintosh hd, what is the stored in the yellow icon?
I think I have a problem with my HD. The yellow icon takes up most of the memory and I can't figure out what the yellow icon stands for... ANyone?
Fear not - that is VM, or virtual memory. The total changes dynamically depending on your use. If you reboot, your VM will be around zero.
Does this solution work for you? Want more explanation? Post here, so others can learn from this thread! -
Gang,
I have just learned that APEX only supports one SQL statement in the report (ver 3.0.x) so I am forced to join my tables in the SQL statement. That produces a lot of repeat in the result set. Can I somehow group this together using the Word Plug-In and get a nice report like this:
<Customer Information>
<All customer Contacts (many per customer)>
<All Customer Notes (many per customer)>
<All Customer Activities (many per customer)>
When I export the report from APEX it looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<DOCUMENT>
<DATE>02-JAN-08</DATE>
<USER_NAME>[email protected]</USER_NAME>
<APP_ID>28151</APP_ID>
<APP_NAME>APEX - Application Builder</APP_NAME>
<TITLE>VAR_Details</TITLE>
<REGION ID="0">
<ROWSET>
<ROW>
<NAME>ACCESS COMPUTER SOLUTIONS</NAME>
<ADDRESS>89 Tycos Dr. Unit 101</ADDRESS>
<CITY>Toronto</CITY>
<ZIP>M6B 1W3</ZIP>
<VAD_ACCT_NUMBER></VAD_ACCT_NUMBER>
<IM_PARTNER_LEVEL_ID>0</IM_PARTNER_LEVEL_ID>
<PIN_NUMBER>357582571029</PIN_NUMBER>
<OPN_EXPIRY>06-JUL-07</OPN_EXPIRY>
<FUDA_AGREEMENT>CA-OPN-FUDA-10133878-25-JUL-06</FUDA_AGREEMENT>
<FUDA_EXPIRY></FUDA_EXPIRY>
<ORACLE_FIELD_CM>Mark Edwards</ORACLE_FIELD_CM>
<ORACLE_DIRECT_CM>Liam Doherty</ORACLE_DIRECT_CM>
<NAME>Irene Femia</NAME>
<TITLE></TITLE>
<PHONE>416 789 5542</PHONE>
<CELL_PHONE></CELL_PHONE>
<EMAIL>[email protected]</EMAIL>
<DESCRIPTION></DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<COMMENTS>10/23 Lucas emailed her re: training</COMMENTS>
</ROW>
<ROW>
<NAME>ACCESS COMPUTER SYSTEMS</NAME>
<ADDRESS>1340 TEANECK RD</ADDRESS>
<CITY>Teaneck</CITY>
<ZIP>7666</ZIP>
<VAD_ACCT_NUMBER>30-299840</VAD_ACCT_NUMBER>
<IM_PARTNER_LEVEL_ID>0</IM_PARTNER_LEVEL_ID>
<PIN_NUMBER>387582575072</PIN_NUMBER>
<OPN_EXPIRY>16-JAN-07</OPN_EXPIRY>
<FUDA_AGREEMENT></FUDA_AGREEMENT>
<FUDA_EXPIRY></FUDA_EXPIRY>
<ORACLE_FIELD_CM>Harlan Keirstead</ORACLE_FIELD_CM>
<ORACLE_DIRECT_CM>Julie Cook</ORACLE_DIRECT_CM>
<NAME>Michael Stoller</NAME>
<TITLE></TITLE>
<PHONE>201-837-6999</PHONE>
<CELL_PHONE></CELL_PHONE>
<EMAIL>[email protected]</EMAIL>
<DESCRIPTION>Sales Cheat Sheet: App Server SE1</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<COMMENTS></COMMENTS>
</ROW>
<ROW>
<NAME>ACCESS COMPUTER SYSTEMS</NAME>
<ADDRESS>1340 TEANECK RD</ADDRESS>
<CITY>Teaneck</CITY>
<ZIP>7666</ZIP>
<VAD_ACCT_NUMBER>30-299840</VAD_ACCT_NUMBER>
<IM_PARTNER_LEVEL_ID>0</IM_PARTNER_LEVEL_ID>
<PIN_NUMBER>387582575072</PIN_NUMBER>
<OPN_EXPIRY>16-JAN-07</OPN_EXPIRY>
<FUDA_AGREEMENT></FUDA_AGREEMENT>
<FUDA_EXPIRY></FUDA_EXPIRY>
<ORACLE_FIELD_CM>Harlan Keirstead</ORACLE_FIELD_CM>
<ORACLE_DIRECT_CM>Julie Cook</ORACLE_DIRECT_CM>
<NAME>Michael Stoller</NAME>
<TITLE></TITLE>
<PHONE>201-837-6999</PHONE>
<CELL_PHONE></CELL_PHONE>
<EMAIL>[email protected]</EMAIL>
<DESCRIPTION>Oracle Sales Champion 10g for Resellers Certification Class</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<COMMENTS></COMMENTS>
</ROW>
<ROW>
<NAME>ACCESS COMPUTER SYSTEMS</NAME>
<ADDRESS>1340 TEANECK RD</ADDRESS>
<CITY>Teaneck</CITY>
<ZIP>7666</ZIP>
<VAD_ACCT_NUMBER>30-299840</VAD_ACCT_NUMBER>
<IM_PARTNER_LEVEL_ID>0</IM_PARTNER_LEVEL_ID>
<PIN_NUMBER>387582575072</PIN_NUMBER>
<OPN_EXPIRY>16-JAN-07</OPN_EXPIRY>
<FUDA_AGREEMENT></FUDA_AGREEMENT>
<FUDA_EXPIRY></FUDA_EXPIRY>
<ORACLE_FIELD_CM>Harlan Keirstead</ORACLE_FIELD_CM>
<ORACLE_DIRECT_CM>Julie Cook</ORACLE_DIRECT_CM>
<NAME>Michael Stoller</NAME>
<TITLE></TITLE>
<PHONE>201-837-6999</PHONE>
<CELL_PHONE></CELL_PHONE>
<EMAIL>[email protected]</EMAIL>
<DESCRIPTION>Sales Cheat Sheet: Database SE1</DESCRIPTION>
<START_DATE></START_DATE>
<END_DATE></END_DATE>
<COMMENTS></COMMENTS>
</ROW>
</ROWSET>
</REGION>
</DOCUMENT>
Any help is great!
Cheers
AndyHmm,
see these follwoing links for , how to group
Re: How to do this? (XML Publisher, Group)
Re: Total by Group Currency
Re: Total on dynamic columns on group by columns
How do I get a grand total in my template?
Re: Mix two groups at the same hierarchy
Re: grouping
Re: Where's my Total question
Re: Depth of groupings
Re: grouping in rtf template like oracle reports - a newbie question
Re: Making 2 into 1 -
Question related to measures dimension...
Hi,
I have nearly 10 reports, and for every report there are nearly 20 measures which need to keep in the outline.If we are keeping certain measures belonging to seperate report,how to sepeate the measures of one report to another report.
can i keep group like this...
ACCOUNTS(+)
Brand wise report measures(+)(label only)
volume(+)
per case workings(+)
gr per unit(+)
tp per unit(+)
Variable conversion Report measures(+)(label only)
Total(+)(dynamic calc)
a(+)
b(+)
c(+)
If my approach is correct,then how to aggregate a,b,c to total.some error is coming in verifying the outline saying "parent must be dynamic calc)
Pls post the approach...
regards
Vardhan...It's hard to tell from the way you [posted it, but I'm guessing "Total" is the only child of "Variable Conversion Report measures". Total is dynamic calc and "Variable Conversion Report measures" is label only.
That is not allowed. Make "Variable Conversion Report measures" dynamic calc. -
Error while loading period dimension in planning through DIM
Hi,
I am trying to load the metadata extracted from DRM into Period dimension in Hyperion Planning through Informatica using DIM. But I am getting the following error:
Record [[YearTotal, Period, Total Year, Dynamic Calc, 0, null, null, null, null, Unspecified, null, null, null, null, ~, ~, ~]] was rejected by the Planning Server.
Error occurred during load process. Error message is: Cannot load dimension member, error message is: java.lang.RuntimeException: Year operations not handled through this entry point.
Record [[1stHalf, YearTotal, null, Dynamic Calc, 0, null, null, null, null, Unspecified, null, null, null, null, +, +, +]] was rejected by the Planning Server.
Error occurred during load process. Error message is: Cannot load dimension member, error message is: java.lang.RuntimeException: Invalid First Child Id
Appreciate your help.
Thanks.The .otn file is created when essbase is restructuring and once completed renamed to otl, if it does not complete it can leave the .otn file.
You should be able to delete the otn (maybe stop the application first) and open the outline.
I would also check the logs generated from ODI and also the essbase app logs to troubleshoot the issue.
Cheers
John
http://john-goodwin.blogspot.com/ -
Hi,
I have a couple of accounts that use the previous month value across years. However, sometimes it's necessary update the value in the middle of the year and this change should be reflected in the following months and years mantaining the old value in previous months and years.
Somenthing like this:
Year - FY12
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 100
Dec- 100
FY13
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 100
Dec- 100
If I change the value in November->FY12 to 200, I want:
Year - FY12
Jan- 100
Feb- 100
Mar- 100
Apr- 100
May- 100
Jun- 100
Jul- 100
Aug- 100
Sep- 100
Oct- 100
Nov- 200
Dec- 200
FY13
Jan- 200
Feb- 200
Mar- 200
Apr- 200
May- 200
Jun- 200
Jul- 200
Aug- 200
Sep- 200
Oct- 200
Nov- 200
Dec- 200
Any help?
ThanksI typically just aggregate up the Base + Adj to get "Total Adjusted". No need for a formula, unless you want to introduce specific override functionality. (Where the override amount would ignore what's in "Base" and "Adj") You may be able to get away with making "Total Adjusted" dynamic calc. This will depend on a lot of different factors, but it's something you should consider.
Sometimes I put my adjustments into a separate form. Sometimes they're on the same form. That really depends on business requirements.
Let's say you don't want to make this a separate dimension. Then the next option is typically creating specific adjustment accounts. The accounts where you're carrying the balance forward would look to see if an adjustment has been made in one of these specific adjustment accounts, and if so, add that adjustment to the prior value. I tend to prefer a separate adjustment dimension as it offers more flexibility, but if you've already got a database built, adding another dimension can be painful.
- Jake -
Selectively overflowing header information
Hi Everyone,
Currently we are working on a Form in 11.3 which can span into multiple pages. We have a requirement to print header information(approx 4 lines of data in a regular 10 pt font) on the form like policy number, date etc. Per our requirement, we need to print this header only on the odd number pages. On the even pages, the header shouldnt appear.
For accomplishing this we have the tried the following options
Option A
1) We have set copyonoverflow for the Header image. In this way the header image would automatically print on all the different pages
2) We have used a posttrans dal to delete this header image only on the even pages.
The problem with this approach is that when the image is deleted, it leaves a empty space on the top of the even page which makes the o/p look bad.
Option B
We removed the header image from the form during design time. We tried to dynamically add the header image only on the odd numbered pages in posttransdal, again the issue here is that eventhough we add the image, it is just getting overlayed on the existing page. We are not in a position to dynamically shift the remaining contents of the page down. Also this form is totally a dynamic form and we cant just like that shift the remaining contents beneath this header using options like setimage position.
Option C
We tried to put a logic in the header section level trigger/field within the header image. The issue here is that the logic is getting executed only once. If the logic returns true once, the image by default gets copied on all the overflow pages. What I am trying to say here is that eventhough the header image gets copied on overflow multiple times, the DAL associated with the header gets executed only once.
Could you please let us know if we can try any other option for accomplishing this requirement.
Thanks!Thanks for the quick response. As I had specified, the piece of data that I need to display on the header consists of 4 lines. Through POSTTRANS DAL when we add the image, we can just do a overlay of the header image on a existing page.
If the image I am trying to add is of lesser size, then this procedure is fine and there would not be any major issues in the o/p. But the problem with us is that the image that we are trying to add dynamically, atleast occupies more than a inch to inch and a half of space. So we cannot just like that overlay the data.
If the header image is of lesser size then we can just reserve this space during Form design time, so that the extra image can just be overlayed during post transaction. If I dont reserve the space and make everything dynamic then we would have to add the extra image and then move all the images below it using some sought of setpos rules, which makes the form logic very complex. -
I found a tutorial on XML and flash. However it only deals
with dropping a bunch on nodes in a combo box or list. I need help
figureing out how to do the following:
Lets say that I have an XML that looks like this,
<table>
<item id="4" email="[email protected]" />
<item id="5" email="[email protected]" />
<item id="6" email="[email protected]" />
</table>
Now, what I want to be able to do is put a dynamic text field
on the stage and say, give me the email address for the id=4. Then
in a totally different dynamic text box, give me the email for
id=5, and so on. These dynamix text fields will all me in the same
frame, so I am wantign to use actionscript on the frame, but need
the script that can put a certain attribute in an instance of a
text box according to an id that I specify in the code. Can anybody
help on this?
-Yours truly Ricky BobbyCan someone tell me if I am on the right track with this.
Let's say that my dynamic text field has an instance name of email.
and my xml looks like the following:
<table>
<item id="4" email="[email protected]" />
<item id="5" email="[email protected]" />
<item id="6" email="[email protected]" />
</table>
how about this for part of the actionacript
var my_key = item.attributes.id;
for (my_key = 4){
email.text = item.attributes.email; // setting the text
field to the email for id=4
} -
DATAEXPORT Calculation Command
I'm getting an error when using the DATAEXPORT Calculation Command.
The DATAEXPORT uses a FIX statement on a section of the Accounts dimension that contains Stored members only with no member formulas.
When I run the calc scrpit I get an error message on a total unrelated Dynamic Calc member in a section of the accounts dimension that isn't included in my FIX statement.
Please can someone explain/assist?when a block is brought in from memory it gets expanded and evaluated even items you are not asking for, thus a dynamic formual might be triggered. I've not tried it, but you could try the config setting AGGRESSIVEBLKOPTIMIZATION TRUE to exclude formulas
-
SUB Totals within a Dynamic Data Column
Has anyone ever calculated SUB Totals in a Layout with a Dynamic Data Column?
The TOTAL for all data is expressed on the Data Column tab of the Layout as C(1):C(1) - 0FISCPER / Posting Period is the Dynamic Characteristic. When the system actually displays the 12 columns of data for the Year, the formula for TOTAL is also adjusted - no problem here. But the user also wants SUB Totals, by Quarter, within the Year.
Any insight or suggections are appreciated !
Thanks,
LyleHello,
use variables Q1, ..., Q4 for the quarters and create
data colums as follows
1 Q1 dynamic = X
2 Total C(1)
3 Q2 dynamic = X
4 Total C(3)
5 Q3 dynamic = X
6 Total C(5)
7 Q4 dynamic = X
8 Total C(7)
9 Year Total C(2)C(4)C(6)+C(8)
Regards,
Gregor -
Change the total and subtotal dynamically in ALV GRID
Hi guys,
I need to change the total and subtotal of field "AMOUNT" dynamically.I am using ALV GRID CONTROL(oops concept).I need to override the standard functionality.I need to show my own subtotal and total line instead of standard one .Hi
I've understood it, I wanted to use OO Grid too, but I had to use the ALV list in order to write my total.
If you need to use OO grid u can try to exclude all funcitonalities for the total, subtotal and sorting and insert in the output table the lines with your totals.
Max -
Calculations on Total column' fields(bps layout: dynamic calmonth)
hi friends,
in bps, output layout, based on dynamic calmonth i showing number of months. I want to system to calulate total(all calmonths) sum for a particular field.
Lead column data columns
Expenses apr2009 may 2009 june 2009.....mar2010 Total
Office 20 10 20 100
Usually for caculating total in layout builder 2nd screen, we chose tickmark(total) and then write c(1): c(1) like that or simply c(1) which calculates all calmonth values.
My situation is like this, user only enter number of year(s), in terms of range. I populate calmonth field using user-exit based on year range. Next using calmonth field in layout builder as dynamic field. Now user wants TOTAL of individual years along with calmonths. How can i put this condition in layout builder?
eg:
apr2009 may 2009......mar2010 Total(09-10) apr2010 may 2010 ...mar2011 Total(10-11).apr2011 ..Total(11-12).
Expenses 10 20 30..............
Next question, Can i do arthemetic calculation on total fields?
eg:
Lead column apr09 may09 ....mar10 total
A 10 20 100
B 20 30 200
c 10 5 ????(this value i want to calulate by above totals eg: (200/100)* 85.
Can it possible to get that?
thanks,
kumarIt is not possible to hide or change the column width during design time if the layout is ALV.
However if the layout is used in WIB (web interface builder), I believe the column widths can be modified at run time. This would need additional coding.
Regards
Maybe you are looking for
-
MSI Big Bang Marshal - Questions
Hello all I am new here and I have been doing research on components for a new computer I am making a shopping list for. I have a few questions I have not been able to find any information online. Here goes 1. Anything specific I should know about th
-
Help me-adobe flash player install box "run" or "saveas" will not pop open when I install or update
I have windows vista 64. I already have flash player13 and reader x 10.1.9 but I can not get FLASH back. It wasn't working on youtube. So I tried to update it. Went to adobe and clicked the yellow button to check to see if I had adobe flash. It said
-
Hi all experts. I wonder if you could help me create a query. The information I'm looking for is contained in the A/P Invoices and also involves profit centres and accounts. We have a case where our client has made transactions containing profit cent
-
Hi, What are all the options to increase the Max. No. of connections(Sessions) & Processes in Database? Also, I would like to know How we have to validate the count to fix the No. of connections based on the Database Health? Kindly clarify me on this
-
Make one bitmap have same "look and feel" as another
Hello community. First time I am coming across this problem for a client. He wants an old photograph (b/w, scanned) to be the "blueprint" for another one, which he just made with his digicam. The latter is of course quite different in lighting etc.,