How to check the maximum Value and Last value in Reports CP column
Hi all
First of all i am sory that iam posting this question in forms instead of Reports....i had posted it in reports but no one reply and i need uirgent solution so I post here....
My problem is that in Report I have calculated some values in CP column......Like
:CP_Total := :Frieght * Rate ...etc
Know i want to ask that how can I get the last value that will be return the by this column????and also the maximum value that it will return
Thanks in advance
Shayan
[email protected]
You mast build Summary column out of the query and select maximum to your maximum value of CP in Report level (or last for last value).
Similar Messages
-
How to check the Memory consumtions and time taken by a Java Program??
HI all,
I want to know how to check for the Memory Usage of an XML Parser.
See, a product was developed completely in DOM parser and now I am replacing that thing with SAX Parser Completely, because the DOM parser was taking huge memory as u may have guessed.
BUt the thig is that, now I want to check how much memory is being taken by the SAX parser alone and DOM parser alone so that I can compare them.
Can anyone suggest me how to do that ???
Thanx in Advance
KaushikThanx boss ..thanx a lot
I tried that, but in the API docs, it is mentioned that freeMemory()Returns the amount of free memory "in the system"
and totalMemory() Returns the total amount of memory in the "Java Virtual Machine".
So if I compare both the Values then would it give the Correct result to me ???? Beacuse the freeMemory() gives the data in terms of the Host System whereas totalMemory() provides the data in terms of Java Virtual Machine ..... are they Same ?????
I think I am clear in explaining what exactly is going on my mind ...
Please clarify
Thanx again
Kaushik -
How to differentiate the EMPTY Records and Null Values in DSO
Hello....how is everyone here?? Ehehehe!
I try to load some data from the flat file which contains some EMPTY data and Null Values for the records. The data type for the InfoObjects of the fields "Quantity" is "number". The sample data from the flat file (CSV) are as below:
Food Quantity
Hamburger - 12
Cheese - 0
Vegetable - (Empty)
When I try to load the above sample data to the DSO, I get the results of the data as follow:
Food Quantity
Hamburger - 12.000
Cheese - 0.000
Vegetable - 0.000
In this case, how can the user differentiate whether the records is contain empty value of null values in DSO? This is kinda of hard to differentiate the both scenarios above. Is there any way to differentiate the scenarios described here?
Thanks alot =)Hi Fluffy,
It depends on the initial values of the data type
The inital values For quantity/Currency/ Numbers it takes spaces as 0
for char it is SPACE
We cannot differeniate between space and null values.
IF you have to force this then define quantity as char and load the data. we will not have units and aggregation in this case.
Hope this helps.
PV -
How to check the OLite version and isntalled patches?!
Hi,
A couple of months ago we installed the consolidated patch 9535503 in the Mobile Server version (10.3.0.2.0). All the clients (WIN32) were supossed to make a synchronization with mSync.exe and install the patch when exit the sync (similar to first installation)
There is now a client which faces the same bug (or this looks like) and i don't know how to check if it is possible to check if the above patch has been installed in the client or not.
Any idea?
Thanks in advance...
Tomeuthe device manager should be running, if not start it up. the client version should be on the main display screen, and you can see the individual component versions in file>version
If it is patches you are looking for, open the polite.ini file and there should be a section at the end [DMC.UPDATE] that should show the installed patches -
How to extend the IDoc ORDERS05 and populate values?
Hi,
My requirement is to add few fields to the standard IDoc ORDERS05 and populate values to the newly added fields.
Please let me know how to extend the standard IDoc ORDERS05.
Regards,
Balaji. RHi balaji,
you can try to google for SAP R/3 IDoc Cookbook for EDI and Interfaces by Axel Angeli et.al.
Although Axel refers primarily to MATMAS Idoc the technique of extending IDOCs is explained very well.
Also very good is the search function here on SCN, I just found
[Some Experience on IDoc Enhancement|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0711317150DB10743789739220747754End?blog=/pub/wlg/8285]
Blogs and Wikis here are the best source for general questions like yours, usually of much more value than forum answers
Regards,
Clemens -
How to Get the min,max and original values in a single query
Hi,
I have a task where in i have to the min , max and the original values of a data set .
I have the data like below and i want the target as well as mentioned below
SOURCE
DATASOURCE
INTEGRATIONID
SLOT_DATE
SLOT1
SLOT2
SLOT3
SLOT4
SLOT5
SLOT6
SLOT7
SLOT8
SLOT9
SLOT10
1
101
201111
100
100
200
100
100
100
300
300
300
300
1
101
2011112
200
200
200
200
100
100
100
100
200
300
TARGET
DATASOURCE
INTEGRATIONID
SLOT_DATE
SLOT_VALUE
SLOT MIN
SLOT_MAX
SLOT NUMBER
1
101
201111
100
1
2
SLOT1
1
101
201111
100
1
2
SLOT2
1
101
201111
200
3
3
SLOT3
1
101
201111
100
4
6
SLOT4
1
101
201111
100
4
6
SLOT5
1
101
201111
100
4
6
SLOT6
1
101
201111
300
7
10
SLOT7
1
101
201111
300
7
10
SLOT8
1
101
201111
300
7
10
SLOT9
1
101
201111
300
7
10
SLOT10
1
101
2011112
200
1
4
SLOT1
1
101
2011112
200
1
4
SLOT2
1
101
2011112
200
1
4
SLOT3
1
101
2011112
200
1
4
SLOT4
1
101
2011112
100
5
8
SLOT5
1
101
2011112
100
5
8
SLOT6
1
101
2011112
100
5
8
SLOT7
1
101
2011112
100
5
8
SLOT8
1
101
2011112
200
9
9
SLOT9
1
101
2011112
300
10
10
SLOT10
e
so basically i would first denormalize the data using the pivot column and then use min and max to get the slot_start and slot_end.
But then i
can get the min and max ... but not the orignal values as well.
Any thoughts would be appreciated.
ThanksIf you want to end up with one row per slot per datasource etc, and you want the min and max slots that have the same value as the current slot, then you probably need to be using analytic functions, like:
with t as
(SELECT 1 datasource,101 INTEGRATIONID, 201111 slotdate, 100 SLOT1, 100 SLOT2, 200 slot3, 100 slot4, 100 slot5, 100 slot6, 300 slot7, 300 slot8, 300 slot9, 300 slot10 FROM DUAL union all
SELECT 1, 101, 2011112, 200, 200, 200, 200, 100, 100, 100, 100, 200, 300 FROM DUAL),
UNPIVOTED AS
(SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,1 SLOT,SLOT1 SLOT_VALUE
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,2 SLOT,SLOT2
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,3 SLOT,SLOT3
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,4 SLOT,SLOT4
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,5 SLOT,SLOT5
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,6 SLOT,SLOT6
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,7 SLOT,SLOT7
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,8 SLOT,SLOT8
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,9 SLOT,SLOT9
FROM T
UNION ALL
SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,10 SLOT,SLOT10
FROM T)
select DATASOURCE,INTEGRATIONID,SLOTDATE,slot,slot_value,min(slot) OVER (partition by datasource,integrationid,slotdate,rn) minslot,
max(slot) OVER (partition by datasource,integrationid,slotdate,rn) maxslot
FROM
select DATASOURCE,INTEGRATIONID,SLOTDATE,max(rn) over (partition by datasource,integrationid,slotdate order by slot) rn,slot,slot_value
FROM
(SELECT DATASOURCE,INTEGRATIONID,SLOTDATE,slot,slot_value,
case when row_number() over (partition by datasource,integrationid,slotdate order by slot) = 1 or
lag(slot_value) over (partition by datasource,integrationid,slotdate order by slot) <> slot_value
then row_number() over (partition by datasource,integrationid,slotdate order by slot)
ELSE null
END rn
from unpivoted
order by DATASOURCE,INTEGRATIONID,SLOTDATE,slot -
How to get the job name and details in a report format - sm37 details I mea
I need to extract the Job names and the job steps that comeout of a report?
Is there a standard program for this ?
Which tables store this information for me to write a custom report?
thanks,
VenHi Venkatabby,
Check out the table:
TBTCS
Thanks,
Chidanand -
Hello
kindly let me know how can i check how much portion of the spool is currently occupies (So that when its getting filled , we will be able to manually delete the spool)
- How to check the free percentage and configured amount of spool
regardsHI,
How is that?
How to check the SPOOL capacity
Seems to be duplicate!!!
Regards, -
[Help] How to check the object locks held by a specific thread?
As the title I want to check locks held by a specific thread. How can I do this? In Java lock is acquired and release automatically by stating synchronized keyword. I have no idea on how to check the lock status and who owns whick lock.
Regards,
SkeeterLook for the method:
public static native boolean holdsLock(java.lang.Object);Its in the java.lang.Thread class. It will check the lock status for an object for the calling thread. -
How to check the value in Table CDPOS
Mostly I can't see the following fields value in the table CDPOS,
(1) CDPOS-VALUE_NEW
(2) CDPOS-VALUE_OLD
In fact, it should have values, so how to check the values, is there any special method needed?
Thanks and best regards.Ferry Lianto,
Thank you very much for your expertise.
It's helpful to get some contents via FM:CHANGEDOCUMENT_READ_POSITIONS, the problem is, to some kind of DELETION operation, the log in table CDPOS is very simple, I still don't know which contents were deleted even though I found records in table CDPOS.
Is there any other suggestions?
Thanks and best regards. -
My 1st generation Time Capsule/2007 keeps shutting off and disconnecting from internet? What could be the problem? How long do the Time Capsules usually last?
That it is still working is miraclous.. most have died.. lots started flaking out at 18months to 2years..
See deadtimecapsule.org
The few that remained now seem to have reached EOL.. you can repair if you have some skills.. fairly cheaply.
But it is well and truly time to replace.
https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modem s/apple-time-capsule-repair -
How to check the last time a package has been compiled?
How to check the last time a package has been compiled from sqlplus?
LAST_DDL_TIME column in DBA_OBJECTS.
-
How to check SAP Component version and what is the latest patch installed
Hi Experts,
Can you please tell me that how to check SAP Component version and what is the latest patch installed.
Thanksthere are 2 easy ways
1) log on to SAp System, on menu bar, slect system > Status...
2) log on to system URL and click on system Status...
Thanks,
Prasant K Paichha -
how to check the usage of ram and cpu Performance for the particular application like sqlserver ,ms word
rankiHi,
You can use Performance Monitor and add the required counters.
Check the below Technet article on Performance Monitor.
http://technet.microsoft.com/en-us/library/cc749249.aspx
Below are the steps to monitor the process in Performance Monitor.
- Go to the Performance Monitor.
- Right-click on the graph and select "Add Counters".
- In the "Available counters" list, open the "Process" section by clicking on the down arrow next to it. Select "% Processor Time" (and any other counter you want).
- In the "Instances of selected object" list, select the process you want to track. Then click on "Add >>" button. Click on OK.
Regards,
Jack
www.jijitechnologies.com -
How to check the BW and BIA systems are up and working fine.
Hi friends,
how to check the BW and BIA systems are up and working fine. And also what is ICM, how to check whether it is working properly or not.
ANd what is name resolution and IP , how to check whether this is running fine.
regards, balu.Hi,
you can use process monitoring or the alert function in the standalone TREXAdmin tool.
ICM:
http://help.sap.com/saphelp_nw04/helpdata/EN/0a/a7903febb15a7be10000000a11405a/content.htm
name resolution
http://en.wikipedia.org/wiki/Domain_Name_System
IP:
http://en.wikipedia.org/wiki/IP
Please also have a look at the transactions TREXADMIN and RSDDBIAMON2.
I think it´s better if you use the forum search and google/wikipedia before you ask such questions.
Best Regards,
Jens
Maybe you are looking for
-
HP Laserjet 4V Printer will not connect to TC
Under the print and fax preferences the 4V is visible in default and appletalk. However, when I try to add it the operation to connect "timed out". I've chosen "auto select" and the 4V driver under the print using dialog. It seems obvious the TC know
-
WHY!!! Brand new IPod doesn't work.
I bought a brand new 30 gb Ipod to replace my old Ipod that won't work anymore. Now this one won't work. It is a couple of days old! I installed the software and put some music on the ipod. I have ipod speakers and the ipod works fine on them. It wor
-
Hello, I have a problem with my nokia N86. All the time from the moment i bought it till now the sms indicator in the right upper side of the display is on. I have deleted all my sms, but i cant deactivate it. Also i have one question. Is it possible
-
How to Pass String array from Java to PL/SQL and this use in CURSOR
hi, I cant understand how to pass Array String as Input Parameter to the Procedure and this array use in Cursor for where condition like where SYMPTOM in( ** Array String **). This array containing like (SYMPTOM ) to be returned from the java to the
-
Hi Gurus, This is regarding CO54 transaction code - Process Message Monitor. Selection criteria - Creation Date When I login for the first time - date shows current system data i.e. From and To date frm 02/01/2011 Time 00:00:00 To 02/01/2011