SAP CRM_CRD_BW_APPL_INTERFACE Function Module for









CRM_CRD_BW_APPL_INTERFACE is a standard crm crd bw appl interface 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 bw appl interface FM, simply by entering the name CRM_CRD_BW_APPL_INTERFACE 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_BW_APPL_INTERFACE 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_BW_APPL_INTERFACE'"
EXPORTING
I_APPL_ID = "
* I_NAME' ' = '' "
* I_NAME' '_SHORT = '' "
I_FRGTYPE_ID = "
* I_FLAG_ATTR_EXT_CREATE = 'X' "
* I_FLAG_TEXT_EXT_CREATE = 'X' "
I_UPDATE_TYPE = "
IT_OBJECTS_PLUS_USAGE = "
* I_CONTEXT = ' ' "
* I_DEVCLASS = '$TMP' "
* I_TRANSPORT_REQUEST = '' "

IMPORTING
E_VIEWNAME = "
E_STRUCNAME = "
E_DSOURCE_ATTR = "
E_PROGNAME = "

TABLES
* ET_DSOURCE_TEXT = "
* ET_OBJECT_NEW = "
* ET_OBJECT_OLD = "

EXCEPTIONS
CREATE_ERROR = 1 DELETE_ERROR = 2 FRGTYPE_NOT_BW_RELEVANT = 3 WRONG_UPDATE_TYPE = 4 NOT_GENERATED_OBJECTS_FOUND = 5
.



IMPORTING Parameters details for CRM_CRD_BW_APPL_INTERFACE

I_APPL_ID -

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

I_NAMESPACE -

Data type: NAMESPACE
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NAMESPACE_SHORT -

Data type: OXT_NSPC_SHORT
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FRGTYPE_ID -

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

I_FLAG_ATTR_EXT_CREATE -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLAG_TEXT_EXT_CREATE -

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_UPDATE_TYPE -

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

IT_OBJECTS_PLUS_USAGE -

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

I_CONTEXT -

Data type: COMT_CRD_GEN_BW_CONTEXT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DEVCLASS -

Data type: DEVCLASS
Default: '$TMP'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TRANSPORT_REQUEST -

Data type: TRKORR
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CRM_CRD_BW_APPL_INTERFACE

E_VIEWNAME -

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

E_STRUCNAME -

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

E_DSOURCE_ATTR -

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

E_PROGNAME -

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

TABLES Parameters details for CRM_CRD_BW_APPL_INTERFACE

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

ET_OBJECT_OLD -

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

EXCEPTIONS details

CREATE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

DELETE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

FRGTYPE_NOT_BW_RELEVANT -

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

WRONG_UPDATE_TYPE -

Data type:
Optional: No
Call by Reference: Yes

NOT_GENERATED_OBJECTS_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CRM_CRD_BW_APPL_INTERFACE 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, "   
lv_e_viewname  TYPE DDOBJNAME, "   
lv_create_error  TYPE DDOBJNAME, "   
lt_et_dsource_text  TYPE STANDARD TABLE OF CRM_CRD_DSOURCE_NAME, "   
lv_i_namespace  TYPE NAMESPACE, "   ''
lv_i_namespace_short  TYPE OXT_NSPC_SHORT, "   ''
lv_e_strucname  TYPE DDOBJNAME, "   
lv_delete_error  TYPE DDOBJNAME, "   
lv_i_frgtype_id  TYPE COMT_CRD_GEN_BW_SET_TYPE, "   
lt_et_object_new  TYPE STANDARD TABLE OF COMT_GOX_DEF_HEADER, "   
lt_et_object_old  TYPE STANDARD TABLE OF COMT_GOX_DEF_HEADER, "   
lv_e_dsource_attr  TYPE ROOSOURCER, "   
lv_i_flag_attr_ext_create  TYPE XFELD, "   'X'
lv_frgtype_not_bw_relevant  TYPE XFELD, "   
lv_e_progname  TYPE PROGNAME, "   
lv_wrong_update_type  TYPE PROGNAME, "   
lv_i_flag_text_ext_create  TYPE XFELD, "   'X'
lv_i_update_type  TYPE UPDATE_TYPE, "   
lv_not_generated_objects_found  TYPE UPDATE_TYPE, "   
lv_it_objects_plus_usage  TYPE COMT_CRD_GEN_BW_OBJECTS_USE_T, "   
lv_i_context  TYPE COMT_CRD_GEN_BW_CONTEXT, "   ' '
lv_i_devclass  TYPE DEVCLASS, "   '$TMP'
lv_i_transport_request  TYPE TRKORR. "   ''

  CALL FUNCTION 'CRM_CRD_BW_APPL_INTERFACE'  "
    EXPORTING
         I_APPL_ID = lv_i_appl_id
         I_NAMESPACE = lv_i_namespace
         I_NAMESPACE_SHORT = lv_i_namespace_short
         I_FRGTYPE_ID = lv_i_frgtype_id
         I_FLAG_ATTR_EXT_CREATE = lv_i_flag_attr_ext_create
         I_FLAG_TEXT_EXT_CREATE = lv_i_flag_text_ext_create
         I_UPDATE_TYPE = lv_i_update_type
         IT_OBJECTS_PLUS_USAGE = lv_it_objects_plus_usage
         I_CONTEXT = lv_i_context
         I_DEVCLASS = lv_i_devclass
         I_TRANSPORT_REQUEST = lv_i_transport_request
    IMPORTING
         E_VIEWNAME = lv_e_viewname
         E_STRUCNAME = lv_e_strucname
         E_DSOURCE_ATTR = lv_e_dsource_attr
         E_PROGNAME = lv_e_progname
    TABLES
         ET_DSOURCE_TEXT = lt_et_dsource_text
         ET_OBJECT_NEW = lt_et_object_new
         ET_OBJECT_OLD = lt_et_object_old
    EXCEPTIONS
        CREATE_ERROR = 1
        DELETE_ERROR = 2
        FRGTYPE_NOT_BW_RELEVANT = 3
        WRONG_UPDATE_TYPE = 4
        NOT_GENERATED_OBJECTS_FOUND = 5
. " CRM_CRD_BW_APPL_INTERFACE




ABAP code using 7.40 inline data declarations to call FM CRM_CRD_BW_APPL_INTERFACE

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_namespace) = ''.
 
DATA(ld_i_namespace_short) = ''.
 
 
 
 
 
 
 
DATA(ld_i_flag_attr_ext_create) = 'X'.
 
 
 
 
DATA(ld_i_flag_text_ext_create) = 'X'.
 
 
 
 
DATA(ld_i_context) = ' '.
 
DATA(ld_i_devclass) = '$TMP'.
 
DATA(ld_i_transport_request) = ''.
 


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!