Adobe Forms Part 1: What SAP Interactive Forms by Adobe Are
Free sample lesson · open to everyone
Understand SAP Interactive Forms by Adobe: transaction SFP with interface and form (context + layout), Adobe Document Services (ADS) rendering PDFs, the generated function module, the FP JOB OPEN / FP JOB CLOSE print flow, and how Adobe Forms compare with Smart Forms.
In this lessonShow sectionsHide sections
Expert visual walkthrough
What SAP Interactive Forms by Adobe Are
Adobe Forms · Chapter-specific technical teaching map
Integration path
SAP driver program
Form interface
ADS rendering
PDF / print
Tutor's chapter takeaway
Understand SAP Interactive Forms by Adobe: transaction SFP with interface and form (context + layout), Adobe Document Services (ADS) rendering PDFs, the generated function module, the FP_JOB_OPEN / FP_JOB_CLOSE print flow, and how Adobe Forms compare with Smart Forms.
In a real project
An S/4HANA project planned to reuse all Smart Forms, but the chosen output management for billing documents required Adobe forms. ADS was not installed, and the issue surfaced two weeks before testing. The team set up the ADS…
Watch out for
• Ignoring ADS as a prerequisite. • Hard-coding the generated FM name. • Calling the form without FP_JOB_OPEN/FP_JOB_CLOSE. • Data selection inside the form context/initialization. • Not handling FP exceptions.
The situation: a real project scenario
An S/4HANA project planned to reuse all Smart Forms, but the chosen output management for billing documents required Adobe forms. ADS was not installed, and the issue surfaced two weeks before testing.
The team set up the ADS connection (and later the BTP Forms service), built new Adobe forms reusing the Smart Form drivers' data logic, and added "ADS availability" to the project's technical readiness checklist.
Explanation
This lesson opens a ten-part series on SAP Interactive Forms by Adobe, starting with what they actually are.
The series continues with SFP form design and layout basics in Part 2, print runs, interactive forms and a troubleshooting overview in Part 3, interface and context design in Part 4, the driver program pattern in Part 5, tables, subforms and repeating item data in Part 6, texts, logos, barcodes and images in Part 7, output parameters, PDF return and spool in Part 8, ADS configuration and troubleshooting in Part 9, and migrating from Smart Forms to Adobe Forms in Part 10.
Adobe Forms are built in transaction SFP, and consist of three pieces: an interface, which acts as the data contract; a form with a context, which decides which data actually reaches the layout; and a layout, designed visually in Adobe LiveCycle Designer. Adobe Forms are built in transaction SFP: an interface (data contract), a form with context (which data goes to the layout) and a layout designed in Adobe LiveCycle Designer.
The interface, created under SFP → Interface, holds import parameters, global data and initialization code — much like a Smart Form interface, and ABAP-dictionary-based interfaces are the classic type to use. The form, created under SFP → Form, is assigned to one interface, and its context maps that interface's data onto the layout through nodes, conditions, texts and graphics. The layout itself, built in LiveCycle Designer (integrated directly into SFP), is made up of master pages, body pages and subforms, with fields bound to nodes in the context.
At runtime, activating the form generates a function module, and FP_FUNCTION_MODULE_NAME returns its generated name. A driver program then opens a job with FP_JOB_OPEN, passing output parameters, calls the generated function module with document parameters such as language and country, and closes the job with FP_JOB_CLOSE. Print flow: FP_JOB_OPEN → FP_FUNCTION_MODULE_NAME → call the generated FM per document → FP_JOB_CLOSE.
Behind the scenes, Adobe Document Services (ADS) — a Java-based service called from ABAP — actually renders the PDF, or alternatively a print data stream such as PCL or PostScript for a physical printer; the result goes either to spool or back into ABAP as a PDF.
PDF rendering is done by Adobe Document Services (ADS), a Java-based service called from ABAP — without a working ADS connection, no output.
Comparing Adobe Forms with Smart Forms: Adobe output is PDF-based and pixel-exact, which suits complex layouts, barcodes and interactive forms much better. The infrastructure cost is real, though — Adobe Forms need ADS, either the Java stack or the SAP BTP Forms service, whereas Smart Forms render entirely within ABAP.
Strategically, S/4HANA's output management requires Adobe Forms for many document types, while Smart Forms remain supported but are no longer being extended. Adobe Forms are SAP's strategic form technology (S/4HANA output management, interactive forms), but they depend on ADS infrastructure — plan it early.
As an exercise, display a standard interface and form in SFP — FP_TEST_00 exists in many systems — and look through its context and layout, run the FP_TEST_00 report or the SFP test facility to confirm ADS is actually working, and then run the minimal driver from the code example against your own simple form. By the end you should know the parts of an Adobe Form, the role ADS plays, and the overall print flow.
Code example
* ===== Minimal Adobe Form call =====REPORT zaf_demo. PARAMETERS p_form TYPE fpname DEFAULT 'ZAF_INVOICE'. DATA: lv_fm TYPE rs38l_fnam, ls_outpar TYPE sfpoutputparams, " job-level output parameters ls_docpar TYPE sfpdocparams, " document-level parameters ls_result TYPE fpformoutput, " PDF if requested ls_header TYPE zaf_inv_header, lt_items TYPE ztt_inv_items. START-OF-SELECTION.* ===== Step 1: open the print job ===== ls_outpar-preview = 'X'. ls_outpar-dest = 'LP01'. ls_outpar-nodialog = 'X'. CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = ls_outpar EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5. IF sy-subrc <> 0. MESSAGE 'Could not open print job' TYPE 'E'. ENDIF. * ===== Step 2: generated FM name ===== TRY. CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = p_form IMPORTING e_funcname = lv_fm. CATCH cx_fp_api_repository cx_fp_api_usage cx_fp_api_internal. MESSAGE 'Form not found' TYPE 'E'. ENDTRY. * ===== Step 3: call the form (data selection happens in the driver) ===== ls_docpar-langu = sy-langu. ls_docpar-country = 'IN'. CALL FUNCTION lv_fm EXPORTING /1bcdwb/docparams = ls_docpar is_header = ls_header it_items = lt_items IMPORTING /1bcdwb/formoutput = ls_result EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 DISPLAY LIKE 'E'. ENDIF. * ===== Step 4: close the job ===== CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS OTHERS = 1.Watch out
Common mistakes
- Ignoring ADS as a prerequisite.
- Hard-coding the generated FM name.
- Calling the form without FP_JOB_OPEN/FP_JOB_CLOSE.
- Data selection inside the form context/initialization.
- Not handling FP exceptions.
Do this
Best practices
- Verify ADS early (FP_TEST_00 / SFP test).
- Use FP_FUNCTION_MODULE_NAME.
- Always open and close the job.
- Keep data logic in the driver or a data class.
- Follow the organisation's output strategy.
In the interview
Interview angle
Questions: "What are Adobe Forms?", "What is ADS?", "How do you call an Adobe Form from ABAP?", "Adobe vs Smart Forms?"
Strong answer: SFP interface + form (context, layout in LiveCycle Designer); ADS renders PDF; driver: FP_JOB_OPEN with SFPOUTPUTPARAMS, FP_FUNCTION_MODULE_NAME, call FM with /1BCDWB/DOCPARAMS, FP_JOB_CLOSE; PDF-based, needs ADS, strategic in S/4HANA; Smart Forms ABAP-rendered and not extended.
Practice this lesson
Quick check
0 of 3 questions attempted
Question 1 of 3
Which component actually renders the PDF of an Adobe Form?
Question 2 of 3
What does the ABAP print program actually do when generating Adobe Form output at runtime?
Question 3 of 3
Adobe Forms are strategic on S/4HANA?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1What are the main parts of an Adobe Form?
2What is an Adobe Form in SAP?
Try a related Code Lab
This published exercise covers the same SAP topic. Apply the ideas in a hands-on scenario, then return to review your answers.
Open: ADS Failure Misdiagnosed as ABAP Driver Issue →See it in code
Each example starts from a requirement, shows the design, then the code step by step with a plain-language explanation of every part.
Was this lesson helpful?
Keep exploring
Interview questions on this topic
Related SAP topics
Referenced SAP objects
Reviewed reference pages for the objects this page mentions.
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.