SAP Function CHECK_INFO_APAR_DBHOST - PTF-check on database server.

Parameter Reference Type Length Default Optional Text
PATHNAME APARPATH C 64 INFOAPAR_PATH X Pathname of infoapar file in IFS

Parameter Reference Length Optional Text
AS4_PTF_STATUS AS4ALVPTF 221 AS/400: PTF-Status

Exception Text
API_ERROR Internal error
WRONG_INFOAPAR INFO-APAR file is not valid for this OS-release

Functionality
This OS/400-specific function module evaluates the PTF status on thedatabase server of mySAP ERP.

Example
For an example of how to call the function module see RSDSAS4_PTF_CHECK.

Notes
The PTF check is done by calling the function moduleCHECK_INFO_APAR_HOST.
The table parameter AS4_PTF_STATUS is filled with the contents of theInfo APAR file and provides information about the status of any PTF inthe Info APAR. The following statuses can be distinguished:
'0' The PTF has never been loaded.
'1' The PTF has been loaded.
'2' The PTF has been applied.
'3' The PTF has been applied permanently.
'4' The PTF has been permanently removed.
'5' The PTF is damaged. An error occurred when applying the PTF. Youhave to be reload and reapply the PTF.
'6' The PTF is superseded. Another PTF with a more recent fix for theproblem is available on the system.
'L' The licensed product for this PTF has not been installed.
'N' The PTF could not be found.
'E' An error occurred when determining the PTF status.
Only points '2', '3', '6' and 'L' do not represent problems.