cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe forms and their use in SAP

Former Member
0 Kudos

Hello Experts,

I am new to Adobe forms, i wanted some information on Adobe forms and their use in SAP for following:-

1) How Adobe forms can be used in SAP?

2) How can we read the data from Adobe forms and upload it in SAP (populate in SAP tables)?

3) What is required to implement/use these Adobe forms in SAP?

Thanks & Regards,

Amit Naik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can see this sample driver program which use ADOBE form.

You need to specify your function module name instead of (CALL FUNCTION '/1BCDWB/SM00000043') mentioned in this program. The function module is generated when you activate your Adobe form.

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.

Best Regards,

Devesh

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Experts,

I just have following few doubts :-

1) Adobe Interactive forms can be created & connected to SAP database using ABAP Workbench, through WebDynpro.

2) Also adobe Interactive forms can be created & connected to SAP database using Transaction SFP.

3) And for both of the above 'Adobe Live cycle Designer' should be installed on the front end.

4) Is there any other way through which we can create new interactive forms & connect to SAP database???

Please correct me if i am wrong.

Thanks & Regards,

Amit Naik

Edited by: Amit Naik on Apr 3, 2009 9:30 AM

Former Member
0 Kudos

yes u r correct abt first three pts not sure abt fourth one

Former Member
0 Kudos

Hello Kartik,

Thanks a lot for your quick reply, do you have any guide showing each and every steps right from creation of Adobe form & linking it to the SAP table, not only PO scenario, any scenario will do.

I just want to understand how we create an Adobe form & link it to the SAP database tables & update these table through Adobe forms.

Thanks & Regards,

Amit Naik

Former Member
0 Kudos

u can search the wikis to get some good material, also the link which i posted as some intercative tutorials, i have a document which is very good document for adobe forms beginners, it gives u all steps neccesary to create a basic form, so if u can drop me a e_mail (chk my business card for my id) i can send u back the document.

кu03B1ятu03B9к

Former Member
0 Kudos

Hello Experts,

Thanks a lot for your help & guidance, i need some more help over this, Will you provide me with a stepwise procedure to create a particular Business process.

Suppose for example a user is given this Adobe form to input the data of PO, how this form will be created, how form will be populated, how it will go and update SAP to create PO, etc...

It would be of great help to me.

Thanks & Regards,

Amit Naik

Former Member
0 Kudos

Get the data entered by the user back to the driver program using the import parameters of the generated fm of the adobe form, using these import params generate the po using some bapi or fm,

кu03B1ятu03B9к

Former Member
0 Kudos

Hi,

The link provided by kartik is comprehensive and would anwser all your queries.

However it is important to know that why adobe forms are preferred over smartforms/SAP scripts

Following are their advantages.

Advantages over Smart Forms/SAP script

. PDF is a de-facto standard for forms in the Web

. Adobe Lifecycle Designer as an easy to use, flexible tool for designing

forms

. Adobe LiveCycle Designer is fully integrated into the SAP's IDEs: SAP

NetWeaver Development Studio (Java) and ABAP Workbench

. Graphics (BMP, JPEG, GIF, PNG, EXIF) can be included into forms directly

. no conversion required

. Objects (including texts) can be rotated

. Different page orientations (landscape, portrait) are possible within one form

. Graphical elements can be included in forms

. Forms can be created so that they conform to accessibility standards

. Complex layout elements can be shared between form developers

. Existing PDF or Word documents can be imported

. TrueType Fonts can be used; installation requires no upload

. Barcodes can be printed on all printers of types Postscript, PCL, PDF, or

Zebra

. Mailing and faxing is easier

. Forms are regular Repository objects with standard transport and versioning

. Interactive scenarios and integration into browser-based applications are

possible (Web Dynpro for Java or ABAP

Regards,

Rishikesh

Former Member
0 Kudos

Can someone help, please...

Former Member
0 Kudos

check this link to get all the info u want

https://www.sdn.sap.com/irj/sdn/adobe

кu03B1ятu03B9к