Beruflich Dokumente
Kultur Dokumente
July 2013
English
Contents
Working with Internal Tables ........................................................................................................................ 3
Calling Forms in Application Programs ......................................................................................................... 7
Collecting the Application Data .................................................................................................................. 10
Getting the Interface Fields ........................................................................................................................ 10
Page 2
Send it as an exporting parameter in the function module calling the PDF form.
Page 3
In some cases when using internal tables with currency and quantity fields, defining field names
and their reference fields would be important.
In form context, drag and drop the ITAB into the context folder.
Page 4
Finally in the layout tab, drag the ITAB from data view to the design page.
Activate the form and test the printing program the result would show a table as follows
according to the data on your testing server:
Page 5
Page 6
Page 7
*&---------------------------------------------------------------------*
*& Report ZPRINTING_PROGRAM
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT
ZPRINTING_PROGRAM.
"Selections
"Processing Data
"Data Declarations
DATA:
fm_name
fp_docparams
fp_outputparams
TYPE rs38l_fnam,
TYPE sfpdocparams,
TYPE sfpoutputparams.
Page 8
= FP_DOCPARAMS
=
=
=
=
1
2
3
4
IF SY-SUBRC <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
<error handling>
ENDIF.
Page 9
To use the address for example in the code, you can type LS_HEADER-ADRNR.
Page 10