Professional Documents
Culture Documents
03.0 Terp24 605 Form-Based Processes
03.0 Terp24 605 Form-Based Processes
Invoicing
Taxes and Revenues Registering Taxpayers
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
FORM-BASED Processes
Registration activities or tax assessment and calculation are based on incoming
declaration.
Declarations are validated, exceptions are handled in the work center by a tax
officer.
The user interface can be designed as Adobe Interactive Form using the Adobe
Designer as part of NetWeaver or as Web Dynpro (ABAP).
In the standard, SAP is covering three main form processes: Registration, Tax
Returns and Refund Requests. The available framework is able to process any other
custom form-based process.
As examples of outcomes we can highlight billing documents, master data records,
accounting documents, workflow items, ……
UNIVERSAL WORKLIST
External
Data stream
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
For a complete
understanding of all
What is master data and
?
dependent processes who
can help you in your unit or what is transactional data?
organization ?
Version
Customer form dependent views:
As filed
As amended
As calculated
Time View
As corrected
dependent dependent
As audited
versions fields
Returns Registration
Adobe Livecycle Web Dynpro
Designer
Refunds
..
..
Form processes
© SAP – IPS520 – Form-Based Processes / Page 8
FORM-BASED PROCESSES
Define form - Basic data configuration
Define Forms
The scenario is used to define the Internal Service Request (ISR).
In the scenario, you define the fields for the tax form.
Only one version of a scenario can ever be valid at a time. Consequently, the
validity periods of different versions must not overlap.
At this point in time you should not generate the ISR – Form since the form
fields are still not defined.
Define all your fields depending on the form view assigning a field name to a
character type, reference and index number
If you want to compare form field values using form versions, you have to
define the field name in the predecessor form if it is different to the name in the
current form.
This Configuration will be needed when the tax officer compares values
between periods within the tax officer work center.
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
The layout can be created as Adobe Interactive Form or as Web Dynpro based
on the form scenario previously defined
As Adobe Forms
As WebDynpro
Design Forms
The form design specifies the layout, data capture and final presentation rules for
a specific form handling.
Supporting Features
Form authors can drag-and-drop images and other objects, such as list boxes,
drop-down lists and command buttons, onto their forms. They can design a form,
define its logic, modify it to match paper counterparts or meet strict legislative
requirements, and then preview the form before distributing it.
You can arrange the palettes in the workspace to suit your work style, hiding or
docking the frequently used.
This allows starting the form layout creation making usage of available fields
created before in the form definition.
Configuration
Tax Officer
Work Center
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
Revenue types correspond to tax types within the tax authority identifying the
source of revenue expected from the taxpayer on submission of the tax returns.
The form bundle type combines all the forms needed for a specific process
together with the set of rules and assessments required, e.g. Sales and Use
Tax Return or Registration for Corporation Taxes
Form-Based
Rules
Process
Form Revenue
Tax Periods Rules
Types Type(s)
Form
Revenue Revenue
Bundle
Type Type
Type
Transaction Reason Other Form
Types … Codes Configuration Types
Posting Posting
Document Document
Type Type
Form-based process
Each form bundle type is linked to one form-based process
Classification of real business process: SAP delivers TRM_REGISTRATION,
TRM_RETURN, TRM_REFUND as standard
Form-based process determines own status profile, correspondence Type for
Confirmation Letter and the configuration variant of the floorplan manager
Derive different posting control during re-assessment
Revenue type
Contract account category
Main and Sub Transaction: If no main/sub transaction is entered in the billing
document then a specific main/sub transaction is used
Billing document type: Once a tax return is billed a billing document is created.
You can enter here a billing document type for simulated and real billing
documents
Revenue type
The ID Type defines what alternative business partner number is used in the
tax officer cockpit (e.g. Social Security Number, SSN)
A revenue type maybe form-based or object-based.
Joint Filer: Certain tax types such as Personal Income Tax allow for joint filing.
If this flag is set, then a joint assessment of two taxpayers is possible for this
revenue type
A revenue type is assigned to a contract object type. Several revenue types
may be assigned to a contract object type. The assignment is time-dependent
based on the period key.
Assignment of workflow definition
Form type
Form Types define what types of forms are used (e.g. Adobe Interactive Forms,
Web Dynpro forms or table forms.
In addition you assign inbound correspondence categories to a form type.
Form type
In Configuration you have to assign a defined form and its scenario to a form type
in order to control form processing
Corrected In Processing
In Review
Corrected
UNIVERSAL WORKLIST
WORKFLOW INBOX
External
Data stream
System Status
A status the SAP System sets internally as a part of general status management.
This status tells the user that a certain business transaction was performed
for an object.
User Status
A status set by the user to complement the system status for a given status object.
You can use only a user status belonging to a status profile (defined in
Configuration) and assigned to the relevant status object.
You can use this activity to create status profiles for your own status (application
status)
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Exercise
Mass transaction for processing
forms
Tax officer work center
Appendix
Cover Form
The cover form contains the summary of all filed item lines, checks the
consistency of the individual item lines and calculates the filed and amended
sums and triggers messages in case of missing or wrong data
Table Form
The table form contains the individual line item information as defined in
configuration. It contains the mass data to be summarized and checked in the
cover form and diverse functionalities are available e.g. to copy or to transfer
data to new or other form bundles
For the usage of table forms a cover sheet and at least one schedule is
required. The cover sheet is created as an ISR scenario. The schedule is defined
as table form using the data dictionary.
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
Header (DFMCA_RETURN)
Form bundle data model
Return Attributes (DFMCA_RETURN)
Revenue Type
Taxpayer
Joint Filer
Taxpayer ID Tax Form (DFMCA_FORMS)
Joint Filer ID
Form Attributes (DFMCA_FORMS)
Account
Form ID
Registration ID Form Data
Receipt Date DFMCA_FORM_VERS
Joint Account 1:n 1:n
Amendment
Joint Registration Link to Document
Archive Link
Applied from/to
Period Key
Authorization Group
Consolidated by
Duplicate to
Form Process
Consolidated Return
Dates (Postmark etc.)
Attributes (Transaction Code etc.)
The TRM application allows you to log changes to the tax return and form data.
The changes are stored in change header table CDHDR and items table CDPOS.
Changes of the tax return header are stored with object ID FMCA_RETURN,
changes of form data are stored for object ID FMCA_FORMDATA.
In Configuration for the form views you can flag what views shall be logged for
changes.
UNIVERSAL WORKLIST
WORKFLOW INBOX
External
Data stream
Mainframe or
Migration
Client/Server Client/Server Dictionary Objects
Configuration
Program Module
Generation Migration Configuration
LOOP AT R2_r2tab.
Program
PERFORM RS3Iobj_LOOP_ST .
CHECK LCODE EQ ‘X’.
CLEAR r3tabs. “zu r2tab
LOOP AT R2_r2tab.
F ...
ENDLOOP.
L IF MG_TESTL NE ‘X’.
INSERT r3tab.
ENDIF.
PSCD/
ENDIF.
T ENDFORM.
R
A
TRM
N
S
F PSCD file
E system Direct Input
R
Interface
Structure
Legacy
Key and status
System Restart Management
Company code 0199 not found.
legacy system key ABC1234
legacy system key ABC4321
entry A123 not found in table Txyz
legacy system key ABC12234
Start import
Start batch runs in dialog Schedule
import runs import runs in
immediately batch
Display
migration Create / delete
statistics migration files
ABAP code
The transferred value from the
legacy system is available in
variable $C$.
The field in the SAP structure
is denoted by $S$.
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
UNIVERSAL WORKLIST
WORKFLOW INBOX
External
Data stream
Mass Transaction
FMCAPFPF
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
UNIVERSAL WORKLIST
WORKFLOW INBOX
External
Data stream
By default the following two TRM tasks are automatically displayed in the
NWBC inbox: TS22600008, TS22600061 in case the user is included in the list
of possible workflow agents.
IBO_C_WF_CAC
IBO_C_WF_TAC
IBO_C_WF_TTAC
Identification Area
+ + ==
ABAP
APIs
Applications provide the application specific UI FPM ensures consistency and guideline compliance
© SAP – IPS520 – Form-Based Processes / Page 60
Appendix
FORM-BASED PROCESSES
Content Overview
Define scenarios
Define forms
Exercise
Maintain form layout
Exercise
Form bundle type / Revenue type
Exercise
Use table forms
Upload forms
Mass transaction for processing
forms
Tax officer work center
Appendix
General function
The data view contains all objects you
defined and some standard objects like
general header data, control parameters
or user information. You can create the
content of a form design to correspond to a
full or partial data source. The available
data sources include XML schemas,
sample XML data files, and WSDL files.
Object binding
Once you connect to a data source, you
can bind an object in the form design to a
node in the data view palette. After
connection your field is enriched with an
icon and interacts with the data source.
General function
This palette is a graphical representation of
the contents in the body pages and master
pages tabs.
Defining page structures
All forms contain a root (parent) subform,
and every body page is created with a
default subform that covers the whole page.
When you add objects to a body page,
including another subform, the objects are
wrapped in the default subform for the page
automatically.
Clear overview
In addition, whatever you select in the
hierarchy palette is also selected in the
master page or body page it is associated
with.
Layout palette
This palette displays the following
information about the selected object:
The size and position of the object in
the page
The position of the anchor point
The margins
The caption position and width
Object depending properties
Font palette
Use this palette to change the font family,
size, and style of text in the selected object.
Paragraph palette
This palette lets you change the alignment,
indents, and line spacing of the selected
text. You can also set the radix alignment
for a numeric field object.
Object palette
Border palette
Script editor
Using the script editor, you can write scripts to
increase the form design's interacting
capabilities. As part of the form design
process, a form developer can create own
functions tailored towards own custom form
processing needs.
JavaScript and FormCalc are supported.
General functions
This palette contains all the objects that you
can add to a form design. Objects are
organized into groups. Each group is
contained in a tab labelled with the group's
name.
Available objects
The standard tab contains the core
drawing objects. The barcodes tab
contains a list of standard barcode objects,
and the custom tab contains individual
objects included with the designer and
your own defined ones.
It is possible to enrich your library with
further individual tabs to meet your needs.
Report palette
The report palette provides information
about the form design. You can view one or
more of the following reports:
A list of all fields that have normal data
binding
A list of all fields that have binding by
reference
A list of all fields that have global data
binding
A list of all fields with no data binding
A list of unbound data connection
nodes
The warnings tab lists errors and
messages that are reported as you
work in the form design
Layout editor
You create the body and master pages for
the form design in the layout editor using the
surrounding palettes.
You can also view and edit the form design's
XML source and preview the editable form
as PDF.
The PDF preview tab only appears when
Acrobat or Adobe Reader is installed.
Conversion rules for each field can easily be created and changed
Interface description
Display of the structures, their layout, their fields
Display of sample import files
Migration-specific documentation
Automation data of migration objects represent the maximum input for one direct
input module
Result is a set of Customer Structures for one Migration Object. This set of
structures can be displayed and downloaded
The import program reads the data in the layout of the customer structure
Runtime information
Name of server and file
directory, work process
type and char. set.
File name
Name of the sequencial
file that contains the
data to be imported.
Maintenance buttons
File information Here you can create,
Information from the file change, display, delete
header. the import files
Header information
Name of the migration
object and the file
PSCD_MIGRATION
creation data
PSCD_MIGRATION
Data
Field-by-field presentation of
data; change possible
PSCD_MIGRATION
Commit interval
When uploading tax returns the data structure provided by the taxpayer is to be
mapped to the corresponding TRM structures.
By maintaining rules for the fields of your migration object you can derive the
corresponding values.
Choose/define a conversion
Translation object for assigning output values
to this field
Basics:
The cockpit is wrapped by FPM (Floorplan Manager) and button actions by FPM
events
Design the user interface for the custom logics in Web Dynpro
A new Web Dynpro has to be built to serve as the action presenter and carrier.
The interface IF_FMCA_WDY_FPM_EVENT_POP has to be implemented to enable the data
swap. GET/SET function can handle all return header / form data as well as user defined
interaction parameters.
CL_FMCA_FPF_FORMPROC_REG,
CL_FMCA_FPF_FORMPROC_TAXRETURN,
CL_FMCA_FPF_FORMPROC_REFUND are BADI implementations for all events
in the cockpit for all kinds of standard form-based processes.