Smartform Printing Probelm
Dear Experts,
I faced a probelm while i am trying to take print the smartform. It's shows Graphic is not displayed message shows.
what is the probelm please guide me.
Thanks in Advance
purnaneelu
check there is no mismatch in black n white and color..
may be this is the possiblity. that u uploaded graphiv in B&W andusing colour.
had u check window size problem ?
Similar Messages
-
Smartform printing on Dot Matrix printer for continuous stationery
Hi Friends,
I'm throwing my smartform print output on printer using local printer .Now the problem is as i have designed the SF using A4 page size , the output on Dot matrix is my output (WHICH IS 1/3rd OF a PAGE) + rest of empty space which is actually wasting pages.
Settings in SPAD are as follows:
Output device : Lp01
Device type : SWIN
and page format : LINE_21
Format Type : LINE_21
What i want is a restricted output .please let me know the possible solutions and do i need to load the driver for my printer in SAP as well (Printer is : wipro WEP 800 DX)
Thanks and Regards,
Sachin SoniHi,
Change the page settings in the form
-> under the form attributes you can find the page format there you can set up your required format
Thanks,
Nethaji. -
Smartform print program for order confirmation
Hi experts.
I am looking for a smartform print program for order confirmation.
The order confirmation in standard is a script with the name RVADOR01 and I tried to copy and change but I don't know which to eliminate and whcih to keep it.
If any body written the program already please provide me or provide the link to check.
Thanks in advance
Saithis is the processing form.
form processing.
data: lf_fm_name type rs38l_fnam.
data: ls_control_param type ssfctrlop.
data: ls_composer_param type ssfcompop.
data: ls_recipient type swotobjid.
data: ls_sender type swotobjid.
data: lf_formname type tdsfname.
data: ls_addr_key like addr_key.
data: document_output_info type ssfcrespd,
job_output_info type ssfcrescl,
job_output_options type ssfcresop.
perform get_data.
check retcode = 0.
perform set_print_param using addr_key
changing ls_control_param
ls_composer_param
ls_recipient
ls_sender
retcode.
*Get the Smart Form name.
if not tnapr-sform is initial.
lf_formname = tnapr-sform.
else.
message e001(/smb40/ssfcomposer).
endif.
determine smartform function module for invoice
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = lf_formname
importing
fm_name = lf_fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
error handling
retcode = sy-subrc.
if sy-subrc = 1.
message e001(/smb40/ssfcomposer).
endif.
if sy-subrc = 2.
message e002(/smb40/ssfcomposer) with lf_formname.
endif.
perform protocol_update.
endif.
call function lf_fm_name
exporting
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
is_vbdka = vbdka
is_addres = addr_key
importing
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
tables
it_vbdpa = tvbdpa "Item information
it_vbdpau = tvbdpau "Subitem numbers
it_vedpa = tkomservp "Contract Item Validity
it_vedka = tkomservh "Contract Header Validity
it_vedpn = tkomservpn "Contract Item Cancellation Data
it_vedkn = tkomservhn "Contract Header Cancellation DA
exceptions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
if sy-subrc <> 0.
retcode = sy-subrc.
perform protocol_update.
get SmartForm protocoll and store it in the NAST protocoll
perform add_smfrm_prot.
endif.
endform. "processing -
Smartform printing & sending multyple table data
Hi All..
I designed a smartform & print Pgm.( for Invoice not SAP standard)
How can i send multiple table(kna1,vbrk,vbrp,vbdk) data in to a smart form? & how can i declare that internal table in smart form & in print pgm?
And it is also not printing.even i set it in NACE.
Plz any one can help me asap..
Thanks & Regards
RajHi Raj,
You must have to create a new Structure and a new TABLE TYPE in program to send multiple data.
Lets say, you have created Main internal table in your print program to send multiple data to smartforms as below.
TYPES: BEGIN OF ty_cus,
F1,
F2,
F3,
F4,
END OF ty_cus.
so, instead defining above types in your program, just create a new structure(lets say Z_CUS) with the above fields in SE11.
Then create new TABLE TYPE (ZT_CUS) with that structure (Z_CUS).
Now, in your print program, create internal table with the type of Z_CUS as below.
DATA: it_cus TYPE TABLE TYPE z_cus,
wa_cus TYPE z_cus.
And in the Layout, Form interface - Tables section give it as below
IS_CUS TYPE ZT_CUS.
In your print program, assign your internal table to IS_CUS for generated function module.
CALL FUNCTION fm_module.
EXPORTING
IMPORTING
TABLES
IS_CUS = it_cus
EXCEPTIONS
Let me know if you hav any quesions -
Hello All,
I´m developing a smartform to print information in a label that has 6cm height.
My problem is that when I print the informaton the smartform prints information of the next label on the previous information. It seems that the smartform understands my label has 5cm of height.
How can I 'enlarge' the height of the window or table so smartform will print the correct information on the next label ?
Thanks in advance.
Best regards,
Marcelo PerineMatt,
The smartform receive information in Form interface -> Tables -> ZTB0014
Each register of this table is printing in one label. Then, my problem is that the smartform is printing two registers in one lable. It´s seens that the new-page function ins´t working.
Main window
-Loop
--Table
---Text1
---Text2
--Command
Main - Output options
Left margin 0,00 CH
Upper margin 0,00 LN
Width 82,00 CH
Height 15,00 LN
Loop
Internal table ZTB0014 INTO EST0014
Table
Table width 80,00 CH
Horizontal alignment Left 0,00 CM
Minimum Height 0,00
Line1 50,00 CH | 30,00 CH
Text1
(1) Recebedor das Mercadorias.
&EST0014-NAME1&
&EST0014-STRAS&
&EST0014-ORT01& - &EST0014-REGIO&
&EST0014-ORT02&
CEP &EST0014-PSTLZ&
(4) Transportadora
&EST0014-TRANS&
Text2
Volume
&EST0014-VOLUM&
Command
X Go to new page %PAGE1
Reset paragraph number P1
Message was edited by: Marcelo Perine
Message was edited by: Marcelo Perine
Message was edited by: Marcelo Perine -
Smartform Printing on both sides
Hi.
I am fasing an issue in smartform printing.
we are printing the Invoice.this invoice data is dynamically comming on the front side of the page.
and printing normally.
but back side of the page they want to print the comapany rules(on every page back side).(these rules are comming with in one page only).
so on the front side this invoice data and back side Comapany rules shouls come.(we don't know how many pages of invoice data will come).
Plesae help me to solve this issue.
Thanks in advance,
Regards,
EswarHI Eswar,
If you have only one page made in your smartform you can make one more page with just the main wiindow.This window will have all the rules of the company.Now make the first page point to this page and make this page point to the first page.
Select duplex printing in the page attributes and print.This will solve the issue.
Reward if useful.
Thanks,
Dishant -
Hi Experts,
I am modifying an existing smartform print program,
after modifications, when I am clicking on printpriview button after selecting the zee Output Type
in order to test the form, I am unable to see the preview,
Can anybody tell me what are the points to check?.
I already checked the parameters passed to control structures.
They are fine. Even i am not able to see the printpreview.
Kindly help.
The sf is for Delevary
and the transaction i am using isVL03N
Regards,
Noor.hi,
Put break points in your program and execute it or else check for address nodes read_text fm
There may be some error in smartforms or driver program,
just make the break point and trying to debugg that
We can consider many checks in this case.
1. Check whether the Local printer exists or not.
2. If you are using any Address NOdes, check whether the Address number is holding a value.
3. Also check whether a record exists with your condition type/Delivery in the NAST table.
4. You can see the default local printer in SU3.
Use SFTRACE tcode to trace the error. -
Can anybody plz give me Smartforms print prog for Invoice/PackList
Hello Smartforms Gurus
Can anybody plz give me Smartforms print prog for Invoice/Packing List. I need to develop the same from scratch. I know Smartform for simple Application but complex application i need to refer u all guys prog plz.
I would be greatful plz.
Thnx In AdvanceHi,
Could you please give me the link where you found these group of pre-configured smartforms available in sap labs?
I looked for... but i have not founded it.
Thanks in advance!.
Regards,
Albio.- -
Standard print program for fi invoice smartform printing
Hi friend,
Is there any standard print program available for printing FI related invoice .
I want print program for printing smartforms.
I want to know any method for searching the standard print program for printing smartform in Fi module.
Thanks & Regards,
SathishHi,
FI related Forms will be configure in SPRO.
Goto SPRO and FI related applivcation.
There you will find the related forms and programs. -
(Smartform) Print grand total on the last page
Hi everyone,
I'm trying to print the Grand Totals on the last page of my Smartform. I have two pages - FIRST and SECOND.
What I did was I created a Text to display the grand total, and I specified that this text should be printed 'Only After End of Main Window'. However, the total is not being printed out.
I can't change the condition to 'Not on First Page', because my form has more than two pages, and I only want the grand totals on the last page.
Any help would be appreciated.hi,
we have a window type called final window if u define this type window in second page . create a table in the window and go to calculations tab and define an internal table. i think u can get the grand totals.
if u want maore clearly go throuh this link
https://www.sdn.sap.com/irj/sdn/forums
hope this will help you.
REWARD ME IF USEFUL.
thanks,
gupta
Edited by: gupta pullipudi on Apr 9, 2008 9:23 PM -
Smartforms: print accompanying documents
Hi,
I have to reproduce in Smartforms the same output as the existing legacy system.
Legacy system automatically outputs
1)A Quotation
2)A Condition of Sale document (always printed out)
(PDF file, 2 pages, contents are numbered and appear in
2 columns on each page).
3)A technical document (only printed if a criteria is
satisfied in the logic within the Quotation)
(PDF file, 1 page, contents appear in 2 columns on the
page [which includes some technical drawings])
Smartforms
I have no problem reproducing the Quotation in Smartforms but not so sure how to output the 2 accompanying documents automatically with the Quotation.
Currently, the Smartforms has the following design:
1) First page
2) Next page
Question
a)Does anyone know how to get the 2 PDF files printed automatically with the Quotation without having to bring the contents into Smartforms?
b)If the PDF contents of the 2 files has to be integrated into the Smartform, what would be the best approach?
Bear in mind that one of the documents contain technical drawings.
Am thinking it would be good to create at least another page (ie LAST page) and maybe incorporating the contents of the 2 files in there somehow (maybe the technical file as a scanned object and the other file contents contained in multiple windows of the LAST page). No MAIN window in the LAST page.
Would my proposed approach work? Any ideas, anyone?
c)Have been playing with the order sequence of the different pages. Have not got it quite right yet?
Page Next
First Next
Next Next ?
Last ?
How to get the system to process the last page only once?
Or is there another way???any suggestion?
-
Smartform prints out Black boxes instead of Shade
Hello Experts,
I have developed some smartforms which have some boxes that are shaded with grey color for heading.
They work fine for some existing printers. But when i issue a print out on a new printer i
see that the shaded boxes are displayed as solid black boxes on the print out.
I also tried to print it in color but invain. Even the LOGO also got blacked out.
Can any one suggest me what to do.
Is it with my smartform or printer settings. Please advice.
Thanks
DanyHi
I don't know if u can't find out a solution.
All device output (printers) having the same divice type have the same behavior, i.e. printers having a different device type can give a different output, so if u'll correct the problem for a certain group of printers u could have a new problem for other group.
I think the best soltion is to use the printer used to test the smartforms
Max -
Standard Smartform printing purchase requisition through - ME51N / ME52N
Hi Experts,
we are trying to build functionality to print Purchase requisition through transaction ME51N / ME52N / ME53N. we have created a print button on Customer data screen for that. Now we are looking for any standard smartform or script which can be used for printing Purchase requisition.
Please provide me some pointers for the same.
There is print button avalable at item level of purchase requisition. but it will not print header records. i am not able to find this form in system also. how can i find this form?
thanks>
rajpal sehrawat wrote:
> Hi,
>
>
> Header records means we might provide some header level information like PR number , short text and logo. Currently we are able to print only line items present in the ALV grid.
>
>
> we are looking for some similar form which can be enhanced.
>
>
> thanks
actually the PR number is a line item field - it comes out of table EBAN. You would have to store the logo someplace else, since it does not belong to the PR (EBAN) -> neither header nor item, but is 'simply' graphics stored elsewhere in the database.
I wouldn't know of any form in MM-PUR which you could easily adapt to printing PRs (and have never before heard of the need to print them) - so you will have to do a custom abap. Since there is no possibility to maintain NACE for PRs (it's simply not available) - I wouldn't know where you could use a smartform/sapscript ... that custom abap is all you can do ... -
Smartform Printing : Error in spool C call: Error from TemSe
Hi! everybody,
I am stating my problem as follows : I have to print a bar-code sticker of size 10 X 7 cms. I have worked on bar-codes before this also. This time the output from a smartform is to be given to a ZEBRA TLP 2844 printer. I initially encountered problems in printing. The data does not fit on to the page.
After a lot of searching I found that ZEBRA was a partner of SAP and that a special device type needs to be created for output from a ZEBRA printer. I did this two times. Each time my steps were as described under.
To create the device type I did the following :
1. I finally found the driver from the ZEBRA website from http://www.zebra.com/id/products/global/en/utilities/sap_device_types.UtilityFile.File.tmp/Zebra_SAP_Device_Types.zip From this I uploaded the driver for 203 DPI zebra printer with IBM code 850 font file name "YZB200.PRI" into the transaction SA38.
2. Then I created a new device ZEB10 in SPAD after assigning my format to the device.
Thereafter, I tried to print my sticker. During this procedure, on selection of the new device type, the fonts automatically changed to ARIAL in the print preview. When I give the print command (Spool request : Print immed = X, Delete after output = X & New spool request = X) it gives an error message Error in spool C call: Error from TemSe.
Since the output had not been issued, I opened the spool request to view its TemSe characteristics. Here I found
Spool Attributes
Output Device ZEB10
Format ZTT Format
Doc. Category SMART
Recipient
Department
Deleted On 19.01.2011
Authorization
Output Attributes
No. of Copies 1
Priority 5
SAP Cover Page Do not print SAP cover page
OS Cover Sheet Print as set at printer
Requested 0
Processed 0 With Problem 0
With Error (Not Printed) 0
Storage Mode Print
TemSe Attributes
Object name SPOOL0000013836
Data type ????????????
Character set 0 -
> Character set of dev type = 1162
Number of parts 0
Record format
Size in bytes 0
Storage location
On seeing SP01
Spool no. Type Date Time Status Pages Title
13836 Smartforms(OTF) 11.01.2011 07:32 + 0 SMART LP01 USERID
I hope this data helps you help me. Please ask for more data if you wish. Also, I have searched vastly for this error on the net have already come across the link http://help.sap.com/saphelp_45b/helpdata/en/d9/4a8f9c51ea11d189570000e829fbbd/frameset.htm but to no use. On the SDN, I have not found a similar thread and that is why I decided to post this problem here, hoping to find a solution. Kindly help.
Regards,
ManasHi Manas,
I am facing the same issue for one of my clients.
Can you please share the solution with me if you have come out with it.
Regards,
Nirmal.K -
SMARTFORM - Printing 3 tables in 2 different pages.
Hi all,
I have a form with 3 pages. In the PAGE 1 I need to print data of 2 different tables. These data may not fit in this first page and a second page can be printed. In PAGE 2 I also have a table that may get big enough to "push" all other windows to a second page. And we have a "normal" PAGE 3.
I create a form with these 3 pages. In PAGE 1 I've put one of the tables in a main window. The second table I put in another window.
PAGE 1 next page -> PAGE 2
PAGE 2 next page -> PAGE 3
PAGE 3 next page -> PAGE 3
I can't activate the form. I have problem because of the main windows in each table.
Help me.
thanks.For sure, sy-subrc = 1 in Smartforms is a very tricky return code. The problem was in a template in PAGE 2 which height was greater than the window's size.
Now I can print my 3 pages. Great!
But I still have a little problem.
My PAGE 1 is like this:
HEADER (many windows)
TEMPLATE 1 ( main window)
TABLE 1 "
TEMPLATE 2 "
TABLE 2 "
COMMAND PAGE 2 (main window)
When I have too many entries in TABLE 1 or TABLE 2 a new PAGE 1 is printed. Ok. But this is <b>almost</b> what I wanted. Because in this second sheet of PAGE 1 is printed with the HEADER again. I don't want any header in this sheet 2.
I tried to use the condition "only on first page" in my HEADER but didn't worked. What can I do?
Maybe you are looking for
-
Java won't work - possible proxy issues?
I was informed that one of our computers suddenly (from what I was told about 2 months ago) developed problems with Java. Said computer is on our dirty internet connection, so it's not readily checked or even updated. My colleagues looked at it, and
-
I attempted to install the newest OS update to my Iphone 4 this morning and got an error message that it couldn't install. Since there my phone has been frozen on a screen illustrating the USB connection to Itunes. The phone will not restore after 3
-
GG only works on first replication
Hi, I'm pretty new to GoldenGate, so I must be making some silly mistake; though, I can't seem to figure out what I'm doing wrong. I followed a tutorial to make GG replicate data from a MySQL database to an Oracle database. Everything went fine on th
-
How to use Apache's FOP (getting NPE)
I'm trying to call out to FOP from a servlet to generate a PDF. Here's my code: Driver driver = new Driver(); try { driver.setOutputStream(response.getOutputStream()); } catch (IOException e) { e.printStackTrace(); driver.setRenderer(Driver.RENDER_PD
-
CMS - Items remain "Waiting for assembly", even after succesfull assembly
When we assemble components in the Integration Directory track, the assembly is succesfull and the components appear in the approval tab. But... the components remain in the assembly tab with state "Waiting for assembly" (there are also corresponding