How to print a table on a form?
I need to print all the items of a form in a table format,with borders and lines.If items are not fit in this page ,they have to print on another page(continuous).
If anybody knows,Kindly give the solution.
Hello,
Create a TABLE node (in the main window, or any window). In this table, you have to specify the internal table and work area in the 'DATA' tab of the table node. This is equivalent to the abap code ,
LOOP at itab into wa.
There will be a 'Details' button in the 'Table' tab of the table node. Click it and here you specify the no of yur columns(along with their height and wifth). If yur table is sumthing lyke,
HEADER 1 HEADER 2
ROW1-A ROW1-B
then u have to create two separate line type, one for the header and the second for the row items(keep in mind that internal table is dynamic)
There are sub 3 sections of the table node, Header - Main Area - Footer
Right click on the 'Header' arrow and create a table line and assign the Line Type(you created for the Header).Similarly, right click on the 'MainArea' - create a table line and assign the line type(u created for the row items). Name yur columns(in the Header section) and place yur data(from the work area) into the respective cells of the 'Main Area'. 'Footer' section is usually for totals, sums and etc.
Hope i am comprehendable.
Regards,
Shehryar
Similar Messages
-
How to print page numbers in adobe form
Hi,
Can anybody tell me how to print page numbers in adobe form.
Thanks in advance
ChaitanyaHi,
Yes the field page n of m is used normally for printing page numbers. But it won't display the current page of total pages by itself. You have to set the run time property to n (current page ) and m (Total number of pages). Carefully select the # (current page ) and ## (Total number of pages). Hope this works for you.
My requirement is to have the user control on current page. For Example:
Example for a Invoice with 5 PO items (stands on 2 pages) :
1st page is the letter : no page number
2nd page is the 1st page of the 1st copy of the invoice : we should read u201C1 / 2u201D
3rd page is the 2nd page of the 1st copy of the invoice : we should read u201C2 / 2u201D
4th page is the 1st page of the 2nd copy of the invoice : we should read u201C1 / 2u201D
5th page is the 2nd page of the 2nd copy of the invoice : we should read u201C2 / 2u201D
Presently i cam getting the current page number for page 4th as 3 / 2 and for 5th page 4 / 2. I could able to control the total number of pages from print program. But when i am printing the second copy (4th and 5th pages), I couldn't able to control the current page number. I need to initialize the Current page count (4th page ) as 1.
I have used the follwing java scripting:
this.rawValue = wv_pages - xfa.layout.page(this)
where wv_pages is total no of pages calculated from print program.
Please help me in this regard with some formcal or java scripting conditions.
Thank You,
Regards,
Naresh. -
How to use nested tables in adobe form
Hi All,
I have to use nested tables in adobe form for table display. I have used Subforms for displaying table data. I have changed accessibility of the subforms. Currently i am able to print print the table correctly if there is single material record in table 1 and single corresponding record in table 2. But the requirement is that i will have multiple lines in table 1 for single material and only one record in table 2.
EX: form is for Sales order. in line items if the order is for 100 units then we if we have delivered material as 80, 10, 10, then table 1 will have 3 lines for this. Table 2 will always have only 1 corresponding record.
item--materialdescription-ordered qty--delivered qty--delivery date-price
xxx--xxxxxxx-xxxxxxxxx-10080xxxxxxxxxx-xxxx
10----
xxxxxxxxxx
10----
xxxxxxxxxx
yyyyyyyyyyyyyyyyyyy------yyyyyyyyyyyyyyyyyyyyy
xxxxxx is table 1 and will have multiple lines
yyyyyy is table 2 and will have only 1 entry for item xxx
and this group will be repeate as per no of items. table 1 can have any no of lines per item.
I am currently able to display 1 line for table 1 and 1 line for table 2.
But how to show multiple lines for table 1 and 1 line for table 2.HI,
Set the body page as flowed and set the tables also flowed.
go to bodypage>object->subform-->select flowed option.
I thihnk this will work..if u are getting all the records properly into the tables 1 and 2.
Thanks,
Mahdukar -
How to print bar codes in adobe forms
Hi folks,
Iam new adobe forms , any one please explain how to print barcodes in adobe forms
Moderator Message: Firstly, this is not a Adobe Forms forum. Secondly, I suggest you SEARCH before you post. Im sure this procedure has been widely discussed already.
Edited by: kishan P on Jul 20, 2011 12:55 PMhi,
check these.
[https://forums.sdn.sap.com/click.jspa?searchID=18572128&messageID=4724540]
[http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm] -
ADOBE: How to print a table only on uneven pages and a text on the back?
Hi, I am looking for a clear document on how to use pagination and the Odd and Even pages.
We need to print a table over several pages, but the table should only appear on Odd pages. The even pages should be skipped. On the even (back) pages we need to print "Terms and Conditions". Is that possible? Can it be done without scripting?
We are using ADOBE version 8.1
In the file properties, double sided is switched on, and version set to 8.1 and higher.
I created two Master pages, a FrontPage with ContentArea1and a BackPage with ContentArea2.
FrontPage is used for uneven pages, BackPage is used for the even pages. The masterpages are printed correctly (alternating properly).
One page was created for the table, totals etc.:
ITEMS: contains item data (table with header and footer). Place is "On Odd Page". After "Goto page BackPage", so there is always one page with the text. And if the table needs to be paginated it goes to BackPage with overflow leader "Conditions".
What should happen is that on the front pages the item table is printed. If there are too many lines then it should continue on page number 3 then 5 etc. All the even pages should display text only.
What actually happens is that the item table also gets printed in the content area for the Condition text...
The best I could achieve is to decrease the contenta area of the back page. To force pagination. But still it prints one table record in the (very small) content area of the back page before paginating to the next page (front page again). If it only would not do that, it would be fine.
Cheers,
Edwin.Fixed it... After a lot of creating, deleting, playing around with pagination and the inevitable cursing...
I have created 5 pages:
1. FirstPage
- Odd/Even: Odd (Front) Pages
- Placement: First page (In page set)
2. FrontPage (For Odd pages)
- Odd/Even: Odd/Front Pages
- Placement: Rest of Pages
3. BackPage (For Even pages)
- Odd/Even: Even (Back) Pages
- Placement: Rest of Pages
4. LastPage
- Odd/Even: No Odd/Even Restrictions
- Placement: Last page (In page set)
5. DummyPage
- Odd/Even: Blank pages
The 'Terms and conditions' are located on the BackPage and LastPage (as a text).
The table that is printed is (of course) located on a normal page (flowed subform).
Pagination tab: Placement = Following previous, and After = "Continue filling parent". No overflow... Basically, it's all default.
The table lines will now start on the first page and if there are more lines than can be printed on this page, it will continue in the next content area. That will be on the FrontPage.
The trick is that each master page must have a content area (mandatory). Except for Blank pages, but these cannot be used... Blank pages would only be used once, after the first page.
What I discovered is that you can drag a content area away from the Master page and attach it to a different master page.
Logically, if there is no content area on a page, then data cannot be printed there. So, I created a Dummypage. On this page I dumped the content areas from the LastPage and the BackPage. As a result, content cannot be printed anymore on the back of pages. Only the standard text (a text field) is printed there. When the data from the table is overflowing, it will automatically overflow from the FirstPage to the next content area. Which is located on the FrontPages only.
The DummyPage is NOT used anywhere.
The result is that the records can only be printed on the content areas that exist on the First and Front pages. The back pages are now skipped.
Duplex printing is now working correctly, and the text is printed on the back of all the pages.
Cheers,
Edwin. -
How to print the contents of a form(window)
I'm devloping visitors application in java. After the data entry, I need to display the selected information from database along with the photo and take a printout so that it looks like a card.
I know how to display the contents in a form. How do I print the contents of the form?
-Thanx
Hanein JComponent there is a method called print(Graphics g)
you can use that with a Printable class
read bout the java.print package in the java doc -
How to print BIP reports from Oracle Forms?
Hi all,
I have a question in regards to printing BIP reports from Oracle Forms... We are aiming for a server installation of BIP with integration to Oracle Forms using SSO to handle security. We use Forms built-in web.show_document to render and view the report in PDF/Excel etc... We would like to by pass the viewing and print some of these reports directly to the printer.
Any idea/suggestions how we can go about this?
Thanks in advance for your time.
YahyaYahya,
via HTTP it's not possible to send a report directly to the printer. You had to go via the Scheduler, which is able to do that. With the WebService API you can call a report with the Scheduler and Execute Immediate.
Regards
Rainer -
How to create a table in smart form.
Hi Folks,
I need to create a table in smart form with the following fields:-
vbrp-arktx,vbrp-fkimg,komv-kbetr,komv-kwert.
Please let me know how to create a table and how to name the columns,size,and the select query for the same.
All answers will be duly rewarded.
K.Kiran.Hi,
Following Links gives Details of Smartforms and how to create tables -
smartforms - very useful link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
FAQ
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Siddhi -
How can print a file PDF from form
Hi to all,
I need to print a file PDF from form (developer 6i), Is IT POSSIBLE?
Thank you
Silvia"Print" probably won't work for a pdf file. As the HOST command try:
host('<path_to>/AcroRd32.exe /t pathname "printername" "drivername" "portname"');See "How do I use the Windows command line with Acrobat and Adobe Reader?" in:
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/Acrobat_SDK_developer_faq.pdf -
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 text vertically in smart forms
hi,
Can any one tell how to print text vertically in smartforms
ADVANCE THANKS
GUHAPRIYANHI,
Chk out this thread.Maybe it proves helpful.
Re: vertical writing in smartforms
Regards,
Gayathri -
How to print a table in smartforms(4.6c)
hi all,
In smartforms, when i'm trying to create a table node under a window, it is not automatically creating the sub nodes like header,item, footer. (instead there is a check box for header and footer nodes, but nothing is there for item data). I'm using SAP 4.6c version. i dont know whether this is the reason for my problem. If this is the reason, plz let me know how to implement a table type ouput in 4.6c smartform?
Regards,
VinnyHi Vinny,
Steps:
1.Create Table Node under Window.
2) Define line types ie. row format.. width etc.
3) In each, Header/Main area/ Footer assign the line type you created.
and then create node for the variables.
Hope this Helps.
Manish -
How to print the table values in fastest way?
Dear Friends,
I'm having table in my application and i need to print the table values. For that I used print() method to print the table values.
boolean complete = tableObj.print(mode, header, footer, showPrintDialog, null, interactive,
null);But, the time taken for displaying print dialouge box so late and printing operation is done very slowly.
Could anyone please tell me is there any better way and fastest way to print the table values?
Thanks in advanceHi,
In the Module pool you will have fields. For those fields you have created the name also. Assign those name to work area and from there to internal table.
And for your requirement viceversa you need to done.
With Regards,
Sumodh.P -
How to print a table in OA Framework using Jdeveloper?
I am using JDeveloper for OA Framework, in my page i want to print a table thorugh Print button.
Please give me some suggestion/methods to do this...Bhupendra,
In ur requirement, you would have to go with a dynamic table creation in process request.Attach submit action event to message check box, in the action event code redirect to same page.
In process request, you would have to recreate this table, with additional rows, as per your requirement.
--Mukul -
How to print global variable in smart form table cell
hi,
i have smartform and i insert table in it, i also have set global variable, i want to show variable in table cell.
regards
shahid raisHi Shahid Rais
You can use this global variable that has been declared in anywhere as you like.
For displaying global variable in table lines, You can first set the column and row of the table by using the table tab in table node . Then, u can decide either the variable u want to used will be placed on header, main, or footer. After that, right click on one of the table part, and choose create table line. After choosing the correct line type as already been declared in the table painter, just simply right click on the table cell, and then create text node.
You can now enter your variable by using "insert field".
And don't forget the & & signs before and after your variable name.
Regards,
William Prawira
Maybe you are looking for
-
Creation of Inspection record by using BAPI
How to create the Inspection Plan (QP01) by using the Bapi's tell me the step by step procedure. and one more thing is here data is coming from the legacy systems how to convert this data into sap by using the Bapi's and how to upodate the datta to t
-
Oracle8i Lite 4.0 gives OIBKND32.DLL page fault
I tried installing Oracle 8i Lite 4.0 on Windows98 and I get "ORAINST caused an invalid page fault in module OIBKND32.DLL at 015f:00bead01" and installation fails at a very early stage. Any ideas how I can get it to install? null
-
Hi All, I am using OWB 11gR2 and I am getting "perl" location error after start workflow for any dimension or fact. *Cannot run program "/usr/bin/perl": CreateProcess error=2, The system cannot find the file specified The log is below. I am using Win
-
Redeploying a war file in tomcat 6.0.16 Options
Hi All, Tomcat is undeployed the application and trying to deploy the new war file. But tomcat did not able to redeploy the war file and no errors in to log file also. I am using tomcat 6.0.16. Msg in the log file is as follows INFO: Undeploying cont
-
Can't log in IR and ID; ABAP-Stack works
Hi everybody, I try to log into IR or ID. I get a message "autorisation error. Unkonw USer or Password". If I try to log in via SAPGUI into ABAP Stack, it work OK. Any ideas? regards Mario