ERPClimb logoERPClimb
Adobe Forms
ABAP Developmentbeginner 6 min read

Adobe Forms Part 2: SFP Form Design and Layout Basics

Preview · a free account unlocks the full lesson

Key takeaway

Design a form in SFP: create interface and form, drag context nodes into the layout, master pages vs body pages, content areas, subforms (positioned vs flowed), data binding, text fields, static text, fonts and first layout checks with preview.

In this lessonShow sections

Visual overview

Adobe Forms Part 2: SFP Form Design and Layout Basics — learning sheetFlow: Create the interface and form described above → Drag VBELN, FKDAT and the item table into the layout → Activate and test with F8; check the PDF preview. Key ideas: CREATE INTERFACE AND FORM; CONTEXT; LAYOUT (LIVECYCLE DESIGNER); SUBFORMS. Watch out: Only data in the context is available in the layout — if a field isn't in the context, binding it in the layout does nothing.ERPClimb.com / ABAP / LESSON 2/10 / LEARNING SHEETAdobe Forms Part 2: SFP Form Design and Layout Basics1 · HOW IT FLOWS1Create the interface andform described above2Drag VBELN, FKDAT and theitem table into thelayout3Activate and test withF8; check the PDF preview2 · KEY IDEAS EXPLAINEDCreate Interface And FormSFP → Interface ZAF_INV_IF (ABAPdictionary-based): import IS_HEADER, IT_ITEMS.SFP → Form ZAF_INVOICE assigned to ZAF_INV_IF.ContextDrag interface parameters into the context(IS_HEADER, IT_ITEMS).Deactivate unneeded fields to keep the data sentto ADS small.Layout (Livecycle Designer)Data View: shows the context; drag fields onto thepage to create bound fields.Master page: page size (A4/Letter), margins,content area (where body content flows), staticheader/footer, page numbers.SubformsPositioned: fields at fixed x/y — for headerblocks.Flowed (top-to-bottom): content grows — requiredfor tables and variable text.3 · REMEMBER · WATCH OUTRememberSFP has three tabs for a form: Properties, Context (what data isavailable) and Layout (Adobe LiveCycle Designer).Master pages define the page frame (header, footer, logo, contentarea); body pages hold the flowing content.Subforms group fields; "flowed" subforms grow with content,"positioned" ones keep fixed coordinates.!Watch outOnly data in the context isavailable in the layout — if a fieldisn't in the context, binding it inthe layout does nothing.4 · IN A REAL PROJECTA new invoice form printed the item table only on page 1; items beyond the page were lost. The table sat in apositioned subform, which cannot grow or break across pages. Changing the parent subform to "flowed"and allowing page breaks let the table continue on following pages, with the master page repeating the header…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 1 explained the overall architecture of Adobe Forms; now we build a simple invoice form from scratch.

SFP has three tabs for a form: Properties, Context (what data is available) and Layout (Adobe LiveCycle Designer). Getting started means creating both an interface and a form: in SFP, create an interface ZAF_INV_IF — ABAP dictionary-based — importing IS_HEADER and IT_ITEMS, and then create a form ZAF_INVOICE assigned to that interface.

The Context tab is where you drag the interface's parameters — IS_HEADER, IT_ITEMS — into the context, so they become available to the layout. Only data in the context is available in the layout — if a field isn't in the context, binding it in the layout does nothing. Fields you don't actually need can be deactivated here to keep the data sent to Adobe Document Services (ADS) smaller, and text nodes, graphics or conditions can be added here too, as covered further in Part 7.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

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.