Process to Migrage or convert SmartForms to Adobe Forms
Hello Friends,
Could you please let me know the process(steps) to convert smartforms to AdobeForms.
I got to know there will be some formatting issues(by reading other Threads). But iam querious to convert the smartforms into adobeforms and i really dont know how.
Thanks..
Hello!
Please, check this link -> [SAP Library|http://help.sap.com/saphelp_nw70/helpdata/EN/16/a369b1800e4bdda978ee0fe3b7bd2c/frameset.htm]
There are some (many?) constraints for the process. It is not going to be easy.
Regards,
Petr Perstnev
P.S. Use SEARCH
Similar Messages
-
How to convert smartforms into Adobe forms.
Hi......
How to convert smartforms into Adobe forms.
Regards
Anbu BHi,
You need to use the Function Module CONVERT_OTF.
Please check the below code
REPORT zsuresh_test.
Variable declarations
DATA:
w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
w_fmodule TYPE rs38l_fnam,
w_cparam TYPE ssfctrlop,
w_outoptions TYPE ssfcompop,
W_bin_filesize TYPE i, " Binary File Size
w_FILE_NAME type string,
w_File_path type string,
w_FULL_PATH type string.
Internal tables declaration
Internal table to hold the OTF data
DATA:
t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
Internal table to hold OTF data recd from the SMARTFORM
t_otf_from_fm TYPE ssfcrescl,
Internal table to hold the data from the FM CONVERT_OTF
T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
This function module call is used to retrieve the name of the Function
module generated when the SMARTFORM is activated
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_form_name
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = w_fmodule
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Calling the SMARTFORM using the function module retrieved above
GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
format of the output
w_cparam-no_dialog = 'X'.
w_cparam-preview = space. " Suppressing the dialog box
" for print preview
w_cparam-getotf = 'X'.
Printer name to be used is provided in the export parameter
OUTPUT_OPTIONS
w_outoptions-tddest = 'LP01'.
CALL FUNCTION w_fmodule
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = w_cparam
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = w_outoptions
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = t_otf_from_fm
JOB_OUTPUT_OPTIONS =
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.
t_otf[] = t_otf_from_fm-otfdata[].
Function Module CONVERT_OTF is used to convert the OTF format to PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = W_bin_filesize
BIN_FILE =
TABLES
otf = T_OTF
lines = T_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 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.
To display File SAVE dialog window
CALL METHOD cl_gui_frontend_services=>file_save_dialog
EXPORTING
WINDOW_TITLE =
DEFAULT_EXTENSION =
DEFAULT_FILE_NAME =
FILE_FILTER =
INITIAL_DIRECTORY =
WITH_ENCODING =
PROMPT_ON_OVERWRITE = 'X'
CHANGING
filename = w_FILE_NAME
path = w_FILE_PATH
fullpath = w_FULL_PATH
USER_ACTION =
FILE_ENCODING =
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_bin_filesize
filename = w_FULL_PATH
FILETYPE = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = T_pdf_tab
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
Ruthra -
Migrating Smartforms to Adobe forms ?
Hi,
I have migrated a smartform to Adobe form and enabled the Swith Runtime facility of the form.
Now I want to revert back the switch runtime functionality.
Is there any way to do that?
Thanks,
Sreejith A PHi Sree,
As there is no adobe form in ECC6 for sales order, i want to convert smartform to Adobe form.
Iam getting lot of errors and warnings while migration.
Can you please help me how you did migration.I followed the steps from help.sap.com but i eventually landed up with huge errors in interface and layout.
Can you please guide me?
Regards,
Kiran -
SmartForms Vs Adobe Forms for output
Hello Everyone,
I have a question. When configuring output in CRM 7.0 what are the advantages/disadvantages vis-a-vis smartforms and adobe forms?
Appreciate your input and answers.
Thanks
B PHi,
the output of adobe forms can be archived directly as PDF:
The smartform has to be converted to PDF before archive - but this is also possible.
It is more like a strategy-question of your company. In our company all forms in CRM are created as Adobe PDF.
On remark to licences: As long as you do not use interactive PDF there is no additional license for Adobe Forms.
Kind regards
Manfred -
Migrating Smartform to Adobe form
Hi All,
I have Standard SAP Purchase order, i have cpoied into Z-Smatform.
then i have to migrating the same smartform to Adobe form.
While migrating from smartform to Adobe i am getting dump like..
There is already a type called TY_TEXT ..
Can any one have any idea abt the same, please share with me..
And also i wanted to know that is there any other way to do the same?
its bit urgent please respond asap..
thxHi
In Trxn <b>SMARTFORMS</b> , <b>Utilities -> Migration -> Interactive Form -> Export</b>
Regards,
Raj -
Convert smartforms to normal form
hi is it possible to convert smartform to normal form ?
Hi
Be more clear normal forms in the sense?
Regards,
Sree -
Getting an error message when converting smartform to pdf form
Hi,
I'm getting an error message, when trying to convert smartform to pdf.
[H:\Argentina\Error]
<<No Question asked. Thread locked>>
kindly help
Thanks
Devinder
Edited by: kishan P on Jan 19, 2012 3:01 PMHi,
Your smartform getting the correct output. If the output is fine i will some process follow it to convert it into PDF.
<<Do you even know what is the issue. Dont guess>>
Edited by: kishan P on Jan 19, 2012 2:58 PM -
Migration of smartforms into adobe forms
hi,
After migration of smart form into adobe form, while checking( syntax ) the error message will be displayed like the Sender Country is not filled. if i fill the sender country then only the adobe form activate but no sender country is provided in smart form. how can we rectify this problem in migration of smart form into adobe forms ( Address node ).
sender country is not mandatory in smart form but comes into adobe form it is mandatory. How can we handle this type of issues.
Thanks®ards,
Ashok ReddyHi Aravind
Have you checked the following threads before posting
Smartforms or Adobe Interactive Forms?
Regards
Sachin -
Problem with deep structure in Adobe Forms
Hi ,
I am converting smartform into adobe forms. While converting the program code in the code initialization of the smart forms also get transformed to adobe forms the problem is my internal table is of type deep structure while passing it through the tables parameter i am getting error in adobe forms .But while passing the internal table through import parameter its not giving error.The same code works fine with smartforms. I dont know why its not taking the structure of internal table in adobe forms properly .It happens only for deep strucure formal normal tables it works fine in table parameters .If any one has come across this scenario please share your ideas.
Best Regards,
SreeramIf I were you, I would never do this through any program. The only secure, reliable way is to rewrite everything by your own hands. Even if we could argue, your way works as well (and could be faster at the beginning), at the firt moment you will be asked to perform any tiny change in this "imported" thing, you will cry your eyes out (and understand why it is the only useful way to rewrite everything manually).
regards Otto -
Adobe form to replace smartform in SRM 7
Hello,
We are in the process of utilizing the adobe server for form processing in our SRM 7 environment. In SRM 5.0 we have some custom Z smartforms for SRM documents. I am having the following questions:
1) What are the steps to do a "smoke test" to make sure the adobe server is working as it should?
2) Is there a graceful way of transforming the smartforms into adobe forms without re-designing them?
3) What are the steps to configure the system so that the it prints adobe form instead of the smartforms? (I have read note 1264423. It doesn't seem to have too many details.)
4) If adobe form would be exclusively used in SRM 7, is BADI BBP_OUTPUT_CHANGE_SF still relevant or should we deactivate it?
Thanks.I think my question has been answered by this help:
http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm
What I didn't realize is this:
By migrating Smart Forms, you can reuse them as PDF-based print forms. You can find the Smart Form migration tool in transaction SMARTFORMS.
I have tried the migration tool. It did convert the old smartform to the new form/interface, but not without many errors. But at least we know that we don't have to start from scratch. -
Convert Adobe form to smart form
Hi,
I have created adobe form. Is it possible to convert that now as smart form? I have seen the migration options for smartforms to adobe form. But please confirm if the reverse is possible and how?
Regards,
BhuvanaHowdy,
They are basically asking you to rewrite the form from scratch - better off waiting until the basis issue is resolved.
It's possible that the issue would still exist when you view the PDF spool of your Smartform too.
Cheers
Alex -
Merging Smartform Output and Adobe Form Output in a single PDF File
Hi All,
My Requirement is as follows -
I have multiple Smartforms and a single Adobe Form.
I want to merge the Smartform Outputs and Adobe Form output in a single PDF.
I am able to merge multiple Smartform Output in a PDF , but not able to find any way to merge smartform and adobe form output as the Smartform output is in OTF Format and Adobe form output is in PDF Format itself.
I have tried few ways , but could not find any success.
Request you all to give me some direction to this problem.
Thanks & Regards
BhavikaKumar,
I am afraid this is not possible using SAP functionality. There are probably 3rd party tools which allow you to merge several PDFs into one, but SAP itself does not offer such a mechanism. There is an internal SAP function, though, which can merge several "parts" (=several PDFs) within an Adobe-created spool request into a single PDF, intended for downloading this PDF from SP01.
This is described in note 1717357.
Best regards,
Alexander -
Advantages of adobe forms over sapscripts and smartforms.
Good day ,
Can anyone pls mention atleast 2 to 3 major differences between sapscripts,smartforms and adobe forms?
I want to know wat r the drawbacks in each n how we rectified it in adobe forms.Are there any disadvantages in adobe forms??
Awaiting your reply,
Thanks,
Deepthi.Hi Martina,
SAP Interactive Forms by Adobe offer you the following business advantages:
1. Interactive functions automate the creation of data for SAP systems
2. Full integration into the SAP development environments for Java and ABAP
3. User-friendly tools reduce the time and costs associated with creating form layouts.
4. The usage of the PDF format means that forms retain their appearance regardless of the environment they are used in.
Moreover,
SAP Interactive Forms by Adobe offer the following basic functions:
1. Create form templates for the layout that include logos or pictures
2. Generate documents by merging form templates and current system data
3. Edit forms online or offline
4. Forms can be filled in advance automatically with specific data from SAP applications and then sent to the correct recipients using secure methods
5. Automatic consistency checks for forms
6. Activate enhanced functions such as comments
7. Digital signatures and form certification
8. Send completed forms to the SAP application with automatic updates of the business data
There are not any disadvantages in adobe forms as such except the value help is not present but that could be done after a little coding.
Reward if useful.
Regards,
Vaibhav Tiwari. -
Adobe Form Device type and Smartform Device type
Hello experts,
Please tell me It there any Body Whose Company is Using both Adobe Form and smartform too?
If YEs
Can You Please tell me how they are Printing Adobe Form and Smartform. Whenever End user take the Print out they changed the Device type Or using only one type of device type for both smartform and Adobe Form.
Thanks in Advance
Shelly MalikHi,
refer the following link.
[http://help.sap.com/saphelp_nw70/helpdata/en/25/6fa8fd27837846990a7a6813b06f80/frameset.htm]
Regards,
Surendar Reddy. -
Run time switched to interactive adobe form
Dear Experts,
I was able to convert the smartform in runtime to Adobe form but the resulting form is non-interactive.
Is it possible to convert the smartform to a interactive PDF??
I have a requirement , in the generated Adobe form I would like to insert a signatue field. I was able to convert the smartform and display the generated PDF with the signature field but it was non-interactive.
Please suggest me a way to make it interactive.
Regards
sree.Dear Sandra,
Thank you for your quick reply.
We have installed the ADS configuration and were able to design the forms using SFP tcode. Now I want to get the design Layout/data existing in the smartforms to this interactive form.
Please provide me any possible solution for this.
I was able to export the layout of smartform to adobe form but the layouts were not same is there any other way to bring the same layout from the Smartform to the interactive Adobe form??
Regards
sree
Maybe you are looking for
-
How Can I See My Entire Library?
I created my library from the iTunes store and from my personal CD collection. I created it on a Windows desktop machine. Now, when using my Windows laptop, only my purchased tunes show in my library. How can I see my whole library?
-
Help with installing the Revel media downloader.
When I thought I downloaded the media downloader it tells me is misfigured. I can't archive my Photoshop Files without this. Help.
-
WIN a Samsung Tab – Community Prize Draw
Hi Everyone Well we’ve got sporting fever here… spurred on by the exciting Record Breakers competition being run across wider BT we wanted to join in with some of the action… We’re really excited about the upcoming London 2012 Olympic Games so decide
-
"page down" button does not respond: need to use mouse to browse: firefox only.
Page down and page up buttons have stopped responding when using firefox. they are fine for internal pc work and also google chrome
-
Why are texts showing up coming from email account
When I text from my phone it shows it as coming from my mail. This began happening when I changed texts being shown on iPad. Can someone help me untangle this mess.