on 11-06-2007 10:46 AM
Hi i am new to adobe forms.
what is the use of adobe forms and how to develop adobe forms.please provide any material on this.
hi jeevitha,
in the last reply i gave only the use & advantages of adobe forms are correct. the code which i given is related to pdf's. please note it. im soory for the inconveniance.
i will send the material regarding creation of adobe forms to your mail ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi jeevitha,
tha advantage we have when we go for adobe forms is:
Paper-based forms make it difficult for remote, mobile, and
casual users to access up-to-date forms and complete them in a timely fashion. They also make it nearly impossible for your company to compile, access, track, and audit data. Without a centralized means of storing, updating, distributing, or controlling forms or a way to easily capture the data contained in them collaboration is hindered, and you cant extend enterprise applications to partners, customers, and suppliers without necessitating manual data entry and forms processing.
they provide:
- Faster Business Processes for Greater Agility
- Support for Mobile Workers
- Minimize Errors and Offer Easier Data Access
- Reduced operational costs and increased business process
agility via automation
Increased customer and employee satisfaction by enabling
faster, more efficient forms-driven processes
Increased efficiency, fewer errors, and enhanced collaboration
Flexibility to customize forms for your enterprise and its
partners and customers
Assured document integrity via controlled
read/write/access rights
Tools to track end-to-end project status and identify
bottlenecks for remediation
Resources to simplify the use of industry- and governmentmandated
forms
Support geographically distributed environments
with multilanguage versions
the procedure to convert into PDF:
in this program we use 4 function modules.
they are: 1.SSF_FUNCTION_MODULE_NAME
2. FUNCTION MODULE GENERATED FOR OUR FORM
3. CONVERT_OTF
4. GUI_DOWNLOAD or WS_DOWNLOAD
in CONVERT_OTF,
we pass: format, max line width, bin file size, tables: otf & lines
the documentation of the function module helps u to get the reference types.
the other settings we have to provide are:
- set the form output as no printing/no display/no fax
- copy the content text we have after executing the form into the table OTF in the functon module CONVERT_OTF.
hope this may help you.
the coding for this is:
&----
*& Report ZMY_PDFDRIVER_0301 *
*& *
&----
*& *
*& *
&----
REPORT ZMY_PDFDRIVER_0301 .
data: FM_NAME TYPE RS38L_FNAM.
DATA:
W_BIN_FILESIZE TYPE I,
T_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
T_PDF_TAB TYPE TLINE OCCURS 0 WITH HEADER LINE,
W_FILESIZE TYPE I,
WA_CTRLOP TYPE SSFCTRLOP,
WA_OUTOPT TYPE SSFCOMPOP,
T_OTFDATA TYPE SSFCRESCL.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZMY_PDF_0301'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
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.
*CALL FUNCTION FM_NAME
*EXPORTING
*VAR = VAR1.
WA_CTRLOP-GETOTF = 'X'.
WA_CTRLOP-NO_DIALOG = 'X'.
WA_OUTOPT-TDNOPREV = 'X'.
call function '/1BCDWB/SF00000203'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = WA_CTRLOP
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = WA_OUTOPT
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = T_OTFDATA
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_OTFDATA-OTFDATA[].
call function 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
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.
call function 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_BIN_FILESIZE
CODEPAGE = ' '
FILENAME = 'D:\TEST11.PDF'
FILETYPE = 'BIN'
MODE = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH = W_FILESIZE
tables
data_tab = T_PDF_TAB
FIELDNAMES =
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
.
if sy-subrc = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
WRITE: / 'SUCCESSFULLY CONVERTED'.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
t.code SFP.
definition:
Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
go thru this links
http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
example
To get an overview idea about Adobe forms ,
Using SFP , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
Create the context and layout in the form.
The layout generated can be previewed and saved as PDF output.
Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
On activating and executing the form you will get a function module name just similar to smartforms.
The driver program needs to call this FM.
Refer to the below sample code :
DATA : is_customer TYPE scustom.
DATA : it_bookings TYPE ty_bookings.
DATA : iv_image_url TYPE string.
DATA : iv_sending_country TYPE adrc-country.
DATA : it_sums TYPE TABLE OF flprice_t.
DATA : docparams TYPE sfpdocparams.
DATA : formoutput TYPE fpformoutput.
DATA : outputparams TYPE sfpoutputparams.
PARAMETERS : pa_cusid TYPE scustom-id.
SELECT SINGLE * FROM scustom INTO is_customer
WHERE id = pa_cusid.
SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE it_bookings
WHERE customid = pa_cusid.
outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
*outputparams-adstrlevel = '02'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 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.
docparams-langu = 'E'.
docparams-country = 'US'.
docparams-fillable = 'X'.
CALL FUNCTION '/1BCDWB/SM00000043'
EXPORTING
/1bcdwb/docparams = docparams
is_customer = is_customer
it_bookings = it_bookings
IV_IMAGE_URL =
iv_sending_country = 'US'
IT_SUMS =
IMPORTING
/1bcdwb/formoutput = formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
see these links..
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
/people/thomas.jung3/blog/2005/07/13/lessons-learned-from-adobe-forms-development
/people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
/people/franklin.herbas/blog/2005/12/13/2d-barcode-pdf-forms-with-sap-netweaver
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
http://help.sap.com/saphelp_nw04s/helpdata/en/43/849b3482206353e10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/43/82538c0c4458bbe10000000a422035/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/46/55c841d202c317e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/6d/bd2d828aa04eeb9451aad0d02ae9a0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken]
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/company/press/press.epx?pressID=2785
http://www.adobe.com/enterprise/partners/sap.html
http://www.adobe.com/enterprise/partners/pdfs/sap_datasheet.pdf
Server: SAP Web AS 6.40 Java (for all scenarios), SAP Web AS 6.40 ABAP (if you are looking at high-volume print scenarios), Adobe document services (run-time component), Adobe Credential (for creating interactive PDF forms)
Frontend: SAP NetWeaver Developer Studio with Adobe LiveCycle Designer (for Web Dynpro for Java development) and/or SAP GUI 6.40 with Adobe LiveCycle Designer (or 6.20 - for developing in SAP Web AS 6.40 ABAP), Active Component Framework (for filling interactive forms in a Web Dynpro application), Adobe Reader 6.0.2 or higher (on the frontend PC)" - from INteractive Forms FAQ Interactive Forms FAQ
I will suggest you to have Adobe Reader >7
SAP GUI with patchlevel >18.
ADLCD >= 7.
Even you dont have ADS you must be able to see ADLCD in SFP. but you wont be able to activate ya get the output.
if you have properly copied the ADLCD seperatley into the Adobe Folder. while clicking the layout tab. open the ADLCD seperately. see if it gets opened.
or design it in ADLCD and import and export the xdp through fb_xdp_down and fb_xdp_up transactions.
Hope these helps. do update and alos search in the Interactive Forms home page as well as the Forum to get the details. there are already many posts related to it.
Check these links
https://adminn.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/5290436f-0c01-0010-ada2-d5... [original link is broken]
http://www.adobe.com/enterprise/partners/pdfs/sap_datasheet.pdf
http://help.sap.com/saphelp_nw04s/helpdata/en/46/55c841d202c317e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/1a/ff773f12f14a18e10000000a114084/frameset.htm
https://admin.sdn.sap.com/irj/sdn/interactiveforms-elearning
Life Cycle Designer
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
http://adobeforums.com/webx?224@@2cdd99d3@.3bc44c56
http://adobeforums.com/webx?126@@.3bc44c56
Check my previous threads
I had fowarded you one document plz check your mail box also
Regards
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Pavan,
i executed one of the standard Interdactive form in SAP, but i got error message like this.
This is the program : FP_EXAMPLE_01
i got this error message :
ADS: com.adobe.ProcessingException: Problem accessing data from Destination: dest:FP_ICF_DATA_BID//sap/bc/fp/form/layout/FP_EXAMPLE_01.XDP?fp-
Could you please help me on this.
Thanks,
Lahiru.
HI
Even am searching on that, plz find the materials list
look at the Adobe page here in SDN:
https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken]
/people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
http://www.adobe.com/enterprise/partners/pdfs/sap_datasheet.pdf
https://www.sdn.sap.com/irj/sdn/interactiveforms
http://help.sap.com/saphelp_nw04/helpdata/en/a3/879241ed08a309e10000000a155106/content.htm
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
http://www.sap.com/solutions/solutionextensions/interactiveforms/index.epx
http://www.adobe.com/enterprise/partners/sap.html
http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.