SAP CNV_MBT_SNAP_ANALYSE_NETAPP Function Module for Analyze Hardware for Snap HP









CNV_MBT_SNAP_ANALYSE_NETAPP is a standard cnv mbt snap analyse netapp SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Analyze Hardware for Snap HP 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 cnv mbt snap analyse netapp FM, simply by entering the name CNV_MBT_SNAP_ANALYSE_NETAPP into the relevant SAP transaction such as SE37 or SE38.

Function Group: CNV_MBT_SNAP_NETAPP
Program Name: SAPLCNV_MBT_SNAP_NETAPP
Main Program: SAPLCNV_MBT_SNAP_NETAPP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CNV_MBT_SNAP_ANALYSE_NETAPP 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 'CNV_MBT_SNAP_ANALYSE_NETAPP'"Analyze Hardware for Snap HP
EXPORTING
PARTNER_ID = "ABAP/4: Selection value (LOW or HIGH value, external format)
OPSYS = "R/3 System, operating system of application server
HOST = "R/3 System, Name of application server

IMPORTING
PROFILE = "Name of the object
COMMAND = "Logical command name
PARAM = "Parameters of external program (string)

TABLES
PROTOCOL = "Return parameter

EXCEPTIONS
NO_PERMISSION = 1 TOO_MANY_PARAMETERS = 10 ILLEGAL_COMMAND = 11 SYSTEM_CALL_FAILS = 12 COMMAND_NOT_FOUND = 2 PARAMETERS_TOO_LONG = 3 SECURITY_RISK = 4 WRONG_CHECK_CALL_INTERFACE = 5 PROGRAM_START_ERROR = 6 PROGRAM_TERMINATION_ERROR = 7 X_ERROR = 8 PARAMETER_EXPECTED = 9
.



IMPORTING Parameters details for CNV_MBT_SNAP_ANALYSE_NETAPP

PARTNER_ID - ABAP/4: Selection value (LOW or HIGH value, external format)

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

OPSYS - R/3 System, operating system of application server

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

HOST - R/3 System, Name of application server

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

EXPORTING Parameters details for CNV_MBT_SNAP_ANALYSE_NETAPP

PROFILE - Name of the object

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

COMMAND - Logical command name

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

PARAM - Parameters of external program (string)

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

TABLES Parameters details for CNV_MBT_SNAP_ANALYSE_NETAPP

PROTOCOL - Return parameter

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

EXCEPTIONS details

NO_PERMISSION -

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

TOO_MANY_PARAMETERS -

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

ILLEGAL_COMMAND -

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

SYSTEM_CALL_FAILS -

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

COMMAND_NOT_FOUND -

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

PARAMETERS_TOO_LONG -

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

SECURITY_RISK -

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

WRONG_CHECK_CALL_INTERFACE -

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

PROGRAM_START_ERROR -

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

PROGRAM_TERMINATION_ERROR -

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

X_ERROR -

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

PARAMETER_EXPECTED -

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

Copy and paste ABAP code example for CNV_MBT_SNAP_ANALYSE_NETAPP 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_profile  TYPE CNV_MBT_OBJECT_NAME, "   
lt_protocol  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_partner_id  TYPE TVARV_VAL, "   
lv_no_permission  TYPE TVARV_VAL, "   
lv_too_many_parameters  TYPE TVARV_VAL, "   
lv_illegal_command  TYPE TVARV_VAL, "   
lv_system_call_fails  TYPE TVARV_VAL, "   
lv_opsys  TYPE SY-OPSYS, "   
lv_command  TYPE SXPGCOLIST-NAME, "   
lv_command_not_found  TYPE SXPGCOLIST, "   
lv_host  TYPE RFCDISPLAY-RFCHOST, "   
lv_param  TYPE SXPGCOLIST-PARAMETERS, "   
lv_parameters_too_long  TYPE SXPGCOLIST, "   
lv_security_risk  TYPE SXPGCOLIST, "   
lv_wrong_check_call_interface  TYPE SXPGCOLIST, "   
lv_program_start_error  TYPE SXPGCOLIST, "   
lv_program_termination_error  TYPE SXPGCOLIST, "   
lv_x_error  TYPE SXPGCOLIST, "   
lv_parameter_expected  TYPE SXPGCOLIST. "   

  CALL FUNCTION 'CNV_MBT_SNAP_ANALYSE_NETAPP'  "Analyze Hardware for Snap HP
    EXPORTING
         PARTNER_ID = lv_partner_id
         OPSYS = lv_opsys
         HOST = lv_host
    IMPORTING
         PROFILE = lv_profile
         COMMAND = lv_command
         PARAM = lv_param
    TABLES
         PROTOCOL = lt_protocol
    EXCEPTIONS
        NO_PERMISSION = 1
        TOO_MANY_PARAMETERS = 10
        ILLEGAL_COMMAND = 11
        SYSTEM_CALL_FAILS = 12
        COMMAND_NOT_FOUND = 2
        PARAMETERS_TOO_LONG = 3
        SECURITY_RISK = 4
        WRONG_CHECK_CALL_INTERFACE = 5
        PROGRAM_START_ERROR = 6
        PROGRAM_TERMINATION_ERROR = 7
        X_ERROR = 8
        PARAMETER_EXPECTED = 9
. " CNV_MBT_SNAP_ANALYSE_NETAPP




ABAP code using 7.40 inline data declarations to call FM CNV_MBT_SNAP_ANALYSE_NETAPP

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 OPSYS FROM SY INTO @DATA(ld_opsys).
 
"SELECT single NAME FROM SXPGCOLIST INTO @DATA(ld_command).
 
 
"SELECT single RFCHOST FROM RFCDISPLAY INTO @DATA(ld_host).
 
"SELECT single PARAMETERS FROM SXPGCOLIST INTO @DATA(ld_param).
 
 
 
 
 
 
 
 


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!