SAP ECRM_EQUIPMENT_SEND_TO_SERVER Function Module for









ECRM_EQUIPMENT_SEND_TO_SERVER is a standard ecrm equipment send to server 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 ecrm equipment send to server FM, simply by entering the name ECRM_EQUIPMENT_SEND_TO_SERVER into the relevant SAP transaction such as SE37 or SE38.

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



Function ECRM_EQUIPMENT_SEND_TO_SERVER 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 'ECRM_EQUIPMENT_SEND_TO_SERVER'"
EXPORTING
I_BAPICRMDH2 = "
I_KEYWORD_IN = "
* I_DESTINATION = "
* I_SERVER_RELEASE = "
* I_TRFC_QUEUE = "

IMPORTING
O_STATUS = "

TABLES
* IN_EQUI = "
* IN_ILOA_OLD = "
* IN_EQST = "
* IN_STXH_TAB = "
* IN_STXL_TAB = "
* IN_ADRC = "
* IN_ADR2 = "
* IN_ADR3 = "
* IN_JEST = "
* IN_JSTO = "
* IN_RANGE = "
* IN_EQUI_OLD = "
* T_KEY_INFO = "
* T_MESSAGES = "
* T_OTHER_INFO = "
* IN_EQUZ = "
* IN_EQUZ_OLD = "
* IN_EQKT = "
* IN_EQKT_OLD = "
* IN_IHPA = "
* IN_IHPA_OLD = "
* IN_ILOA = "
.



IMPORTING Parameters details for ECRM_EQUIPMENT_SEND_TO_SERVER

I_BAPICRMDH2 -

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

I_KEYWORD_IN -

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

I_DESTINATION -

Data type: CRM_PARA-RFCSERVER
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SERVER_RELEASE -

Data type: CRM_PARA-SERVER_REL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TRFC_QUEUE -

Data type: BAPICRMDH1-RFC_QUEUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ECRM_EQUIPMENT_SEND_TO_SERVER

O_STATUS -

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

TABLES Parameters details for ECRM_EQUIPMENT_SEND_TO_SERVER

IN_EQUI -

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

IN_ILOA_OLD -

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

IN_EQST -

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

IN_STXH_TAB -

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

IN_STXL_TAB -

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

IN_ADRC -

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

IN_ADR2 -

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

IN_ADR3 -

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

IN_JEST -

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

IN_JSTO -

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

IN_RANGE -

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

IN_EQUI_OLD -

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

T_KEY_INFO -

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

T_MESSAGES -

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

T_OTHER_INFO -

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

IN_EQUZ -

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

IN_EQUZ_OLD -

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

IN_EQKT -

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

IN_EQKT_OLD -

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

IN_IHPA -

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

IN_IHPA_OLD -

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

IN_ILOA -

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

Copy and paste ABAP code example for ECRM_EQUIPMENT_SEND_TO_SERVER 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:
lt_in_equi  TYPE STANDARD TABLE OF EQUI, "   
lv_o_status  TYPE BAPICRMEXP-STATUS_EXT, "   
lv_i_bapicrmdh2  TYPE BAPICRMDH2, "   
lt_in_iloa_old  TYPE STANDARD TABLE OF ILOA, "   
lt_in_eqst  TYPE STANDARD TABLE OF EQST, "   
lt_in_stxh_tab  TYPE STANDARD TABLE OF STXH, "   
lt_in_stxl_tab  TYPE STANDARD TABLE OF ITXTL, "   
lt_in_adrc  TYPE STANDARD TABLE OF VADRC, "   
lt_in_adr2  TYPE STANDARD TABLE OF VADR2, "   
lt_in_adr3  TYPE STANDARD TABLE OF VADR3, "   
lt_in_jest  TYPE STANDARD TABLE OF JEST, "   
lt_in_jsto  TYPE STANDARD TABLE OF JSTO, "   
lt_in_range  TYPE STANDARD TABLE OF CRMSELSTR, "   
lt_in_equi_old  TYPE STANDARD TABLE OF EQUI, "   
lv_i_keyword_in  TYPE CRM_PARA-KEYWORD_IN, "   
lt_t_key_info  TYPE STANDARD TABLE OF BAPICRMKEY, "   
lt_t_messages  TYPE STANDARD TABLE OF BAPICRMMSG, "   
lt_t_other_info  TYPE STANDARD TABLE OF BAPIEXTC, "   
lt_in_equz  TYPE STANDARD TABLE OF EQUZ, "   
lv_i_destination  TYPE CRM_PARA-RFCSERVER, "   
lt_in_equz_old  TYPE STANDARD TABLE OF EQUZ, "   
lv_i_server_release  TYPE CRM_PARA-SERVER_REL, "   
lt_in_eqkt  TYPE STANDARD TABLE OF EQKT, "   
lv_i_trfc_queue  TYPE BAPICRMDH1-RFC_QUEUE, "   
lt_in_eqkt_old  TYPE STANDARD TABLE OF EQKT, "   
lt_in_ihpa  TYPE STANDARD TABLE OF IHPAVB, "   
lt_in_ihpa_old  TYPE STANDARD TABLE OF IHPAVB, "   
lt_in_iloa  TYPE STANDARD TABLE OF ILOA. "   

  CALL FUNCTION 'ECRM_EQUIPMENT_SEND_TO_SERVER'  "
    EXPORTING
         I_BAPICRMDH2 = lv_i_bapicrmdh2
         I_KEYWORD_IN = lv_i_keyword_in
         I_DESTINATION = lv_i_destination
         I_SERVER_RELEASE = lv_i_server_release
         I_TRFC_QUEUE = lv_i_trfc_queue
    IMPORTING
         O_STATUS = lv_o_status
    TABLES
         IN_EQUI = lt_in_equi
         IN_ILOA_OLD = lt_in_iloa_old
         IN_EQST = lt_in_eqst
         IN_STXH_TAB = lt_in_stxh_tab
         IN_STXL_TAB = lt_in_stxl_tab
         IN_ADRC = lt_in_adrc
         IN_ADR2 = lt_in_adr2
         IN_ADR3 = lt_in_adr3
         IN_JEST = lt_in_jest
         IN_JSTO = lt_in_jsto
         IN_RANGE = lt_in_range
         IN_EQUI_OLD = lt_in_equi_old
         T_KEY_INFO = lt_t_key_info
         T_MESSAGES = lt_t_messages
         T_OTHER_INFO = lt_t_other_info
         IN_EQUZ = lt_in_equz
         IN_EQUZ_OLD = lt_in_equz_old
         IN_EQKT = lt_in_eqkt
         IN_EQKT_OLD = lt_in_eqkt_old
         IN_IHPA = lt_in_ihpa
         IN_IHPA_OLD = lt_in_ihpa_old
         IN_ILOA = lt_in_iloa
. " ECRM_EQUIPMENT_SEND_TO_SERVER




ABAP code using 7.40 inline data declarations to call FM ECRM_EQUIPMENT_SEND_TO_SERVER

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 STATUS_EXT FROM BAPICRMEXP INTO @DATA(ld_o_status).
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single KEYWORD_IN FROM CRM_PARA INTO @DATA(ld_i_keyword_in).
 
 
 
 
 
"SELECT single RFCSERVER FROM CRM_PARA INTO @DATA(ld_i_destination).
 
 
"SELECT single SERVER_REL FROM CRM_PARA INTO @DATA(ld_i_server_release).
 
 
"SELECT single RFC_QUEUE FROM BAPICRMDH1 INTO @DATA(ld_i_trfc_queue).
 
 
 
 
 


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!