Printing data in Smart form side by side.
Hi Abap Guru's,
I have data in internal table. i dont know how many records are there in it. I need to print the data, side by side in smart form.
For example:
Mr James was a member of the above-mentioned plan. you and <b>your children, Tom , jane , Harry and Michael,</b> are entitled to receive pension.
> children must be printed side by side in smart form.
Thank you in advance,
-Anil
Hi anil,
In case you are having problems in finding the no of records in the internal table use the following command.
DESCRIBE TABLE itab LINES w_lines.
w_lines gives u the no of records.
For further help u need to tell the structure of the internal table.
Hope it is helpfull to u.
Similar Messages
-
Use of NACE after creating print program n smart form
Wat's d purpose of NACE?I hav created my own print program n smart form according to my own requirement.If NACE is necessary 4 my smart from.How can i use NACE i mean navigation steps.
Please help me out.Its urgent.
Thanks & Regards,
Santhosh.Hi Santhosh,
Nace is for message control settings. Say if u want to trigger a Smartform or an Idoc or any other customized program u can do the message control settings.
Say at the time of Sales Order creation or updation u want to trigger a Smartform, then u have to follow the following steps:
Goto NACE
Select application V1 and then click Output Type.
create a new Output type or copy the existing one abd save it with new name
then in Processing Routine Mention the driver program name and in Form routine mention the main subroutine name.
In Smartform mention your SMartform name and also the layout if u have ceated.
Again go to NACE and Select application V1 and press Procedures.
here out of the many procedures u have to select the right one and attach your Output Type to it.
You can also create a condition record..Say if u want to trigger this Smartforms for Sales Order of particular type.
Hope this helps.
Reward Points if useful.
Thanks. -
How to print bullet in smart form
Hi Experts,
I have a requirement in smart form where different points of texts should come under a bullet.
Can you please tell me how to print bullet in smart form.
Note : I have to use Standard text
Thanks in advance
Bikashi
good
We can create bullets in smartforms.
For this change the editor to text editor and then
goto insert->characters->SAP Symbols and select the
symbol you want.
This may help your requirement.
You cannot see the bullets in print preview, it'll
appear only on a hard copy.
reward point if helpful.
thanks
mrutyun^ -
How to Printe Graphics in Smart-Forms
Guys,
Need your help
Is it possible to print graph in smart form???
If yes, if you have any document, please pass it to me
DhirajHi Ram,
Go through this hope u can understand.
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
Reward points if help ful.
http://www.sap-img.com/ts001.htm
Sorry i think for Scripts ..
better to go for above post . it definetly works
Thanks
Naveen khan
Message was edited by:
Pattan Naveen -
Passing printer name to smart form
Hi,
How to pass more than four characters printer name to smart form function module name. Please help me. I will give points.
Thanks.Hi,
Thanks for your reply but there I can pass maximum four character printer name but my case printer name contains 12 characters. If I pass 12 characters printer name it is considering first four characters and it is displaying printer name is not found. So please tell me how to pass more than four characters printer name.
Thanks. -
What is Item data in Smart Form?
In which table Item data of Smart form are stored?Hi,
What did u mean by item data in Smartform?
Please Clarify. -
How to Print Vertically in Smart Forms
I need to print data in vertical format into columns in smart forms. Can any one give me the solution.
Hi Sreedhar,
In Smartforms, if you need to print vertical text, only possible way (That i know) is, Create a Bitmap image of the text and rotate the same to 90 deg and then use that image in your smartform....
If you can use adobe forms, you can rotate the text to any angle that you want....this is one of the main advantage of adobe forms.
Best Regards,
Ram. -
How do you print data from a form?
From the interactive report, there's a built in function to print to variious formats (e.g., PDF, CSV, etc).
As long as the columns do not exceed the width of a page, it's okay.
But what I want to do is when a user clicks on 'edit' from the interactive report and displays the data entry screen, I want to be able to have a 'Print' button to print the data from a form.
Don't want to manually modify the URL to change a parameter to print.
Really appreciate any help I can get on this matter!!!I want to be able to have a 'Print' button to print the data from a form.Create a Print button in the form page with an <tt>onclick</tt> attribute that calls the method<tt>print()</tt> method:
onclick="window.print();"
Don't want to manually modify the URL to change a parameter to print. Sounds like you want to be able to control which page elements are printed and how they are formatted?
This is quite straightforward using a print media style sheet.
You'll need to identify CSS selectors (usually IDs and classes) from the page HTML for the components and regions that are not to be printed: a web inspector such as that found in Safari, or the Firefox+Firebug combo is useful for this. It's also a good idea to give all of your regions a unique static region ID to assist with this identification. Using this information, you can construct the style sheet to exclude all of the unwanted content using <tt>display: none</tt> rules.
In a simplified example, say you identify that there are 4 regions on the page, and you only want to print region 3. You would add the following style sheet to the page HTML Header:
<style type="text/css" media="print">
#region-1, #region-2, #region-4 {
display: none;
</style>+{message:id=2475831}+ is a solution to a similar problem, and see this article for more enhancements that can be included in your print style sheet.
Really appreciate any help I can get on this matter!!!You'll get effective help more quickly if you include the following information upfront when posting a question. This enables others to understand, replicate and determine the most appropriate fix without wasting time asking all kinds of supplementary questions:
- APEX version
- DB version and edition
- Web server architecture (EPG, OHS or APEX listener)
- Browser(s)/version(s) used
- Theme used
- Templates used
- Region/Report/Process type
And please update your forum profile with a better handle than "846623". -
Hi all,
how to view the print preview of a smart form and how to debug the smart form
Thank YouSMARTFORM-> execute->execute->pass values if require to import & table parameters ->execute-> on the pop up window give Printer name as LP01 and press print preview.
For debussing -
1. write BREAK POINT in the code window.
2. Put a break point on the call function in the driver program
3. put a brak point in the generated Function module.
Refer this link too -
Re: smartforms
Regards,
Amit -
Slow down printing speed for Smart Forms
Hi,
Is there any command (etc.) to slow down the printing speed of an Hp laserjet when printing a smart forms?
I need that because when I print that smart form to fast I run into print out quality problems.
Many Thankshi,
take print out in a dot matrix printer instead of your laser printer without changing any settings.
Coz i tried this once, i was successfull. But, the printout will be very slow.
regards,
kool. -
Hi,
There is a Strange issue I am facing now that is print output is getting changed according to the printer settings.
Even though I specified the output_options-tdprinter = 'ZPDFUC',and output_options-tddest = 'LP01' while calling smart form FM the printer option always takes the printer setting present in user profile.
Is there a solution where the smart form by default picks one printer but not in the User profile settings.
Regards,
DeepaHi,
There is a field check it and set the value X to overwrite the system details with manual settings. when calling the smartforms.
Thanks,
Vinayaka -
Problem printing date on the form
Hello friends ,
I am doing form for the HR . Is there any special formatting needed to print the date on the form . I am doing this .
&t_payment-paydate& in the main window of the form .
t_payment is the table and paydate the date of payment . But instead of printing 1/22/2006 . It is printing 3//20/07/2 some junk value . Is it the format related problem ?
Any suggestions . You help would be greatly appreciated .
Regards & Thanks ,
HariHI,
You can do like this.
You make the following changes in the program
1. Define a character type field
data: v_payment_date(10) type c.
2. Assign the date value to the character field
write t_payment-paydate to v_payment_date.
You make the following changes in your sapscript text element.
instead of using field t_payment-paydate use v_payment_date.
Thanks
Ramakrishna -
Using Continuos Printing stationary with smart forms is that possible ?
Hi All,
there is an instance where we have to use continuo's stationary for printing Payment Advices for the vendors with bankers cheque attached to the payment advise is that possible in smartforms also i have know that is possible in scripts but the requirement is in smartforms and can we do that in Smartforms.
If any one have seen the same instance earlier, take your time to guide me the process.
Thanx all in advance..
RajWith smart forms i have dropped the idea as it is not that flexible as script..
if am not wrong~
I have resolved it and have done the needful for printing the cheques and Payment Advices... in scripts with any kind of printer.. using Scripts.
Any one dealing with FI ABAP having any kind of issues with the Payments advices and cheques can always ping me for any doubts...
payment advices ,
cheque printing,
vendor aging,
customer aging,
brs upload program,
Service tax reports,
TDS reports,
vendor master upload,
customer master upload,
gl balance upload,
NCR Report,
and some co Reports..
these are some of the things where i have masterd for now..
any one i need of these can always get in touch...
cheers and all the best.. to be a brilliant ABAPER...
Raj ([email protected]) -
Print portrait orientation smart forms zebra printer
Hello,
I have designed a label with smart forms. The dimensions are the following: width = 11 cm. Height: 15 cm. The label has been designed in portrait form but the zebra 105 SL printer print it in landscape format. Does Anybody knows how to fix this problem ?
Thank you.Hi,
You didn't check your printer settings in Printers and Faxes in control panel. It cannot happen the way you say.
Feel free to revert back.
--Ragu -
i want to print a form which is developed in webdynpro fo rjava,here adobe is not working.So what iam trying is to use smart forms ,But is it possible to display that smartforms in portal...?
or is there any other way to print the details which are in the webdynpro application.
This is very urgent for me pls reply to me.
Surely i'll give points,,,,,
Warm regards
shanto aloorHi ,
U can display a Smart form in portal.
In RFC Export add a field of type Binary and populate smart form into that binary field.
In Webdynpro view after Executing the RFC
byte[] pdfContent =
wdContext.current<output_node>.get<BinaryExport>();
IWDCachedWebResource pdfResource = WDWebResource.getWebResource(pdfContent,WDWebResourceType.PDF);
try
/* PdfUrl is of type String */ wdContext.currentContextElement.setPdfUrl(pdfResource.getURL());
catch(Exception e)
wdComponentAPI.getMessageManager().reportException(e.getMessage(),true);
Thanks,
Sunitha
Maybe you are looking for
-
What does it take to cancel?
I have been trying to cancel Verizon Fios for two days! I called yesterday and was on hold for 1.5 hours. I gave up and disconnected. I tried again this morning. I was on hold for almost two hours! Again I gave up. I tried again this afternoon a
-
Basic script help for a newbie?!?!
Need help with a basic script, I need to display 5 input fields in a single dynamic field. And i need them to have a certain order of display, ie: input 1 is displayed on line 1, 2 on the next line, etc. any help would be appreciated I have been tryi
-
Black specs on right side of paper
I have very small black specs being printed on the very edge of the right side of the paper, on the front. If I use the duplexer the specs are on the same side of the paper on the back, so it's coming from the right side of the printer. I do see a
-
Hi, I'm trying to get in contact with the Rightsmanagement of Livecycle. I've installed the turnkey version and the Rightsmanagement Component. Now I want to apply a policy which I've created in the rightsmanagement web to a pdf-file using the apply
-
Is there a SAP program or function to menage the CONAI's duties?
Hi All, Witn reference to italians