How to print a footer using CL_GUI_ALV_TREE class
Dear Abapers.
I'm using SET_TABLE_FOR_FIRST_DISPLAY method from CL_GUI_ALV_TREE class to display a report in an ALV Tree and I need to display the footer.
Using the PRINT_END_OF_PAGE event from class CL_GUI_ALV_GRID we can display the header, but I need to use CL_GUI_ALV_TREE and there is no method for END_OF_PAGE.
Can you please help me?
Many thanks.
Estela
Dear Abapers.
I'm using SET_TABLE_FOR_FIRST_DISPLAY method from CL_GUI_ALV_TREE class to display a report in an ALV Tree and I need to display the footer.
Using the PRINT_END_OF_PAGE event from class CL_GUI_ALV_GRID we can display the header, but I need to use CL_GUI_ALV_TREE and there is no method for END_OF_PAGE.
Can you please help me?
Many thanks.
Estela
Similar Messages
-
How to print PDF files using java print API
Hi,
I was goign throw lot of discusion and reading lot of forums related to print pdf files using java api. but nothing seems to be working for me. Can any one tell me how to print pdf files using java api.
Thanks in advanceMike,
Can't seem to get hold of the example described in your reply below. If you could let us have the URL to get then it would be great.
My GUI application creates a pdf document which I need to print. I want to achieve this using the standard Java class PrinterJob (no 3rd party APIs I'm afraid, commercial restraints etc ..). I had a stab at it using the following code. When executed I get the pretty printer dialog then when I click ok to print, nothing happens!
boolean showPrintDialog=true;
PrinterJob printJob = PrinterJob.getPrinterJob ();
printJob.setJobName ("Contract.pdf");
try {
if (showPrintDialog) {
if (printJob.printDialog()) {
printJob.print();
else
printJob.print ();
} catch (Exception PrintException) {
PrintException.printStackTrace();
Thank you and a happy new year.
Cheers,
Chris -
How can I make server use single class loader for several applications
I have several web/ejb applications. These applications use some common libraries and should share instances of classes from those libraries.
But applications are being deployed independently thus packaging all them to EAR is not acceptable.
I suppose the problem is that each application uses separate class loader.
How can I make AS use single class loader for a set of applications?
Different applications depend on different libraries so I need a way that will not share library for all applications on the domain but only for some exact applications.
When I placed common jar to *%domain%/lib* - all works. But that jar is shared between all applications on the domain.
When I tried to place common jar to *%domain%/lib/applibs* and specified --libraries* attribute on deploying I got exception
java.lang.ClassCastException: a.FirstDao cannot be cast to a.FirstDaoHere http://download.oracle.com/docs/cd/E19879-01/820-4336/6nfqd2b1t/index.html I read:
If multiple applications or modules refer to the same libraries, classes in those libraries are automatically shared.
This can reduce the memory footprint and allow sharing of static information.Does it mean that classes should be able to be casted ?You didn't specify which version of the application server you are using, but the config is similar as long as you know what to look for. Basically, you need to change the classloader delegation. Here's how it is done in 8.2
http://download.oracle.com/docs/cd/E19830-01/819-4721/beagb/index.html -
How to print Pdf files using Adobe Reader
How to print Pdf files using Adobe Reader
Open the PDF file with File > Open... in Adobe Reader and print it with File > Print
-
How to print double sided using an HP photosmart printer
How to print double sided using an HP photosmart printer
Follow the instructions for your Printer?
We don't even know which one, there must be hundreds of Photosmart models.
Peter -
How to Print in WDA using a Button. .
Hi Experts,
Can u Pls let me know how to print the displayed data from a table on a action button.
I have the req to take print of the ALV display from the webdynpro application.
Regards,
Rahul SharmaThanks for your reply Saurav,
Actually i am not calling any ALV, but i have a table display in my Application and i need to take print of the page with all the records in that table using a Button (on action). Pleas tell me the alternatives if u can.
Regards,
Rahul Sharma -
How to print a doc using Reader 11.0.3.37
I am unable to print a document using Adobe Reader 11.0.3.37.
Any ideas about how to do so?When I try to print the doc, I selected the particular doc to print (copy), the ckicked on to "view document", and a gray screen populates without any graphics.
The error message that I got, after one try, was to the effect that a problem existed in my security set-up.
I checked the security system software file and read that the Adobe Reader was installed and "running", yet I have not discovered what I need to do to get a print of the doc. -
How to Print Employee Photo using Smartform
Dear All,
I have requirement to print Employee photo using Smartform.
Here I want to give breif backgorund to uploading employee image procedure,we are uploading employee Image using transaction code OAOH by providing Business Object PREL and Document Type HRICOLFOTO. Click on create button on second screen by providing employee Code XXXXXXX and infotype 0002 after click on enter button system ask path for uploading image file.After storing image we can see the employee image by using transaction code PA30 after passing employee code.
These employee image I want to print in Smartform layout.If any body have done this type of the requirement.Pl.explain me .
Thanks ,
RegardsHi ABAP Programmer,
Refer this link
i want to retrieve a photo image of an Employee to display in smartforms
Regards,
Sravanthi -
How to print external file using ABAP program
Hello
I want to print an external file which is located in server (
20.99.0.18\GUI\xyz\8.0QUALITY\QM_TS.DOC) .....i want to print these kind of files(which i have retrieved from table 'DRAW' field 'filep' )......i need to print these files using ABAP program.
thank you
Vikram.
Message was edited by:
Vikram Bojjaextract the data and pass to script or smartform for printing
-
How to print out answers using the form I created
I created an application form for my company. People have submitted their applications, but I do not know how to print them out.
Is there a way to copy the answers into the form and print that? Or something like that?
I cannot just print the answers because it's over 100 pages and would be disorganized.
I basically just need to know how to print out the form I created with the respondants answers.
ThanksHere is what you can do...
Open the form file
Go to the View Responses tab
Select the View menu in the upper right corner of the UI
Select the Details View menu item on that menu
The Details View pane will open on the right side of the window
At the bottom of that pane there is a set of buttons
The first button let's you print the detail view of the currently selected response
The last button labeled Export will create a PDF file of the selected response
Is that what you were trying to accomplish? I'll admit that we need to make print and export to PDF more discoverable and easier to get to - that was too many steps
Randy -
How to print multiple pages using Internet Explorer with af:showPrintablePageBehavior
Hello,
I am facing one issue with using af:showPrintablePageBehavior. I found similar posts and google pages, but unable to fix the issue. Most relevant post is,
Print issues with af:showPrintablePageBehavior and Internet Explorer
I have a page show in a af:popup. This page contain a Title in the top, af:outputText and a Print button below it. I have added af:showPrintablePageBehavior to Print button. I am using lots of data in the af:outputText. When I click on Print button, showPrintablePageBehavior is opening new browser window with multiple pages. But when I click on the Print Preview or Print, only first page is shown.
I have tried the solution mentioned in above post but no luck.
<f:verbatim>
<style type="text/css">
textarea {
width: 95%;
height: 350px;
overflow: auto;
@agent ie {
af|document:maximized::printable {
position: static;
</style>
</f:verbatim>
<af:panelStretchLayout bottomHeight="10%" startWidth="0%" endWidth="0%" topHeight="10%" inlineStyle="height: 100%; width: 100%">
<f:facet name="top">
<af:panelGroupLayout id="pnlGrpTitle" layout="vertical" halign="center" inlineStyle="width: 100%;">
<af:spacer id="titleSpacer" height="10px" />
<af:label value="Title" inlineStyle="font-weight:bold; font-size: 16px; color:#000066; padding-left: 5px" id="dialogTitle" />
<af:spacer id="titleSpacer2" height="20px" />
</af:panelGroupLayout>
</f:facet>
<f:facet name="center">
<af:panelStretchLayout bottomHeight="0" topHeight="0" startWidth="0" endWidth="0">
<f:facet name="center">
<af:panelStretchLayout bottomHeight="0" topHeight="25" startWidth="0" endWidth="0">
<f:facet name="center">
<af:panelGroupLayout id="pnlTextArea" layout="scroll">
<af:outputText binding="#{mybean.tfdArea}" escape="false" id="tfdArea" />
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
<f:facet name="bottom">
<af:panelGroupLayout id="pnlGrpBottom" layout="vertical" halign="center" inlineStyle="width: 100%">
<af:commandToolbarButton id="cbPrint" shortDesc="Print" icon="/images/print.png" inlineStyle="width: 40%" >
<!--af:clientListener method="self.print" type="action"/-->
<af:showPrintablePageBehavior />
</af:commandToolbarButton>
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
Any idea how to fix it?
- SujayHello,
I am facing one issue with using af:showPrintablePageBehavior. I found similar posts and google pages, but unable to fix the issue. Most relevant post is,
Print issues with af:showPrintablePageBehavior and Internet Explorer
I have a page show in a af:popup. This page contain a Title in the top, af:outputText and a Print button below it. I have added af:showPrintablePageBehavior to Print button. I am using lots of data in the af:outputText. When I click on Print button, showPrintablePageBehavior is opening new browser window with multiple pages. But when I click on the Print Preview or Print, only first page is shown.
I have tried the solution mentioned in above post but no luck.
<f:verbatim>
<style type="text/css">
textarea {
width: 95%;
height: 350px;
overflow: auto;
@agent ie {
af|document:maximized::printable {
position: static;
</style>
</f:verbatim>
<af:panelStretchLayout bottomHeight="10%" startWidth="0%" endWidth="0%" topHeight="10%" inlineStyle="height: 100%; width: 100%">
<f:facet name="top">
<af:panelGroupLayout id="pnlGrpTitle" layout="vertical" halign="center" inlineStyle="width: 100%;">
<af:spacer id="titleSpacer" height="10px" />
<af:label value="Title" inlineStyle="font-weight:bold; font-size: 16px; color:#000066; padding-left: 5px" id="dialogTitle" />
<af:spacer id="titleSpacer2" height="20px" />
</af:panelGroupLayout>
</f:facet>
<f:facet name="center">
<af:panelStretchLayout bottomHeight="0" topHeight="0" startWidth="0" endWidth="0">
<f:facet name="center">
<af:panelStretchLayout bottomHeight="0" topHeight="25" startWidth="0" endWidth="0">
<f:facet name="center">
<af:panelGroupLayout id="pnlTextArea" layout="scroll">
<af:outputText binding="#{mybean.tfdArea}" escape="false" id="tfdArea" />
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
<f:facet name="bottom">
<af:panelGroupLayout id="pnlGrpBottom" layout="vertical" halign="center" inlineStyle="width: 100%">
<af:commandToolbarButton id="cbPrint" shortDesc="Print" icon="/images/print.png" inlineStyle="width: 40%" >
<!--af:clientListener method="self.print" type="action"/-->
<af:showPrintablePageBehavior />
</af:commandToolbarButton>
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
Any idea how to fix it?
- Sujay -
How to print all columns using af:showPrintablePageBehaviour component ?
Hi,
JDev ver : 11.1.1.2.0
I have 25 columns in my table and table is surrounded by panel collection.
In panel collection toolbar facet I have added one command button and inside command button I have added af:showPrintablePageBehaviour compoent.
I can able to see only 15 columns which are fits to entire browser window.
How can I print all 21 columns using this in new browser window or any other way ?
regards,
devangHi,
showPrintable behavior only removes action components and beside of this renders the screen as you have it. If the screen you have doesn't show all of the columns then show printable behavior doesn't do either and you may need to look for alternative printing/reporting solutions
Frank -
How to print from iPad using my airport extreme
I have a New iPad and an iPhone 4 all connected to my Airport Extreme. My tower computer is a pc as is all of my laptops at this time. I have downloaded Bonjour Print Services to my pc laptops and they print wirelessly through the Airport Extreme using Bonjour Print Services. How do I print from my iPad since I am connected using the Airport Extreme and the printer is a HP7310 which is not an air printer. Please help!
Suggest that you try an App like Print Central to see if that will allow the iPad to print to your printer.
PrintCentral for iPad on the iTunes App Store
HP also is offering ePrint, which might help as well.
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&obje ctID=c02486399&prodTypeId=18972&prodSeriesId=410622
If still no luck, you really have a question for the iPad support area. Contact the gurus over there at:
Using iPad -
How to print in grayscale using osx 10.9.3 with HP photosmart 7525?
How can I print using black ink only/grayscale using osx 10.9.3 and HP photosmart 7525? thanks for your help
Hello IKR, and welcome to the HP Forums, I hope you enjoy your experience!
I see you are looking into your printer options. I would like to help.
I would recommend following the steps in this Apple thread on How do I print only grayscale?
Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
Jamieson
I work on behalf of HP
"Remember, I'm pulling for you, we're all in this together!" - Red Green. -
How to print all pages using ALV from CL_SALV_TABLE?
Dear friends,
I have a report which displays a dynamic internal table using CL_SALV_TABLE. The display format is normal list.
And since this dynamic internal table is big, I have divided it into a sub internal table which displays 10 columns in one page at one time. And each page is displayed using a customized button that I set as MyFunction.
The problem is, when I click List->Print or Ctrl-P, the system will only send to spool the current page even though in the Print dialog box, I choose Print All option.
Is there a way to rectify this? Thanks.Hi,
Try this..code...the above FM expects purchasing organization..revised code below mentioned..
please try..
DATA: kdy_val(8) VALUE '/110'.
SET PARAMETER ID 'LIF' FIELD 'VENDOR'. " Pass the vendor
SET PARAMETER ID 'KDY' FIELD KDY_VAL.
CALL TRANSACTION 'XK03' AND SKIP FIRST SCREEN.
Thanks
Naren
Maybe you are looking for
-
I have an iPhone 5 and when i lightly tap on the back top part of my phone it sounds like something is rattling inside. Only on the top part of the phone, not on the bottom. I am wondering if anyone knows what this may be and should i have it looked
-
Lenovo X131e doesn't work with Prolific PL2303 based USB to Serial Adapter and Windows 7 x64
This is sort of a bug report. A Lenovo X131e with Windows 7 x64 and the PL2303 driver including 1.6, 1.61 and 1.7 will not successfully install the driver - Windows always reports "Driver Install Failed" on plug in to USB 3 or USB2 ports. However, pu
-
I downloaded iOS 5, now how do i get it to work on my iPod touch?
I downloaded iOS 5, now how do i get it to work on my iPod touch?
-
HT1904 Since my laptop broke, I don't know how to update my iPad? Help?
Since my laptop broke, I don't know how to update my iPad. Help?
-
Problems opening files from Photoshop CS4 extended
Hello, I originally installed the software on my second drive which is intalled in my computer casing. This is due to limited space I have on my "C" drive, this is where the file "MyPictures" are also found. Through Bridge, I can go through the "mypi