Prime 2.1 - Client count report based on ssid
Dear All,
Is it possible to extract the reports of client count per ap based on ssid..?
Like, AP Name (eg., 2ndFloorAP) --> SSID (Test)--> Client count for past 1day, 1 week, 1 month etc.
As of now i could see overall client count of an ap from prime not based on SSID (under device work center --> unified ap --> client over time --> client count on ap / client traffic on ap)
Hi Prasan,
Revisiting this issue, if you have your APs assigned to specific campus/building for your company, you can drill down to the specific AP and SSID that you want for that client count. The options that I used to run a report for one AP for one location that we have is as follows:
report title: <enter applicable name for report>
report by: AP by floor area
report criteria: choose edit and search for the location/building/campus and then the specific AP that you want from those fields. Then choose select.
Once back at the report screen you can set the next options:
connection protocol: select from drop down what you want if it is all clients, all wireless, etc.
The next drop down should allow you to select the specific SSID to what you want based upon the individual AP. Followed by the report time afterward. This report will output as a line graph showing the total number of clients based upon your search criteria and time frame. If you want to research client counts and see their mac address and IP ranges then you are limited to only seeing the current associated clients from the operation > work center flow while viewing the specific AP. Hope that helps.
Regards,
Brandon
Similar Messages
-
Cisco WCS client count report - client count figures cumulative or concurrent?
Hi,
Just want to clarify the "assoicated client count" and "Authenticated client count" values from WCS Client count report concurrent or cumculative?
The client count report in excel format:
Total Client Count
Total Count
Event Time
Associated Client Count
Authenticated Client Count
total
Sun Oct 12 23:59:59 HKT 2014
3992
3854
total
Mon Oct 13 23:59:59 HKT 2014
7838
7289
total
Tue Oct 14 23:59:59 HKT 2014
7724
7124
total
Wed Oct 15 23:59:59 HKT 2014
6849
6336
total
Thu Oct 16 23:59:59 HKT 2014
5908
5530
total
Fri Oct 17 23:59:59 HKT 2014
1240
1228
total
Sat Oct 18 23:59:59 HKT 2014
1040
1031
Client Count
AP Name
Base Radio MAC
Event Time
Associated Client Count
Authenticated Client Count
AP-EDHB-018
08:1f:f3:23:23:10
Mon Oct 13 23:59:59 HKT 2014
160
157
AP-EDHB-018
08:1f:f3:23:23:10
Tue Oct 14 23:59:59 HKT 2014
121
120
AP-EDHB-018
08:1f:f3:23:23:10
Wed Oct 15 23:59:59 HKT 2014
95
95
AP-EDHB-018
08:1f:f3:23:23:10
Thu Oct 16 23:59:59 HKT 2014
94
94
AP-EDHB-018
08:1f:f3:23:23:10
Fri Oct 17 23:59:59 HKT 2014
6
6
AP-EDHB-018
08:1f:f3:23:23:10
Sat Oct 18 23:59:59 HKT 2014
3
3
AP-EDHB-019
08:1f:f3:23:24:30
Sun Oct 12 23:59:59 HKT 2014
38
38
AP-EDHB-019
08:1f:f3:23:24:30
Mon Oct 13 23:59:59 HKT 2014
113
110
AP-EDHB-019
08:1f:f3:23:24:30
Tue Oct 14 23:59:59 HKT 2014
110
109
AP-EDHB-018 have 160 assoicated client count reported. Really mean there were 160 wireless client assoicated at a moment or there were a totally 160 connected at that day?
Any idea?
DickHi Kayle,
Thanks for the response. I think you are talking about this in the above.
Reports > Report Launch Pad > Client > Client Count > Client Count Report Details
then
AP by Floor Area and select "All Campus", "All Building", "All Floor"
By doing this I get 700+ APs daily client count in graphical (pdf) view and need to go through manually each graph to identify the top 50, top 100 in a given day.
Is it possible to only filter the top 50, 100 APs ?
I would like see my daily report gives something similar to the below
AP Name Max Client Count
AP01 96
AP02 83
AP50 20
Would it possible to get something like this from WCS reports ?
Thanks
Rasika -
WCS Client Count Report without Map
I have a large campus with a large number of odd shaped buildings for which we do not have accurate floorplans and we need to run historical reports for the client count per AP however as far as I can see this is not possible unless I create maps and floorplans of the site.
Is there any way to get the client count per AP on a historical basis without the need to create maps and floorplans of the whole site.It's been a while since using WCS, but I've always used maps. I would just suggest you add a fake map even if it's a box and place the AP's on the appropriate floor if possible. An old map is better than no map to be honest. I have had to take the emergency floor plans (old as heck) and copy that or take a picture on my phone and use that on WCS.
Sent from Cisco Technical Support iPhone App -
Prime Infrastructure 2.1 Client Statistic Report Issues
Hello Community,
I hope you can help with a couple of issues I am seeing on Prime Infrastructure 2.1, running an evaluation 60 day license.
My PI 2.1 build is currently managing a WLC 5508 running 7.4.121.0, which has been added successfully. No configuration changes were applied to the WLCs, other than SNMP community. No AVC or medianet configuration is applied.
When looking in the 'Operate>Client and Users' dashboard; I can see connected clients and if I select one of them, I can see further details like session, security and client statistics (showing traffic and 802.11 metrics). These are the table views that show current values, however, further down I see graphs but they do not contain any information for RSSI, SNR or traffic sent & received (packets or bytes).
Question: Should I see this information under an evaluation license and if so, what could be stopping it?
Also, when I run the reports 'Report>Report Launch Pad' and select 'Client>Client Traffic' or 'Client>Client Throughput' the resulting report contains 0 bps, when I select 'Report By' AP by Floor Area. I have created a single floor area and placed three access points into it.
Out of interest if I do a report of the same type using 'Report By' All or AP by Controller, I do see traffic graphs for 3 out of 333 access points. Just not the access points that are in my floor area. Also the amount of traffic utilization is tiny (less than a kbps) for a WLC with 800 users.
For a 'Client>Client Count' report using AP by Floor Area, I do see the client numbers connected to the WLC/APs in my configured floor area.
Question: Should I see reports for client traffic and throughput under an evaluation license for floor areas and if so, what could be stopping it?
I have checked the background task and the 'Client Statistics' task is enabled and run time is being updated.
Kind regards,
IanHi,
here is an update:
There are more than one Report you need to start to get data for Device, FAN, Power Supply, Module - look at these reports:
Report > Report Launch Pad > Device > Inventory
Report > Report Lauch Pad > Device > Wired Detailed Device Inventory
Report > Report Lauch Pad > Device > Wired Module Detail > Wired Module Detail Report Details
SFPs and GBICs cannot be reported til now - there are working on it.
br,
chris -
need help in head counting report..
how to calculate the head counting report.
what is the purpose of the head count report.based on requirement u can create
generally we can create by using PNP/PNCE logical database
if u want example to create report search in SDN u will get lot of examples
Gopi -
How to filter a report based on count?
Here is my scenario: We would like to report activities on a server if there are multiple date in a month. Here is an example:
Server Date Activity
Server1 7/1/09 Hardware maintenance
Server2 7/1/09 Hardware maintenance
Server2 7/14/09 Software patching
Server2 7/14/09 Server reboot
Server3 7/5/09 Hardware maintenance
Server3 7/5/09 Server reboot
The report will show the following
Server2 7/1/09 Hardware maintenance
Server2 7/14/09 Software patching
Server2 7/14/09 Server reboot
Server1 and Server3 will not show up since there is only one date in July (even though there are two activities for Server3).
I thought of using a report as a filter to a second report. In the first report, find a way to determine which server to report on. But how would I finter the 1st report based on count as the logic stated above?Hi Max
Our requirement is to see all the activities for a server in a month ONLY IF there are activities on DIFFERENT dates. So using my example, server2 has activties on 7/1 and 7/14. Then we want to see all the activities for server2 in that month. Server3 has two activities but both activities are on the same date. So we don't want to see server3.
Counting by server will not work because that will include server3 in my example.
What I really want is to be able to count unique occurrences of dates per server in a month. And if this count is > 1, then this server will be in the report.
I used a pivot table to count the unique occurrences of dates by server by month. So using my example, I have this result:
Server1-July: 1
Server2-July: 2
Server3-July 1
What I really want (conceptually) is to be able to filter this pivot table by the matrix column which is the count. I just couldn't figure out how to do that :). Then I thought I could use this report (with pivot table result) as a filter into another report.
Hope you have some idea....:)
Thanks -
Prime 2.1 interface vlan report
Hello I have Prime 2.1 and am running the Wired Port Attribute report to find out the vlan assigned to all the ports on all my switches. I am able to run this report and here is a sample exert from it
Name
VLAN Id
Device Ip Address
Description
MAC Address
Admin Status
Operational Status
Type
MTU
Speed(MB)
Duplex
isTrunk
TrunkEncapsulation
FastEthernet1/0/1
0
10.0.0.0
Up
Up
ETHERNETCSMACD
1500
100
true
For some reason it is not pulling the vlan information for any of the ports and ports that are set as access ports are listed as trunk. I am not sure if this is because they have voice vlans attached to them as well or not. Any help on why it is not reporting the correct vlan would be great.
Thank you,
JasonHi Prasan,
Revisiting this issue, if you have your APs assigned to specific campus/building for your company, you can drill down to the specific AP and SSID that you want for that client count. The options that I used to run a report for one AP for one location that we have is as follows:
report title: <enter applicable name for report>
report by: AP by floor area
report criteria: choose edit and search for the location/building/campus and then the specific AP that you want from those fields. Then choose select.
Once back at the report screen you can set the next options:
connection protocol: select from drop down what you want if it is all clients, all wireless, etc.
The next drop down should allow you to select the specific SSID to what you want based upon the individual AP. Followed by the report time afterward. This report will output as a line graph showing the total number of clients based upon your search criteria and time frame. If you want to research client counts and see their mac address and IP ranges then you are limited to only seeing the current associated clients from the operation > work center flow while viewing the specific AP. Hope that helps.
Regards,
Brandon -
How to create a report based on a DataSet programatically
I'm working on a CR 2008 Add-in.
Usage of this add-in is: Let the user choose from a list of predefined datasets, and create a totally empty report with this dataset attached to is. So the user can create a report based on this dataset.
I have a dataset in memory, and want to create a new report in cr2008.
The new report is a blank report (with no connection information).
If I set the ReportDocument.SetDataSource(Dataset dataSet) property, I get the error:
The report has no tables.
So I must programmatically define the table definition in my blank report.
I found the following article: https://boc.sdn.sap.com/node/869, and came up with something like this:
internal class NewReportWorker : Worker
public NewReportWorker(string reportFileName)
: base(reportFileName)
public override void Process()
DatabaseController databaseController = ClientDoc.DatabaseController;
Table table = new Table();
string tabelName = "Table140";
table.Name = tabelName;
table.Alias = tabelName;
table.QualifiedName = tabelName;
table.Description = tabelName;
var fields = new Fields();
var dbField = new DBField();
var fieldName = "ID";
dbField.Description = fieldName;
dbField.HeadingText = fieldName;
dbField.Name = fieldName;
dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
fields.Add(dbField);
dbField = new DBField();
fieldName = "IDLEGITIMATIEBEWIJS";
dbField.Description = fieldName;
dbField.HeadingText = fieldName;
dbField.Name = fieldName;
dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
fields.Add(dbField);
// More code for more tables to add.
table.DataFields = fields;
//CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo info =
// new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
//info.Attributes.Add("Databse DLL", "xxx.dll");
//table.ConnectionInfo = info;
// Here an error occurs.
databaseController.AddTable(table, null);
ReportDoc.SetDataSource( [MyFilledDataSet] );
//object path = @"d:\logfiles\";
//ClientDoc.SaveAs("test.rpt", ref path, 0);
The object ClientDoc referes to a ISCDReportClientDocument in a base class:
internal abstract class Worker
private ReportDocument _ReportDoc;
private ISCDReportClientDocument _ClientDoc;
private string _ReportFileName;
public Worker(string reportFileName)
_ReportFileName = reportFileName;
_ReportDoc = new ReportDocument();
// Load the report from file path passed by the designer.
_ReportDoc.Load(reportFileName);
// Create a RAS Document through In-Proc RAS through the RPTDoc.
_ClientDoc = _ReportDoc.ReportClientDocument;
public string ReportFileName
get
return _ReportFileName;
public ReportDocument ReportDoc
get
return _ReportDoc;
public ISCDReportClientDocument ClientDoc
get
return _ClientDoc;
But I get an "Unspecified error" on the line databaseController.AddTable(table, null);
What am i doing wrong? Or is there another way to create a new report based on a DataSet in C# code?Hi,
Have a look at the snippet code below written for version 9 that you might accommodate to CR 2008, it demonstrates how to create a report based on a DataSet programmatically.
//=========================================================================
+ * the following two string values can be modified to reflect your system+
+ ************************************************************************************************/+
+ string mdb_path = "C:
program files
crystal decisions
crystal reports 9
samples
en
databases
xtreme.mdb"; // path to xtreme.mdb file+
+ string xsd_path = "C:
Crystal
rasnet
ras9_csharp_win_datasetreport
customer.xsd"; // path to customer schema file+
+ // Dataset+
+ OleDbConnection m_connection; // ado.net connection+
+ OleDbDataAdapter m_adapter; // ado.net adapter+
+ System.Data.DataSet m_dataset; // ado.net dataset+
+ // CR variables+
+ ReportClientDocument m_crReportDocument; // report client document+
+ Field m_crFieldCustomer;+
+ Field m_crFieldCountry;+
+ void CreateData()+
+ {+
+ // Create OLEDB connection+
+ m_connection = new OleDbConnection();+
+ m_connection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + mdb_path;+
+ // Create Data Adapter+
+ m_adapter = new OleDbDataAdapter("select * from Customer where Country='Canada'", m_connection);+
+ // create dataset and fill+
+ m_dataset = new System.Data.DataSet();+
+ m_adapter.Fill(m_dataset, "Customer");+
+ // create a schema file+
+ m_dataset.WriteXmlSchema(xsd_path);+
+ }+
+ // Adds a DataSource using dataset. Since this does not require intermediate schema file, this method+
+ // will work in a distributed environment where you have IIS box on server A and RAS Server on server B.+
+ void AddDataSourceUsingDataSet(+
+ ReportClientDocument rcDoc, // report client document+
+ System.Data.DataSet data) // dataset+
+ {+
+ // add a datasource+
+ DataSetConverter.AddDataSource(rcDoc, data);+
+ }+
+ // Adds a DataSource using a physical schema file. This method require you to have schema file in RAS Server+
+ // box (NOT ON SDK BOX). In distributed environment where you have IIS on server A and RAS on server B,+
+ // and you execute CreateData above, schema file is created in IIS box, and this method will fail, because+
+ // RAS server cannot see that schema file on its local machine. In such environment, you must use method+
+ // above.+
+ void AddDataSourceUsingSchemaFile(+
+ ReportClientDocument rcDoc, // report client document+
+ string schema_file_name, // xml schema file location+
+ string table_name, // table to be added+
+ System.Data.DataSet data) // dataset+
+ {+
+ PropertyBag crLogonInfo; // logon info+
+ PropertyBag crAttributes; // logon attributes+
+ ConnectionInfo crConnectionInfo; // connection info+
+ CrystalDecisions.ReportAppServer.DataDefModel.Table crTable;+
+ // database table+
+ // create logon property+
+ crLogonInfo = new PropertyBag();+
+ crLogonInfo["XML File Path"] = schema_file_name;+
+ // create logon attributes+
+ crAttributes = new PropertyBag();+
+ crAttributes["Database DLL"] = "crdb_adoplus.dll";+
+ crAttributes["QE_DatabaseType"] = "ADO.NET (XML)";+
+ crAttributes["QE_ServerDescription"] = "NewDataSet";+
+ crAttributes["QE_SQLDB"] = true;+
+ crAttributes["QE_LogonProperties"] = crLogonInfo;+
+ // create connection info+
+ crConnectionInfo = new ConnectionInfo();+
+ crConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;+
+ crConnectionInfo.Attributes = crAttributes;+
+ // create a table+
+ crTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();+
+ crTable.ConnectionInfo = crConnectionInfo;+
+ crTable.Name = table_name;+
+ crTable.Alias = table_name;+
+ // add a table+
+ rcDoc.DatabaseController.AddTable(crTable, null);+
+ // pass dataset+
+ rcDoc.DatabaseController.SetDataSource(DataSetConverter.Convert(data), table_name, table_name);+
+ }+
+ void CreateReport()+
+ {+
+ int iField;+
+ // create ado.net dataset+
+ CreateData();+
+ // create report client document+
+ m_crReportDocument = new ReportClientDocument();+
+ m_crReportDocument.ReportAppServer = "127.0.0.1";+
+ // new report document+
+ m_crReportDocument.New();+
+ // add a datasource using a schema file+
+ // note that if you have distributed environment, you should use AddDataSourceUsingDataSet method instead.+
+ // for more information, refer to comments on these methods.+
+ AddDataSourceUsingSchemaFile(m_crReportDocument, xsd_path, "Customer", m_dataset);+
+ +
+ // get Customer Name and Country fields+
+ iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Customer Name", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
+ m_crFieldCustomer = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
+ iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Country", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
+ m_crFieldCountry = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
+ // add Customer Name and Country fields+
+ m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCustomer);+
+ m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCountry);+
+ // view report+
+ crystalReportViewer1.ReportSource = m_crReportDocument;+
+ }+
+ public Form1()+
+ {+
+ //+
+ // Required for Windows Form Designer support+
+ //+
+ InitializeComponent();+
+ // Create Report+
+ CreateReport();+
+ //+
+ // TODO: Add any constructor code after InitializeComponent call+
+ //+
+ }+//========================================================================= -
Sales Analysis Report based on Supplier-wise
Hi Experts,
My client requirement is ,We are into trading so , we want a Sales analysis report based on Supplier-wise. like,
Selection critieria is
1)Supllier name
2)From and To date.
Heading are
Item name Sales UoM Jan(quantity) Feb(quanitity) mar(quantity) April(quanitiy).........
here, i need only the sum of the quantity for the items for that particular month based on the date giving in selection criteria.
Regards,
Dwarak
Edited by: Dwarak@SMS on Aug 23, 2010 4:29 PMHi experts,
For my clients requirement,
I could able to alter my previous query(find below).
My object is
1)To get sales report based on Manufacturer.
2)To get the TOTAL SALES QUANTITY OF THE MONTHS in the report. I go that in the below query, and only thing is that is have to minus the total Credit note for items to get the ACTUAL TOTAL SALES OF THE MONTHS. so , can anyone help me to alter the query to get me the ACTUAL TOTAL SALES OF THE MONTHS.
the query is
SELECT T0.ITEMCODE,T0.ItemName,T0.OnHand,
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 1 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JAN ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 2 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'FEB ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 3 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'MAR ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 4 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'APR ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 5 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'MAY ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 6 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JUN ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 7 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JUL ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 8 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'AUG ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 9 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'SEP ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 10 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'OCT ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 11 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'NOV ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 12 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'DEC '
FROM dbo.OITM T0
LEFT JOIN dbo.INV1 T1 ON T1.ItemCode = T0.ItemCode WHERE T0.SellItem = 'Y' and T0.[FirmCode] =[%0]
GROUP BY T0.ItemCode,T0.Itemname,T0.OnHand,YEAR(T1.DOCDATE) HAVING YEAR(T1.DOCDATE) =
YEAR(GETDATE())-0
ORDER BY T0. ITEMCODE -
Report based on a reord group - PROBLEM
Using Reports Server / Forms/Reports 6i
I am trying to run a report based on a record group on the web. It fails giving the error 'Cannot run report.'
The report is called from a form and the record group is passed as a data parameter. It works fine in Client/Server.
I have tried to remove the data parameter and run the report without it but, despite working in the Client/Server environment, it still fails on the Web.
Does anyone have any suggestions?I have found the answer to my problem in the forms forum!
Apparently, this type of report won't work on the web and I have to use temporary tables! -
Dear Friends,
If there is any functionality or Table from where i can get list of Invoices based on OUTPUT TYPE
we have diff invoice types like sales invoice, service invoice, lease invoice and for all invoices there is dif output type is assigned. If i want to generate service invoices report based on output types assgined to it how we can do that?
Regards
Vishalhi
Thanks Friend
But again there is one problem when i am running this in Devlopment client its working fine but in other client not working n giving message No messages for initial processing exist
what may be the problme?
Regards
Vishal -
VAT REPORT BASED ON CURRENT LOGGED IN USER
Hi Guys,
I am Working for a client and it they are having 9 branches and for each branch there will be divided by different Series and different Tax Codes and they want a TAX Report based on the User Logged in.Each User Will be Assigned a branch and in the tax code an UDF(Location) has been created and for each tax code location has been entered there.
So when User 1 of Branch 1 is running the report then the report should show only the record of that particular Branch 1 and
When User 2 of Branch 2 is running the Report then it should show only branch 2 records .
I Tired using an FMS to record the Current User Logged in but i am unable to include this in the below query.
SELECT T0.U_NAME FROM OUSR T0 WHERE INTERNAL_K = $[USER]
In the Below query , the Report needs to be filtered automatically based on the Current user Logged in(User who is running the report).
There will be different Branches and Each Branch has One O Two Licenses and whenever the User1 Of Branch 1 runs the report then the report should display only the record related to that particular branch within the given date range.
So ,to differentiate the Tax codes for each Branches we have created an UDF(Location) in tax codes and enter the branch name in the UDF and also each branch will have 3 different document series and each series.
Instead of Giving the Location as a Parameter to choose we need to filter the report by the User logged in .
SELECT distinct M.DocNum AS 'AR Inv. #', M.DocDate as 'Date',
l.targettype AS 'TARGET TYPE',
t4.series,T4.SeriesName,
case when T4.SeriesName='LOC/HOF' then 'HEAD OFFICE'
when T4.SeriesName='LOC/CHN' then 'CHENNAI'
when t4.seriesName ='INS/CHN' THEN 'CHENNAI'
WHEN T4.SERIESNAME ='STF/CHN' THEN 'CHENNAI'
WHEN T4.SERIESNAME ='INS/HOF' THEN 'HEAD OFFICE'
end Location,L.TAXCODE,T6.RATE,
case when t.statype ='1' then 'VAT'
WHEN T.STATYPE ='4' THEN 'CST'
END TAXTYPE,T.STATYPE,
M.CARDCODE,M.CardName as 'Customer Name',M.NumAtCard as 'Bill No. & Dt.',M.DiscSum,M.RoundDif,
(Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',M.VATSUM,
(Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =1 ) as 'VAT SALES',
(SELECT SUM(TaxSum) FROM INV4 t where t.docentry=m.docentry and statype=1 ) as ' VAT COLLECTED ',
(Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =4 ) as 'CST SALES',
(SELECT SUM(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry ) as ' CST COLLECTED ',
(Select Sum(LineTotal) FROM INV3 Q Where Q.DocEntry=M.DocEntry) as 'FREIGHT',
M.DocTotal as 'Total (Rs.)'
FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry
LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
INNER JOIN NNM1 T4 ON M.SERIES=T4.SERIES
LEFT JOIN OSTC T6 ON T6.CODE= L.TAXCODE
LEFT JOIN OUBR T7 ON T7.NAME = T6.U_LOC
LEFT JOIN OUSR T8 ON T8.BRANCH = T7.CODE
WHERE (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]')
AND TARGETTYPE !='14' and taxrate !='0' A
ND T6.RATE != '0'
and t6.u_loc ='[%2]'
GROUP BY
M.DocNum,M.DocDate,M.CARDCODE,M.CardName,M.NumAtCard,M.DocEntry,
M.DiscSum,M.WTSum,
M.DocTotal,M.Series,T4.SeriesName,
T4.REMARK,M.RoundDif,M.VATSUM,T.STATYPE,T.TAXRATE,Q.LINETOTAL,t4.series,
l.targettype,t.docentry,L.TAXCODE,T6.RATE
Pls Gimme Some Ideas guys for designing this report .
Thanks And Regards,
P.VHai Gordon,
Thanks for the suggestion but i am sorry to say that after adding the said Condition to the below query it is showing the Below error.
QUERY :
SELECT distinct M.DocNum AS 'AR Inv. #', M.DocDate as 'Date',
l.targettype AS 'TARGET TYPE',
t4.series,T4.SeriesName,
case when T4.SeriesName='LOC/HOF' then 'HEAD OFFICE'
when T4.SeriesName='LOC/CHN' then 'CHENNAI'
when t4.seriesName ='INS/CHN' THEN 'CHENNAI'
WHEN T4.SERIESNAME ='STF/CHN' THEN 'CHENNAI'
WHEN T4.SERIESNAME ='INS/HOF' THEN 'HEAD OFFICE'
end Location,L.TAXCODE,T6.RATE,
case when t.statype ='1' then 'VAT'
WHEN T.STATYPE ='4' THEN 'CST'
END TAXTYPE,T.STATYPE,
M.CARDCODE,M.CardName as 'Customer Name',M.NumAtCard as 'Bill No. & Dt.',M.DiscSum,M.RoundDif,
(Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',M.VATSUM,
(Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =1 ) as 'VAT SALES',
(SELECT SUM(TaxSum) FROM INV4 t where t.docentry=m.docentry and statype=1 ) as ' VAT COLLECTED ',
(Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =4 ) as 'CST SALES',
(SELECT SUM(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry ) as ' CST COLLECTED ',
(Select Sum(LineTotal) FROM INV3 Q Where Q.DocEntry=M.DocEntry) as 'FREIGHT',
M.DocTotal as 'Total (Rs.)'
FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry
LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
INNER JOIN NNM1 T4 ON M.SERIES=T4.SERIES
LEFT JOIN OSTC T6 ON T6.CODE= L.TAXCODE
LEFT JOIN OUBR T7 ON T7.NAME = T6.U_LOC
LEFT JOIN OUSR T8 ON T8.BRANCH = T7.CODE
WHERE (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]')
AND TARGETTYPE !='14' and taxrate !='0' AND T6.RATE != '0'
AND $[USER] in (SELECT USERID FROM OUSR WHERE BRANCH = T7.CODE)
GROUP BY
M.DocNum,M.DocDate,M.CARDCODE,M.CardName,M.NumAtCard,M.DocEntry,
M.DiscSum,M.WTSum,
M.DocTotal,M.Series,T4.SeriesName,
T4.REMARK,M.RoundDif,M.VATSUM,T.STATYPE,T.TAXRATE,Q.LINETOTAL,t4.series,
l.targettype,t.docentry,L.TAXCODE,T6.RATE
ERROR
1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'USER'.
2). [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near the keyword 'GROUP'.
3). [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement 'User-Defined Values' (CSHS) (s) could not be prepared.
Regards,
P.V -
Creating a performance report based upon a custom group
I am trying to create a simple performance report based on a SCOM group that I created, however when I run the report the relevant data cannot be found. When I look at the group membership I see a list of Windows servers. I then go into a generic
performance report, add a single chart, and line series, and select "Add group" and then search and select the SCOM group I created. I then add % processor time for 2008 systems as my rule. However when the report is run, no relevant
data is found. Performance reports run fine when selecting "Add group" and selecting the members of the group themselves.
My suspicion is that it is trying to run the performance report based on the group object and not the members of the group. Is there anyway that I can accomplish this? Perhaps via XML?
KeithHi,
For your reference:
Creating Useful Custom Reports in OpsMgr: How to create a custom performance counter report for a group of servers
http://www.systemcentercentral.com/creating-useful-custom-reports-in-opsmgr-how-to-create-a-custom-performance-counter-report-for-a-group-of-servers/
SCOM reports on performance counters for large groups of servers
http://www.bictt.com/blogs/bictt.php/2010/11/28/scom-reports-on-performance-counters-for-large-groups-of-servers
Regards,
Yan Li
Regards, Yan Li -
Inserting paragraphs into a report based on a certain condition
Hi, I need some advice on the best method to insert paragraphs of text into a report.
I have +/- 100 paragraphs which are in text format, I need to insert these into the report based on certain conditions.
I have tried entering them into the trailer section one after the other and using conditional formatting to display them if the the condition is met. This works well but I ran out of space in the trailer section.
I then thought of saving the paragraphs somewhere on the server as seperate txt files and inserting them into the report using file links,
or I could put these paragraphs into a table and then insert them from there, some of these paragraphs are longer than 4000 characters,
Please advise on the best method
Thank you
MichaelHi,
If the button and the textfield are on in the same subform then this code should work in the click event of the button
(This is JavaScript code so make sure the code is set to JavaScript and Client on the drop downs in the script window)
(assuming the name of the textfield is TextField1)
TextField1.rawValue = "some value";
If they are in different subforms then you have 2 options
Please note in both these options it is easier if the subforms have names ( I am assuming this to keep samples simple)
option 1 -
use the parent object to move up the tree till you are at the same level as that of the subform that contains the textfield
e.g.
(Click Event of the button)
this.parent.subformname.TextField1.rawValue = "some value";
option 2 -
Use the resolve node to make your way down from the top level of the form
xfa.resolveNode ("form1.subformname.TextField1").rawValue = "some value";
Hope this helps
Malcolm
p.s. I am making assumptions as the image/file you attached did not appear for me. -
Crystal Report based on BW query
We create a Crystal report (CR 2008 ) with the main report based on on Bex Query on an SAP BW Server based on an infocube and a sub report based on an SQL relational table (Table, cluster or SAP Functions) on the same SAP BW Server. The execution is Ok on the Crystal Client but when we deploy on the InfoView portal (and on CMC) we have only one connection defined (it seems it detect that it was the same server name and keep only the first connection).
We don't use Universe (For Bex Query SAP don't recommande it) . The queries are directly embeded in the crystal report
Maybe you are looking for
-
I have a Creative Labs X-Fi Platinum sound card with the li've dri've bay extension. I have tried using the mic input on the soundcard card itself and I have tried using the mic2 inputs and the aux line2 inputs on the dri've bay. I configured the Cre
-
How to call BAPI_TRANSACTION_COMMIT for more than one bapi?
Hi all, i have this web dynpro app, which needs to call multiple bapis. if i import like this: bapi1_model bapi2_model bapi_transaction_commit_model and execute them like this: bapi1 commit bapi2 commit data wont get write to database. how to import
-
We use RAR 5.3 SP 14 and were wondering if there were any tables or reports that can show the change history upon mitigation added to a user. We can see the date that the mitigation was assigned to a user, but we can't seem to find the date when a m
-
Disk full error has occurred while it is printing. Has anyone else experienced this? I am running Illustrator CS4 on a Mac Snow Leopard. The error occurs when attemping to open any eps file on my computer, which are ALL of my Illustrator files, sigh.
-
Errors after creating a project in the DC
Hi, I have created a DC for my track trk_cc with the vendor sap.com. After creating the application and component for the project i am getting many errors in each and every line of the code. private final com.sap.tc.webdynpro.progmodel.api.IWDCo