SAP /SDF/TECHSYS_LANDSCAPE Function Module for Landscape Description of a Technical System









/SDF/TECHSYS_LANDSCAPE is a standard /sdf/techsys landscape SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Landscape Description of a Technical System processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for /sdf/techsys landscape FM, simply by entering the name /SDF/TECHSYS_LANDSCAPE into the relevant SAP transaction such as SE37 or SE38.

Function Group: /SDF/SDCC_TECHSYS
Program Name: /SDF/SAPLSDCC_TECHSYS
Main Program: /SDF/SAPLSDCC_TECHSYS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function /SDF/TECHSYS_LANDSCAPE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION '/SDF/TECHSYS_LANDSCAPE'"Landscape Description of a Technical System
EXPORTING
* NAME' ' = "CIM namespace name limited to 16 characters
* EXTENDED_SID = "Extended System ID
* SYSTEM_TYPE = "Technical System Type
* CONTROL_DIRECTIVE = "Control Infromation (separated by |)

IMPORTING
SYSTEM_PROPERTY = "Technical System info
CR_CONTENT_STATUS = "LMDB CR Content Status
MONITORING_TIME_ZONE = "System Time Zone of the Monitoring System

TABLES
* APPLICATION_SERVERS = "Table of Appl Server and its Software
* DATABASE_PROPERTY = "Database with its instance hostname
* SOFTWARE_COMPONENTS = "EWA Data Table for software components
* PRODUCT_INSTANCES = "product instances
* HOST_RELATIONS = "logical host names
* HOST_PROPERTIES = "CIM Properties of Host (SAP_BC_Computersystems)

EXCEPTIONS
SYSTEM_UNKNOWN = 1 LMBDB_FAILURE = 2 UNAUTHORIZED = 3 NO_SERVICE_SYSTEM = 4
.



IMPORTING Parameters details for /SDF/TECHSYS_LANDSCAPE

NAMESPACE - CIM namespace name limited to 16 characters

Data type: /SDF/DDIC_CHAR-CHAR16
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXTENDED_SID - Extended System ID

Data type: /SDF/DDIC_CHAR-CHAR8
Optional: Yes
Call by Reference: No ( called with pass by value option)

SYSTEM_TYPE - Technical System Type

Data type: /SDF/CCDB_DIRV-SYSTEM_TYPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CONTROL_DIRECTIVE - Control Infromation (separated by |)

Data type: CSM_INVALS-VALUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for /SDF/TECHSYS_LANDSCAPE

SYSTEM_PROPERTY - Technical System info

Data type: /SDF/EWA_SYSTEM_PROPERTY
Optional: No
Call by Reference: No ( called with pass by value option)

CR_CONTENT_STATUS - LMDB CR Content Status

Data type: /SDF/LMDB_CR_CONTENT_STATUS
Optional: No
Call by Reference: No ( called with pass by value option)

MONITORING_TIME_ZONE - System Time Zone of the Monitoring System

Data type: SYST-ZONLO
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for /SDF/TECHSYS_LANDSCAPE

APPLICATION_SERVERS - Table of Appl Server and its Software

Data type: /SDF/APP_SERVER_WITH_SOFTW
Optional: Yes
Call by Reference: Yes

DATABASE_PROPERTY - Database with its instance hostname

Data type: /SDF/DB_WITH_INSTANCEHOSTS
Optional: Yes
Call by Reference: Yes

SOFTWARE_COMPONENTS - EWA Data Table for software components

Data type: /SDF/SOFTWARE_COMPONENT
Optional: Yes
Call by Reference: Yes

PRODUCT_INSTANCES - product instances

Data type: /SDF/PPMSKEY
Optional: Yes
Call by Reference: Yes

HOST_RELATIONS - logical host names

Data type: /SDF/HOST_RELATIONS
Optional: Yes
Call by Reference: Yes

HOST_PROPERTIES - CIM Properties of Host (SAP_BC_Computersystems)

Data type: /SDF/HOST_PROPERTIES
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

SYSTEM_UNKNOWN - System is unknown

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

LMBDB_FAILURE - Data retrieval from LMDB failed

Data type:
Optional: No
Call by Reference: Yes

UNAUTHORIZED - Not authorized to call LMDB

Data type:
Optional: No
Call by Reference: Yes

NO_SERVICE_SYSTEM - System does not support this function

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for /SDF/TECHSYS_LANDSCAPE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_namespace  TYPE /SDF/DDIC_CHAR-CHAR16, "   
lv_system_unknown  TYPE /SDF/DDIC_CHAR, "   
lv_system_property  TYPE /SDF/EWA_SYSTEM_PROPERTY, "   
lt_application_servers  TYPE STANDARD TABLE OF /SDF/APP_SERVER_WITH_SOFTW, "   
lv_extended_sid  TYPE /SDF/DDIC_CHAR-CHAR8, "   
lv_lmbdb_failure  TYPE /SDF/DDIC_CHAR, "   
lv_cr_content_status  TYPE /SDF/LMDB_CR_CONTENT_STATUS, "   
lt_database_property  TYPE STANDARD TABLE OF /SDF/DB_WITH_INSTANCEHOSTS, "   
lv_system_type  TYPE /SDF/CCDB_DIRV-SYSTEM_TYPE, "   
lv_unauthorized  TYPE /SDF/CCDB_DIRV, "   
lt_software_components  TYPE STANDARD TABLE OF /SDF/SOFTWARE_COMPONENT, "   
lv_monitoring_time_zone  TYPE SYST-ZONLO, "   
lv_control_directive  TYPE CSM_INVALS-VALUE, "   
lv_no_service_system  TYPE CSM_INVALS, "   
lt_product_instances  TYPE STANDARD TABLE OF /SDF/PPMSKEY, "   
lt_host_relations  TYPE STANDARD TABLE OF /SDF/HOST_RELATIONS, "   
lt_host_properties  TYPE STANDARD TABLE OF /SDF/HOST_PROPERTIES. "   

  CALL FUNCTION '/SDF/TECHSYS_LANDSCAPE'  "Landscape Description of a Technical System
    EXPORTING
         NAMESPACE = lv_namespace
         EXTENDED_SID = lv_extended_sid
         SYSTEM_TYPE = lv_system_type
         CONTROL_DIRECTIVE = lv_control_directive
    IMPORTING
         SYSTEM_PROPERTY = lv_system_property
         CR_CONTENT_STATUS = lv_cr_content_status
         MONITORING_TIME_ZONE = lv_monitoring_time_zone
    TABLES
         APPLICATION_SERVERS = lt_application_servers
         DATABASE_PROPERTY = lt_database_property
         SOFTWARE_COMPONENTS = lt_software_components
         PRODUCT_INSTANCES = lt_product_instances
         HOST_RELATIONS = lt_host_relations
         HOST_PROPERTIES = lt_host_properties
    EXCEPTIONS
        SYSTEM_UNKNOWN = 1
        LMBDB_FAILURE = 2
        UNAUTHORIZED = 3
        NO_SERVICE_SYSTEM = 4
. " /SDF/TECHSYS_LANDSCAPE




ABAP code using 7.40 inline data declarations to call FM /SDF/TECHSYS_LANDSCAPE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single CHAR16 FROM /SDF/DDIC_CHAR INTO @DATA(ld_namespace).
 
 
 
 
"SELECT single CHAR8 FROM /SDF/DDIC_CHAR INTO @DATA(ld_extended_sid).
 
 
 
 
"SELECT single SYSTEM_TYPE FROM /SDF/CCDB_DIRV INTO @DATA(ld_system_type).
 
 
 
"SELECT single ZONLO FROM SYST INTO @DATA(ld_monitoring_time_zone).
 
"SELECT single VALUE FROM CSM_INVALS INTO @DATA(ld_control_directive).
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!