I am to charts I need to show mult column
I am trying to create flash charts I would like to add data the column are AMOUNT
TYPE, STORE, TDUP
This is the Series Name or do mult series?
select null link, AMOUNT label, COUNT(TRACKING_ID) value1
from "JAMESOCP2"."TRACKING"
group by AMOUNT
Hi,
Quanity you can get from STPO table.
Material description go with MAKT table.
Purchase order text will be stored in STXH, STXL tables.
You use READ_TEXT function module for achieving the text from STXH and STXL tables. Good Luck.
Cheers!!
VEnk@
Edited by: Venkat Reddy on Nov 3, 2008 6:39 PM
Similar Messages
-
Need to show a data in weeks for stacked column
I need to show the data broken down in weeks if you choose the start date and end date. I have to show in a stacked column chart. I am trying to show the values if you choose for example last month i need to show it by weeks for example
week user name total approved first approved last aprovedDate totalitemsAdded
week 1 XYZ 3 10/01/2012 10/05/2012 5
week2 XYZ 5 etc etc
etc
week 3
Below is the code and the result i am getting now .
Current Results
UserName TotalApproved
FirstApprovedDate LastApprovedDate
TotalItemsAdded
XYZ 9
2011-11-19 16:56:49.960
2011-11-19 18:18:20.783
2
DECLARE @StartDate DATETIME
DECLARE @EndDate DATETIME
SET @StartDate = '10/1/2012 '
SET @EndDate = '10/31/2012'
;with Items as(
SELECT
UserName = Profile.Description,
TotalItems = COUNT(TransactionID),
FirstAddedDate = MIN(UTCDate),
LastAddedDate = MAX(UTCDate)
FROM Transactiondatabase.dbo.transaction
JOIN Biography.dbo.Profile ON transaction.ProfileId = Profile.ProfileID
WHERE
Data like '%ItemAdded%'
AND UTCDate BETWEEN @StartDate AND DATEADD(dd,1,@EndDate)
GROUP BY
Profile.Description
Approved as
SELECT
UserName = Profile.Description,
TotalApproved = COUNT(TransactionID),
FirstApprovedDate = MIN(UTCDate),--Demo
LastApprovedDate = MAX(UTCDate)
FROM Transactiondatabase..transaction
JOIN Biography.dbo.Profile ON transaction.ProfileId = Profile.ProfileID
WHERE
Data like '%Approved%'
AND UTCDate BETWEEN @StartDate AND DATEADD(dd,1,@EndDate)
GROUP BY
Profile.Description
Select Distinct Approved.*, TotalItemssAdded = sum(distinct Items.TotalItems)
from Items, Approved
Group by Approved.UserName, Approved.FirstApprovedDate, Approved.LastApprovedDate, Approved.TotalApproved
using ssrs 2005Hi Sunny04,
If I understand correctly, you want to display the data by weeks in a stacked column chart. If in this case, we can add a calculated field named week to display the week name, and then group it. For more details, please see the following steps:
Right-click the dataset to add a calculated field with the values below:
Name: Week
Calculated field: =DatePart(DateInterval.WeekOfYear,Fields!FirstApprovedDate.Value,0,0)
Add Week field to category group area in a stacked column chart.
Right-click Week field to open the Properties dialog box, modify the expression of Label to like this:
="week"&Fields!Week.Value
Add TotalApproved or TotalItemsAdded field to data area in the chart.
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.
Hi ,
In your write back XML try the below query insert
INSERT INTO TABLE_XYZ (attribute1) values (SELECT CASE WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
Regards
Rajagopal -
I need to show grouped id and only the max order value for each unique id
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select #Temp1.id, max(#Temp1.[OrderOfVisit]), #Temp1.VisitNote
from #Temp1
group by #Temp1.id, #Temp1.OrderOfVisit, #Temp1.[VisitNote]
ORDER BY #Temp1.id
drop table #Temp1
---I need to show grouped id and only the max OrderOfVisit for each unique id, and the VisitNote for each OrderOfVisit
----------------need help-------------Sounds like this
select distinct
Table1.id,
Table1.id +' - '+ Table1.VisitNumber +' : '+ Table1.Priority as UidVisitKey,
Table1.VisitNumber,
DATEDIFF(d, [dob],[Visite_dte])/365.25 as Age_On_Visit,
Table1.Priority,
Table1.OrderOfVisit,
Table1.OrderOfVisit + ' - ' + Table1.Notes AS VisitNote,
Table1.Visitor_FName,
Table1.Visitor_SName,
Table2.dob,
Table2.sex,
Table1.Visit_dte,
into #Temp1
FROM Table1 INNER JOIN
Table2 ON Table1.id = Table2.id
WHERE Table1.LeaveDate IS NOT NULL
and Table1.LeaveDate between DATEADD(mm,-1,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0))
and DATEADD(ms,-3,DATEADD(mm,0,DATEADD(mm,DATEDIFF(mm,0,GETDATE()),0)))
select id,OrderOfVisit,VisitNote
from
select #Temp1.id, #Temp1.[OrderOfVisit], #Temp1.VisitNote,ROW_NUMBER() OVER (PARTITION BY #Temp1.id ORDER BY #Temp1.[OrderOfVisit] DESC) AS Seq
from #Temp1
)t
WHERE Seq = 1
ORDER BY id
drop table #Temp1
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Need to show proof of purchase to my insurance company, but my phone was replaced by apple so has a different imei number to the one on my receipt, how do you sort this out??
Contact Apple and see if they can provide any documentation of the device swap.
-
Need to show popup when the Submit button is clicked for the second time ..
Hi guys,
I have a requirement where i need to show a popup or alert when the submit button is clicked twice . When it is clicked for the first time one method is been called and its process starts. When the user clicks the submit button for the second time they should be shown a popup stating "Submit button already been clicked, please clicked OK to continue".
Can anyone help with this please , its really urgent requirement ?
Thanks in advanceHi,
I dont have any sample code to give you now. For quick reference, I can advice some psuedo steps to achieve your requirement. I dont have access to JDEV to test this. If any syntax errors then pls correct yourself.
1. Extend Controller since it is standard page ( Refer Anil Passi site for steps to extend seeded ontroller)
2. Write below logic in your Process Request method
super.processRequest(oaPageContext, oaWebBean);
pageContext.putSessionValue("status", "notInitiated");
3. Include below logic in your PFR method
if(pageContext.getSessionValue("status")!=null){
if("notInitiated".equals(pageContext.getSessionValue("status")))
super.processFormRequest(oapagecontext, oawebbean);
pageContext.putSessionValue("status", "initiated");
else
String message = "Display error message as required";
throw new OAException(message, OAException.ERROR);
You may need to import required packages ( Related to OAException).
Remeber, to sumbit the request, user need to refresh the page again so that "status" variable will be refreshed.
Hope it helps.
Thanks
venkat -
Need to show data related to Process order request , BOM in a smart form
Hi,
I need to show data related to
Process order request
BoM
Now in selection screen we are entering the followings.
Manufacturing Plant ,MRP Controller, Production scheduler, Order type , Order , Material, Sales order, WBS Element,Release,Scheduled start, Scheduled finish ,Selection profile.
how to get 1> Process Order number,Produced Material,Material Description,Print date,Narcotics indicator , Quantity produced , Phase number , Phase description ,Resource description,Standard value to show in a request form.
2> Item category ,Component code,Component description , Component quantity ,Component Unit of measure ,BoM base quantity.
Please help me how to get those values , what should be the aaproach , how to write the select quiry.
ThanksHi
To get BOM details, do the following:
1. Use the material number and goto Article to BOM link table (MAST) to get STLNR (BOM).
2. With this STLNR, goto STPO table (where STLNR is the key field). Here you will get all the BOM details like components (IDNRK), UoM (MEINS) etc....
Hope this helps.
THanks
Vijay
<b>PLZ REWARD POINTS IF HELPFUL</b> -
Need to show No applicable data in the report.
Hi All,
We ave a key figure in the selection screen. And user will enter the value. based on the input, the report has to display less than or equal to the entered value as a result in the output of the report.
Input NIV as 67,169.48 then below results -
If user gives input NIV as 16,544.14 , the below output is showing.
But we need to show zero as result or no applicable data in the report. Is it possible to achieve through FORMULA.Please help on this
Thanks.Hi Jalina,
Yasemin already asked few questions.
but this is what we may do:-
to create a formula variable and use it for user input. use this formula variable in a formula , if your NIV kf<= formula variable, then NIV KF, else, 0.
then make a condition on this KF, not equal to zero to suppress this record.
regards,
Sakthi. -
Need to show three diff sheets in a smart form , first to be printed twice
Hi
I need to show data in a smart form where I have 3 different sheets
Process order request
BoM
Assembly
where the first sheet will be printed twice .
as header in each case we have order no , produced material order qty , qty produced etc with the title changing for each sheet . main window we have diff data depending on each form like it will b changing for process order req, bom , assembly .
how to do that & I need to print each layout in 2 diff language.
plz help.
useful answers will be rewarded.
ThanksCreate three pages . The first and the last are static and the second variable.
The first page repeat with a loop twice. The headers of the second pages and next has a window static (the header) and other variable .
If you have two languages repeat the operation. Call the smartform with a parameter called language by example -
Need to show text as links in AppThumbnailExplorer Layout set
Hi,
I am using AppThumbnailExplorer layout set to display "My Favorites" iview in 3*3. But the entries are as text-we need to show the entries as hyperlinked (TEXT as TEXT)
Thanks in advance
SathyaHi,
Thanks for your reply:
I have the following properties in the VISIBLE:
rnd:imagernd:thumbnail(noicons/width=50/height=50/alignLeft/contentLink)rnd:displayname(contentLink)+rnd:description
The text is still displayed without UNDERLINE....
Appreciate your reply.
=Sat -
Need to show previous 3months data
Hi
I need to show last 3months data in the report. Currently i am able to do it by creating 3 reporsitory variables - Last 3months,last 2months, last month
Variable created : Select to_char(add_months(sysdate,-3),'Month'),to_char(add_months(sysdate,-2),'Month'),to_char(add_months(sysdate,-1),'Month') from dual
With these variables i have to include filter for current year in my request in answers.But for year 2011 it will create problem as i would need data for both the years but only for previous 3mnths from sysdate.
Appreciate valuable suggestions.If you are looking for last 3 months data irrespective of year i.e. last 90 days data use the following at report level
date >= timestampadd(sql_tsi_day,-90,current_date). -
Need to show the Condition amount or percentage(KBETR) in display mode.
Hi,
i need to show the Condition amount or percentage(KBETR) in display mode for VA02 transaction based on the condition type. the KBETR in the table control. so how it will become in display mode?
already i tried with this code.
in MV45AFZZ form userexit_field_modification.
case screen.
when screen-name = 'KOMV-KBETR'.
read table xkomv with key kschl = c_xr1(XR1).
if sy-subrc = '0'.
SCREEN-INPUT = '0'.
endif.
in debugging mode the condition is satisfying but not modifying the screen.
can anyone help me . please it is urgent.Hi Praveen,
See in Exit 'LV69AFZZ' and subroutine 'USEREXIT_FIELD_MODIFICATION',
code should be like this
if komv-kschl eq 'your condition type'.
case screen-name.
when 'KOMV-KBETR'.
screen-input = 0.
endcase.
endif.
For header level conditions you need to use "form userexit_field_modific_kopf"
try it.
i hope it will solve your problem.
ENJOY SAP. -
Need to show some fields in display mode
Hi, i need to show some fields in display mode for VA02 transaction code( is to change the values) for some particular users. so do we have any user exits for this requirement?
Please answer me. its very urgent.. thanks in advance.
ex: payment terms and freight terms.you can try this for header level data
MV45AFZZ exit ""USEREXIT_FIELD_MODIFICATION"
code would be like below
CASE screen-name.
To suppress Pricing total and Cuurency field at header
WHEN 'VBAK-NETWR'.
*YOU CAN ADD YOUR CONDITION HERE WHICH IF SATISFY THEN *EXECUTE NEXT LINE OR SKIP IT
screen-INPUT = 0.
WHEN 'VBAK-WAERK'.
screen-INPUT = 0
ENDCASE.
but it depend upon what data AND in which tab you want to hide, like is it at header level or at item level or pricing (HEADER OR ITEM) data each of them have different exit to restrict data modification.
ENJOY SAP. -
ME22n and ME23n transaction need to show changes in item changes.
Hi Experts,
I need to show the changes of Shipping Point & Delivery Priority from T.Code ME22N & ME23N in Environment --> Item Changes menu path. (change log)
How do i do this. these 2 fields are from EKPV table. please provide clue like exits to make the changes or and Function modules to be used.
thanks in advance.Hi
You can get out the data from document change (see table CDHDR and CDPOS) using the object class EINKBELEG
Max -
I need to show an html file from an application
Hi there!, I really need your help...
I have the absolute path in an String variable:
String fileHTML = "C:\\AllCitiHTML\\GeneralHTML_Files\\Temp\\2002030925General.htm";
Now, I need to show this page in a browser(explorer or netscape) but the page must be showed in both.
I tried with this code, but it doesn't show nothing
String urlName = fileHTML;
String browser = "iexplore ";
Runtime.getRuntime().exec(browser + urlName);
in addition it would only serve for explorer and not for netscape.
reply this message with all the possible code that you can use...
Please I need help very urgent, thanksMultiple cross-post.
Maybe you are looking for
-
Can't restore messages from iPhone 3GS to iPad mini
Hello, I tried to transfer informations from my iPhone 3GS to my new iPad mini via iCloud backup with no success. Once restore is completed, some data is missing on the iPad, like messages SMS and images. I think it's normal that photos won't be rest
-
Exporting MPEG2 files for Blu-ray from 720p60
I am exporting MPEG2 files for Blu-ray from 720p60 using compressor 3.05. I export straight from Final Cut 6 to compressor. It all looks great except I end up with some frames in the video that pixelate. It is just one frame, and the average viewer m
-
Sharing internet between imac & itouch
I'm somewhat new to apple and wifi networking. I'm curious to know if I can plug a usb wireless broadband devise into the AX (or similar devise) to share the connection with my itouch? If so, will I need to reconfigure the AX every time I need to pri
-
Whats new in 7.1.1 for iphone 4s
i wanna know whats new in ios 7.1.1 update , when i update my iphone 4s on it . whats new improvement .....
-
Shared pool size problem while data capture
Sir , I am using oracle 10g streams for Data Replication But facing some problems after replicating 2-3 tables. While adding rule of type capture am getting error Ora-4031 & ora 1280. Next I set the Database Mode = archive Share_pool_size=52m & share