SSRS 2008 Work order report , in sub total donot want to add the 0 level in ( how to add the expression )
working in Work order report, this report has different level , for example
0 level transaction
1 level transaction
in subtotal don't want to add 0 level transaction,
when I did the sub total it added all the level , so in sub total amount double up because of that
how to add the expression so I can the level 0 take out from sub total , so it does not include in sub total
can some one please help me with this
thanks in advance
Hi Simon_ Hou
I tried the expr the way you suggested , it did not work getting error message, the exp I added is below
this the expression I added on sub total where is highlighted in Yellow, under Cost amount column,
I really appreciate the help
=Sum(IIF(Fields!COLLECTREFLEVEL.Value=
"0",0,Fields!CostAMOUNT.Value),"DataSet1")
please see below my QUERY, can you please help and let me know what I did wrong in my exp
SELECT PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
PRODCALCTRANS.LINENUM
FROM PRODTABLE INNER JOIN
PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID
WHERE (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
(PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate)
Similar Messages
-
SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
my costgroup id did not break into labor , only Mat Cost showed in the total,
my query is as below, did I link the wrong field, I want to show Labor total also
can some one suggest what I did wrong .
any advise will be great
SELECT PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
FROM PRODTABLE INNER JOIN
PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
JOIN
INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
WHERE (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
(PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
= 1) AND
(PRODCALCTRANS.CALCTYPE >= 0)Hi Bitia,
As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
Modify the dataset used to retrieve data, delete the fields will not be used in the report.
Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
Make sure that row group and totals are correctly added.
In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
In design surface, right-click the report and click Insert, then click Page Header.
Drag Text Box from Toolbox to page header.
Right-click inside of Text Box, then click Expression.
In the expression text box, type the code like below:
=ReportItems!FinishedDate.Value
If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
Reference:
ReportItems Collection References
Adding Grouping and Totals
Thanks,
Wendy Fu -
Open Work Order report and shortage report
Hello,
First of all, I am very new to SAP and sap forum. I do need to learn SAP very fast. I work as Buyer and Planner. I would like to know how do you run open work order report and also how do run shortage report.
I appreciate different feedback.
Thanks
RajHi,
Use tcodes CO24. First you need to activate that report PPCOXPR1 in SE38 enter report name and execute
In COOIS select list components you can be requirement qty and withdrawn qty , here you can find out open work orders also
Thanks
Diwakar -
WIP Work Order Report pulling wrong customer
In the Customer Name field on the WIP Work Order Report it pulls in the Bill To customer instead of the Ship To customer. Please advise in this regard.
Thanks in Advance.Hi,
Can you please make Ship To also as Primary Business Purpose?
Regards
Raghavender K -
I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?
Hi mafiose15,
Thanks for visiting Apple Support Communities.
Restoring your iPod to factory settings is the best way to try and get it back to working order. You can use the instructions below to restore it:
How to restore iPod
Verify that you have an active Internet connection, because you may need to download new versions of the iTunes and iPod Software.
Download and install the latest version of iTunes if necessary.
Open iTunes. Connect your iPod to your computer using the USB or FireWire cable that came with your iPod.
After a few moments, your iPod will appear in the Source panel in iTunes.
Select your iPod in the Source panel. You will see information about your iPod appear in the Summary tab of the main iTunes window.
Click Restore.
If you are using a Mac, you will be asked to enter an administrator’s name and password.
A progress bar will appear on the computer screen, indicating that stage one of the restore process has begun. When this stage is done, iTunes will present one of two messages with instructions specific to the iPod model you are restoring.
Disconnect iPod and connect it to iPod Power Adapter (typically applies to older iPod models).
Leave iPod connected to computer to complete restore (typically applies newer iPod models).
During stage two of the restore process, the iPod displays an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remain connected to the computer or iPod power adapter during this stage.
Note: The progress bar may be difficult to see, because the backlight on the iPod display may be off.
After stage two of the restore process is complete, the iTunes Setup Assistant window will appear. It will ask you to name your iPod and choose your syncing preferences, as it did when you connected your iPod for the first time.
You can find the instructions in this article:
Restoring iPod to factory settings
http://support.apple.com/kb/ht1339
All the best,
Jeremy -
in SSRS 2008 2 years ago created Commission with sub reports added, it was working fine, some how started to get error
message when we entered some invoice # see below screen shot of error message
but same time if I enter different invoice # it process the report without any error message , donot understand the problem
what's causing this issue, I have looked each sub report,
can some one suggest any idea,
I have spent hrs to figure it out, no luck so far.
thanks in advance
see the 2nd screen shot with report process
any help will be greatly appreciatedHi Wendy
thanks for your reply
I tried creating new report , I have 1 main report and 3 sub report on this
on main report when I enter some invoice# and accountnum data shows up with no problem,
but same time if I enter different invoice# and accountnum , there is no data return on same query, I have checked my query so many times, donot understand this issue, what's causing this problem, since all the data pulling from same tables, why its
not pulling for some invoices,
other strange thing , I created this report , year ago, there was no problem until now,
all of the sudden this problem just shows up,'
I am not that expert in sql , can I really use advise
see below by query , if you can tell me what's wrong with my query I will be really greatfull I have spend so much time to figure it out, but so far no luck
SELECT VENDTRANS.DATAAREAID, SALESTABLE.SALESID, VENDTRANS.VOUCHER, SALESTABLE.SALESTYPE, SALESTABLE.SALESSTATUS, VENDTRANS.TRANSDATE,
CUSTINVOICEJOUR.INVOICEAMOUNT, VENDTRANS.INVOICE, VENDTRANS.PAYMMODE, VENDTRANS.ACCOUNTNUM, VENDTRANS.TRANSTYPE,
VENDTRANS.LASTSETTLEVOUCHER, VENDTRANS.TXT, CUSTINVOICEJOUR.INVOICEACCOUNT, CUSTINVOICEJOUR.INVOICINGNAME,
VENDTRANS.LASTSETTLEDATE, LEDGERJOURNALTRANS.ACCOUNTTYPE, LEDGERJOURNALTRANS.AMOUNTCURCREDIT, LEDGERJOURNALTRANS.LINENUM,
CUSTINVOICETRANS.INVOICEDATE
FROM SALESTABLE INNER JOIN
CUSTINVOICETRANS ON SALESTABLE.DATAAREAID = CUSTINVOICETRANS.DATAAREAID AND SALESTABLE.SALESID = CUSTINVOICETRANS.SALESID
INNER JOIN
CUSTINVOICEJOUR ON CUSTINVOICETRANS.INVOICEID = CUSTINVOICEJOUR.INVOICEID AND CUSTINVOICETRANS.SALESID = CUSTINVOICEJOUR.SALESID
AND
CUSTINVOICETRANS.INVOICEDATE = CUSTINVOICEJOUR.INVOICEDATE INNER JOIN
VENDTRANS ON CUSTINVOICETRANS.INVOICEID = VENDTRANS.INVOICE AND CUSTINVOICETRANS.DATAAREAID = VENDTRANS.DATAAREAID
AND
CUSTINVOICEJOUR.DATAAREAID = VENDTRANS.DATAAREAID AND CUSTINVOICEJOUR.INVOICEDATE = VENDTRANS.TRANSDATE INNER JOIN
LEDGERJOURNALTRANS ON VENDTRANS.DATAAREAID = LEDGERJOURNALTRANS.DATAAREAID AND
VENDTRANS.ACCOUNTNUM = LEDGERJOURNALTRANS.ACCOUNTNUM AND CUSTINVOICETRANS.LINENUM = LEDGERJOURNALTRANS.LINENUM AND
VENDTRANS.INVOICE = LEDGERJOURNALTRANS.INVOICE AND VENDTRANS.VOUCHER = LEDGERJOURNALTRANS.VOUCHER AND
VENDTRANS.PAYMMODE = LEDGERJOURNALTRANS.PAYMMODE AND VENDTRANS.TRANSDATE = LEDGERJOURNALTRANS.TRANSDATE
WHERE (VENDTRANS.DATAAREAID = N'AR1') AND (SALESTABLE.SALESTYPE = 3) AND (SALESTABLE.SALESSTATUS = 3) AND (VENDTRANS.ACCOUNTNUM = @Accountnum)
AND (VENDTRANS.INVOICE = @Invoice) AND (LEDGERJOURNALTRANS.ACCOUNTTYPE = 2) -
Work Order Reporting using I_BEGRP as a selection criteria
Hello all,
I am having a small problem regarding the authorization object I_BEGRP, which appears at general data informed tab at equipment level. The situation is as described below:
Our client has several subcontractors working with Maintenance Work Orders in the system, and in order to control that each subcontractor does only access to their own data (equipment, work orders, etc.) different authorization group has been used to assign each of the equipment.
Problem is now when the client needs to be able to know the list of MWO per subcontractor.
The need is clear: for a user that is not restricted by this authorization group, it cannot be usedas a selection criteria to obtain a list of WO of a certain subcontractor.
I have seen that it can be shown in the equipment standard report IH08, but only as exit data, but not as entry selection criteria, but neither for MWO (IW39) nor for notifications (IW29) it can be used as an entry selection criteria.
Can someone help me with this issue? is the only solution to make a custom development, and to copy program RIAUFK20 in order to allow this field as an input?
Thank you very much for your help.
BR,
Francesc.Hi,
the only workaround I can think of is to use suitable search help for equipment. So the process would be to run IW29, open search help for equipment that allows you to specify authorization group (I think Equipment by Equipment list should work), then select all equipments from the auth. group and then run IW29 restricted by equipments. It's not nice but it allows you to select all orders that have equipments assigned to some specific authorization group. Otherwise you need to enhance standard reports to allow authorization group as one of the select options.
Cheers -
How to Change Maintenance Work Order Report in EAM Maintenance Super User
Hi,
We like to change or create new costom report in place of Standrd EAM Maintenance work order details report in Maintenance super User Responsibility.
When we go Maintenance Super User > Work Order > Print work order >Layout , In Template layout we find only one LOV called Maintenance report.
We like to where this this Template LOV storing and Run button code where it's storing
THANKS,
GanaHi,
You could temporarly adjust the CUNI definition for TST so that it can be converted to seconds. Adjust the notifications to set a valid unit of measure.
The alternative would be to update the field MAUEH in table QMIH with a valid breakdown unit of measure.
-Paul -
I have created Fixed assets Report , but our auditors would like to see separate Prior YTD Depr in separate column and current book Depr in separate column , right now Prior year YTD depr amd Currrent year depr showing in column Amount Curreny column,
but I would like to show that amount in net column and Current book depr by each to accum and show in where I have $ 710.95 amount , can some one help me how can I change my query to come up what I am looking for, I really need to fix this for
our auditors, and donot to show the details by each month, any help will be really appreciated, you guys are so good, I wish I know more about Sql,
my Query is below
SELECT ASSETTABLE.NAME, ASSETTABLE.ASSETTYPE, ASSETTABLE.QUANTITY, ASSETTABLE.UNITOFMEASURE, ASSETTRANS.TRANSTYPE, ASSETTRANS.ASSETID,
ASSETTRANS.TRANSDATE, ASSETTRANS.DIMENSION2_, ASSETTRANS.AMOUNTMST, ASSETTRANS.ASSETGROUP, ASSETTRANS.DATAAREAID,
ASSETTABLE.UNITCOST
FROM ASSETTABLE INNER JOIN
ASSETTRANS ON ASSETTABLE.ASSETID = ASSETTRANS.ASSETID
WHERE (ASSETTRANS.DATAAREAID = N'AR1') AND (ASSETTRANS.TRANSDATE >= @Paramfromdate) AND (ASSETTRANS.TRANSDATE <= @Paramtodate)
thanks in advanceI don't think I understand exactly what the ask is. What field allows you to distinguish between prior year and current depreciation? TRANSTYPE?
I think your data is fine. I would suggest using a Matrix instead of a table. Just set the column group to group on the field that distinguishes between current and prior year depreciation. Add all of the rest of your column outside the column group so they
are only scoped by your row group(s). You can add those columns either before or after your column group columns.
If you have a lot of work into your report already and don't want to create a new matrix which will require you to recreate the work already done on your table. you can convert the existing table to a matrix as described in this technet wiki article:
http://social.technet.microsoft.com/wiki/contents/articles/21184.ssrs-converting-between-tablix-controls-matrix-table-list.aspx
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek. -
Tricky Report for Sub totalling. Please See
Hi,
First of all this is a repeated question and I thank
all of you (cartena,petpandian,FS and the lot) who have
sent in replies.
I need to create a report in 9i
This is the table data :
TRANS_ID ACC_ID DEL CCY AMT TRADE_DAT LENDER
LEL0002045 SLEND RECEIVE GBP 1200 02-AUG-05 LENDERA
LEL0002053 SLEND DELIVER GBP 1000 02-AUG-05 LENDERA
LEL0002003 SLEND DELIVER KRN 1000 11-AUG-05 LENDERA
LEL0002001 SLEND DELIVER GBP 1000 08-AUG-05 LENDERA
LEL0002002 SLEND DELIVER USD 1000 09-AUG-05 LENDERAThis is the Report Format I want :
TRANS_ID ACC_ID DEL CCY AMT TRADE_DAT LENDER
LENDERA
LEL0002045 SLEND RECEIVE GBP 1200 02-AUG-05
LEL0002053 SLEND DELIVER GBP 1000 02-AUG-05
LEL0002003 SLEND DELIVER KRN 1000 11-AUG-05
LEL0002001 SLEND DELIVER GBP 1000 08-AUG-05
LEL0002002 SLEND DELIVER USD 1000 09-AUG-05
RECEIVE GBP 1200
DELIVER GBP 2000
DELIVER USD 1000
DELIVER KRN 1000You can get multiple CCY with 'RECEIVE' or 'DELIVER' for a particular
lender
There can be a CCY with 'YEN' for LENDERA with DEL as 'DELIVER'
I have used layout style 'GROUP LEFT' while creating the report (thru Report wizard)
In group fields, I specified
LENDER as (Level -1)
DEL as (Level -2)
CCY as (Level -3)
And in Sum fields
Give sum(Amt).
The SQL Query I am using in the SQL is
SELECT trans_id, acc_id, del,ccy,amt,trade_date,lender,
decode(DEL,'RECEIVE', AMT,0) as REC_AMT,
decode(DEL,'DELIVER', AMT,0) as DEL_AMT
from TableAThe output comes this way using GROUP LEFT layout:
LENDERA RECEIVE GBP LEL0002045 1200
Total 1200
DELIVER GBP LEL0002053 1000
LEL0002001 1000
Total 2000
.... Can anyone suggest a better altenative? Thanks a lotI have got the SQL running if I run this from the SQL prompt and it gives me the correct result (Thanks a lot cartena for the grouping SQL)
But now, if I run this same SQL in report wizard, the output is not correct
If I run this in SQL :
Select lender,
trans_id,
del,
ccy,
sum(amt) as amt from TestReport
group by grouping sets ((lender, trans_id, del, ccy),(lender, del, ccy))
order by
lender, trans_id, del, ccy
Output:
LENDER del ccy AMT
LENDERA LE RECEIVE GBP 1000
LENDERA LE RECEIVE GBP 1000
LENDERA LE RECEIVE KRN 1000
LENDERA LE RECEIVE GBP 1200
LENDERA LE DELIVER USD 1000
LENDERA DELIVER USD 1000
LENDERA RECEIVE GBP 3200
LENDERA RECEIVE KRN 1000
LENDERB RECEIVE KRN 1000
LENDERB RECEIVE KRN 1000But which layout wizard should I use in REPORT ?
Group Above or Group Left? -
I have a simple column chart grouping on 1 value on the category axis. For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis. I right click on the data series and choose "Add calculated series...". I choose moving average. I want to move the average over at least 2 periods.
When I run the report, I get the error "Formula error - there are not enough data points for the period". The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5). When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
I don't think this is entirely acceptable for our end users. At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart. Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
Thank you,
DanI was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
<ChartFormulaParameter Name="Period">
<Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
</ChartFormulaParameter>
What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
A side note:
If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML. -
I've no idea how to reset the old password in my macbook pro. Because this is my father gave it to me then even he also forgot the password too! Please I need help! T.T If not I cant download software in this computer. how?
Because even him also forgot which password, and all the password he gave me wasn't log in. Ive no idea what to do already so I've ask community~
Where to totally set a new admin without delete the old admin password?
Can't remember the Old password so how to create a new and delete this?
I need to download something but it keep asking me put in the password but i don't know it and want to delete it.. how?
Please help~~~ Thank you everyoneReset the password.
For Snow Leopard and earlier:
http://support.apple.com/kb/HT1274?viewlocale=en_US&locale=en_US
For Lion and later:
https://discussions.apple.com/docs/DOC-4101 -
If i order the iPad today, how long is the delievery time ?
Hi,
I was wondering if I order the iPad online today, how long is the delivery time ? if it was to send to Wilmette, IL 60091 U.S.A.
_*I want to place an order of 2x iPads, Camera kit x 2, Standard iPad case x 2, but I need to recieve the package before September 30th, would that be possible ?*_
Thank you, please reply me as soon as possible so i can place my order ASAP.From what i know, if you ordered an ipad online through Apple and it is coming from overseas, you can't change the shipping. The only way you would know this is to call Apple and ask. I ordered mine on April 12 and still don't have it or any information, however...apple said mine is coming from PA and they did bump me up to 1 day shipping rather than the standard 2 day shipping. So it all depends where you ipad is coming from.
Hope this helps! -
Dear All,
My company is using Service master. In Wo we use use same service code in two line. We want to see excuted qty through t code ME2S.in this report both line item qty add . Please suggest.Hi,
Check on it:-
Book a credit note related to service entry sheet
service reporting ME2S - output format
Re: Service PO
http://wiki.sdn.sap.com/wiki/display/ERPLO/SAPStandardReports
pherasath -
SSRS 2008 R2 - Separate report for Each record?
Hi,
How do I create new pdf reports for each records from a table? The pdf files should be named as customerid.pdf and needs to be delivered in email or share path?
Each record has enough content for 5 page of pdf report.
How do we achieve this?
Thanks
RajYou can create a data driven subscription to loop through records in the table and create pdf based on number of customerid.
Have a look at this for DD subscriptions :
http://msdn.microsoft.com/en-us/library/ms169673.aspx
Kind Regards, Vikram Kansal Please mark solved if I've answered your question, vote for it as helpful to help other user's find a solution quicker
Maybe you are looking for
-
Select statement in a BADI method
Hello All, I want to put a select statement on table CRMD_ORDERADM_I in the PREPARE method of ORDER_SAVEbadi implementation where in I get a syntax error of the table not defined. How do i get over this.. helpfull answers will be rewarded.. Thanks in
-
Update download trouble: App Store says, in error, "-not enough free disk space"
I wonder if anyone can help me troubleshoot this... I am unable to download some updates as from the App Store, and instead get an error message that suggests I don't have enough free disk space despite there being over 100GB free. More detail: after
-
My updater will not recognize my 30 g iPod now. I updated iTunes to the 5.0.1 version and it recognizes my iPod fine now, however said that it could not download some some songs because the software on my iPod needed to be updated. I installed the up
-
What is Directory Structure?
Hi guys , thanks for your early response.i want to know directory structure of apps. please help me. Regards, Shakeel Khan
-
Why my dynamic text doesn't look as good as the static one in the same movie?
I have movie clip with dynamic text and static text. I am using same font, size and color. The static texts looks great but the dynamic one is not. How can I get smoot fonts within dynamic text??? Thanx....