REPORT CALCULATION HELP NEEDED!!!
Hello
I have a report where i need to do some calculation .
I have 3 columns in my report Businesstype , Business Code & Fact . When i display the report i see the Business Code 1 - Business Code 5 in 5 rows . But sometimes the report contains Business Code 6 along with Business Code 1 - Business Code 5 then Business Code 6 needs to calculate SUM(Business Code 1-6) and display in one row .
Could anybody please leave me any suggestions .
Hi there,
Create a table
- On the first row create for each group to populate the data for Business Code [1-n] with a second column containing numeric values.
- On the second row use the sum function using current-group() function for the value that you want to calculate the sum for.
Hope this helps.
Let me how you get on.
cheers...
Similar Messages
-
PDF form field calculation help needed
I need to make some simple calculations on a pdf form and need some help.
I have a form field for number of guests.
A field for a set cost for various tickets (there are 3 levels of ticket prices) (I might not need this field).
A subtotal of the guests attending and ticket price.
A grand total of the subtotals.
I can't figure out how to either put in a fixed cost in a form field or input a calculation so that the number of tickets is muliplied by a fixed number and gives me a subtotal.
Thanks.Ok. I finally got the calculations to work. But..... when I save and open in Reader, they don't work. Go back to Pro, they don't work there now either. They also don't show up under the Set Field Order Calculations. To reset them, i have to erase the calculations, save, redo the calculations. Preview the form and everything works — calculations happen and i get a total.
Adobe Reader usage rights are enabled.
Why is this so hard?
I found this thread http://forums.adobe.com/message/1152890#1152890 about it. Is this bug still going on since 2009?
Ok. Apparently you have to enable reader rights after the form is done. It seems to work now. What a pain. -
Report Script Help Needed - Data Extract
Hi,
I have a cube with 11 dims: Account, Period, Resource, Facility, SSSS, CCCC, Activity, Years, Version, Scenario, Charges
I need a report script that will extract data for a certain year and scenario only. I have not written a report script in a long time and have the following thus far. However it's not extracting data that I know exists. Can anyone help? Thanks is advance. This runs but I just get a blank screen or file....
//ESS_LOCALE English_UnitedStates.Latin1@Binary
// This report script extracts data from cube
"FY11"
{DECIMAL 4}
{NAMEWIDTH 25}
{SUPCOMMAS}
{SUPBRACKETS}
{SUPPAGEHEADING}
{NOINDENTGEN}
{SUPMISSINGROWS}
{SUPZEROROWS}
{TABDELIMIT}
{SUPFEED}
{ROWREPEAT}
"JAN"
"FEB"
"MAR"
//"APR"
//"MAY"
//"JUN"
//"JUL"
//"AUG"
//"SEP"
//"OCT"
//"NOV"
//"DEC"
"BUDGET"
// This is the members of the CCCC dimension to extract
// This is the members or the ACCOUNT dimension to extract
!Hello -
You can try/modify the code below and see if this works -
//ESS_LOCALE English_UnitedStates.Latin1@Binary
{ SUPMISSINGROWS }
{ SUPZEROROWS }
{ SUPFEED, SUPBRACKETS, SUPCOMMAS }
{ NOINDENTGEN }
{ DECIMAL 4}
{ NAMEWIDTH 30 }
{ ROWREPEAT }
{ TABDELIMIT }
{MISSINGTEXT "-" }
<PAGE ("Scenario", "Resource", "Facility" ,"SSSS", "Activity", "Version", "Charges")
"Budget"
"Resource"
"Facility"
"SSSS"
"Activity"
"Version"
"Charges"
<COLUMN ("Year","Period")
"FY11"
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
<ROW ("Account", "CCCC")
<LINK (<DESCENDANTS ("ACCOUNT") AND <LEV("ACCOUNT",0))
<LINK (<DESCENDANTS ("RT9_CCCC") AND <LEV("CCCC",0))
Here you may want to change teh combination in the Page dimensions for eg -
I know for Scenario you want Budget
But for Version should it be "Version" or may be "Working" Or "Final" or any other version dimension member ...?
Same way modify the dimension memebres for other dimensions.
Regards
Edited by: Rosi on Aug 24, 2009 10:01 AM
Edited by: Rosi on Aug 24, 2009 10:02 AM -
Hi BW Gurus,
i want to know the physical storage location of the HTML file , when i schedule a WAD report by using REPORTING AGENT , i can see it in transaction RSRAPS , but i want to know the location where it is stored can any one help me in this .
Regards,
AbrahamHi
Usually doc's are stored in the SAP directory on the server SAP is running on.
It is usually
USR\SAP\-SID- on a one of the drives (D, F etc).
To get the technical name of the doc go to the doc in the Report Agent and right click on it, then goto the most right tab and you will find a logical and physical docs (that looks like so EF4DDB8E6B183B4D9797EE842C0EF0CC).
The physical is the one you need.
Reg's
Edan -
Here is the situation:
I am doing a quick "play around" between Pages/Word, Numbers/Excel and Keynote/Powerpoint.
This is to refresh my memory to windows, since I am going into a short-term (5 - 7 or 8 years) of IT.
I need help with calculating the average time of sunrise for one week, using two sheets.
The times given are 5:40am, 5:41am, ........ 5:46am. The cells: B5 - B11 (Sunrise Column for week 1). The name for this sheet is "Weekly".
The equation is going to be place in cell B5 of sheet named "Monthly" representing the average time of sunrise for that week.
In excell, I understand "Weekly!B3" refers to cell B3 on worksheet "Weekly".
How would I do this in numbers? (I will figure out how to do it in Excell.)
Thanks again guys (and ladies)!In fact, the problem is not the one which you described.
The way to reference a cell or a range of cell is perfectly described in iWork Formula and Functions User Guide in which every user may get it.
The important thing to know is that in NumbersLand, 5:40am isn't a time value but a date_time one.
In the tables above, I deliberately choose to insert time values entered at different dates so, the formula inserted in Monthly :: B5
=AVERAGE(Weekly :: B5:B11)
return an exact result which doesn't match what we are wanting to get.
This is why I used the auxiliary column C
In Weekly :: C5, the formula is :
=TIMEVALUE(B)
Apply Fill Down to insert the formula in rows below.
The formula returns the time value using the unit day.
In Monthly // C5, the formula is :
=AVERAGE(Weekly :: C5:C11)
but I guess that you don't wish to get the result in this format.
In Monthly // D5, the formula is :
=DURATION(0,AVERAGE(Weekly :: C5:C11))
You may edit the format of this duration cell as you want.
An alternate formula would be :
=TIME(,AVERAGE(Weekly :: C5:C11)*24*60,)
But CAUTION, one more time, as you may see, the cell will contain a date component.
Yvan KOENIG (VALLAURIS, France) vendredi 27 mai 2011 12:20:15
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Report creation - help needed urgent
Hi all,
My client is asking for certain information in terms of Area Budget, Amount spent at any point of time , breakup of expenditures among different activities which should be accessible to the sales team.
I think i need to create a report for that. But i dont have much idea about the report.
Please help me in this regard.
If anyone has any other idea to how to approach this issue, please do let me know.
Thanks in advance,
SouravHi Sourav,
Initially you should have clarity about the client's requirement. What are all the fields required in that report i.e., the output (shape of the report) required by the client. Then search for the availability of the standard report which is similar to your requirement and if required take the help of the ABAPer to make the report.Use Tcode SARP to look for the standard reports provided by SAP. SAP has provided around 1600 standard reports.
Thanks,
Ravi -
Hi,
I have not written one in years and am having trouble with a fairly simple one (I think). Was wondering if you could take a look. Anyways we have 11 dimensions which may make this impossible due to performance. I basically need a report script to perform a data extract. Data requirements for each dimension would be:
Scenario: Budget
Version: Final
CCCC: Tot_CCCC (Rollup)
SCCC: Tot_SCCC (Rollup)
Charge_Type: Charge_Type_Total (Rollup)
Resource: NU_RESC (Rollup)
SAU_CAU_Facility: Zero level members of "NU_Consolidated"
Account: Zero level members of "TOTCO_FERC"
Activity: Zero level members of "NU_Actv"
Years: Children of "YEARS"
Periods: Jan to Dec only
Report format would suppress the PAGE thus Budget and Final would not appear.
Was also hoping to somehow suppress CCCC, SCCC, Charge_Type and Resource(Not sure if possible).
Thus format would look something like this tab delimited:
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
SAU_CAU_Facility Account Activity Year 100 200 100 100 010 100 200 300 100 100 100 100
Here is what I have so far. I have not been able to get it to return any results even though I have loaded one row of fake data. Does anything jump out at you as to what I'm doing wrong? Appreciate any help you may have as I'm really stuck as it's been years since I have tried this.
//ESS_LOCALE English_UnitedStates.Latin1@Binary
// This report script extracts data from NUMaster
<SUPSHARE
{DECIMAL 4}
{NAMEWIDTH 25}
{SUPCOMMAS}
{SUPBRACKETS}
{SUPPAGEHEADING}
{NOINDENTGEN}
{SUPMISSINGROWS}
{SUPZEROROWS}
{TABDELIMIT}
{SUPFEED}
{ROWREPEAT}
<PAGE ("SCENARIO", "VERSION")
"BUDGET" "FINAL"
<COLUMN ("PERIOD")
"JAN"
"FEB"
"MAR"
"APR"
"MAY"
"JUN"
"JUL"
"AUG"
"SEP"
"OCT"
"NOV"
"DEC"
<ROW ("RESOURCE_LOCATION", "SCCC", "CCCC", "VERSION", "CHARGE_TYPE", "SCENARIO", "SAU_CAU_FACILITY", "ACCOUNT", "ACTIVITY", "YEARS")
<DIMBOTTOM "SAU_CAU_Facility"
<DIMBOTTOM "ACCOUNT"
<DIMBOTTOM "ACTIVITY"
<DIMBOTTOM "YEARS"
"TOT_CCCC"
"TOT_SCCC"
"CHARGE_TYPE_TOTAL"
"NU_RESC"
// Limits the members within the specified dimensions to the correct zero level members of the specified rollup
<LINK (<DESCENDANTS ("NU_CONSOLIDATED") AND <LEV("SAU_CAU_Facility",0))
<LINK (<DESCENDANTS ("TOTCO_FERC") AND <LEV("ACCOUNT",0))
<LINK (<DESCENDANTS ("NU_Actv") AND <LEV("ACTIVITY",0))
Thanks,
SAmOne thing that may help - it looks like you're using both <DIMBOTTOM and <LINK for three of your dimensions.
<DIMBOTTOM "SAU_CAU_Facility"
<DIMBOTTOM "ACCOUNT"
<DIMBOTTOM "ACTIVITY"
You should just need the <LINK and not the <DIMBOTTOM. <DIMBOTTOM's can really kill report script performance.
Whenever I do these, I try to start small, and then open the report script up to more and more members to see what's affecting performance. I'd start with one year, one facility, one activity, one account, etc. Then slowly add in the full member specifications you want.
Hope this helps,
- Jake -
Very simple calculation help needed.
I am a non-techie person being tasked with creating a form. Java? Thats coffee right?
see what I mean .
Anyway I need to have a form calculate the difference between two dollar amounts.
They are: Previous Check Amount ____________
Current Check Amount __________
Difference(+/-) _____________
I looked at doing the calculation via the value field on the calculate tab. But I see I cannot do that unless I choose the Custom Calculation Script and writing it myself. I am not sure how to do that. If I could send cookies to my savior I would.
Thanks!!Gilad,
Thanks for the reply,
The fields are "Previous Check Amount" and "Current Check Amount" and I need to calculate whatever (+/-) difference there would be between the two...... -
Asset aquisition report (urgent help needed from abap guys working on FI m)
hi all,
i have to develop Asset Aquisition report.so i have developed it.
but in this i am not getting logic for the following---
if i enter a date like -19.12.2006
then the output of this report should show all the asset aquisition of the
company from 01.04.2006 to 19.12.2006 only.
bcoz in indian scenario fiscal year starts from 1st of april only.
but in my output it is showing all the asset aquisition from the day comapny was
started having its asset aquisition.
so plz if anyone has logic for above sceanario then plz share with me.
or any one has previously worked on this report can send the code to me
satisfying the above scenario. its very very urgent guys.
my id - [email protected]
i am looking for the replyhi srinivas thanks for ur reply but it is not clear to me .
so if u will send me the code the it will be better for me .
my id- [email protected]
i am waiting for ur reply. if u have code for this then plz send me.
thanks yaar in advance -
Sql calculation help needed.
Hi all gurus.
I'm having problem where I need to calculate AR days.
formula is (sales of prior 3 months/90)/Ar $ amount.= Days
Data is stored in two different table.
1.Monthly data table .
CURR_MO REVENUE_PRIOR_MO (in Sept they will enter what was made/achieved in AUG)
JANUARY 0
FEBRUARY 1717631
MARCH 1591972
APRIL 1649450
MAY 1662600
JUNE 1667823
JULY 1669651
AUGUST 1709323
SEPTEMBER 2006983
2) Ar $ value enter each week in Balance sheet table
AR$ week# period
2589570
10
07-MAR-13
2376294
11
14-MAR-13
2454919
12
22-MAR-13
2767058
13
31-MAR-13
2603831
14
05-APR-13
2759590
15
11-APR-13
2376294
16
18-APR-13
2308476
17
26-APR-13
2455142
18
02-MAY-13
2498546
19
10-MAY-13
2457499
21
23-MAY-13
2461661.79
22
30-MAY-13
2310346
23
06-JUN-13
2512139
24
13-JUN-13
2267758
25
20-JUN-13
2497566
26
27-JUN-13
2583208
27
04-JUL-13
2195667
28
11-JUL-13
2288098
29
18-JUL-13
2322778
30
25-JUL-13
2306878
31
01-AUG-13
2513741
32
08-AUG-13
2350728
33
15-AUG-13
2554842
34
22-AUG-13
2664116
35
29-AUG-13
2743931
36
05-SEP-13
2501886
37
12-SEP-13
2315477
38
19-SEP-13
I want to take sum of 3 months corresponding
Daily Rev.
June
July
Aug
3-mo Total
59,844
1,669,651
1,709,323
2,006,983
5,385,957
Daily Rev.
May
June
July
3-mo Total
56,076
1,667,823
1,669,651
1,709,323
5,046,797
Daily Rev.
April
May
June
3-mo Total
55,556
1,662,600
1,667,823
1,669,651
5,000,074
Daily Rev.
March
April
May
3-mo Total
55,332
1,649,450
1,662,600
1,667,823
4,979,873
Daily Rev.
Feb.
March
April
3-mo Total
54,489
1,591,972
1,649,450
1,662,600
4,904,022
Daily Rev.
Jan
Feb.
March
3-mo Total
55,101
1,717,631
1,591,972
1,649,450
4,959,053
Highlighted daily values with be divided by Ar $ amount depending on monthly daily rev.
Output should be like (roughly this not actually output)
ARDAYS
WEEK_NUMBER
47
10
43
11
45
12
50
13
48
14
51
15
44
16
42
17
44
18
45
19
44
21
44
22
42
23
45
24
41
25
45
26
46
27
39
28
41
29
41
30
39
31
42
32
39
33
43
34
45
35
46
36
42
37
39
38I got the answer
"use the latest 3 completed months for each week"
as soon sliding window hit JUNE use june (apr-may-june)value to divide
output (coulm 1 and 2 only)
ARDAYS
WEEK#
period
AR $
47
10
3/7/2013
2589570
43
11
3/14/2013
2376294
Daily Rev.
June
July
Aug
3-mo Total
45
12
3/22/2013
2454919
59,844
1,669,651
1,709,323
2,006,983
5,385,957
50
13
3/31/2013
2767058
48
14
4/5/2013
2603831
Daily Rev.
May
June
July
3-mo Total
51
15
4/11/2013
2759590
56,076
1,667,823
1,669,651
1,709,323
5,046,797
44
16
4/18/2013
2376294
42
17
4/26/2013
2308476
Daily Rev.
April
May
June
3-mo Total
44
18
5/2/2013
2455142
55,556
1,662,600
1,667,823
1,669,651
5,000,074
45
19
5/10/2013
2498546
44
21
5/23/2013
2457499
Daily Rev.
March
April
May
3-mo Total
44
22
5/30/2013
2461662
55,332
1,649,450
1,662,600
1,667,823
4,979,873
42
23
6/6/2013
2310346
45
24
6/13/2013
2512139
Daily Rev.
Feb.
March
April
3-mo Total
41
25
6/20/2013 -
Date difference calculation help needed
Hi,
I have a form with a date field and one text field which is hidden..in case the date field value is less than the current date minus 3 years then the text field should display else not. Please advice what logic/code can be used.
Any suggestions would be highly appreciated !!
Thanks
KapilIn the mean time, a couple of stylisitc suggestions:
if(start.getTime().before(end.getTime()) == true)
// == true is redundant and cluttersome
if(start.getTime().before(end.getTime()))
Long L = new Long(diff);
return L.intValue();I'd suggest returning a long, rather than an int. If you insist on returning an int, because you're sure that the number of days will never be more than Integer.MAX_VALUE, then add an assertion that its not.
assert diff <= Integer.MAX_VALUE : diff + " too big";The Long is overkill. If you do have a small enough value, just do return (int)diff; -
Help need to script(urgent)
hai everybody...
i ahve written a javascript for popup a new
window...this is my script
script
function open()
if(portal40.wwctx_api.get_user=='JAYANTHAN')
window.open('http://suntechchn:7777/pls/portal40/ATCMIS.ENQUIRY_REP.show?p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_max_rows&p_arg_values=25&p_arg_names=_portal_max_row s&p_arg_values=25','new_page','width=1500,height=550,scrollbars=yes');
else
window.open('http://suntechchn:7777/pls/portal40/ATCMIS.ENQ_REPORT.show?p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_max_rows&p_arg_values=25&p_arg_names=_portal_max_rows &p_arg_values=25','new_page','width=1000,height=950,scrollbars=yes');
open();
but it doesn't open the new window...
for this i have created two reports,the above links are the report links...if it satisfy the condition then the first link lead to the
first report if not then second report
please help need ....
thansk in advance
leena
nullThis example will read and put the Authors name to the ESTK console and write the new details back to the document.
#target bridge
loadXMPLibrary();
var thumb = app.document.selections[0];
if(thumb.hasMetadata){
var selectedFile = thumb.spec;
var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);
var myXmp = myXmpFile.getXMP();
var arrItem='';
var items = myXmp.countArrayItems(XMPConst.NS_DC, "creator");
for(var i = 1;i <= items;i++){
arrItem += myXmp.getArrayItem(XMPConst.NS_DC, "creator", i);
$.writeln(arrItem);
var Author = "This is my new Author";
myXmp.deleteProperty(XMPConst.NS_DC, "creator");
myXmp.appendArrayItem(XMPConst.NS_DC, "creator", Author, 0,XMPConst.ARRAY_IS_ORDERED);
if (myXmpFile.canPutXMP(myXmp)) {
myXmpFile.putXMP(myXmp);
myXmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
unloadXMPLibrary();
function loadXMPLib(){
if (ExternalObject.AdobeXMPScript == undefined) {
ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
function unloadXMPLib(){
if( ExternalObject.AdobeXMPScript ) {
try{
ExternalObject.AdobeXMPScript.unload();
ExternalObject.AdobeXMPScript = undefined;
}catch (e){ } -
Troubleshooting help needed: My iMac keeps crashing and restarting with a notice: "Spinlock application timed out" What can I do?
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports. -
Help needed while exporting crystal reports to HTML file format using java
Help needed while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
html file of the report
thanksthe ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM -
Help need in balance sheet reporting
Hi BW buddies,
I posted a question but still i have not got a solution.
Please help me. i am reposting it.
"Hi BW gurus,
I have a problem with reporting.
I need to get Balance-Sheet Plan Reports for the Planned year and for the current year.
To get the report for the planned year its straight forward just by restricting 0balance by the version to 1 and the valuetype 20.
But I have a problem with the current year report.
I have fiscal year and the company code as the variables.
The report should be like this.
If we need the report as of today(July 26 2006),we may input 2006 for the fiscal year variable.
And the 0balance for the twelve fiscal periods should be as follows
From jan 2006 to june 2006(fiscal periods) it should have only the actuals
From july 2006 to dec 2006(fiscal periods) it should have only the plan
I have already built a query by having two restricted keyfigures on 0balance.
One by restricting version and valuetype 0 and 10 , and the other with 1 and 20.
But in the report I am getting two columns of data for each fiscal period for 12 periods.0balance with actuals and 0balance with plan.
But I need to get 0balance with actuals from jan to june(individually for each fiscal period columnwise),and 0balance with plan from july to dec(individually for each fiscal period columnwise).
Hope you people can visualize my report.
Please help me ASAP.
Any kind of help is appreciated.
My mail id is [email protected]
Thanks in advance
Regards
Sam MathewHi Sam,
hope I have undestood your needs:
try inserting OVER key figures tree in columns the Characteristic 0FISCPER3, it will split your columns for every period. Also enter in Global Properties of the query and ask the system to suppress the columns with 0 values, it will hide all the periods in the future for the Actual data and will hide all the periods in the past for the Plan data.
Ciao.
Riccardo.
Maybe you are looking for
-
This is the only program on the Windows side that has this problem. Windows Explorer and Microsoft Office work just fine with the right-click.
-
Lync 2013 do not show own photo
We have Lync 2013 and Exchange 2010. I imported photos to our AD. In Outlook 2010 we can see our own photo, but Lync 2013 client do not display user own photo, but when user1 write a message to user2, user2 receive message with user1 photo. This is
-
just installed solaris 10. I believe it's supposed to boot into the desktop invironment, however when it does, my monitor shuts off and displays the message "out of frequency" if this were a linux system i could edit the x11 settings. however this is
-
Automatically create users (SU01) from organization (0105)
In our organization, we will have the user id populated in the 0105 record. How do I have the system automatically create the user record (SU01) from the 0105 record? I have looked at the HRUSER transaction, but I don't understand how to run that.
-
Hi there, I am trying to: 1) Monitor a Solaris 10 operating system by sending snmp data to a monitoring program 2) Monitor M4000 / SB6000 / T4-1B devices by sending snmp data to a monitoring program Is there any documentation to say what SUN/Oracle i