SAP SPPF_VIEW_START_CRM Function Module for









SPPF_VIEW_START_CRM is a standard sppf view start crm SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 sppf view start crm FM, simply by entering the name SPPF_VIEW_START_CRM into the relevant SAP transaction such as SE37 or SE38.

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



Function SPPF_VIEW_START_CRM 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 'SPPF_VIEW_START_CRM'"
EXPORTING
IT_CONTEXT = "PPF: Table with Contexts
* IT_FILTER = "Filter Table
* IP_SMALL_TITLE = "
* IP_GRID_TITLE = "
* IP_APPLKEY = "PPF: Application Key (Semantic)
* IP_VIEWMODE = 'D' "
* IT_EXCL_FCODES = "PPF: Function Codes
* IP_DETLOG = "
* IP_HEADER = 'X' "
* IP_SHOW_INACTIVE = ' ' "
* IS_VARIANT = "Layout
* IP_STRUCTURE = 'PPFSVTRIGA' "
.



IMPORTING Parameters details for SPPF_VIEW_START_CRM

IT_CONTEXT - PPF: Table with Contexts

Data type: PPFTCNTXTS
Optional: No
Call by Reference: Yes

IT_FILTER - Filter Table

Data type: PPFTFILTER
Optional: Yes
Call by Reference: Yes

IP_SMALL_TITLE -

Data type: LVC_TITSZ
Optional: Yes
Call by Reference: Yes

IP_GRID_TITLE -

Data type: LVC_TITLE
Optional: Yes
Call by Reference: Yes

IP_APPLKEY - PPF: Application Key (Semantic)

Data type: PPFDAPPKEY
Optional: Yes
Call by Reference: Yes

IP_VIEWMODE -

Data type: PPFDMODE
Default: 'D'
Optional: Yes
Call by Reference: Yes

IT_EXCL_FCODES - PPF: Function Codes

Data type: UI_FUNCTIONS
Optional: Yes
Call by Reference: Yes

IP_DETLOG -

Data type: BALLOGHNDL
Optional: Yes
Call by Reference: Yes

IP_HEADER -

Data type: BOOLEAN
Default: 'X'
Optional: Yes
Call by Reference: Yes

IP_SHOW_INACTIVE -

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: Yes

IS_VARIANT - Layout

Data type: DISVARIANT
Optional: Yes
Call by Reference: Yes

IP_STRUCTURE -

Data type: TABNAME
Default: 'PPFSVTRIGA'
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for SPPF_VIEW_START_CRM 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_it_context  TYPE PPFTCNTXTS, "   
lv_it_filter  TYPE PPFTFILTER, "   
lv_ip_small_title  TYPE LVC_TITSZ, "   
lv_ip_grid_title  TYPE LVC_TITLE, "   
lv_ip_applkey  TYPE PPFDAPPKEY, "   
lv_ip_viewmode  TYPE PPFDMODE, "   'D'
lv_it_excl_fcodes  TYPE UI_FUNCTIONS, "   
lv_ip_detlog  TYPE BALLOGHNDL, "   
lv_ip_header  TYPE BOOLEAN, "   'X'
lv_ip_show_inactive  TYPE BOOLEAN, "   SPACE
lv_is_variant  TYPE DISVARIANT, "   
lv_ip_structure  TYPE TABNAME. "   'PPFSVTRIGA'

  CALL FUNCTION 'SPPF_VIEW_START_CRM'  "
    EXPORTING
         IT_CONTEXT = lv_it_context
         IT_FILTER = lv_it_filter
         IP_SMALL_TITLE = lv_ip_small_title
         IP_GRID_TITLE = lv_ip_grid_title
         IP_APPLKEY = lv_ip_applkey
         IP_VIEWMODE = lv_ip_viewmode
         IT_EXCL_FCODES = lv_it_excl_fcodes
         IP_DETLOG = lv_ip_detlog
         IP_HEADER = lv_ip_header
         IP_SHOW_INACTIVE = lv_ip_show_inactive
         IS_VARIANT = lv_is_variant
         IP_STRUCTURE = lv_ip_structure
. " SPPF_VIEW_START_CRM




ABAP code using 7.40 inline data declarations to call FM SPPF_VIEW_START_CRM

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.

 
 
 
 
 
DATA(ld_ip_viewmode) = 'D'.
 
 
 
DATA(ld_ip_header) = 'X'.
 
DATA(ld_ip_show_inactive) = ' '.
 
 
DATA(ld_ip_structure) = 'PPFSVTRIGA'.
 


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!