Function Modules in ABAP PDF
Function Modules in ABAP PDF
Tanmaya Gupta
Bonn Boston
Contents at a Glance
Part I
System ........................................................................
43
Part II
83
Part III
Part IV
Part V
Part VI
Part VII
Part VIII
Part IX
Part X
Part XI
Part XII
Part XIII
Part XIV
Part XV
Contents
Acknowledgments ........................................................................................... 33
Introduction .................................................................................................... 35
ABAP4_CALL_TRANSACTION ................................................................ 45
ABAP_DOCU_DOWNLOAD ................................................................... 46
AUTHORITY_CHECK_RFC ...................................................................... 47
BP_EVENT_RAISE ................................................................................... 48
CAT_CHECK_RFC_DESTINATION ........................................................... 49
DB_COMMIT ......................................................................................... 50
FTP_COMMAND ................................................................................... 50
FTP_CONNECT ....................................................................................... 51
10
FTP_DISCONNECT ................................................................................. 52
11
HTTP_SCRAMBLE ................................................................................... 53
12
OWN_LOGICAL_SYSTEM_GET ............................................................... 54
13
PRETTY_PRINTER ................................................................................... 54
14
RFC_CONNECTION_CLOSE .................................................................... 55
15
RFC_READ_TABLE .................................................................................. 56
16
RS_DELETE_PROGRAM .......................................................................... 58
17
RSLG_WRITE_SYSLOG_ENTRY ............................................................... 60
18
SXPG_CALL_SYSTEM .............................................................................. 62
19
SXPG_COMMAND_CHECK .................................................................... 65
20
SXPG_COMMAND_EXECUTE ................................................................. 67
21
SXPG_COMMAND_LIST_GET ................................................................. 69
22
SXPG_DUMMY_COMMAND_CHECK ..................................................... 71
23
TH_DELETE_USER .................................................................................. 71
24
TH_ENVIRONMENT ............................................................................... 72
25
TH_GET_OWN_WP_NO ......................................................................... 73
Contents
26
TH_POPUP ............................................................................................
74
27
TH_REMOTE_TRANSACTION ................................................................
75
28
TH_SERVER_LIST ...................................................................................
76
29
TH_STOP_WP ........................................................................................
77
30
TH_USER_INFO .....................................................................................
78
31
TH_USER_LIST .......................................................................................
79
32
TRFC_RECEIVER_INFO ..........................................................................
80
33
USER_EXISTS .........................................................................................
81
DDIF_DOMA_GET .................................................................................
85
35
DDIF_DTEL_GET ....................................................................................
86
36
DDIF_FIELDINFO_GET ..........................................................................
87
37
DDIF_NAMETAB_GET ...........................................................................
89
38
DDIF_TABL_ACTIVATE ..........................................................................
92
39
DDIF_TABL_GET ....................................................................................
92
40
DDIF_TABL_PUT ...................................................................................
94
41
DDIF_VIEW_GET ...................................................................................
95
42
DEQUEUE_ALL ......................................................................................
96
43
DEQUEUE_E_TABLE ..............................................................................
97
44
ENQUEUE_E_TABLE ..............................................................................
98
45
46
47
48
49
50
51
52
53
54
Contents
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
74
75
76
77
78
79
80
81
82
83
Contents
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
10
Contents
11
Contents
12
Contents
13
Contents
14
Contents
15
Contents
16
Contents
17
Contents
Part VII: Frontend Services and Microsoft Office Integration ....... 421
332 ALSM_EXCEL_TO_INTERNAL_TABLE ..................................................... 423
333 EXCEL_OLE_STANDARD_DAT ............................................................... 423
334 EXECUTE_WINWORD ........................................................................... 425
335 FILE_GET_NAME ................................................................................... 425
336 FILENAME_GET ..................................................................................... 428
337 GUI_DOWNLOAD ................................................................................. 428
338 GUI_HAS_ACTIVEX ................................................................................ 433
339 GUI_IS_AVAILABLE ............................................................................... 434
340 GUI_IS_ITS ............................................................................................ 434
341 GUI_UPLOAD ........................................................................................ 434
342 KCD_EXCEL_OLE_TO_INT_CONVERT .................................................... 437
343 KD_GET_FILENAME_ON_F4 .................................................................. 438
344 MS_EXCEL_OLE_STANDARD_DAT ........................................................ 439
345 RH_START_EXCEL_WITH_DATA ............................................................ 440
346 RS_SEND_MAIL_FOR_SPOOLLIST ......................................................... 442
347 SAP_CONVERT_TO_XLS_FORMAT ........................................................ 443
348 SO_ATTACHMENT_INSERT_API1 .......................................................... 443
349 SO_ATTACHMENT_READ_API1 ............................................................. 445
350 SO_DLI_INSERT_API1 ............................................................................ 446
351 SO_DLI_READ_API1 .............................................................................. 447
352 SO_DOCUMENT_INSERT_API1 ............................................................. 449
353 SO_DOCUMENT_READ_API1 ................................................................ 450
354 SO_DOCUMENT_SEND_API1 ................................................................ 452
355 SO_NEW_DOCUMENT_ATT_SEND_API1 .............................................. 454
356 SO_NEW_DOCUMENT_SEND_API1 ...................................................... 456
18
Contents
19
Contents
20
Contents
21
Contents
22
Contents
23
Contents
24
Contents
25
Contents
26
Contents
27
Contents
28
Contents
29
Contents
30
Contents
31
Introduction
Function modules (or FMs, as well often refer to them throughout the book) are
templates that can be used and re-used within ABAP code in order to perform specific tasks. Instead of writing code to perform a certain functionality every time
that functionality is needed, programmers can simply call a function module template within the logic. Then the programmer needs only to fill out the template
with the details that are specific to his particular program, and the functionality is
executed.
For example, a common functionality required in an ABAP program is the need to
convert a value from an internal format (how the backend SAP system stores the
value) to an external format (how the user should view the value). If this functionality is required, there is no need for programmers to write a separate program every time they need it; rather, they can simply call a function module and supply
the necessary details that control how the value should be converted.
The most efficient programmers are those who have a commanding knowledge of
function modules, which can save the time of writing unnecessary custom code.
However, with about 7,000 function modules provided and released by SAP, understanding all of these FMs isnt an easy task.
This book is your guide to the most commonly used FMs in direct programming
activities. Weve also included common FMs that are related to SAP functionality
but are used in the background. For example, a user may receive an error, and the
error root cause is the FM executed in the background. Additionally, SAP uses FMs
in its standard delivered transactions. A user might want to redesign and customize those functionalities with some additional options and might need to use an
FM.
During our research for the book, we created, analyzed, and worked on a list of
thousands of released FMs, as well as some very common but not released FMs.
Based on our research, this book names and describes the most commonly used
FMs from that list of thousands, which we identified by searching where-used lists
35
Introduction
for each FM, as well as extensive help and Google searches. Our goal was to provide an invaluable reference for all those who work in ABAP development.
Note
Although you can use unreleased FMs in your programming, SAP offers no guarantee
that it will support these FMs in the future or that these FMs are correct. You can go to
a FMs ATTRIBUTE tab via Transaction SE37 to see if the FM is released.
Part I
Part I focuses on the FMs associated with systems. System here refers to SAP ERP
or SAP NetWeaver systems. This part deals with more of the Basis-related operations such as calling a new transaction, calling SAP NetWeaver from legacy systems, such as Java or Visual Basic (VB), or calling from an FTP server or a remote
location. This part also provides you with the FMs related to IP addresses, user authorizations, login and logoff of the user in the system, calling a transaction in another window, and so on.
36
Introduction
Part II
This part focuses on the ABAP Data Dictionary. This is the central repository of
ABAP, which describes and manages all of the data definitions used in the ABAP
system and the database. ABAP Data Dictionary supports the definition of user-defined types, such as data elements, structures, and table types. These types are used
in the ABAP processors and programs. It also defines the structure of database objects, such as tables, views, and indexes. These database objects are automatically
created in the underlying database with the definition of the ABAP Data Dictionary
when the objects are activated. It also provides editing tools such as search help
and lock objects.
Part III
This part includes FMs that are related to conversions of values from one format
to another, such as from character to float, from one SI unit to another, from spool
to PDF, and so on. FMs related to date, time, unit of measure, round off, and so
on are also covered in this part. This part also includes CONVERSION_EXIT FMs,
which are used to convert the SAP internal format to the user output format and
vice versa.
Part IV
This part includes FMs related to Batch Data Communication (BDC), ABAP List
Viewer (ALV), report programming, and screen programming. Report and screen
(dialog or module pool) programming are the main crux of the ABAP language. Reports are the executable programs that mainly deal with reporting; that is, fetching
the data from the database, processing it, and displaying the results. Results are displayed by ALV. This part defines various FMs such as those for calling an ALV, creating a field catalog for ALV, calling the BDC, reading and displaying the screen
values, and so on.
Part V
This part focuses on FMs related to form printing. SAPs first form technology was
SAPscript. In release 4.6, SAP introduced Smart Forms, which eased the creation
of form output by allowing modeling of logic and output using graphical tools. In
release 6.40, SAP introduced SAP Interactive Forms by Adobe, where the graphical
editor was much easier to use, provided many more functionalities, and rendered
output exactly as designed in the editor (PDF). This part contains the FMs used to
call the Smart Forms or Adobe Interactive Forms; reading, saving, and updating
the SAPscript texts; and so on.
37
Introduction
Part VI
This part contains various functions such as archives, number ranges, texts, and
strings that youll use while developing your programs. Youll use archives to store
the old data and information (which isnt in use) in your secondary storage so that
you free the current memory for usage while still being able to refer to the information whenever required.
Database records of the commercial objects such as purchase documents, sales documents, addresses, and so on are uniquely identified by a number or an ID. Number ranges assign the next available numbers to these commercial object database
records and help provide unique identification. This part also contains FMs for text
and string operations such as splitting the text based on some separator, concatenating strings, and so on.
Part VII
This part contains the FMs related to frontend services and Microsoft Office integration. Frontend services contain the FMs related to SAP GUI frontends such as
GUI_DOWNLOAD, which downloads the FMs to your computer, and GUI_UPLOAD, which uploads the FMs.
Office integration deals with the FMs related to Microsoft Office features such as
opening the file in Word and Excel.
Part VIII
An Intermediate Document (IDoc) is the data container used to transfer data between two systems. Application Link Enabling (ALE) and Electronic Data Interchange (EDI) are used for exchanging business data between different systems.
Data is distributed through ALE when you want to communicate from one SAP
system to one or more other (mostly SAP) systems. ALE transfers the data in IDoc
format and uses the tRFC (transactional RFC) method for data transfer. EDI, on the
other hand, is generally used if you want to transfer business application document with the external partner system like vendor or customer. This part focuses
on the ALE, EDI, and IDoc FMs; that is, FMs used to send IDoc data from one system to another.
Part IX
This part contains the FMs related to SAP users and their authorizations to execute
transactions. Users are maintained in Transaction SU01 (User Master), and data are
saved in user-specific tables, whose names generally start with USR such as
38
Introduction
USR01, USR02, USR03, and so on. This part contains the FMs that are used to set
user details such as an address, print the address in Smart Forms, and so on. This
part also contains the FM to check whether the user has relevant authorizations to
execute any transaction, to execute any ABAP Data Dictionary table or view, or to
access any file.
Part X
This part contains the FMs related to spools and jobs. A spool request is the document for which a print function has been selected and not yet been printed. The
spool system uses the spool request to store the print data temporarily and access
it. An output request is created for the spool request document that outputs the
print data of the spool request to a particular output device (e.g., printer).
SAP background processing automates routine tasks and helps you optimize your
organizations SAP computing resources. Background processing tells the SAP system to run programs for you. It also lets you move long-running or resource-intensive program runs to times when the system load is low. You can delegate the task
of running reports or programs to the system. Background processing isnt tied up
with the user interaction and dialog screens. This part covers FMs used for creating
a spool request, finding the spool request, opening the job, submitting the job for
background processing, closing the job, and so on.
Part XI
This part deals with communication with the user via messages or popups. Message texts (standard or custom) are generally used to provide information, warning, success, or error details to the user.
This part contains the FMs for creating a message, sending and collecting the messages for the message handler, and taking user confirmation in popup screens.
Popup screens are used to show the time and date, to display help, and so on.
Part XII
The Transport Management System plays an important role in the development
and customizing environment. All of the development is locked under the task of
the transport in the development system, which is moved to the quality system
and finally to the production system. The Transport Management System administers and controls the new development, and records the version of the changes
made for a particular program. This part focuses on FMs used in the Transport
Management System.
39
Introduction
Part XIII
Application logs are used for logging application events. This process is similar to
using a system log where system event information is recorded. The advantage of
an application log is that its a system-wide standardized process and is convenient
to analyze. Several application logs can be written at the same time by an application. This part defines the FMs related to application logs.
Part XIV
Business Application Programming Interfaces (BAPIs) define the API methods for
SAP business objects. These business object types and their BAPIs are described
and stored in the Business Object Repository (BOR). BAPIs are always remote function call (RFC) enabled, so they can also be called from external application systems
and other programs. BAPIs are also related to SAP components such as Sales and
Distribution (SD), Materials Management (MM), Production Planning (PP), Quality Management (QM), Warehouse Management (WM), and so on. This part contains all of the commonly used BAPIs.
Part XV
This part contains miscellaneous FMs that are important and commonly used but
cant be categorized into any of the preceding parts. Many component-specific
FMs that arent BAPIs are covered in this part.
Import
Import parameters are the parameters or values that you pass on to the FM to execute it correctly when youre in an ABAP program. Some of the import parameters are mandatory, and the rest are optional. Some import parameters are defined
with the default values; that is, if you dont pass any value, then the default values
are automatically passed.
40
Introduction
Export
Changing
Changing parameters indicate those parameters whose value is changed in the FM.
These parameters can be considered as import and export parameters; for example, an input value is passed in the FM. The value is used, and a new value after
execution of the FM is returned in the same parameter.
Tables
Table parameters contain the internal table that you want to pass in the FM. Table
parameters are also like changing parameters, in that some of the values can be
changed after the execution of the FM.
Exceptions
Exceptions are the errors or some exemptions that might have occurred during FM
execution. They generally return the messages that define what problem has occurred. Exceptions should be handled in the program that is calling the FM, and
the message explaining the exception should be displayed to the user.
41
Part IX
Users and Authorizations
This part of the book contains the function modules (FMs) related to users who are
using SAP and their authorizations to execute transactions. Users are maintained
in Transaction SU01 (User Master), and data are saved in user-specific tables,
whose names generally start with USR such as USR01, USR02, USR03 and so on.
This part contains the FMs that are used to set user details, such as an address;
printing the address in Smart Forms; and so on. This part also contains the FM to
check whether the user has relevant authorizations to execute any transaction, to
execute any ABAP Data Dictionary table or view, or to access any file.
ADDR_DIALOG
384 ADDR_DIALOG
This FM displays the dialog box in which you
can maintain the complete address of a user,
vendor, third party, and so on. FM ADDR_
DIALOG_PREPARE (FM 385) must be called if
you want to parameterize the dialog box, including its title, field selection, exclude functions, and so on.
Example: You want to maintain the address of
any person that exists in your SAP system. If
you want to parameterize the address dialog
box; that is, cause only those specific settings
to appear in the address dialog box, you can
call FM ADDR_DIALOG_PREPARE (FM 385)
first. You can call this FM to open the address
dialog box screen and maintain the address
without
calling
FM
ADDR_DIALOG_
PREPARE (FM 385), which opens the address
dialog box with default settings. You can
maintain addresses in this dialog box.
Import
CHECK_ADDRESS
If this parameter is set to X, the address contents are checked. The default value is X.
Type: SZAD_FIELD-FLAG.
SUPPRESS_TAXJURCODE_CHECK
Export
OK_CODE
Passed for the calling program. Type: SYUCOMM.
Tables
NUMBER_HANDLE_TAB
Transfer table of addresses to be processed.
Type: ADDR1_DIA.
VALUES
Return table with maintained address data.
Type: ADDR1_DATA.
Exceptions
ADDRESS_NOT_EXIST
Address does not exist or is invalid.
GROUP_NOT_VALID
Address group does not exist or is invalid.
PARAMETER_ERROR
The Tax Jurisdiction Code field is suppressed and isnt handled if this parameter is
X. The default value is (Space). Type: SZAD_
FIELD-FLAG.
IV_TIME_DEPENDENT_COMM_DATA
INTERNAL_ERROR
487
384
IX
385 ADDR_DIALOG_PREPARE
This FM sets parameters for address maintenance or filtering conditions for field selection, which reduces the parameters of address
dialog screen. This FM should be called before
calling the address maintenance dialog (from
FM ADDR_DIALOG [FM 384]) to set up application-specific parameters for the address dialog. These address settings are valid until the
end of the LUW or until the FM is called again
and overwrites them.
Example: If you want to change the title bar of
the address dialog screen, exclude/include any
pushbutton, or apply some other condition,
you can pass these parameters in this FM,
which parameterizes the address dialog
screen. Next, when you call FM ADDR_DIALOG (FM 384), it displays the changes you
made to parameterize the address dialog box.
FIELD_SELECTION_FOR_NATION
Field for the selection control structure.
Type: ADDR1_FSEL-FISEL.
USE_FS_FOR_NATION
Checkbox field. Type: SZAD_FIELD-FLAG.
KEYWORDS
Dynamic key word structure. Type: ADDR1_
KEYW.
TITLEBAR
Address maintenance screen title bar. Type:
SY-TITLE.
CHANGE_DEFAULT_COMM_TYPES
Import
FIELD_SELECTION
Field selection control template. Each character in this parameter string controls an address maintenance screen field group,
depending on the characters position and
the field group number. Example: the 22nd
character controls the field to which 022 is
assigned as the 4th modification screen
group. Possible Control characters are (minus, hide the field), (period, display field as
optional field), + (plus, display field as required), * (asterisk, display only field),
((Space), standard settings of field) and #
(hash, field will be always visible on the
standard maintenance screen). Type:
ADDR1_FSEL-FISEL.
488
ADDR_GET
USE_PSEUDO_REQUIRED_FIELDS
Display required entry fields as pseudo-required entry fields. Type: XFELD.
Exceptions
INTERNAL_ERROR
Serious internal error (MESSAGE A...).
IV_TIME_DEPENDENCE
Title bar is prepared from FM
ADDR_DIALOG_PREPARE.
Tables
EXCLUDED_FUNCTIONS
GUI status functions to be excluded.
INCLUDED_FUNCTIONS
Additional functions to include.
ERROR_TABLE
Table with errors, warnings, and information. Type: ADDR_ERROR.
386 ADDR_GET
This FM reads the address of an entity in the
SAP system without the dialog box screen. If
you want the details of the address and want
to build your other program logic, you can call
this FM to read the address details.
Example: To get the address for a plant on the
selection screen, you can pass the parameter
and call this FM.
Import
ADDRESS_SELECTION
Specification of an address. In the calling
program, normally only the address number
is recognized by a foreign key relationship
(e.g., plant T001W-ADRNR, purchasing organization TVKO-ADRNR). The address
number is to be passed to the parameter
ADDRNUMBER.
Addresses created but not yet stored in the
local memory can be identified and read
489
386
IX
Export
ADDRESS_VALUE
Return data for an address. Type: ADDR1_
VAL.
ADDRESS_GROUP
ADDRESS_ADDITIONAL_INFO
Address group. Entering an address group
can trigger special handling: The system
checks whether the data conversion from
SADR to ADRC has already occurred for the
addresses in the corresponding address
group.
In any case, both return parameters ADDR1_
VAL and SADR are filled.
If an address group whose addresses have
already been converted is passed, ADRC is
read, and the structure SADR is returned
filled, in addition to ADDR1_VAL.
If no conversion has occurred, table SADR is
read, and the SADR structure is returned;
structure ADDR1_DATA from SADR is also
filled. Type: ADRG-ADDR_GROUP.
READ_SADR_ONLY
Read in table SADR only. Type: SZAD_
FIELD-FLAG.
READ_TEXTS
If this parameter is set to X, address texts are
also read. Type: SZAD_FIELD-FLAG.
IV_CURRENT_COMM_DATA
This parameter determines the current
status of communication data. Type: AD_
COMCURR.
Tables
ADDRESS_GROUPS
Address groups to which the address is assigned. Type: ADAGROUPS.
ERROR_TABLE
Table with errors, warnings, and information. Type: ADDR_ERROR.
VERSIONS
Table with international versions. Type:
ADDR_VERS.
490
ADDR_GET_COMPLETE
Exceptions
PARAMETER_ERROR
VERSION_NOT_EXIST
International version of the address does not
exist.
387 ADDR_GET_COMPLETE
This FM provides you with all of the details
for the given address number or address handle, including all of the communication types
and notes about the address or communication type. All of the valid communication
types are defined in table TSAC(T).
Example: To get the complete address of the
plant on your selection screen along with the
communication details for that address, you
can pass the parameter to and call this FM.
Import
ADDRNUMBER
Address number for which you want the
complete information. This parameter is a
key of the database table. Type: ADDR1_
SEL-ADDRNUMBER.
ADDRHANDLE
Address handle for which you want the complete information. This is a temporary key
for the address. Type: ADDR1_SELADDRHANDLE.
ARCHIVE_HANDLE
Read address from archive. Type: SY-TABIX.
IV_CURRENT_COMM_DATA
This parameter determines the current status of communication data The default value
is X. Type: AD_COMCURR.
Export
ADDR1_COMPLETE
The complete address object (including communication) is returned in this parameter.
Type: SZADR_ADDR1_COMPLETE.
Exceptions
PARAMETER_ERROR
Incorrect parameter values.
ADDRESS_NOT_EXIST
Address does not exist.
491
387
IX
INTERNAL_ERROR
WRONG_ACCESS_TO_ARCHIVE
388 ADDR_INSERT
This FM inserts an address without a dialog.
This FM creates an address in the local memory of the function group SZA0. These FMs are
also used in this process:
Import
ADDRESS_DATA
LANGUAGE
ADDRESS_GROUP
492
CHECK_EMPTY_ADDRESS
Address input must be checked. Type:
SZAD_FIELD-FLAG.
CHECK_ADDRESS
If this parameter is set to X, the address contents are checked. The default value is X.
Type: SZAD_FIELD-FLAG.
ADDR_MEMORY_CLEAR
Export
Exceptions
ADDRESS_DATA
ADDRESS_EXISTS
RETURNCODE
Incorrect parameter values.
Return code of the address. if the value of
the return code isnt equal to (Space), at
least one message is stored in the table
ERROR_TABLE. Type: SZAD_FIELDRETURNCODE.
INTERNAL_ERROR
Serious internal error (MESSAGE A...).
Tables
ERROR_TABLE
Table with errors, warnings, and information. Type: ADDR_ERROR.
389 ADDR_MEMORY_CLEAR
This FM deletes the local memory contents.
All address data changes made since the first
call of any FM or the last local memory save
are discarded. This FM should be called after
extensive read operations or when returning
to the application.
Import
FORCE
If this parameter is X, unsaved data are also
cleared. Type: SZAD_FIELD-FLAG.
493
389
IX
Exceptions
UNSAVED_DATA_EXIST
INTERNAL_ERROR
Some internal error occurred.
390 ADDR_MEMORY_SAVE
This FM saves all of the address data from the
local memory to the database. All address data
changes made since the first call of any FM in
the function group are then permanent.
Example: Youre creating an address from FM
ADDR_INSERT (FM 388). To save the address
to the respective database table, call this FM.
Refer to FM ADDR_INSERT (FM 388).
Import
EXECUTE_IN_UPDATE_TASK
Database update in the dialog or in the update task. Type: SZAD_FIELD-FLAG.
Exceptions
ADDRESS_NUMBER_MISSING
Missing address number for new address.
PERSON_NUMBER_MISSING
Missing person number for new person.
INTERNAL_ERROR
Serious internal error (MESSAGE A...).
DATABASE_ERROR
Error when writing to the database (dialog).
REFERENCE_MISSING
Reference is missing.
391 ADDR_NUMBER_GET
This FM assigns an address number; that is,
converts a temporary address number (address handle) into a permanent address number, which is saved in the database key.
494
ADDR_NUMBER_GET
Import
OWNER
This parameter indicates that the application
object is the owner of the address. Type:
SZAD_FIELD-FLAG.
TABLE_NAME
ADDRESS_HANDLE
Address handle for which you want the complete information. This is a temporary key
for the address. Type: SZAD_FIELDHANDLE.
ADDRESS_REFERENCE
Address reference for the BAS where-used
list. The consistency of the where-used list
determines the reference integrity for deleting and archiving addresses and is also required for identifying the owner object of an
address. Type: ADDR_REF.
PERSONAL_ADDRESS
Personal address indicator. The default value
is (Space). Type: ADRC-PERS_ADDR.
Export
ADDRESS_NUMBER
Number taken from the number range.
Type: ADRC-ADDRNUMBER.
NUMBERRANGE_NUMBER
Number range from which the number is
taken. Type: INRI-NRRANGENR.
RETURNCODE_NUMBERRANGE
Return code when taking the number. Type:
INRI-RETURNCODE.
E071K_WA
Prepopulated structure for the transport entry. Type: E071K.
GENERATE_TRANSPORT_ENTRIES
If this parameter is set to X, entries are generated for the transport request. Type:
SZAD_FIELD-FLAG.
Tables
E071K_TAB
All transport entries that belong to the address. Type: E071K.
495
391
IX
Exceptions
INTERNAL_ERROR
ADDRESS_HANDLE_NOT_EXIST
PARAMETER_ERROR
Incorrect parameter values.
392 ADDRESS_INTO_PRINTFORM
This FM formats an address for printing in the
correct postal form with the required number
of lines from the input. This FM also returns a
short address; that is, the name and city oneline short address for the data carrier. Many
country-specific formats are supported that
correspond to the postal regulations of recipient countries.
Example: If your application isnt using the
Business Address Services (BAS) for addresses,
but you still want to have country-specific
addresses displayed in your form, you can do
pass the relevant parameters into and call this
FM. When you call this FM, youll receive the
country-specific address that can be used for
printing the address.
Import
ADRSWA_IN
Address data/control parameter. This parameter is only used in address type (Space).
Type: ADRS.
ADDRESS_1
Address data transfer structure for type 1.
Type: ADRS1.
496
ADDRESS_2
Address data transfer structure for type 2.
Type: ADRS2.
ADDRESS_3
Address data transfer structure for type 3.
Type: ADRS3.
ADDRESS_TYPE
There are three address types:
ADDRESS_INTO_PRINTFORM
ADDRESS_NUMBER
NUMBER_OF_LINES
LINE_PRIORITY
Type: ADRC-ADDRNUMBER.
COUNTRY_NAME_IN_RECEIVER_LANGU
ADDRESS_HANDLE
Address handle for which you want the complete information. This is a temporary key
for the address. Type: SZAD_FIELDHANDLE.
If this parameter is set to X, the country outputs in the recipient language. Type: SZAD_
FIELD-FLAG.
LANGUAGE_FOR_COUNTRY_NAME
PERSON_HANDLE
NO_UPPER_CASE_FOR_CITY
Person handle for which you want the complete information. Type: SZAD_FIELDHANDLE.
PERSON_NUMBER
SENDER_COUNTRY
Sender country (for type 1, 2, and 3). Type:
SZAD_FIELD-SEND_CNTRY.
RECEIVER_LANGUAGE
Recipient language (for type 1, 2, and 3).
Type: T002-SPRAS.
497
392
IX
IV_NATION_SPACE
ADDRESS_PRINTFORM
IV_PERSON_ABOVE_ORGANIZATION
ADDRESS_SHORT_FORM
IS_BUPA_TIME_DEPENDENCY
ADDRESS_SHORT_FORM_S
Transfer structure for time dependency.
Type: ADBUPA_TD.
IV_LANGU_CREA
ADDRESS_DATA_CARRIER
Language key. Type: T002-SPRAS.
IV_DISPLAY_COUNTRY_IN_SHRTFORM
Display country key in short form. Type:
XFELD.
Export
ADRSWA_OUT
NUMBER_OF_USED_LINES
NAME_IS_EMPTY
A one-line short address for Payment without documents by data carrier exchange
(DCE) is returned in the field LINED. This
usually comprises the postal code, city, and
country, and is formatted specific to the
country. Type: ADRS.
498
ADDRESS_SHOW_PRINTFORM
ADDRESS_PRINTFORM_TABLE
ADDRESS_SHORT_FORM_WO_NAME
Formatted address in table form. The formatted address is returned in an internal table. LINE_TYPE specifies the line type
(name, city, street, etc.) per line. Type:
SZADR_PRINTFORM_TABLE.
393 ADDRESS_SHOW_PRINTFORM
This FM displays the formatted address in a
popup.
Example: To display the print preview of an
address according to the postal guidelines of a
country, call this FM and fill in the parameters, and the address appears in a popup.
Import
ADDRESS_1
Address data transfer structure for type 1.
Type: ADRS1.
ADDRESS_2
Address data transfer structure for type 2.
Type: ADRS2.
ADDRESS_3
Address data transfer structure for type 3.
Type: ADRS3.
ADDRESS_TYPE
There are three address types:
499
393
IX
Type: ADRC-ADDRNUMBER.
LINE_PRIORITY
Line suppression sequence. Type: SZAD_
FIELD-PRIORITY.
ADDRESS_HANDLE
COUNTRY_NAME_IN_RECEIVER_LANGU
Address handle for which you want the complete information. This is a temporary key
for the address. Type: SZAD_FIELDHANDLE.
PERSON_NUMBER
LANGUAGE_FOR_COUNTRY_NAME
PERSON_HANDLE
Person handle for which you want the complete information. Type: SZAD_FIELDHANDLE.
SENDER_COUNTRY
Sender country (for type 1, 2, and 3). Type:
SZAD_FIELD-SEND_CNTRY.
NO_UPPER_CASE_FOR_CITY
International post guidelines specify that the
city and country in foreign addresses are
output in uppercase.
If this parameter is set to X, there is no conversion to uppercase. If (Space), country
and city are converted to uppercase. Type:
SZAD_FIELD-FLAG.
RECEIVER_LANGUAGE
Recipient language (for type 1, 2, and 3).
Type: T002-SPRAS.
IS_BUPA_TIME_DEPENDENCY
Transfer structure for time dependency.
Type: ADBUPA_TD.
NUMBER_OF_LINES
Max. line length for the formatting (type 1,
2, and 3). The default value is 10. Type:
ADRS-ANZZL.
STREET_HAS_PRIORITY
If this parameter is set to X, street has priority over PO box. Type: SZAD_FIELDSTREETPRIO.
Export
ADDRESS_PRINTFORM
Formatted address (type 1, 2, and 3). Type:
ADRS_PRINT.
ADDRESS_SHORT_FORM
Short form of the formatted address (type 1,
2, and 3). Type: SZAD_FIELD-ADDR_
SHORT.
500
AUTHORITY_CHECK_DATASET
ADDRESS_DATA_CARRIER
ADDRESS_NOT_FOUND
NUMBER_OF_USED_LINES
Number of lines occupied (type 1, 2, and 3).
Type: ADRS-ANZZL.
NAME_IS_EMPTY
Flag: Name fields empty, no formatting.
Type: SZAD_FIELD-FLAG.
EV_EXIT_CAUSED_BY_CALLER
Delete list in CALLBACK_USER_COMMAND. Type: CHAR1.
EV_EXIT_CAUSED_BY_USER
How the user left the list. Type: SLIS_EXIT_
BY_USER.
394 AUTHORITY_CHECK_DATASET
This FM allows you to check authorizations to
access files with the key words OPEN
DATASET, READ DATASET, TRANSFER, and
DELETE DATASET. The authorization check is
performed using the authorization object S_
DATASET.
Example: You want to access the file ABC. Before opening the file, first you need to check if
youre authorized to access the file. You can
pass the parameters into and call FM
AUTHORITY_CHECK_DATASET. Youll get an
exception if youre not authorized to access
the file.
ACTIVITY
Access type. Possible values are:
Type: C.
Import
FILENAME
PROGRAM
ABAP program from which authorization
needs to be checked. If no program name is
501
394
IX
Exceptions
NO_AUTHORITY
ACTIVITY_UNKNOWN
Access type unknown.
395 AUTHORITY_CHECK_TCODE
This FM checks whether youre authorized to
execute a transaction code. The authorization
check is performed using the authorization
object S_TCODE. S_TCODE is the authorization object linked with the transaction code
authorization.
Example: You want your transaction to be executed only by authorized users. You need to
pass the parameters and call this FM in the
INITILIZATION event so that the transaction
can be loaded only for the authorized users.
You can also use the ABAP command
AUTORITY-CHECK OBJECT for the same purpose.
Import
TCODE
Transaction code. Type: TSTC-TCODE.
Exceptions
OK
Authorized for the transaction.
NOT_OK
Not authorized for the transaction.
396 SUSR_USER_AUTH_FOR_OBJ_GET
This FM displays authorizations for a specified
object belonging to a user. User authorizations
are displayed in an internal table. Its also possible to restrict the authorizations to specified
authorization objects.
Example: You want to know whether you
have authorization to start Transaction SU01.
502
SUSR_USER_AUTH_FOR_OBJ_GET
Import
Tables
NEW_BUFFERING
VALUES
MANDANT
SAP system and client number. Type: SYMANDT.
Exceptions
USER_NAME_NOT_EXIST
User name does not exist.
USER_NAME
NOT_AUTHORIZED
User name in user master record. This is a
mandatory parameter. Type: USR02BNAME.
No authorization.
INTERNAL_ERROR
SEL_OBJECT
Internal error.
Authorization object for restriction. If this
parameter is passed, only the permissions to
the object SEL_OBJECT are displayed. Type:
UST12-OBJCT.
503
396
Index
A
ABAP
download keyword document information, 46
download spool list details, 531
spool list, 535
statement MESSAGE, 561
ABAP Data Dictionary
create field catalog, 276
create/activate table, 92
field catalog for ALV, 269
FIELDS, 570
key word, 569
read data element, 86
read domain, 85
read table, 92
read type, 87, 89
read view, 95
save inbound IDoc in DB tables, 480
specifying fields, 569
transaction tables, 297
validate/check table field values, 574
write table information, 94
ABAP Data Dictionary type
get runtime information, 89
ABAP field
read from container, 937
write in container, 937
ABAP memory
retrieve list, 267
ABAP program
get list of global data, 913
return list of all global data, 913
ABAP source code
rearrange, 54
ABAP Workbench, 306
TADIR, 613
ABAP_DOCU_DOWNLOAD, 46
ABAP4_CALL_TRANSACTION, 45
Account balance
return from key date, 683
Accounting
billing document, 660
Accounting (Cont.)
post/reverse manual cost allocation, 675
update business transaction, 669
validate business transactions, 668
Accounting period
determine first/last day, 218
ActiveX
GUI supported controls, 433
Activity allocation document
post, 659
Actual data
post to SAP, 718
ADD_TIME_TO_DATE, 147, 232
ADDR_DIALOG, 487
ADDR_DIALOG_PREPARE, 488
ADDR_GET, 489
ADDR_GET_COMPLETE, 491
ADDR_INSERT, 492
ADDR_MEMORY_CLEAR, 493
ADDR_MEMORY_SAVE, 494
ADDR_NUMBER_GET, 494
Address
change, 688
convert address handle into a permanent
address number, 494
create in local memory SZA0, 492
data save from local memory to DB, 494
delete for business partner, 693
dialog, 488
discarded data changes, 493
display dialog box to maintain address, 487
display formatted address in a popup, 499
format for printing, 496
get complete details for a given address
number/handle, 491
insert address without a dialog, 492
maintenance, 488
number, 494
read address without dialog, 489
read for business partner, 691
return short address for data carrier, 496
set parameters for address maintenance, 488
945
Index
946
APPL_LOG_DISPLAY_INTERN, 623
APPL_LOG_INIT, 624
APPL_LOG_INIT_MESSAGES, 624
APPL_LOG_READ_DB, 625
APPL_LOG_READ_INTERN, 626
APPL_LOG_SET_OBJECT, 628
APPL_LOG_WRITE_DB, 629
APPL_LOG_WRITE_HEADER, 629
APPL_LOG_WRITE_LOG_PARAMETERS, 630
APPL_LOG_WRITE_MESSAGE_PARAMS,
631
APPL_LOG_WRITE_MESSAGES, 632
APPL_LOG_WRITE_SINGLE_MESSAGE, 631,
632, 633
Application
give authorization to parent program, 644
Application log, 40, 619
add message to application log, 651
analyze local memory, 623
assign authorization to perform critical
functions, 644
check if specified subobject exists, 628
configure at start of transaction, 646
delete all logs from main memory, 647
delete all protocols, 621
delete existing entries for object/subobject in
local memory, 624
delete log header and messages from memory,
655
delete message, 653
display, 637
display in standard transaction format, 643
display messages in popup, 641
display selected, 622
initialize local memory, 624
insert free text with log handle, 652
open header data, 649
print, 639
read from database/load to memory, 625
read messages and text, 654
read object/subobject data from local
memory, 626
refresh entire memory, 647
reset authorization key, 645
return existing configuration, 645
Index
947
Index
Authorization (Cont.)
check, 47, 128
check to open file with keyword, 501
check to table, 128
check to view, 128
check user for executing commands, 65
check user for text module, 327
check user to execute external command, 67
object belonging to user, 502
reset key, 645
Authorization object
S_DATASET, 501
S_TCODE, 502
B
Background event
trigger, 48
Background job
close, 869
close requests, 521
create, 525
delete aborted, 507
find request, 507
pass to background processing system, 521
processing, complete, 868
read runtime data, 517
Background processing, 505
creates job from external system, 869
get status of job, 870
interface, 514
Background processing system
start background job, 48
BAL_DB_DELETE, 634
BAL_DB_LOAD, 635, 637
BAL_DB_SAVE, 636
BAL_DB_SEARCH, 634, 635, 637
BAL_DSP_LOG_DISPLAY, 637, 641, 643, 654
BAL_DSP_LOG_PRINT, 639
BAL_DSP_PROFILE_*, 639
BAL_DSP_PROFILE_DETLEVEL_GET, 640
BAL_DSP_PROFILE_NO_TREE_GET, 641
BAL_DSP_PROFILE_POPUP_GET, 641
BAL_DSP_PROFILE_SINGLE_LOG_GET, 642
BAL_DSP_PROFILE_STANDARD_GET, 643
BAL_GLB_AUTHORIZATION_GET, 644, 646
948
BAL_GLB_AUTHORIZATION_RESET, 644,
645
BAL_GLB_CONFIG_GET, 645
BAL_GLB_CONFIG_SET, 644, 646
BAL_GLB_MEMORY_REFRESH, 644
BAL_GLB_SEARCH_LOG, 636, 647, 648
BAL_GLB_SEARCH_MSG, 648
BAL_LOG_CREATE, 649
BAL_LOG_HDR_READ, 650
BAL_LOG_MSG_ADD, 651
BAL_LOG_MSG_ADD_FREE_TEXT, 652
BAL_LOG_MSG_DELETE, 653
BAL_LOG_MSG_DELETE_ALL, 654, 655
BAL_LOG_MSG_READ, 648, 654
BAL_LOG_REFRESH, 654, 655
BAPI
asynchronous, 465, 467
characteristics class hierarchy, 704
determine ALE distribution model, 466
execute ROLLBACK WORK, 850
F4 help, 741
parameter, 741
read and get details of planned order, 785
synchronous, 466, 468
BAPI_ACC_ACTIVITY_ALLOC_POST, 659
BAPI_ACC_BILLING_POST, 660
BAPI_ACC_DOCUMENT_CHECK, 662, 665,
666, 667, 669, 670, 674, 675
BAPI_ACC_DOCUMENT_POST, 663, 665
BAPI_ACC_DOCUMENT_REV_POST, 667,
674
BAPI_ACC_GL_POSTING_CHECK, 668
BAPI_ACC_GL_POSTING_POST, 668, 669
BAPI_ACC_GL_POSTING_REV_POST, 670
BAPI_ACC_INVOICE_RECEIPT_CHECK, 671
BAPI_ACC_INVOICE_RECEIPT_POST, 671,
673
BAPI_ACC_MANUAL_ALLOC_POST, 675
BAPI_ALM_CONF_CREATE, 676
BAPI_ALM_NOTIF_CREATE, 677
BAPI_ALM_NOTIF_SAVE, 677, 679
BAPI_ALM_ORDER_GET_DETAIL, 679
BAPI_ALM_ORDER_MAINTAIN, 681
BAPI_AR_ACC_GETKEYDATEBALANCE, 683
BAPI_AR_ACC_GETOPENITEMS, 684
BAPI_AR_ACC_GETPERIODBALANCES, 685
Index
BAPI_ASSET_RETIREMENT_POST, 685
BAPI_BILLINGDOC_CANCEL1, 686
BAPI_BILLINGDOC_CREATEMULTIPLE, 687
BAPI_BUPA_ADDRESS_CHANGE, 688, 693
BAPI_BUPA_ADDRESS_GETDETAIL, 691
BAPI_BUPA_ADDRESS_REMOVE, 693
BAPI_BUPA_CENTRAL_CHANGE, 693
BAPI_BUPA_CENTRAL_GETDETAIL, 696
BAPI_BUPA_CREATE_FROM_DATA, 698
BAPI_BUS2001_SET_STATUS, 812, 871
BAPI_CHARACT_CREATE, 700, 704
BAPI_CHARACT_GETDETAIL, 701
BAPI_CLASS_CHANGE, 702, 705
BAPI_CLASS_CREATE, 700, 704, 706
BAPI_CLASS_GET_CHARACTERISTICS, 703,
705
BAPI_CLASS_GET_DETAILS, 703
BAPI_CLASS_GETDETAIL, 706
BAPI_CLASS_GETDETAILS, 707
BAPI_CLASS_GETSTATUS, 707
BAPI_COMPANYCODE_GET_PERIOD, 708
BAPI_COMPANYCODE_GETLIST, 709
BAPI_CONTRACT_CHANGE, 709, 715
BAPI_CONTRACT_CREATE, 712
BAPI_CONTRACT_GETDETAIL, 709, 715
BAPI_COPAACTUALS_POSTCOSTDATA, 718
BAPI_COPAPLANNING_GETDATA, 719
BAPI_COPAPLANNING_POSTDATA, 719,
720
BAPI_CURRENCY_CONV_TO_EXTERNAL,
182, 721
BAPI_CURRENCY_CONV_TO_INTERNAL,
721
BAPI_CUSTOMER_CHANGEFROMDATA1,
722
BAPI_CUSTOMER_CREATE, 723
BAPI_CUSTOMER_GETLIST, 724
BAPI_CUSTOMERINQUIRY_CHANGE, 724
BAPI_CUSTOMERQUOTATION_CHANGE,
727
BAPI_ENTRYSHEET_CREATE, 729
BAPI_EQUI_CHANGE, 730
BAPI_EQUI_CREATE, 731
BAPI_FIXEDASSET_CHANGE, 732
BAPI_FIXEDASSET_CREATE1, 735
BAPI_GOODSMVMT_GETITEMS, 738
BAPI_GOODSMVT_CANCEL, 738
BAPI_GOODSMVT_CREATE, 739
BAPI_GOODSMVT_GETITEMS, 740
BAPI_HELPVALUES_GET, 741
BAPI_HU_CREATE, 743
BAPI_HU_PACK, 744
BAPI_HU_UNPACK, 744
BAPI_IBAN_CHANGE, 745
BAPI_INB_DELIVERY_CONFIRM_DEC, 746
BAPI_INSPECTIONPLAN_CREATE, 748
BAPI_INTERNALORDER_CREATE, 750
BAPI_MATERIAL_AVAILABILITY, 751
BAPI_MATERIAL_BOM_GROUP_CREATE,
753
BAPI_MATERIAL_DELETE, 754
BAPI_MATERIAL_EDIT, 754
BAPI_MATERIAL_GET_ALL, 755
BAPI_MATERIAL_GET_DETAIL, 755, 757
BAPI_MATERIAL_GETLIST, 758
BAPI_MATERIAL_SAVEDATA, 759
BAPI_MATERIAL_SAVEREPLICA, 762
BAPI_MATERIAL_STOCK_REQ_LIST, 765
BAPI_NETWORK_COMP_ADD, 768
BAPI_OBJCL_CHANGE, 769, 772, 773
BAPI_OBJCL_CREATE, 770
BAPI_OBJCL_GETCLASSES, 771
BAPI_OBJCL_GETDETAIL, 772
BAPI_OBJCL_GETDETAIL_KEY, 773
BAPI_OBJCL_GETSTATUS, 774
BAPI_OUTB_DELIVERY_CONFIRM_DEC,
775
BAPI_OUTB_DELIVERY_CREATE_SLS, 778
BAPI_OUTB_DELIVERY_CREATE_STO, 779
BAPI_PLANNEDORDER_CHANGE, 781
BAPI_PLANNEDORDER_CREATE, 782
BAPI_PLANNEDORDER_DELETE, 783
BAPI_PLANNEDORDER_EXIST_CHECK, 784
BAPI_PLANNEDORDER_GET_DET_LIST, 786
BAPI_PLANNEDORDER_GET_DETAIL, 785
BAPI_PO_CHANGE, 786, 795
BAPI_PO_CREATE1, 791
BAPI_PO_GETDETAIL1, 795
BAPI_PO_GETITEMS, 798
BAPI_PO_RELEASE, 799
BAPI_PO_RESET_RELEASE, 801
BAPI_PR_CHANGE, 802
949
Index
BAPI_PR_CREATE, 804
BAPI_PRODORD_CHANGE, 807
BAPI_PRODORD_CREATE, 808
BAPI_PRODORDCONF_CREATE_HDR, 809
BAPI_PRODORDCONF_CREATE_TT, 810
BAPI_PS_INITIALIZATION, 812, 871
BAPI_PS_PRECOMMIT, 812, 871
BAPI_QUOTATION_CREATEFROMDATA2,
813
BAPI_REQUIREMENT_CREATE, 815
BAPI_REQUIREMENTS_CHANGE, 816
BAPI_REQUIREMENTS_CREATE, 818
BAPI_REQUISITION_CHANGE, 819
BAPI_REQUISITION_CREATE, 820
BAPI_REQUISITION_DELETE, 822
BAPI_REQUISITION_RELEASE, 822
BAPI_RESERVATION_CHANGE, 824, 826
BAPI_RESERVATION_CREATE1, 825
BAPI_RESERVATION_GETDETAIL1, 826
BAPI_RESERVATION_GETDETAILS1, 824
BAPI_ROUTING_CREATE, 827
BAPI_SAG_CHANGE, 829, 836
BAPI_SAG_CREATE, 832
BAPI_SAG_GETDETAIL, 829, 836
BAPI_SALESORDER_CHANGE, 839, 849, 850
BAPI_SALESORDER_CREATEFROMDAT2,
841
BAPI_SALESORDER_GETLIST, 844
BAPI_SALESORDER_SIMULATE, 845
BAPI_SCHEDULE_MAINTAIN, 847
BAPI_SOURCEDETERMIN_GETSOS, 848
BAPI_TRANSACTION_COMMIT, 676, 685,
703, 704, 812, 849
BAPI_TRANSACTION_ROLLBACK, 850
BAPI_USER_ACTGROUPS_ASSIGN, 850
BAPI_USER_ACTGROUPS_DELETE, 851
BAPI_USER_CHANGE, 852
BAPI_USER_CLONE, 854
BAPI_USER_CREATE1, 857
BAPI_USER_DELETE, 859
BAPI_USER_EXISTENCE_CHECK, 860
BAPI_USER_GET_DETAIL, 860, 863
BAPI_USER_GETLIST, 862
BAPI_USER_LOCK, 863, 864
BAPI_USER_PROFILES_ASSIGN, 864
BAPI_USER_PROFILES_DELETE, 865
950
Index
BP_JOBLOG_SHOW, 513
BP_START_DATE_EDITOR, 514
BR* tool
environment variable value, 72
Business object
call/start method, 941
instantiate from program, 940
release method, 942
trigger event, 938
Business partner
change address, 688
change central/general data, 693
create, 698
delete address/data, 693
read address/communication data, 691
read central attributes, 696
Business transaction
update, 669
validate, 668
C
C14B_ADD_TIME, 148
CALCULATE_EXCHANGE_RATE, 148
Calendar date
determine from fiscal year, 213
find day/month/year between, 202
Calendar day
add/subtract, 209
return attributes, 191
Calendar quarter, 161, 162
CALL_BROWSER, 875
CAT_CHECK_RFC_DESTINATION, 49
Central User Administration (CUA), 854
CF_UT_UNIT_CONVERSION, 150, 214
Change
commit to database, 50
save made in maintenance/service
notifications, 679
Change and Transport System, 598
Change document, 875
close creation, 875
complete the processing, 875
create items, 879
create single item, 888
delete for clients, 877
951
Index
Characteristics
change class/data, 702
create new, 700
group in class, 704
read values, 705
return details, 701
Check total, 518
CHECK_TEXT_AUTHORITY, 327
CHECK_TEXT_ID, 327
CHECK_TEXT_LANGUAGE, 328
CHECK_TEXT_NAME, 329
CHECK_TEXT_OBJECT, 329
Class
CL_GUI_FRONTEND_SERVICES, 434
get details, 706
return status information, 707
return where object is classified, 771
Class type
analyze E071 entry, 597
Classification
change/create, 769
create with assigned values, 770
return detailed information, 772, 773
return status, 774
CLOI_PUT_SIGN_IN_FRONT, 889
CLOSE_FORM, 330
Code conversion
ISO code to SAP code, 212
ISO country code to SAP country key, 180
ISO currency code to SAP currency key, 183
SAP code to ISO code, 213
SAP country code to ISO country key, 181
Code inspector check
start, 923
Command check
checking authorization, 65
execute external command, 65
executing authorized command, 67
Commit system changes, 50
COMMIT WORK, 812, 849
COMMIT_TEXT, 330
Communication types
create address, 698
Company code
get key and name of, 709
return plant/valuation details, 914
952
COMPLEX_SELECTIONS_DIALOG, 252
Component
return list, 911
COMPUTE_YEARS_BETWEEN_DATES, 153
CONCATENATE, 415
Concatenate
string and currency amount, 211
Confirmation time tickets
enter, 810
Container, 937
read internal table, 939
write internal table, 940
Control commands
give to layout, 332
Control record
change for IDoc, 471
Control statement
expand/replace, 372
CONTROL_FORM, 332
Conversion exit
convert calendar quarter SAP to user-based
format settings, 162
convert calendar quarter user settings to internal format calendar, 161
convert fiscal year from internal to external
format, 158
convert fiscal year from user external to SAP
internal format, 157
convert one-digit SAP to two-digit ISO language format, 160
convert two-digit ISO to one-digit SAP language field, 158
CONVERSION_EXIT_ALPHA_INPUT, 154
CONVERSION_EXIT_ALPHA_OUTPUT, 154
CONVERSION_EXIT_CUNIT_INPUT, 155
CONVERSION_EXIT_CUNIT_OUTPUT, 155
CONVERSION_EXIT_GJAHR_INPUT, 157
CONVERSION_EXIT_GJAHR_OUTPUT, 158
CONVERSION_EXIT_IDATE_INPUT, 159
CONVERSION_EXIT_IDATE_OUTPUT, 159,
161, 163
CONVERSION_EXIT_ISOLA_INPUT, 158
CONVERSION_EXIT_ISOLA_OUTPUT, 160
CONVERSION_EXIT_LDATE_OUTPUT, 159,
161
CONVERSION_EXIT_LUNIT_INPUT, 156
Index
CONVERSION_EXIT_LUNIT_OUTPUT, 157
CONVERSION_EXIT_PERI5_INPUT, 161
CONVERSION_EXIT_PERI5_OUTPUT, 162
CONVERSION_EXIT_SDATE_INPUT, 162
CONVERSION_EXIT_SDATE_OUTPUT, 159,
163
CONVERSION_FACTOR_GET, 163
Convert to fraction, 178
CONVERT_ABAPSPOOLJOB_2_PDF, 165
CONVERT_DATE_TO_EXTERNAL, 160, 167
CONVERT_ITF_TO_HTML, 168
CONVERT_OTF, 172
CONVERT_OTF_MEMORY, 333
CONVERT_OTFSPOOLJOB_2_PDF, 174
CONVERT_TIME_INPUT, 175
CONVERT_TO_FOREIGN_CURRENCY, 176,
179
CONVERT_TO_FRACTION, 178
CONVERT_TO_LOCAL_CURRENCY, 179
CO-PA, 718
read planning data, 719
return planning data from, 720
COPO_POPUP_TO_DISPLAY_TEXTLIST, 549
COPY_TEXTS, 334
Costing-Based Controlling-Profitability
Analysis, 718
COUNTRY_CODE_ISO_TO_SAP, 180
COUNTRY_CODE_SAP_TO_ISO, 181
Country-specific address, 496
CREATE_TEXT, 335
CS_BOM_EXPL_EQU_V2, 889
CS_BOM_EXPL_MAT_V2, 892
CS_WHERE_USED_MAT, 896
CSAP_MAT_BOM_READ, 897
CSEP_MAT_BOM_SELECT, 899
CSEP_MAT_BOM_SELECT_CHANGE, 900
CSEP_MAT_BOM_SELECT_WHERE_USED,
900
Currency
convert foreign to local, 179
convert local to foreign, 176
convert to external format, 721
convert to internal format, 721
Currency code
currency not conforming to ISO, 183
953
Index
D
Data
download to PC in Excel format, 439
format for Excel, 423
import from Excel to SAP internal table, 437
import to SAP from Excel, 423
maintain across tables, 142
read from archive info system, 406
transfer from legacy to SAP, 250
transfer to PC from Excel, 423
Data archiving
create new archive file, 398
customize settings for archiving program, 383
delete data in archive database, 393
delete table data, 383
end data archiving, 383
get current handle information, 384
get next data object, 386
get next record, 387
immediately retrieve data, 386
open archives that are to be read, 397
open for write, 398
pass data record to data object, 400
put data record in current data object, 401
read data from RECORD_STRUCTURE, 390
read data object records sequentially, 387
return delete program values, 383
return handle from archive file for further
processing, 402
return values from RECORD_STRUCTURE,
390
transfer statistical data, 392
write data object in archive file, 404
write statistical data to standard log, 405
write, delete, read and reload programs, 392
write, delete, reload, and read programs, 389,
405
write/reload data objects in a new archive file,
395
writing new data object, 393
Data conversion
internal table data to Excel format, 443
Data element
definition, 86
read, 86
954
Data object
read for archiving object, 402
read records sequentially, 387
write in archive file, 404
write to archive, 393
write/reload to new archive file, 395
Data record
pass to data object, 400
put in current data object, 401
read from current data object, 390
Database
delete log, 634
find logs, 637
load log entries, 635
Database table
return all fields and information, 912
DataProvider object, 253, 255
create, 255
send table info to client, 253
transfer from client to ABAP/4 program, 255
Date
calculate, 210
calculate difference, 153
check validity, 185
check, subtract days/months/years from date,
223
convert external to internal, 162
convert external to internal format, 159
convert from external to internal format, 186
convert internal to external, 159
convert internal to external format, 161, 163
determine new, 217
factory calendar, 187
Date check
add/subtract calendar days, 209
calculate an employment period, 210
calculate duration of days between two
points, 209
calculate future calendar date, 189
calculate input parameter date, 188
calculate past/future calendar date, 189
calculate the difference between two dates,
208
calculate working date through date/number
of working days, 243
check time validity, 237
Index
Dates
determine days between, 193
find difference between, 202
Day
determine name/number, 220
number, 192
DAY_ATTRIBUTES_GET , 191
DAY_IN_WEEK, 192
DAYS_BETWEEN_TWO_DATES , 193
DDIF_DOMA_GET, 85
DDIF_DTEL_GET, 86
DDIF_FIELDINFO_GET, 87
DDIF_NAMETAB_GET, 89
DDIF_TABL_ACTIVATE, 92
DDIF_TABL_GET, 92
DDIF_TABL_PUT, 94
DDIF_VIEW_GET, 95
Decentralized system
delivery verification, 746
verify outbound delivery, 775
Decimal
determine, 182
determine for currency, 911
round number, 222, 237
Decimal point
get number of places around, 414
DECIMAL_PLACES_GET, 911
Default printer settings, 528
Default variant
read, 291
Delete program, 383
DELETE_TEXT, 336
DELETE_TEXT_FROM_CATALOG, 336
Deletion flag
cancel, 754
Delivery document
create for individual stock transport order,
779
create for sales order/item, 778
create for stock transport order, 779
Delivery item, 775
Delivery split, 779
DEQUEUE_ALL, 96
DEQUEUE_E_TABLE, 97
DEQUEUE_ES_EDIDOCE, 471
DEQUEUE_ESFUNCTION, 901, 902
955
Index
956
Distribution list
create new, 446
return all information, 447
Document
create attachment for, 443
create in specific folder, 449
post in accounting, 665
post to accounting, 662
provide information, 450
rename, 364
send as email, 452
send existing, 458
send existing attachment, 452
send new, 452, 454
send new/uncreated, 456
Document check
billing for SD, 662
general ledger, 662
invoice receipt, 662
Document maintenance
display text in popup, 564, 565
Document tables
initialize, 812
Documentation header table, 549
Domain
read, 85
DP_CONTROL_ASSIGN_TABLE, 253, 255
DP_CREATE, 255
DP_GET_FIELDS_FROM_TABLE, 254, 255,
256
Dummy command, 71
Dummy name, 364
DURATION_DETERMINE, 198
Dynamic message, 566
Dynamic selection
convert from ranges to where format, 267
create screen, 260
enter, 260
initialize capture, 263
DYNP_GET_STEPL, 257
DYNP_VALUE_READ, 257
DYNP_VALUE_UPDATE, 257
DYNP_VALUES_READ, 257, 303
DYNP_VALUES_UPDATE, 259, 304
Index
Dynpro
date conversion, 167, 168
F1 help, 127
E
E071 entry
analyze class type, 597
EDI, 38, 463
EDI_CHANGE_CONTROL_RECORD, 471
EDI_CHANGE_DATA_SEGMENTS, 472
EDI_DOCUMENT_CLOSE_EDIT, 473
EDI_DOCUMENT_CLOSE_PROCESS, 473
EDI_DOCUMENT_DEQUEUE_LATER, 474
EDI_DOCUMENT_OPEN_FOR_EDIT, 475
EDI_DOCUMENT_OPEN_FOR_PROCESS,
476
EDI_DOCUMENT_STATUS_SET, 477
EDI_STATUS_ADD_BLOCK, 478
EDIDD, 484
EDIT_TEXT, 338
EDIT_TEXT_INLINE, 340
Editor control
display TEXTNOTE, 588
Email
send to user from spool list, 442
Embedding, 423
Employee ID
get from user name, 865
Encrypted password, 53
End date
determine, 199
END_FORM, 343
END_TIME_DETERMINE, 199
ENQUE_SLEEP, 904
ENQUEUE_E_TABLE, 98
ENQUEUE_ESFUNCT, 901
ENQUEUE_ESFUNCTION, 902
release lock, 901
Entry
write in SAP system log, 60
Environment variable, 72
Equipment
change details, 730
create, 731
explode BOM, 889
ERGO_TEXT_SHOW, 549
Error
return text, 347
ESFUNCTION
request lock, 902
EVAL_FORMULA, 200
Event
trigger for business object, 938
Event ID
background systems, 48
Excel
analyze sheet data, 437
start modally, 440
start via ASCII data, 440
EXCEL_OLE_STANDARD_DAT, 423
Exchange rate
determine, 219
EXCHANGE_ITF, 343
EXECUTE_WINWORD, 425
Execution of Program After, 593
EXPORT_TEXT, 344
Extended Export of Lists -> see XXL, 460
Extended maintenance
levels, 132
Extended table maintenance
call, 132
call at highest level, 134
call at lowest level, 137
maintain individual entries, 140
maintain objects, 142
External command
check user authorization for execution, 67
check user authorization to run command, 71
define, 71
read list of, 69
External document
reverse in accounting, 667
External operating command, 62
External system
create job for background processing, 869
F
F1 help, 127
display documentation data, 549
Dynpro, 127
957
Index
F1 help (Cont.)
popup dialog box, 549
popups, get user value help, 576
F4 dialog, 113
F4 help, 242
define parameter/fields of BAPI, 741
directory files in application server, 552
display digital clock, 550
display values, 272
field values, 257
file manager support, 551
list all tables withcheckboxes, 580
locate file name, 438
popups, get user value help, 576
units of a dimension, 242
work center, 303
F4 values, 272
F4_CLOCK, 550
F4_DATE, 101
F4_FILENAME, 551
F4_FILENAME_SERVER, 552
F4IF_DETERMINE_SEARCHHELP, 103
F4IF_FIELD_VALUE_REQUEST, 104
F4IF_GET_SHLP_DESCR, 107
F4IF_INT_TABLE_VALUE_REQUEST, 108
F4IF_SELECT_VALUES, 111
F4IF_SHLP_EXIT_EXAMPLE, 112
F4IF_START_VALUE_REQUEST, 113
F4UT_OPTIMIZE_COLWIDTH, 114
F4UT_PARAMETER_ALLOCATE, 115
F4UT_PARAMETER_RESULT_PUT, 116
F4UT_PARAMETER_SORT, 117
F4UT_PARAMETER_VALUE_GET, 118
F4UT_RESULTS_MAP, 120
Factory calendar
calculate working date, 243
display, 101
find date, 187
return date, 201
return working day, 245
Factory date, 201
convert, 187
FACTORYDATE_CONVERT_TO_DATE, 201
Field
find assigned search help, 103
set max number in popup, 571
958
Field catalog
create for ALV FM, 269
create from dictionary structure/internal
table, 276
outputting tables in AVL format, 277
transfer from SLIS to LVC, 269
Field contents
convert external to internal format, 225
Field name
return current values, 303
Field selection
filtering conditions, 488
FIELDS interface table, 569
File
check authorization to access with key word,
501
upload from client presentation, 434
upload to ITF based on FORMAT_TYPE, 349
File manager support
locate file in directory, 551
File name
F4 help, 551
get from user, 428
locate in F4 help, 438
File transfer
ASCII into MS-Excel format, 439
File transfer protocol -> see FTP, 51
FILE_GET_NAME, 425
FILENAME_GET, 428
Filter object type
determine for BAPI, 466
FIMA_DAYS_AND_MONTHS_AND_YEARS,
202
Final checks, 812
Financial Accounting module
accounting period, 218
FIRST_DAY_IN_PERIOD_GET, 203
Fiscal year
convert external to internal format, 157
convert internal to external format, 158
customer current balance for, 685
first calendar date, 203
get from posting date/company code, 708
return based on date/company code, 205
return last calendar date, 213
variant, 190
Index
FITRV_CALCULATOR, 552
Float types
converting character format to float type, 151
floating point number, 151
Floating format, 204
FLTP_CHAR_CONVERSION, 204
FLUSH_ENQUEUE, 121
FM name
execute Adobe Form, 347
return, 347
unique, 347
Form
close, 330, 343
determine output setting, 348
start, 371
Form element
output in opened form, 377
transfer lines to internal table, 358
Form printing, 325
open, 352
Format conversion
binary to XString, 226
convert OTF spool to PDF, 174
convert OTF to ASCII, 172
convert OTF to PDF, 172
dynamic selections from ranges to where
format, 267
floating to character format, 204
OTF format to PDF, 234
OTF to printer format, 235
OTF to RAW format, 236
ranges to expression, 266
SAP to user display format number, 154
user display number to SAP format, 154
XString to binary, 227
FORMAT_MESSAGE, 553
FORMAT_TEXTLINES, 346
Formula
analyze syntactical correction, 200
FP_FUNCTION_MODULE_NAME, 347
FP_GET_LAST_ADS_ERRSTR, 347
FP_JOB_CLOSE, 348
FP_JOB_OPEN, 348
Free text
add to application log, 652
G
General ledger
annual values, 685
reverse accounting posting, 670
validate business transactions, 668
GET_COMPONENT_LIST, 911
GET_CURRENT_YEAR, 205
GET_FIELDTAB, 912
959
Index
GET_GLOBAL_SYMBOLS, 913
GET_INCLUDETAB, 913
GET_JOB_RUNTIME_INFO, 517
GET_PRINT_PARAMETERS, 518
GETDETAIL, 702
Global data, 913
GMT time stamp, 221
Goods movement
code, 739
post, 739
reverse, 738
Gregorian calendar, 193
display, 101
GUI
check if ITS, 434
check if normal Windows GUI, 434
Internet Transaction Server, 434
GUI status
custom, 300
set custom, 303
set for external selection screen, 300
GUI_DOWNLOAD, 428
GUI_DOWNLOAD module, 428
GUI_HAS_ACTIVEX, 433
GUI_IS_AVAILABLE, 434
GUI_IS_ITS, 434
GUI_UPLOAD, 434
GUI_UPLOAD module, 434
H
Handle
get current information, 384
Handling unit
create non-assigned, 743
pack item, 744
unpack, 744
Header data
change for planned order, 781
read log header data, 650
Header/item data
display in ranges table, 740
Help document
show in popup, 125
Help text
display, 121
960
HELP_DOCULINES_SHOW, 121
HELP_OBJECT_SHOW, 123
HELP_OBJECT_SHOW_FOR_FIELD, 125
HELP_START, 127
Hierarchy
build new, 308
create, 704
display, 309
Hit list
change sorting, 117
fill, 120
sorting by characteristic, 117
sorting by multiple parameters, 117
transfer data, 120
Holiday, 206
determine in period, 207
HOLIDAY_CHECK_AND_GET_INFO , 206
HOLIDAY_GET , 207
HR_HK_DIFF_BT_2_DATES , 208
HR_SEN_CALE_DAYS_DATE, 209
HR_SEN_CALE_DAYS_DURATION, 209
HR_SEN_CRULE_0100_DATE, 210
HRCM_AMOUNT_TO_STRING_CONVERT,
211
HRCM_STRING_TO_AMOUNT_CONVERT ,
211
HTTP_SCRAMBLE, 51, 53
I
IBAN
change, 745
ID
clear/delete value, 322
store value tables, 323
IDATE
convert external to internal date format, 159
convert internal to external date format, 159
IDoc, 38, 463
change control record, 471
change data records, 472
change status programmatically, 477
close after processing, 473
close and save all changes, 473
control record, 471
create and save to database, 480
Index
IDoc (Cont.)
CREATE mode, 477
generate inbound IDocs, 479
open for processing, 476
open to change content, 475
pass statuses on to database, 473
process input port type tRFC, 479
PROCESS mode, 477
replacement for asynchronous BAPIs, 467
Send IDoc posting for inbound processing,
481
transfer to ALE layer, 483
unlock, 471
unlock post-closing, 474
write one or more status records to the
database, 482
IDOC_INBOUND_ASYNCHRONOUS, 479
IDOC_INBOUND_SINGLE, 479
IDOC_INBOUND_WRITE_TO_DB, 480
IDOC_START_INBOUND, 481
IDOC_STATUS_WRITE_TO_DATABASE, 482
IMPORT_TEXT, 349
Inbound delivery
verify from decentralized system, 746
Inbound IDoc
create/save in ABAP Dictionary tables, 480
INCLUDE command
expand in text lines, 373
Includes
return all, 913, 920
INIT_TEXT, 350
Inline editor
edit text, 340
Input help
elementary, 117
sorting a hit list, 117
Inspection plan
create, 748
Interest calculation method, 193
Interface, 905
Internal array buffer
import status of objects, 933
Internal order
create for transferred data, 750
Internal SAP format
convert text to user format, 154
J
Job
background request, 526
961
Index
Job (Cont.)
create for background processing from
external, 869
delete, 507
delete job log, 507
find background requests, 507
get status of background processing system,
870
identify, 525
insert a background task in background
request, 526
read header table, 509
read specified log and store, 512
read step list table, 509
release authorization, 521
return status, 544
select through specified criteria, 510
Job log
read specified job, 512
show log for specified job, 513
store in internal table, 512
Job scheduling
open without dialog, 525
Job step
submit to job, 526
JOB_CLOSE, 521
JOB_OPEN, 525
JOB_SUBMIT, 526
K
K_WERKS_OF_BUKRS_FIND, 914
KCD_EXCEL_OLE_TO_INT_CONVERT, 437
KD_GET_FILENAME_ON_F4, 438
Key
check, 606
Key date view
create, 748
Key word
DELETE DATASET, 501
OPEN DATASET, 501
READ DATASET, 501
TRANSFER, 501
962
L
Language
determine code/character, 228
field, 158
save externally, 212
Language dependent status
convert to 40 char line, 935
Language import parameter
return device type, 370
LANGUAGE_CODE_ISO_TO_SAP, 212
LANGUAGE_CODE_SAP_TO_ISO, 213
Language-dependent abbreviation, 929
convert to internal format, 934
LAST_DAY_IN_PERIOD_GET , 213
Layout set, 358
LDATE
convert internal to external date format, 161
Linear congruence method, 919
Lines
transfer between tables, 361
transfer to internal table, 358
List
append block list data to blocked ALV, 272
assign TOP-OF-PAGE to the ALV display, 275
change current information of, 283
change the current information of ALV list,
289
convert saved list object to ASCI, 268
create a hierarchical, sequential list of two
tables, 283
current field catalog, 282
current information, 282
current layout, 282
current scroll state, 282
delete last saved from memory, 267
filter criteria, 282
get the current information of ALV list, 286
output internal tables in ALV list format, 286
save/convert to HTML, 324
sort sequence, 282
List import
prepare from memory, 267
List object
convert to ASCI format, 268
display Saved, 324
Index
Log memory
free, 621
Log message
delete, 654
display, 601
Log parameters
write to local memory, 630
Logical database, 390
Logical file name
assign physical file name, 425
logical file path, 425
platform-specific file name, 425
Logical receiver system
determine for asynchronous BAPI, 465
transfer to function module, 466
Logical system information, 54
Logical Unit of Work, 488
Logon system
specify name, 54
Long text
create, 335
LUW
assign lock for table, 98
release all locks, 96
release lock for TABNAME table, 97
LVC type, 269
LVC_FIELDCATALOG_MERGE, 269, 270
LVC_TRANSFER_FROM_SLIS, 269
LVC_VARIANT_DEFAULT_GET, 270
LVC_VARIANT_EXISTENCE_CHECK, 271
LVC_VARIANT_F4, 272
M
Main memory
delete all messages via I_LOG_HANDLE, 654
Maintenance table
combining into one dialog, 142
Maintenance/service notification
create new, 677
save change, 679
Maintenance/service order
change, 681
read detail data, 679
Manual cost allocation
post/reverse to accounting, 675
963
Index
Master data
send/distribute changes, 469
Master production scheduling (MPS), 765
MASTER_IDOC_DISTRIBUTE, 467, 483
Material
cancel deletion, 754
change classification, 769
change reservation, 824
convert source to target unit, 216
convert UOM, 150
create classification, 769
create/change reservation, 825
current stock, 765
determine receipt quantity, 751
determine source of supply, 848
determine stock requirement, 917
edit, 754
explode BOM, 892
flag for deletion, 754
get list in logon language, 758
read/return details, 757
select requirement list, 765
unpack from HU, 744
Material BOM create, 753
Material components
add list to network, 768
Material data
create, 250
create en masse, 762
mass maintenance, 762
Material detail
get client specific material, 755
Material document
cancel, 738
create for goods movement, 739
read/display header/item data, 740
Material group
determine the source of supply, 848
Material master data, 762
change existing, 759
create new, 759
read all, 755
Material master maintenance
create batch input data, 914
Material requirements planning (MRP), 765,
781
964
MATERIAL_BTCI_SELECTION_NEW, 914
MATERIAL_UNIT_CONVERSION , 214
Materials Management, 216
MD_CONVERT_MATERIAL_UNIT , 216
MD_MRP_LIST_API , 915
MD_POPUP_SHOW_INTERNAL_TABLE, 554
MD_STOCK_REQUIREMENTS_LIST_API, 917
Measurement conversion
convert unit measurement with formula, 238
from business to commercial, 155
from business to technical format, 157
from commercial to business, 155
from internal to external format, 155
from internal to user external format, 157
from technical to business unit, 156
from user external to SAP internal, 155
from user external to SAP internal format,
156
ISO measurement units to SAP internal code,
241
measurement unit values, 237
SAP internal measurement to ISO code, 241
Memory
delete log, 655
prepare list import, 267
Memory buffer, read, 333
Message
add to application log, 651
check if message handler is active, 554
collect future messages, 557
configure for question to user, 578
custom, 567
delete from application log, 653
delete from local memory for object, 624
delete previously collected, 557
determine number in line interval, 555
display dialog box with previously collected
messages, 559
display list in popup, 641
flag users to receive message, 586
format, 553, 585
get in internal table, 557
initialize/activate handler, 557
search in memory, 648
send custom message to user, 567
severity of errors, 560
Index
Message (Cont.)
show diagnosis/options, 582
stop collection, 560
store in global memory, 561
write from table to message field, 589
write in local memory, 631
write multiple in local memory (no
parameters), 632
Message field
T100, 589
Message handler
check if active, 554
Message text
display, 589
MESSAGE_STORE, 561
MESSAGES_ACTIVE, 554
MESSAGES_COUNT, 555
MESSAGES_GIVE, 557
MESSAGES_INITIALIZE, 557
MESSAGES_SHOW, 559
MESSAGES_STOP, 560
Module pool screens
create long text, 335
Month
choose, 582
provide name, 217
MONTH_NAMES_GET , 217
MONTH_PLUS_DETERMINE , 217
MRP
determine requirements list, 915
MS_EXCEL_OLE_STANDARD_DAT, 439
Multiple selection screen, 252, 304
N
Navigation tree
return display profile, 640
Network components
create multiple, 768
Nonassigned handling unit
create, 743
Nonworking days, 207
Number
convert to string format, 211
convert to words, 414
generate random, 919
Number (Cont.)
generate random within range, 920
move sign, 889
replace temporary with real in buffer, 932
round to decimal, 222
Number range
assign free numbers for, 409
check if number lies in interval, 406
create, change, delete intervals, 411
interval information, 408
lock, 410
lock number range, 411
unlock, 410
write changes from local memory to DB, 413
NUMBER_CHECK, 406
NUMBER_GET_INFO, 408
NUMBER_GET_NEXT, 409
NUMBER_RANGE_DEQUEUE, 410
NUMBER_RANGE_ENQUEUE, 411
NUMBER_RANGE_INTERVAL_UPDATE, 411
NUMBER_RANGE_UPDATE_CLOSE, 413
Numerator and denominator, 178
Numeric field, 889
edit/check, 918
NUMERIC_CHECK, 918
O
Object
append to transport task and lock, 594
assign free numbers, 409
check, 606
check for subobject, 628
conver output to printer, 235
convert output text to PDF, 234
convert output to RAW format, 236
create characteristics, 700
delete entries in local memory, 624
delete messages from local memory, 624
find where-used list, 306
insert in transport, 608
insert into transport, 604
maintain object and check user authorization,
607
return classes, 771
965
Index
P
Package details, 600
Page layout
control commands, 332
Paragraph name
convert style/form, 343
966
Parameter
placeholders, 566
reserve space, 115
return information, 302
PBO, 323
PDF, 234
close output job, 348
Period
convert, 190
first calendar date, 203
PERIOD_DAY_DETERMINE , 218
PF status, 322
Planned independent requirements
change, 816
create with authorization check, 818
Planned order
change header data, 781
check existence, 784
create with BOM explosion, 782
delete, 783
display F4 help, 786
get detailed list, 786
read/get details, 785
Planning data
overwrite, 720
read for CO-PA, 719
Plant
determine stock requirement, 917
return details, 914
Platform-independent logical file names, 425
Pocket calculator, 552
Popup
add custom pushbuttons, 572
bringing up documents in popup, 123
define buttons, 565
display ALV variants, 294
display any text to user, 581
display box with alternative decisions with
user-defined buttons, 583
display formatted address, 499
display internal table data, 584
display pocket calulator, 552
display text created by document maintenance
Transaction SE61, 564
display/select table entries, 289
question user/respond to user answer, 578
Index
Popup (Cont.)
select month, 582
send custom message, 567
send display text document, 566
send group message for users' next log on, 586
set maximum number of fields to be
displayed, 571
show any document, 125
show text list, 549
text editor, 588
user confirms processing step, 563
Popup message
send, 74
POPUP_CONTINUE_YES_NO, 563
POPUP_DISPLAY_TEXT, 564
POPUP_DISPLAY_TEXT_USER_BUTTON, 565
POPUP_DISPLAY_TEXT_WITH_PARAMS,
566
POPUP_FOR_INTERACTION, 567
POPUP_GET_VALUES, 569, 576
POPUP_GET_VALUES_DB_CHECKED, 570
POPUP_GET_VALUES_SET_MAX_FIELD, 571
POPUP_GET_VALUES_USER_BUTTONS, 572
POPUP_GET_VALUES_USER_CHECKED, 574
POPUP_GET_VALUES_USER_HELP, 576
POPUP_NO_LIST, 577
POPUP_TO_CONFIRM, 578
POPUP_TO_DECIDE_LIST, 580
POPUP_TO_DISPLAY_TEXT, 581
POPUP_TO_INFORM, 582
POPUP_TO_SELECT_MONTH, 582
POPUP_WITH_3_BUTTONS_TO_CHOOSE,
583
POPUP_WITH_TABLE_DISPLAY, 584
Post
create in accounting, 665
Posting date
determine period, 190
POV
display internal table F4 help, 108
Precommit, 812
Presentation server
open winword, 425
Pretty Printer, 54
PRETTY_PRINTER, 54
Print
get screen parameters/selection options, 298
print selection screen data, 529
report output, 529
store parameters, 545
Print parameters
define, 518
display, 518
display for specified key, 528
modify, 518
Print set
change layout, 371
combining layouts, 371
PRINT_SELECTIONS, 529
PRINT_TEXT, 355
PRINT_TEXT_ITF, 357
Printer
format, 235
loading parameters, 528, 545
Printer output
combine layouts, 371
Printing
close form, 343
Process on Value Request -> see POV, 108
Production order
change header data, 807
create, 808
enter conformation time tickets for
operations, 810
enter order conformation, 809
Production Planning, 781
Profile
return in standard application log, 643
Profile assignment
change for user, 864
delete all for user, 865
Profitability Analysis, 720
Program
components list for structure, 911
delay processing for specified time, 922
delay processing in seconds, 904
delete, 58
display internal table data in popup, 554
display package information, 600
find background job requests, 507
MDBAPI01, 782
967
Index
Program (Cont.)
read status/job log, 512
return all includes, 920
return includes used, 913
RSARCH07, 396
RSSCA1T0, 160
RSSLG150, 622
RSSPO430, 575
RSSPO450, 572
SBAL_DEMO_03, 650
SBAL_DEMO_04_POPUP, 641
SBAL_DEMO_04_SINGLE_LOG, 643
SBAL_DEMO_04_STANDARD, 643
SBAL_DEMO_05, 635
SBOOKA, 399
SBOOKD, 383
schedule for background processing, 514
submit, 318
Progress indicator
display, 318
Project definition
set/reset status, 871
Purchase order
cancel/revoke, 801
change, 786
create, 791
release/approve order, 799
return detailed information, 795
return list of items, 798
Purchase requisition
change, 802
change with authorizations, 819
create, 804, 815
create with authorizations, 820
delete/close, 822
release/approve by item, 822
Purchase requisition item
release/approve, 822
Purchasing contract
create, 712
get details, 715
make changes to, 709
968
Q
QF05_RANDOM, 919
QF05_RANDOM_INTEGER, 920
Quant data
return, 868
Quantity
convert to different UOM, 150
convert UOM, 214
Question and response, 563
Quotation
create for customer, 813
R
Ranges
fill/display internal table, 252
Ranges format
convert to expression, 266
RAW format, 236
READ_EXCHANGE_RATE, 219
READ_FORM_ELEMENTS, 358
READ_FORM_LINES, 358
READ_TEXT, 169, 359
READ_TEXT_INLINE, 361
Receipt quantity
determine, 751
Receiver
determine for synchronous BAPI, 468
determine for synchronous BAPI from ALE,
466
generate, 467
RECORD_TAB
reserve space in parameter, 115
REFER_TEXT, 363
Registered application servers
provide list to caller, 76
Remote function
starting new task from non-SAP systems, 45
RENAME_TEXT, 364
Report
assign variant values to parameter/selection
options, 306
return current selection to
SELECTION_TABLE, 301
Index
Report (Cont.)
return info for parameters, selection, default
values, 302
return list in box, 311
variance existance, 316
Report output
print selection screen data, 529
Report variants
return list to dialog box, 311
Repository browser
screen details, 296
Requirement coverage requests create, 815
Requirement list
select for material, 765
Reservation
change, 824
create for material, 825
details, 826
RESET_ENQUEUE, 128
REUSE_ALV_BLOCK_LIST_APPEND, 272
REUSE_ALV_BLOCK_LIST_DISPLAY, 274
REUSE_ALV_BLOCK_LIST_INIT, 272, 274
REUSE_ALV_COMMENTARY_WRITE, 275,
278
REUSE_ALV_FIELDCATALOG_MERGE, 270,
276, 277, 286
REUSE_ALV_GRID_DISPLAY, 277, 286
REUSE_ALV_GRID_LAYOUT_INFO_GET,
282
REUSE_ALV_GRID_LAYOUT_INFO_SET, 283
REUSE_ALV_HIERSEQ_LIST_DISPLAY, 283
REUSE_ALV_LIST_DISPLAY, 286
REUSE_ALV_LIST_LAYOUT_INFO_GET, 286
REUSE_ALV_LIST_LAYOUT_INFO_SET, 289
REUSE_ALV_POPUP_TO_SELECT, 289
REUSE_ALV_VARIANT_DEFAULT_GET, 291
REUSE_ALV_VARIANT_EXISTENCE, 292
REUSE_ALV_VARIANT_F4, 293
REUSE_ALV_VARIANT_SELECT, 294
RFC
check destination, 49
checking user authorization, 47
close open connection, 55
command check, 65
command execute, 67
destination, 49
RFC (Cont.)
tRFC, 38, 463
RFC_CONNECTION_CLOSE, 55
RFC_READ_TABLE, 56
RH_GET_DATE_DAYNAME , 220
RH_START_EXCEL_WITH_DATA, 440
RKD_WORD_WRAP, 413
RKE_TIMESTAMP_CONVERT_INPUT, 221
RKE_TIMESTAMP_CONVERT_OUTPUT , 222
ROLLBACK WORK, 850
ROUND, 222
Routing
create with subobjects, 827
view complete history, 827
RP_CALC_DATE_IN_INTERVAL , 223
RP_LAST_DAY_OF_MONTHS, 224
RPY_DYNPRO_READ, 296
RPY_MESSAGE_COMPOSE, 585
RPY_TRANSACTION_READ, 297
RS_ACCESS_PERMISSION, 296
RS_CONV_EX_2_IN, 225
RS_COVERPAGE_SELECTIONS, 298
RS_CREATE_VARIANT, 299, 301
RS_DELETE_PROGRAM, 58
RS_EXTERNAL_SELSCREEN_STATUS, 300,
304, 305
RS_FUNCTION_POOL_CONTENTS, 301
RS_GET_ALL_INCLUDES, 920
RS_REFRESH_FROM_SELECTOPTIONS, 301
RS_REPORTSELECTIONS_INFO, 299, 301,
302
RS_SELECTIONSCREEN_READ, 303, 304
RS_SELECTIONSCREEN_UPDATE, 304
RS_SEND_MAIL_FOR_SPOOLLIST, 442
RS_SET_SELSCREEN_STATUS, 300, 303, 305
RS_SUBMIT_INFO, 303, 305
RS_SUPPORT_SELECTIONS, 306
RS_TOOL_ACCESS, 306
RS_TREE_CONSTRUCT, 308, 309
RS_TREE_LIST_DISPLAY, 308, 309
RS_VARIANT_CATALOG, 311
RS_VARIANT_CHANGE, 313
RS_VARIANT_CONTENTS, 298, 314
RS_VARIANT_DELETE, 315
RS_VARIANT_EXISTS, 316
969
Index
RS_VARIANT_VALUES_TECH_DATA, 311,
317
RSLG_WRITE_SYSLOG_ENTRY, 60
RSPO_DISPLAY_SPOOLJOB, 530
RSPO_DOWNLOAD_SPOOLJOB, 531
RSPO_FIND_SPOOL_REQUESTS, 531
RSPO_OUTPUT_SPOOL_REQUEST, 533
RSPO_RETURN_ABAP_SPOOLJOB, 535
RSPO_RID_SPOOLREQ_LIST, 536
RSTS_CLOSE, 536
RSTS_GET_ATTRIBUTES, 537
RSTS_OPEN_RLC, 539
RSTS_READ, 540
Runtime
control commands for page layout, 332
information read, 87, 89
RV_ORDER_FLOW_INFORMATION, 921
RZL_SLEEP, 922
RZL_SUBMIT, 318
S
Sales document
read flow after delivery and billing, 921
Sales order
change/delete, 839
create, 841
create delivery document, 778
display for customer, 844
simulate, 845
SAP
call browser with specified URL to frontend,
875
environment variable, 72
internal country key, 180
SAP country code
sonvert, 181
SAP GUI, 433
check availability, 434
SAP Help
download files, 46
SAP internal currency code
translate to ISO, 184
SAP internal table
import data from Excel, 423
970
Index
Script conversion
display script on web, 168
Scrolling, 319
SCROLLING_IN_TABLE, 319
SD_DATETIME_DIFFERENCE , 230
SDATE
convert external to internal date format, 162
convert internal to external date format, 163
Search help
determine, 103
distinguishing parameters, 118
elementary, 114
exit, 112
find current parameter contents, 118
hit list, 120
hit list display, 114
interface and design, 112
return complete description, 107
select value, 111
selection method additional fields, 115
start F4 dialog, 113
template, 112
Search help parameter
changing a result, 116
name, 115
SELECT_OPTIONS_RESTRICT, 321
SELECT_TEXT, 367
Selection options
restrict, 321
Selection screen
check for changed parameters, 314
create variant, 299
GUI status for external screen, 300
load default values, 306
print data, 529
restrict options, 321
return parameters/selection options, 298
return report contents to table, 301
set custom GUI status, 303
technical values, 317
update values to fields, 304
Self-programmed help, 125
Service entry sheets
create, 729
SET_PRINT_PARAMETERS, 542
SHOW_JOBSTATE, 544
SI unit, 230
SI_UNIT_GET, 230
Smart Form
convert to PDF, 172
execute, 369
process written logic, 369
read errors/warnings, 371
return device type for a given language, 370
SMD tool, 469
SMSG, 555
SO_ATTACHMENT_INSERT_API1, 443
SO_ATTACHMENT_READ_API1, 445
SO_DLI_INSERT_API1, 446
SO_DLI_READ_API1, 447
SO_DOCUMENT_INSERT_API1, 449
SO_DOCUMENT_READ_API1, 450
SO_DOCUMENT_SEND_API1, 452, 454
SO_EXPRESS_FLAG_SET, 586
SO_NEW_DOCUMENT_ATT_SEND_API1,
454
SO_NEW_DOCUMENT_SEND_API1, 456
SO_OLD_DOCUMENT_SEND_API1, 458
SO_USER_READ_API1, 459
Source of supply, 848
Source unit
convert to target, 216
Special characters
replace, 228
SPELL_AMOUNT, 414
Spool, 505
create output request, 533
download data to presentation server, 531
set archive parameters, 542
set print parameters, 542
TemSe, 537
Spool job
display details, 530
open, 348
Spool list
create/send email, 442
Spool request
display list with IDs, 536
display output, 535
display using ALV, 536
find requests, 531
return data to internal table, 531
971
Index
SSF_FUNCTION_MODULE_NAME, 369
SSF_GET_DEVICE_TYPE, 370
SSF_READ_ERRORS, 371
Start specifications, 514
START_FORM, 371
START_TIME_DETERMINE, 231
Statistical data
transfer from ABAP archiving to DB, 392
transfer from DB to ABAP archiving, 389
write to standard log, 405
Status
check if set, 926
delete object/record from buffer, 927
Status buffer
replace temp with real number, 932
Status management buffer
delete, 924
Status object
generate, 931
read, 933
Status record
create, 478
write one or more to database, 482
write to change pointer, 470
STATUS_BUFFER_REFRESH, 924
STATUS_CHANGE_EXTERN, 924, 933
STATUS_CHANGE_INTERN, 925
STATUS_CHECK, 926
STATUS_DELETE_FROM_BUFFER, 927
STATUS_MAINTAIN, 928
STATUS_NUMBER_CONVERSION, 929, 934
STATUS_OBJECT_CREATE, 931, 932
STATUS_OBJECT_SWITCH_NUMBER, 931,
932
STATUS_PRE_READ, 933
STATUS_READ, 933
STATUS_TEXT_CONVERSION, 929, 934
STATUS_TEXT_EDIT, 924, 935
Step loop, 257
define line, 257
STEPL field, 257
Stock requirements
determine list, 917
STORE_PRINT_PARAMETERS, 545
String
adjust separators/cases, 417
972
String (Cont.)
concatenate, 211, 415
format, 211
input string in reverse order, 416
multibyte code page, 415
split the text, 418
split to substrings, 418
String amount
convert to actual, 211
STRING_CONCATENATE, 415
STRING_REVERSE, 416
STRING_UPPER_LOWER_CASE, 417
SUBMIT, 305
get mode information, 305
SUBTRACT_TIME_FROM_DATE , 232
Subtree
insert, 308
SUSR_USER_AUTH_FOR_OBJ_GET, 502
SWA_STRING_SPLIT, 418
SWC_ELEMENT_GET, 937
SWC_ELEMENT_SET, 937
SWC_TABLE_GET, 939
SWC_TABLE_SET, 940
SWE_EVENT_CREATE, 938
SWI_DURATION_DETERMINE , 233
SWO_CREATE, 940
SWO_FREE, 940, 942
SWO_INVOKE, 940, 941
SX_OBJECT_CONVERT_OTF_PDF, 234
SX_OBJECT_CONVERT_OTF_PRT , 235
SX_OBJECT_CONVERT_OTF_RAW , 236
SXPG_CALL_SYSTEM, 62
SXPG_COMMAND_CHECK, 65
SXPG_COMMAND_EXECUTE, 67
SXPG_COMMAND_LIST_GET, 69
SXPG_DUMMY_COMMAND_CHECK, 71
Symbol
replace in text lines, 374
System of Unit, 230
System status
set/delete, 925
T
Table
analyze structure, 256
Index
Table (Cont.)
create dynamically from table, 92
create from text headers, 367
create/activated in ABAP Data Dictionary,
92
determine text elements, 358
DOKHL, 549
edit for change document, 881
FIELDS, 570
FIELDVALUES, 303
generate IDoc when changed, 469
lock, 121
maintenance PF status, 322
read from ABAP Data Dictionary, 92
read from external server, 56
read text, 87
SELECTION_TABLE, 301
send information to client, 253
SOFFCONT1, 449
SPOOLREQUESTS, 531
T002, 328
T005, 180
T006A, 157
T100, 589
TCURR, 148
TFACD, 201
TSAC(T), 491
TTXID, 327
TTXOB, 329
VALUES, 323
write information, 94
Table definition
find, 92
Table structures
scrolling, 319
Table text
display in popup dialog box, 549
TCP-based network, 52
Technical values of selection screen fields,
317
TemSe, 512
close object, 536
temporary sequential data, 537
TemSe object
edit, 539
get attributes, 537
973
Index
974
TR_DEVCLASS_GET, 600
TR_FLUSH_LOG, 601
TR_INSERT_NEW_COMM, 601
TR_OBJECT_CHECK, 606
TR_OBJECT_INSERT, 604
TR_OBJECTS_CHECK, 607
TR_OBJECTS_INSERT, 608
TR_READ_COMM, 610
TR_SYS_PARAMS, 612
TR_TADIR_INTERFACE, 613
TR_TADIR_POPUP_ENTRY_E071, 616
Transaction
calling code in same/separate task, 45
check authorization for execution, 502
CS03, 897
execute remotely, 75
MD04, 917
MD06, 915
MDBA, 781, 782, 783
ME21N, 791, 795
ME22N, 786
ML81N, 729
MM01, 914
MM02, 754
MM42, 754
SE38, 593
SE61, 549, 564
SE74, 343
SE92, 60
SLG1, 637, 643
SM02, 74
SM12, 98
SM21, 60
SM36, 514
SM37, 508
SM58, 479
SO10, 327
SP01), 530, 535
VL09, 555
XK01, 866
Transaction code
get details, 297
Translate currency, 176
Translation rate, 148
Transport
append object to task, 594
Index
Transport (Cont.)
change object directory entry, 613
changing object, 607
check object/key, 606
create object directory entry, 613
delete object directory entry, 613
determine global system parameters, 612
insert object and key, 604
insert objects and keys, 608
lock object, 594
read all request data, 610
read object directory entry, 613
Transport Management System, 591
Transport Organizer
create new transport request or task, 601
object tool, 607, 608
Transport request
create new, 601
Tree structure
JavaScript, 46
Netscape, 46
tRFC, 463
return information for receiver, 80
TRFC_RECEIVER_INFO, 80
TXW_TEXTNOTE_EDIT, 588
Type
read text, 87
return text information, 87
U
Unit
check dimensions, 195
convert measurement, 238
search, 240
Unit check
two units with same dimensions, 239
Unit conversion
converting quantities from one unit to
another, 214
converting source unit to target unit, 216
Unit of measure
convert external to internal, 155, 156
convert internal to external, 155, 157
convert quantity, 214
convert quantity measurements, 150
975
Index
V
Validate business transactions, 668
Valuation area
return details, 914
Value
assign to SAPscript, 376
convert measurement, 237
supply to an standard selection field, 304
Variable
evaluate, 200
store content, 545
Variant
change parameters, 313
check existence for report, 316
create for selection screen, 299
delete, 315
return value for existing, 314
select options, 313
selection dialog box, 293
Variant value
assign to parameter, 306
Vendor
create/change details, 866
get detailed data, 867
mark for deletion, 867
View
defined parameter details, 131
get information to change data, 131
maintenance control block table, 131
read, 95
View cluster maintenance
call, 142
View structure
lock/unlock data, 130
VIEW_AUTHORITY_CHECK, 128
VIEW_ENQUEUE, 130
VIEW_GET_DDIC_INFO, 131
VIEW_MAINTENANCE, 132
VIEW_MAINTENANCE_CALL, 134
VIEW_MAINTENANCE_LOW_LEVEL, 137
VIEW_MAINTENANCE_SINGLE_ENTRY,
140
VIEW_SET_PF_STATUS, 322
976
VIEWCLUSTER_MAINTENANCE_CALL, 142
VRM_DELETE_VALUES, 322
VRM_SET_VALUES, 322, 323
W
Warehouse
detailed quant data, 868
WDKAL_DATE_ADD_FKDAYS , 243
Web browser
call with URL, 875
Week
calculate based on date, 188
first day of, 244
return day for given language, 244
return day number, 192
WEEK_GET_FIRST_DAY, 244
WEEKDAY_GET, 244
Weekend
process further logic, 192
Where-used list
find, 306
find for BOM, 896
find material in BOM, 900
Winword file
open from presentation server, 425
WLB3_GET_NUMBER_OF_WORKDAYS, 245
Word wrap, 413
Work area
clear text header/line table, 350
initialize text header/line table, 350
read text, 361
Work process
get details, 73
stop/delete session, 77
Working date, 243
Working day, 245
Wrapper function module, 454
WRITE_FORM, 377
WRITE_FORM_LINES, 379
WRITE_LIST, 324
WRITE_MESSAGE, 589
WWW_LIST_TO_HTML, 324
Index
X
XMSG, 593
XPRA, 593
display messages from memory, 593
log output, 593
read and display data, 593
use Transaction SE38 to write to memory,
593
XString format
convert to binary, 227
XXL
transfer data list, 460
transfer meta information, 460
use FM as APIs in ABAP/4, 460, 462
XXL_FULL_API, 460
XXL_SIMPLE_API, 462
977