Smartform print query
Hi gurus,
I had modified the one existing smartform as reduce the size of the form with new page i reduce the all windows table widths form is activating successfully and exicuting the functional module it is exicuted but in print or in printprivew come to the error as formating error and message is table logo does not fit into logo.
this error is occuring in logo window.
plea give me helpfull procedure.
Regards,
sri.
Hi,
Increase the resolution of the logo until the logo fits into the window.
Please close the request if it closed,
Reward points
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.- -
Regarding Smartforms printing - multiple pages
Hi Friends:
Please help me out on this query. I know how to make a smartform. I've made smartforms but the condition is that it triggers only one smartform. I've a requuirement that I've to trigger smartform for multiple vendors.The format of the smartform will be the same.Logo will be same. The address of the vendors will be changed.The line items in the main window will be changed.Footer will be constant. There will be a select option on the selection screen, which will select a range of the vendors.There will be some other parameters.I tried using loop, but every time it triggers one smartform & then again displays "print preview dialog box". I want all the smartforms to generate in one go.once the smartform for one vendor finishes, it should trigger a new one on the next page.Please help me out urgently.If anyone has a sample program, please send it to me.Reward points will be there.Hi,
Pass the select-option as a input to smartform.
Check this link.Here I am explaining how to do this.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
If you want to restrict print dialog box,you can achieve it by the following coding.
*& Report ZZZ_JAYTEST1 *
REPORT zzz_jaytest1 NO STANDARD PAGE HEADING MESSAGE-ID zhrt.
Variable Declaration
DATA : v_form_name TYPE rs38l_fnam,
itab TYPE STANDARD TABLE OF pa0001,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl.
SELECT * FROM pa0001 INTO TABLE itab UP TO 5 ROWS.
SORT itab BY pernr.
DELETE ADJACENT DUPLICATES FROM itab COMPARING pernr.
DATA: control TYPE ssfctrlop,
control_parameters TYPE ssfctrlop,
output_options type SSFCOMPOP.
control-preview = 'X'.
control-no_open = 'X'.
control-no_close = 'X'.
control-no_dialog = 'X'.
control-device = 'PRINTER'.
output_options-tddest = 'LOCL'.
OUTPUT_OPTIONS-TDNOPRINT = 'X'.
OUTPUT_OPTIONS-BCS_LANGU = SY-LANGU.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
USER_SETTINGS = ' '
OUTPUT_OPTIONS = output_options
CONTROL_PARAMETERS = control
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
output_options-tddest = 'LOCL'.
OUTPUT_OPTIONS-TDNOPRINT = 'X'.
OUTPUT_OPTIONS-BCS_LANGU = SY-LANGU.
CALL FUNCTION '/1BCDWB/SF00000066'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = control
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = output_options
USER_SETTINGS = ' '
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = w_return
JOB_OUTPUT_OPTIONS =
TABLES
itab = itab
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SSF_CLOSE'.
Kindly reward points if it helps. -
hi all,
I have copied rlb_invoice in a zprogram.Iam getting my smartform in the print preview but it is empty . I want to know where to write the select statements.
thanx & rgds.
points will be rewarded.
Message was edited by:
abapuser
Message was edited by:
abapuserHi,
You have to write your select query in your print program(Coded using SE38 and type 1)
In that program once you have retrieved data using your select query pass that data to the function module generated by Smartforms.
If you are not clear please free to get back to me.
-B S B -
Hello Experts,
When i print my PO(me23n) smartform i need to display the print status as Original or Re-Print.
if it has already printed then it should show RE-PRINT on the top corner of the SMART FORM Printout.
Can any one suggest me how to check the status of the printed documents and display accordingly
i.e Original or REPRINT.
Thanks
Dan>
Dan wrote:
> I am querying NAST table for NAST-MANUE field.
> If NAST-MANUE = SPACE.
> i am displaying is as a ORIGINAL (1st time) .
> Is this correct?
Well, this is not entirely accurate. This field simply means that an entry was created manually by the user. This could be a copy and could be an original if, for example, a condition record was missing and a user created the output manually. However, in about 99% of the cases this will be the correct assumption.
The suggestion to use ANZAL is completely wrong. This field is simply for the number of copies to be printed. Could be 3 on the first run and 1 on the second, you never know.
In the invoice form interface SAP added a standard parameter IS_REPEAT to handle this. Check if it is available for the purchase order.
Actually the whole original/re-print thing is kind of shady. For example, there could be a printer jam and the users would have to re-print to get an original. How would you handle this? -
Smartform- Prints footer perfectly on Printer1 BUT not on Printer2
Dear All,
Issue:
Smartform issued for an bulk shipment contains footer.
Footer is printed perfectly on Printer1.
Footer is not printed/seen on Printer2.
Output device Printer1 has the device driver STN2.
Output device Printer2 has the device driver HPL2.
Experts,require your input on if having the driver HPL2 or STN2 makes any difference to the output.
Regards,
SuryaD.Dear All ,
Thanks for your response.
I have figured out that the driver
STN2 -
> DOT matrix Printer.
HPL2 -
> Laser Printer
My query:
If in the TCODE SO10 i maintain a standard text like this
=----
Kindly let me know how will the DOT matrix printer print
how will the Laser print interpret the above standard text and how it would print the output.
Regards,
SuryaD -
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?
Maybe you are looking for
-
How difficult would it be to create something like this?
I'm looking to create a flash widget similar to what WoW has on their main page - http://www.worldofwarcraft.com/index.xml It needs to have images & text that could be called from a php or text file, so that it can be dynamically changed. Movies will
-
Oracle DB Adapter 11g detect omissions
Hi, We are trying to use the detect omissions property in Oracle Database adapter 11.1.1.5.We are integrating with DB2.But detect omission does not remove the tags having empty values and we get errors that null value is not expected in the field. Th
-
Can someone please help me with DNS issues?
Hello, i have a iphone 4 and recently i wasnt able to connect to internet, well i would have all bars but couldnt use youtube safari or anything i could use it only if i disconect and conect back but it only works for like a minute and then nothing,
-
i tried to update my itunes and when it goes to uninstall the old version it pops up a error message saying the software for it cannot be found. does anyone know how i can fix this?
-
Invoice Date based on GI and POD
Hi All, I am facing a situation when packed and bulk products can be delivered to the same customers. However, for deliveries with packed products an Invoice Date should be based on Goods Issue, but for the bulk products to the same customer i'ts sho