SAP CRM_IC_F4_OBJECT_TYPE Function Module for Present F4 help and set screen field if provided









CRM_IC_F4_OBJECT_TYPE is a standard crm ic f4 object type SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Present F4 help and set screen field if provided 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 crm ic f4 object type FM, simply by entering the name CRM_IC_F4_OBJECT_TYPE into the relevant SAP transaction such as SE37 or SE38.

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



Function CRM_IC_F4_OBJECT_TYPE 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 'CRM_IC_F4_OBJECT_TYPE'"Present F4 help and set screen field if provided
EXPORTING
* IV_LOGICALSYSTEM = "Logical system
* IV_PROGRAM = "ABAP program, current main program
* IV_SCREENNUMBER = "ABAP program, number of current screen
* IV_FIELDNAME = "Field name
* IV_SCREENLINE = "Screens, current table line index
* IV_WMODE = '1' "Processing mode

IMPORTING
EV_DESCRIPTION = "Name

CHANGING
* CV_OBJECT_TYPE = "Object type

EXCEPTIONS
NO_CONNECTION = 1
.



IMPORTING Parameters details for CRM_IC_F4_OBJECT_TYPE

IV_LOGICALSYSTEM - Logical system

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

IV_PROGRAM - ABAP program, current main program

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

IV_SCREENNUMBER - ABAP program, number of current screen

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

IV_FIELDNAME - Field name

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

IV_SCREENLINE - Screens, current table line index

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

IV_WMODE - Processing mode

Data type: CRMT_IC_WMODE
Default: '1'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CRM_IC_F4_OBJECT_TYPE

EV_DESCRIPTION - Name

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

CHANGING Parameters details for CRM_IC_F4_OBJECT_TYPE

CV_OBJECT_TYPE - Object type

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

EXCEPTIONS details

NO_CONNECTION - No connection to remote system

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

Copy and paste ABAP code example for CRM_IC_F4_OBJECT_TYPE 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_no_connection  TYPE STRING, "   
lv_cv_object_type  TYPE SWO_OBJTYP, "   
lv_ev_description  TYPE SWC_DESCR, "   
lv_iv_logicalsystem  TYPE LOGSYS, "   
lv_iv_program  TYPE SYREPID, "   
lv_iv_screennumber  TYPE SYDYNNR, "   
lv_iv_fieldname  TYPE DYNFNAM, "   
lv_iv_screenline  TYPE SYSTEPL, "   
lv_iv_wmode  TYPE CRMT_IC_WMODE. "   '1'

  CALL FUNCTION 'CRM_IC_F4_OBJECT_TYPE'  "Present F4 help and set screen field if provided
    EXPORTING
         IV_LOGICALSYSTEM = lv_iv_logicalsystem
         IV_PROGRAM = lv_iv_program
         IV_SCREENNUMBER = lv_iv_screennumber
         IV_FIELDNAME = lv_iv_fieldname
         IV_SCREENLINE = lv_iv_screenline
         IV_WMODE = lv_iv_wmode
    IMPORTING
         EV_DESCRIPTION = lv_ev_description
    CHANGING
         CV_OBJECT_TYPE = lv_cv_object_type
    EXCEPTIONS
        NO_CONNECTION = 1
. " CRM_IC_F4_OBJECT_TYPE




ABAP code using 7.40 inline data declarations to call FM CRM_IC_F4_OBJECT_TYPE

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_iv_wmode) = '1'.
 


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!