How to use msword as editor in sap script and smart form..
how to use msword as text editor in sap scripts and smartforms..
Hi
Go through the link given below :
Saptechnical. com
tutorials
smartforms
you will find solution for how to use MS word as editior.
Or
Call transaction I18N
go to I18N Customizing -> MS Word as Editor.Choose the Help-Button and follow the instructions.
If transaction I18N is not available in your system yet (see SAP Note 848036), you can also enable this feature via program RSCPINST.
Call transaction SE38, enter program RSCPINST and press F8. On the next screen,select Goto -> Set MS Word as Editor.
With Regard
Nikunj shah
Similar Messages
-
? MSWORD as EDITOR in sap script and smart forms ?
Hi friends,
How to use MSWORD as EDITOR in sap script and smart forms.
Edited by: Julius Bussche on Jul 17, 2008 12:45 PMhi,
Call transaction I18N
go to I18N Customizing -> MS Word as Editor.Choose the Help-Button and follow the instructions.
If transaction I18N is not available in your system yet (see SAP Note 848036), you can also enable this feature via program RSCPINST.
Call transaction SE38, enter program RSCPINST and press F8. On the next screen,select Goto -> Set MS Word as Editor. -
What is the diff b/w Sap Scripts and Smart Forms
Hi,
Whats the diff b/w SAP Scripts and Smart Forms..
I need the internal explanation for both Smart Forms and SAP Scripts mean when we execute what happens whether Print Program r Forms starts execution 1st and SIMILARLY FOR SMARTFORMS WHETHER FM'S R FORMS.
Thanks & Regards,
Gopi.Hi
Difference with SMARTFORMS vs. SapScript(SE71)
The Following are the differences :-
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
b) It is possible to have a smartform without a main window .
c) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
check out this link:
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Reward points if helpful.
Regards,
Swathi. -
Advantages of Adobe Form Vs Sap Scripts and smart forms
Hi All,
Can any body explain me clearly what are advantages of Adobe forms when compared to sap scripts and smart forms
Regards,
VenkatRefer to two Links below you will get all your answer
/people/markus.meisl/blog/2006/12/22/a-pdf-form-or-not-a-pdf-form--that-is-the-often-the-question
https://www.sdn.sap.com/irj/sdn/adobe
Cheers
Satya -
Regarding debugging in sap script and smart form
hi guys,
can any one tell me what are the different steps and options available to debug a SAP SCRIPT and a SMARTFORM.
thank you very much
pavanScripts:
1. In the form, Utilities->debugger / RSTXDBUG FM for debugging script
2. Generally SAP script contains the Layout and corresponding print program.
First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.
Now go to SE 38 and enter ur Print Program name and execute the program.
Now you can debug the script Page wise and window wise.
Smartforms:
In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap Break Point.
Insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
Other way to debug smartform is to debug the Function Module of that smartforms.
You can also use <b>smartform trace (transaction SFTRACE)</b>.
Have a look at below link.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
Regarding debugging in sap script and smart forms
hi guys,
can any one tell me what are the different steps and options available to debug a SAP SCRIPT and a SMARTFORM.
thank you very much
pavanThere is a transaction 'SMARTFORMSTRACE' (or was it 'SMARTFORMS_TRACE') which will give you quite helpful information.
Try!
Sorry: Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis.
Regards,
Clemens
Message was edited by: Clemens Li -
How to maintain QR Code & BAR Code in SAP Script and Smart Form ?
I want to place QR code (Quick Response Code) and Bar Code In my invoice . I searched from many resources but i couldn't get any appropriate answer . So , Please help me to solve this problem.
Hello,
SAP Note 1557674 - "Overview of bar code printing from SAP" shows the 5 possibilities how barcodes can be printed from SAPScripts and SmartForms.
In your case the following possiblities can help:
DIMM/SIMM module: in this solution you need to additionally purchase and install a DIMM/SIMM module to your printer. Then you can send the command sequence from the SAPScript/SmartForm to this module, and the barcode will be printed. (The command sequence should be described in the manual book of the module.)
barcode.dll file: in this solution you need to additionally purchase and install a barcode.dll file, which will handle the barcodes. Please note: this solution only works with SAPWIN Device Types (and therefore only on Windows OS). The command sequence should be also described in the manual.
New bar code technology: in this case R/3 creates the barcode itself, and the barcode will be forwarded as a simple image to the printer. Unfortunately QR code can not be created with this solution - according to SAP Note 1557674 the following barcodes can be created:
Code39, Code93, Interleaved 2of5, Code128, PDF417.
(There are 2 further solutions in the mentioned Note, but the "bar code font" solution can not be used for 2D barcodes like QR code, and the "PDF-based form" solution means that SAPScript and SmartForm can not be used).
Alternatively, here is a document which explains how QR codes can be displayed in SmartForms with alternative solutions:
How to create a QR code and show it in a Smartform
Regards,
Laszlo -
How to print " Duplicate " in FORM ( either Sap Script or Smart Forms )
hi,
How to print " Duplicate " in FORM ( either Sap Script or Smart Forms ) if trying to take second Print Out and the FORM is already Printed.
Please let me know the condition that we should go for.If possible let me know the SAMPLE code since this will be used in most of the FORMS.
Regards
AviHi
It depends on which print you're working.
If it's a print of standard document you can check the NAST (VSTAT field) table in order to know if the document was printed.
If a message is created you can find the hit in NAST table:
VSTAT = 0, document not printed;
VSTAT = 1, documment printed
VSTAT = 2, print is failed
If you mean a custom print I believe you need to create a log like NAST table.
Max -
Advantage of SAP Script over Smart forms
Hi Friends,
Can you please let me know some ten points on Advantages of SAP Scripts over Smart Forms.
Thanks,
GokulHi Gokul,
Major Differences between smart form and Scripts are
Multiple page formats are possible in smartforms which is not the case of SAP Scripts
It is possible to have a smartform without a main window
Labels cannot be created in smartforms.
Routines can be written in smartforms tool.
Smartforms generates a function module when activated
Background graphics are possible in case of SMARTFORMS
Assigning the font colours to the text are not possible in the case SMARTFORMS.
Creating and maintaining SMARTFORMS requires half the time compared to SAP Scripts
Smart Forms SAP Scripts
1)Form, Text Module, Styles are Form, So10 are
client independent client dependent
2)In a form diff pages can have In a form all pages should
different page formats follow one page format
3)Back ground picture is possible Not Possible
4)Maintenance cost is low Heavy
5)Web publishing is possible Not Possible
using XML
rewards if helpful........................
Regards,
Maha. -
How to use Symbols or icons in SAP script
Hai ,
I am facing one problem in sap script , I want to display one of my field as icon (or )symbol ( tick mark ) in sap script . how to do . Particular transfer order ( check LTAP table ) having 10 line items . In 8 line items are confirmed ( pquit = 'X') others not confirmed . if LTAP-pquit = 'X' then instead of 'X' i need tick mark symbol .Icons and symbols in SAPscript texts
To print these, use output devices whose device type uses one of the following printer drivers:
· HPL2 (PCL-5 printers, such as HPLJ4, HPLJ5, HPLJ5SI, or HPLJ4000)
· POST (PostScript printers, such as POSTSCPT, or POST2)
· PRES (PRESCRIBE printers, such as KYOFS150, or KYOFS170)
· SWIN (device types SAPWIN/SWIN and country-specific versions)
Icons and symbols in ABAP lists
If you also want to print these characters in lists, you must define an output device with one of the following device types:
· HPLJ4000/HPLJ5000/HPLJ1100: Device types for PCL-5-printers
· KYOFS170: Device type for Prescribe II printers
· POST2: Device type for PostScript Level 2 printers
· SAPWIN/SWIN and the country-specific versions: generic, that is, device-independent device type for printing using Microsoft Windows -
Physical Inventory Sap script to Smart Form conversion
Hi to all experts,
there is standard print program RM07IDRU (tcode mi21) .This print is assigned to customized sapscript (zmm_phys_inv) for printing . Now the problem is that we have print barcode using this script on a different printer .For scripts the bar code printing takes a lot of effort .The users want the sap script to be converted to smart forms . what is the best approach for this............................need u r feedbacksHi Mohammed
The users want the sap script to be converted to smart forms . what is the best approach for this
For this refer the similar kind of thread.
how to convert sap script layout into smartforms?
regards
s@chin -
Need to convert a SAP Script to Smart Form
Hello,
I need to convert a SAP script to a Smart form.
I am aware of converting it but have a question abt print program?
Can the print program which is currently attached to the SAP script supprot the Smart form?
Could some one let me know if i can use the same program or need to do some modifications in it?
Pointa rewareded if useful.
Thanks,
Krishnahi
t-code smartforms
utilities->migrate sapscript
check the link below it provides steps to convert sap scripts to smartforms
http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf
Check these threads.
Smartforms -> sapscript
Re: Convert SapScript to Smartforms ?
regards.
Kiran Sure -
Covesion from sap scripts to smart forms
hi everybody
I want covert from sap scripts to smartform,There are already develoepd scipts in my development system.my requirement is to covert to smartfomr,how can we do that..
Regards
madhooHi,
Goto SMARTFORMS and name your smartform. Dont press Create Button.
Now follow the path. GOTO -> Migrate SAP Script form.
You will get a pop-up window to enter the name of SAPscript from which you would like to migrate and choose language and then press enter.
Also, have alook at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/frameset.htm
The specified item was not found.
Migrating SAPscript print program to Smartform
Smartforms -> sapscript
Re: Convert SapScript to Smartforms ?
Hope this helps.
Regards,
Richa -
HOW TO DISPLAY ALTERNATIVE PAGE NO IN SCRIPT AND SMART FORM
HI, I HAVE TEN PAGES IN SCRIPT AND FORM, I HAVE TO DISPLAY PAGE-NO IN FIRST PAGE AND 2 PAGE NO NEED TO DISPLAY AGAIN 3RD PAGE HAVE TO DISPLAY. HOW TO DO THIS
hi......
In Smart forms u have use "ALTERNATIVE" option for printing alternative page numbers.
In Sapscript use coding to solve this problem,
if ( &page& mod 2 ) = 0
&page&
endif
Regards,
ARUN. -
How can scripts and smart forms send to mail and pdf?
HI i want to know how script and smartforms will send to mail and pdf formates>?
Dear Anees ,
Pleas pass on the parameter in itcpo - (getotf ) structure while calling OPEN_FORM as 'X' .
I have answered it in detail in your earlier post .
also giving below sample program for sending SAPSCRIPT as PDFattachment in email :
REPORT zsapscript_pdf_via_mail MESSAGE-ID zvele LINE-SIZE 68
NO STANDARD PAGE HEADING.
TABLES: itcpo.
Open your usual sapscript specifying that the output will be OTF
itcpo-tdgetotf = 'X'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = ''
form = '............'
language = sy-langu
options = itcpo
EXCEPTIONS
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
OTHERS = 6.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = '............'
element = '............'
EXCEPTIONS
window = 1
element = 2.
DATA: BEGIN OF t_otfdata OCCURS 0.
INCLUDE STRUCTURE itcoo.
DATA: END OF t_otfdata.
Closing the Sapscript, we save data (OTF) in a table
CALL FUNCTION 'CLOSE_FORM'
TABLES
otfdata = t_otfdata
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
OTHERS = 5.
DATA: len_in LIKE sood-objlen,
len_out LIKE sood-objlen.
DATA: BEGIN OF t_pdfdata OCCURS 0.
INCLUDE STRUCTURE solisti1.
DATA: END OF t_pdfdata.
DATA: BEGIN OF t_otfdata2 OCCURS 0.
INCLUDE STRUCTURE solisti1.
DATA: END OF t_otfdata2.
Move OTF data to another table with lenght 255
LOOP AT t_otfdata.
CONCATENATE t_otfdata-tdprintcom t_otfdata-tdprintpar INTO t_otfdata2.
APPEND t_otfdata2.
ENDLOOP.
Convert OTF format to PDF
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = 'OTF'
format_dst = 'PDF'
devtype = 'PRINTER'
FUNCPARA =
len_in = len_in
IMPORTING
len_out = len_out
TABLES
content_in = t_otfdata2
content_out = t_pdfdata
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
Download on local directory
*CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = len_out
FILENAME = 'c:\test.pdf'
FILETYPE = 'BIN'
TABLES
data_tab = t_pdfdata.
Mail settings
DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
DATA: objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINe.
DATA: doc_chng LIKE sodocchgi1.
DATA righe_attachment TYPE i.
DATA righe_testo TYPE i.
DATA z_email(80) TYPE c.
Receivers parameters
SELECT-OPTIONS: s_email FOR z_email LOWER CASE NO INTERVALS.
PARAMETERS rec_type LIKE reclist-rec_type
DEFAULT 'U'. " type of sending address
CLEAR: reclist, reclist[],
objhead, objhead[],
objtxt, objtxt[],
objbin, objbin[],
objpack, objpack[].
Attachment filling
LOOP AT t_pdfdata.
objbin-line = t_pdfdata.
APPEND objbin.
ENDLOOP.
DESCRIBE TABLE objbin LINES righe_attachment.
Text filling
objtxt = 'Testo della Mail - Riga 1'.APPEND objtxt.
objtxt = 'Testo della Mail - Riga 2'.APPEND objtxt.
objtxt = 'Testo della Mail - Riga n'.APPEND objtxt.
DESCRIBE TABLE objtxt LINES righe_testo.
Other filling
doc_chng-obj_name = 'URGENT'.
doc_chng-expiry_dat = sy-datum + 10.
doc_chng-obj_descr = 'Prova invio Mail con PDF'.
doc_chng-sensitivty = 'O'.
doc_chng-doc_size = righe_testo * 255.
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = righe_testo.
objpack-doc_type = 'RAW'.
APPEND objpack.
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = righe_attachment.
objpack-doc_type = 'PDF'.
objpack-obj_name = 'TEST'.
objpack-obj_descr = 'File.pdf'.
objpack-doc_size = righe_attachment * 255.
APPEND objpack.
Receivers filling
LOOP AT s_email WHERE sign = 'I'
AND option = 'EQ'
AND NOT ( low IS initial ).
CLEAR reclist.
IF sy-tabix > 1.
reclist-copy = 'X'.
ENDIF.
reclist-receiver = s_email-low.
IF rec_type IS INITIAL.
reclist-rec_type = 'U'. " Internet e-mail
ELSE.
reclist-rec_type = rec_type.
ENDIF.
reclist-notif_del = 'X'. " request delivery notification
reclist-notif_ndel = 'X'. " request not delivered notification
APPEND reclist.
ENDLOOP.
Mail Send
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
OBJECT_PARA =
OBJECT_PARB =
receivers = reclist
CONTENTS_HEX =
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
Maybe you are looking for
-
Hello apple store my ipod touch uis now disabled because i was not able to charge it one, i missed placed it and second it is now disabled . two problems the first one is that im using a libraray computer and it will not let me download itunes. the s
-
For example, when I try to add a new menu bar, horizontal, it is actually a vertical bar. I'm not sure what I did but would like to reinstall? How can I do that without messing up my current sites and css? Thank you.
-
Can't import "unreadable" but Picassa ok?
Hi guys Been using my old Sony DSC P200 for some years ago and always imported no drama's. Tried the latest batch and they all come up "Unreadable - unrecognised file format or invalid data". Done a search on here and from another thread have tried i
-
Hi, We're on R12.1.3 version of Oracle eBusiness Suite. When I click on "Export Work Order " push button in Self service page [Maintenance Super User >> Work Orders tab >>Search for the work Orders], the default format is coming as .txt file but in 1
-
I am trying to close a dialog window when a boolean variable in another class changes to false. I use JOptionPane inside of an instance of Dialog. I have tried using hide(), dispose(), and setVisible(false). The problem is that the dialog window does