How to use Group in Query Print Layout
Hi All,
I have prepared a query for fetching all purchase details along with tax code, now I have ordered it on tax code and prepared a query Print Layout,
Now within this Query Print Lay Out I want to group the tax code and want to add total of some columns at end of every tax code.
Request to guide how to achieve this.
Thanking you in advance,
Samir Gandhi
We need to use Sort and Group in combination.
Select the repeatative area and in PLD menu select Sort, then select the column to be sort.
then in Header / Footer of that respective repeatative area select the fields and put in the group no. in the General.
Similar Messages
-
New customized report using PLD or QUERY PRINT LAYOUT to show customers onl
I am working with a Software Developing firm as an SAP Consultant.
Please tell me how to create a new customized report displaying various details as required by the client in the report using PLD or Query Print Layout.
Please help me asap.Hi,
You can create queries using the Query Generator or the Query Wizard tools.
After you have created your own queries, you can link them to a required print layout.
for user reports.Look at:
Tools --> Queries --> Query Print Layout
Set there your query reports.
Printing User-Defined Queries
After you had linked a user-defined query to a user report template, you can now print it
according to its linked print layout.
There are two ways for printing your user-defined queries.
1. Using the Query Print Layout window:
Select from the upper menu Tools 􀃆 Queries 􀃆 Query Print Layout.
Click the Reports tab page.
Click to highlight the required query you would like to print.
Click on the printer icon or select from the upper menu File 􀃆 Print.
The user-defined query is printed according to its linked print layout.
2. Using the Queries Manager window:
Click the Queries Manager icon on the upper tool bar.
Click to highlight the required query you would like to print.
Click on the printer icon or select from the upper menu File 􀃆 Print.
The user-defined query is printed according to its linked print layout.
Note! You can also print preview user-defined queries. Do so by selecting the Print
Preview option as described in the methods above for printing your query.
Btw, you could search the manual training files relate to query PLD in http://www.service.sap.com/smb
Rgds, -
How to create authorization to access Query Print Layout?
Hi again..
i have 10 query print layout, and not every user can view this layout.
I assume,
report 1-3 only for user A,
report 4-7 only for user B, and
report 8-10 only for user C.
How to create autorization for Query Print Layout?
Thankyou for the helpDony,
In order to createthe PL's of customize report (from Query Manager) you will have to go the Tools Tab of the Menu Bar in which you will have to click the Queries tab which will lead to a drop down menu which when clicked will lead to Quaery Print layout. You will have to choose your query based upon whether from the reports tab double click it to open the Query Print Layout Designer.
Here again in the Menu Bar you will find the under the Tools the first tab is the PLD which when clicked you can do the same process as explined below
When you go to the document ( Any Document ) in the tool bar you would find the 24th Icon to be the Print Layout Designer Tab when you click this it takes you to the layout designer window.... below there is tab named set as default when you click this the system would ask you 2 choices
1. Set as default for all users
2. Set as default for current user
Which means that you will have to open each and every form?
for each and every user and set them as default for the user.
If you feel this answer is helpful then please do remember to reward points
Regards,
Nagesh. -
How to use query print layout design
i have a sql query and i want to see its result on report with the help of print layout design.
In addition to Tuvia's answer, here is the printing procedure of query PLD:
Printing User-Defined Queries
Use
After you have linked a user-defined query to a user report template, you can print it according to its linked print layout.
Procedure
To print a user-defined query, use one of the following two procedures:
Using the Query Print Layout window:
1. Choose Tools u2192 Queries u2192 Query Print Layout.
2. Choose the Reports tab page and select the query you would like to print.
3. Choose File u2192 Print.
The user-defined query is printed according to its linked print layout.
Using the Queries Manager window:
1. From the toolbar, choose with the quick info text Queries Manager.
2. Select the query you would like to print.
3. Choose File u2192 Print.
The user-defined query is printed according to its linked print layout.
You can also display a print preview for user-defined queries. To do so, choose File u2192 Print Preview.
Printing User-Defined Queries with Variables
Use
When a user-defined query contains variables, its linked print layout will also display the variables data and print them.
In the print layout linked to that query, you can see that an additional area containing the condition's parameters was added
There is pdf file relate to Query PLD in the SAP service marketplace website.
Rgds, -
How too set query print layout parameters?
Hello,
simple task:
1. Open "Query Print Layout...": SBO_Application.ActivateMenuItem("4868")
2. Handle new reports form: SBO_Application.Forms.ActiveForm (I know, the better solution should be get form with proper TypeEx and highest TypeCount, but now it doesn't matter)
3. Select row with required report: m.Columns.Item(0).Cells.Item(row).Click(BoCellClickType.ct_Regular, 0)
4. Run printing: SBO_Application.ActivateMenuItem("519")
5. Handle new parameters form: ???
How can I get newly created form containing report parameters (TypeEx "4000")? I wanna set proper parameters and click "OK" to show printed report. Doesn't work handling:
- FORM_LOAD in ItemEvent
- MenuEvent for "519" (is only BeforeAction
- PrintEvent (executed after accepting parameters)
- ReportDataEvent (passed FormUID belongs to reports list, not parameters)
In each event I've listed all forms and there is no form titled "Query - Selection Criteria" with expected TypeEx.
Is there any way to achive this?when you activate print preview of printing on selected User Query Layout, you can cacth the ET_FORM_LOAD event of formTypeEx =4000
It is working. Please note if you do not have this event, you may check your filters (?)
Then you can populate your values. Based on my experience the click ok button is not working.
Tip: Search the forum in year 2009 i have posted there sample codes
Regards
J -
Print preivew Query print layout
Hi All,
I have a query that I have created a print preview to. I can click on Query Print Layout, select the report and print preview to show the report.
Does anyone know of a way to do this via the SDK?
I was trying to use the ReportLayoutsService and managed to get the report loaded into a SAPbobsCOM.ReportLayout but I have not been able to determine how to display the report.
Thanks
KarenKaren,
There is not an object or method to do this currently via the SDK. The ReportLayoutsService Object is a service that enables you to copy the print layout of a specified document type from one company database to another.
Please also see this post ...
Run SBO report directly from SDK
Eddy -
Query Print Layout column sum in report footer
Hi Experts,
I am utilizing a query and created the layout via Query Print Layout. I am using sort and group functions which filters my column sums for a certain field conditions. My problem is that when I want to make a total column sum for all the repetitive footers' column sum, the system shows a message that only repetitive areas can be average/ sum.
Is this the standard behaviour of the system? Or is this a limitation if we are using the print layout via Query print layout. Any workaround to get the final total for all pages column sum?
Please advise.
Thanks,
Donhello
Don
what u want actually i dint understood as i now but u need colsum of ur repetitive fields or repetitive footer fields
I).if u want repetitive footer all columns sum take the contact of those fields ex:(concat(F_a+F_B -
)) so u can get ur total for repetitive footer fields
II).if u want repetitive area lines colsum for every field u take as colsum with respect to the unique id of repetitive area fields
regards
Jenny -
Backup a Query Print Layout or PLD form to restore later
How can I backup a PLD or Query Print Layout and save to a drive that will allow me to restore the layouts later on another version of B1?
I am upgrading 2005 to 2007 and during some testing I found the layouts were not saved in it's original form that we created and we had to redo them. I want to be sure I keep the layout as is and only tweak the fields if they have changed at all from 1 version to the next.
Any ideas?
Thanks
JoanneOh sure CX will work fine but not across DB versions. I need the format "before" I upgrade the DB....then take those forms and restore them or copy them to the new DB "after" upgrade.
I already tried to copy them across DB versions, no luck.
See I have a Check register using QPL that works great, when I do the upgrade from 2005A to 2007A, the layout goes all out of whack and is not the same as it was in 2005A. I had to redo everything in the layout as if it was created again.
I am trying to avoid that by coping the form someplace and seeing if I can restore it back after the fact, then test it.
Does that make sense? -
Hi I would like to be able to select a particular row from the query print layout designer (Tools->queries->Query print layout). I open it using this code:
globals.SBO_Application.ActivateMenuItem("4868");
oForm2 = globals.SBO_Application.Forms.ActiveForm;
But how d oI select a particular entry?Hi Costas
try the following
Set frm = sbo_application.Forms.GetFormByTypeAndCount(4666, 0)
Set oMatrix = frm.Items("5").Specific
Set oColumn = oMatrix.Columns(1)
For i = 1 To oColumn.Cells.Count
If oColumn.Cells(i).Specific.String = oPreviewDocument Then---> oPreviewDocument = (RITM id Report)
oColumn.Cells(i).Click
sbo_application.ActivateMenuItem "184"
End If
Next i
hope it helps
Regards
George -
Help me . Query in " Query Print layout Design "
Hi Everybody .
I Design Report by Query Print layout Design , So when I run Report , I see Message : " Table not found Administrator (OA DM)" .
This is My Query .
( Note :this Query is run ok in Microsoft SQL . )
Select Cast(left([dbo].[Get_rate](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType),5) as nvarchar(50))+ Cast(T0.BatchNum as nvarchar(50))As No_Number , T0.TaxDate As Date , case left(T0.Account,4)when '1112'then '0.00' when '1122'then'0.00' else [dbo].[Get_11](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType)end as Amount1 , case left(T0.Account,4) when '1111'then '0.00' when '1121' then '0.00' else [dbo].[Get_111](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType) end As Amount2 , T1.U_VNS_MEMO As U_VNS_MEMO, T1.U_VNS_VNUMBER as PV_No , T1.U_VNS_JType as 'Voucher Type' , T0.Account As AC_Code , T3.AcctName as Description , T0.Debit As Debit ,T0.Credit As Credit , T1.U_VNS_NAME, T0.U_VNS_REMARKS From BTF1 T0 Inner Join OBTF T1 On T0.BatchNum = T1.BatchNum Inner Join OBTD T2 On T0.TransID = T2.BatchNum Inner Join OACT T3 On T0.Account = T3.AcctCode Where T0.BatchNum = '[%0]' Group by Cast(left([dbo].[Get_rate](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType),5) as nvarchar(50))+ Cast(T0.BatchNum as nvarchar(50)) , T0.TaxDate , case left(Account,4)when '1112' then '0.00' when '1122'then'0.00' else [dbo].[Get_11](T0.BatchNum,left(Account,4),T1.U_VNS_JType)end , case left(Account,4) when '1111'then '0.00' when '1121' then '0.00' else [dbo].[Get_111](T0.BatchNum,left(Account,4),T1.U_VNS_JType) end , U_VNS_MEMO , T1.U_VNS_VNUMBER , T1.U_VNS_JType , Account , AcctName , T1.U_VNS_NAME, T0.U_VNS_REMARKS order by Amount1 desc
Please help me .
Thank you very much .
Message was edited by:
Tran Ba HaiNote: This Quey if I change = [%0] by = 1 , and I run Report in SAP is ok .
-
My Menu - Add a Query Print Layout to the Report Folder
This is a newb question. I can easily add a Query or form or most anything else to the Folders under My Menus ... But how can I add a specific Print Query Layout to the Reports folder un My Menu?
I know it is simple but I can not find the steps in the documentation
Thanks in advance!!!
DanaKapil
I tried that, but it adds the Query not the QPLD to the menu.
I had figured that I could go the the QPLD memu and add the Report, but that adds the Query Print Layout Menu with all the reports.
I feel like I am missing something very obvious here!!!
Thanks for your quick response!!
Dana -
Authorization on Query Print Layout Report
Hi Experts,
Is there a way to limit users from generating Query Print Layout which they are not suppose to generate? Currently, all query print layout is exposed to all users, but I want to limit which users who can access specific reports only and to prevent from accidentally generating other confidential reports.
I tried grouping the queries per Query Manager and assigned the query number to designated users in Authorizations, but it seems that this does not apply in Query print layout generation.
Any help?
DonHi Gordon,
Yes, I gave the users authorization for the query print layout so that they can run one of the report, however, all the reports are exposed also, for confidentiality purposes, I don't want to allow the same users to generate other query print layouts.
Is there a way for this?
Thanks. -
Query Print Layout / Query Manager
Hopefully some one here can help me out ...
I have created a handful of Query Print Layouts. How or is there a way when I make a change to the underlying query, to reassociate it with the report? Now when I change the query, I have to create a new report. I am currently on SAP B1 2007 PL11. When I upgraded from PL06 to PL11, the queries handle prompted dates differently, causing me to have to make a simple syntax change to my query which does not change the data being passed to the report.
Thanks in advance
DanaDana,
This is the short-coming of the Query PLD. Once you change the Query, you will need to redo the template all over again.
Therefore, it is a good practise to always finalize the query and then design the layout.
Re-assigning the revised query to QPLD is not possible
Suda -
Query Print Layout - Generated PDF Document Name?
Hi All,
Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
Best regards,
JohnHello,
Yes, I have the same question. It could be great being able to choose the name of the document when creating a pdf. Even better if you could chose fields of the document for the name of the pdf, such as, name of customer, number of document, date, etc.
Is there any way for doing this?
Thanks in advance,
Javier.
Hi All,
Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
Best regards,
John -
Query Print Layout - Incoming Payment
Hi All,
I have done the query print layout for incoming payment. but it cannot show the correct A/R invoice: document number. When I only make the payment for 1 invoice it seems to be correct, but when I choose 2 invoices to be paid, then the A/R invoice: document number for the second row is wrong ( if follows the first row).
Below is the query:
SELECT T0.DocNum, T0.DocDate, T0.DocCur, T0.DocTotal,
T0.DocTotalFC, T1.DocNum, T1.CardCode, T1.CardName,
T1.DocDate, T1.Comments,T1.TrsfrRef as 'Cheque No',
T2.BankCode' 'T2.AcctNum as 'Bank Code' , T0.Address , T3.Phone1 , T3.CntctPrsn , T0.PaidToDate, T0.PaidFc , T4.AppliedSys , T4.AppliedFc
FROM [dbo].[OINV] T0 INNER JOIN ORCT T1
ON T0.ReceiptNum = T1.DocEntry LEFT JOIN RCT1 T2
ON T1.DocNum = T2.DocNum LEFT JOIN RCT2 T4
ON T4.DocNum = T2.DocNum LEFT JOIN OCRD T3
ON T1.CardCode = T3.CardCode
WHERE T1.DocNum = [%0]
ORDER BY T1.DocNum
the fields that i want to display in repetitive area are: A/R invoice: Document date , A/R invoice: document number, Amount that they have paid ( partial payment / full payment) i used this database: Incoming payment - a/r invoice: paid, outstanding amount i used formula ( total document - paid to date), and document currency
Thank you! hope you can help.
PaulinePauline,
I've tested your query in B1 2007A SP00 PL30 and works fine. I even created PLD for the query and I can see 2 invoice paid by one incoming payment.
Rgds,
Maybe you are looking for
-
My Apple TV will not work on my television, and comes up with a message saying 'can not display this mode. Change computer display input to 1360x168 at 60Hz', help?!
-
Hi guys i am trying to open more than 100 files using open dataset input but i am getting below error program is abending reading after 50files.. Program failing in open data set error can u help me please? 143 144 * Each file is getting into an
-
Custom BIOS for GS60 2PC (029AU)
I'm looking for unlocked BIOS settings for the MSI GS60 2PC (029AU) BIOS Version: E16H2IMS.10B Paypal Confirmation: 6P072738P6456162F Thankyou
-
How to set the default web site for WGM users
Hi, In Tiger server there was a place to input the URL of the default web page for all browsers when users logged into network home folders. This was really helpful and saved a bunch of bandwidth and class time. Is there any way to do this in Leopard
-
I am using PE10 and have several mp4 video files that I would like to put onto a standard dvd to play on television dvd player (not blu-ray)...I would like to put several files together and edit them to make a menu with scene selections...can anyone