SAP CRM_CRD_SET_TEXT_EXT_CREATE Function Module for









CRM_CRD_SET_TEXT_EXT_CREATE is a standard crm crd set text ext create 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 crm crd set text ext create FM, simply by entering the name CRM_CRD_SET_TEXT_EXT_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function CRM_CRD_SET_TEXT_EXT_CREATE 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_CRD_SET_TEXT_EXT_CREATE'"
EXPORTING
I_APPL_ID = "
I_PARENT_KEY = "
I_FRGTYPE_ID = "
I_TABNAME = "
I_APPLNAME = "
* I_FLAG_CREATE = ' ' "
* I_CONTEXT = ' ' "
* I_DEVCLASS = '$TMP' "
* I_NAME' ' = '' "
* I_NAME' '_SHORT = '' "

TABLES
* ET_DSOURCE_TEXT = "
* ET_OBJECT_NEW = "

EXCEPTIONS
STRUCTURE_NOT_FOUND = 1 DOMAIN_NOT_FOUND = 2 DATASOURCE_GENERATION_ERROR = 3 CUSTOMIZING_READ_ERROR = 4
.



IMPORTING Parameters details for CRM_CRD_SET_TEXT_EXT_CREATE

I_APPL_ID -

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

I_PARENT_KEY -

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

I_FRGTYPE_ID -

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

I_TABNAME -

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

I_APPLNAME -

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

I_FLAG_CREATE -

Data type: XFELD
Default: ' '
Optional: No
Call by Reference: Yes

I_CONTEXT -

Data type: COMT_CRD_GEN_BW_CONTEXT
Default: ' '
Optional: No
Call by Reference: Yes

I_DEVCLASS -

Data type: DEVCLASS
Default: '$TMP'
Optional: No
Call by Reference: Yes

I_NAMESPACE -

Data type: NAMESPACE
Default: ''
Optional: No
Call by Reference: Yes

I_NAMESPACE_SHORT -

Data type: OXT_NSPC_SHORT
Default: ''
Optional: No
Call by Reference: Yes

TABLES Parameters details for CRM_CRD_SET_TEXT_EXT_CREATE

ET_DSOURCE_TEXT -

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

ET_OBJECT_NEW -

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

EXCEPTIONS details

STRUCTURE_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

DOMAIN_NOT_FOUND -

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

DATASOURCE_GENERATION_ERROR -

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

CUSTOMIZING_READ_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CRM_CRD_SET_TEXT_EXT_CREATE 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_i_appl_id  TYPE COMT_CRD_GEN_BW_APPL_ID, "   
lt_et_dsource_text  TYPE STANDARD TABLE OF CRM_CRD_DSOURCE_NAME, "   
lv_structure_not_found  TYPE CRM_CRD_DSOURCE_NAME, "   
lv_i_parent_key  TYPE COMT_GOX_PARENT_GUID, "   
lv_i_frgtype_id  TYPE COMT_CRD_GEN_BW_SET_TYPE, "   
lt_et_object_new  TYPE STANDARD TABLE OF COMT_GOX_DEF_HEADER, "   
lv_domain_not_found  TYPE COMT_GOX_DEF_HEADER, "   
lv_i_tabname  TYPE DDOBJNAME, "   
lv_datasource_generation_error  TYPE DDOBJNAME, "   
lv_i_applname  TYPE ROAPPLR, "   
lv_customizing_read_error  TYPE ROAPPLR, "   
lv_i_flag_create  TYPE XFELD, "   ' '
lv_i_context  TYPE COMT_CRD_GEN_BW_CONTEXT, "   ' '
lv_i_devclass  TYPE DEVCLASS, "   '$TMP'
lv_i_namespace  TYPE NAMESPACE, "   ''
lv_i_namespace_short  TYPE OXT_NSPC_SHORT. "   ''

  CALL FUNCTION 'CRM_CRD_SET_TEXT_EXT_CREATE'  "
    EXPORTING
         I_APPL_ID = lv_i_appl_id
         I_PARENT_KEY = lv_i_parent_key
         I_FRGTYPE_ID = lv_i_frgtype_id
         I_TABNAME = lv_i_tabname
         I_APPLNAME = lv_i_applname
         I_FLAG_CREATE = lv_i_flag_create
         I_CONTEXT = lv_i_context
         I_DEVCLASS = lv_i_devclass
         I_NAMESPACE = lv_i_namespace
         I_NAMESPACE_SHORT = lv_i_namespace_short
    TABLES
         ET_DSOURCE_TEXT = lt_et_dsource_text
         ET_OBJECT_NEW = lt_et_object_new
    EXCEPTIONS
        STRUCTURE_NOT_FOUND = 1
        DOMAIN_NOT_FOUND = 2
        DATASOURCE_GENERATION_ERROR = 3
        CUSTOMIZING_READ_ERROR = 4
. " CRM_CRD_SET_TEXT_EXT_CREATE




ABAP code using 7.40 inline data declarations to call FM CRM_CRD_SET_TEXT_EXT_CREATE

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_i_flag_create) = ' '.
 
DATA(ld_i_context) = ' '.
 
DATA(ld_i_devclass) = '$TMP'.
 
DATA(ld_i_namespace) = ''.
 
DATA(ld_i_namespace_short) = ''.
 


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!