SAP CRS_CUSTOMER_SEND_TO_SERVER Function Module for NOTRANSL: Prüfung Downloadrelevanz und Datentransfer zum SFA Server









CRS_CUSTOMER_SEND_TO_SERVER is a standard crs customer 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 for NOTRANSL: Prüfung Downloadrelevanz und Datentransfer zum SFA Server 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 crs customer send to server FM, simply by entering the name CRS_CUSTOMER_SEND_TO_SERVER into the relevant SAP transaction such as SE37 or SE38.

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



Function CRS_CUSTOMER_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 'CRS_CUSTOMER_SEND_TO_SERVER'"NOTRANSL: Prüfung Downloadrelevanz und Datentransfer zum SFA Server
EXPORTING
I_DOWNLOAD_HEADER = "
I_KEYWORD_IN = "
I_DESTINATION = "
I_SERVER_RELEASE = "
I_TRFC_QUEUE = "
* I_FLAG_CONTACT_ONLY = ' ' "

TABLES
* TI_KEY_INFO = "
* TI_NEW_KNVI = "
* TI_OLD_KNVI = "
* TI_NEW_KNBK = "
* TI_OLD_KNBK = "
* TI_NEW_KNVA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* TI_OLD_KNVA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* TI_NEW_KNB5 = "
* TI_OLD_KNB5 = "
* TI_NEW_KNVK = "
* TI_OLD_KNVK = "
* TI_MESSAGES = "
* TI_NEW_SADR = "
* TI_OLD_SADR = "
* TI_NEW_ADRC = "
* TI_OLD_ADRC = "
* TI_NEW_ADRP = "
* TI_OLD_ADRP = "
* TI_NEW_ADR2 = "
* TI_OLD_ADR2 = "
* TI_NEW_ADR3 = "
* TI_OLD_ADR3 = "
* TI_OTHER_INFO = "
* TI_NEW_ADR4 = "
* TI_OLD_ADR4 = "
* TI_NEW_ADR5 = "
* TI_OLD_ADR5 = "
* TI_NEW_ADR6 = "
* TI_OLD_ADR6 = "
* TI_INIT_FILTER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* TI_NEW_ADCP = "Change Document Structure; Generated by RSSCD000
* TI_OLD_ADCP = "Change Document Structure; Generated by RSSCD000
* TI_NEW_KNA1 = "
* TI_OLD_KNA1 = "
* TI_NEW_KNVV = "
* TI_OLD_KNVV = "
* TI_NEW_KNVP = "
* TI_OLD_KNVP = "
.



IMPORTING Parameters details for CRS_CUSTOMER_SEND_TO_SERVER

I_DOWNLOAD_HEADER -

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: No
Call by Reference: No ( called with pass by value option)

I_SERVER_RELEASE -

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

I_TRFC_QUEUE -

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

I_FLAG_CONTACT_ONLY -

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

TABLES Parameters details for CRS_CUSTOMER_SEND_TO_SERVER

TI_KEY_INFO -

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

TI_NEW_KNVI -

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

TI_OLD_KNVI -

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

TI_NEW_KNBK -

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

TI_OLD_KNBK -

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

TI_NEW_KNVA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TI_OLD_KNVA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TI_NEW_KNB5 -

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

TI_OLD_KNB5 -

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

TI_NEW_KNVK -

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

TI_OLD_KNVK -

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

TI_MESSAGES -

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

TI_NEW_SADR -

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

TI_OLD_SADR -

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

TI_NEW_ADRC -

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

TI_OLD_ADRC -

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

TI_NEW_ADRP -

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

TI_OLD_ADRP -

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

TI_NEW_ADR2 -

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

TI_OLD_ADR2 -

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

TI_NEW_ADR3 -

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

TI_OLD_ADR3 -

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

TI_OTHER_INFO -

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

TI_NEW_ADR4 -

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

TI_OLD_ADR4 -

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

TI_NEW_ADR5 -

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

TI_OLD_ADR5 -

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

TI_NEW_ADR6 -

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

TI_OLD_ADR6 -

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

TI_INIT_FILTER - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TI_NEW_ADCP - Change Document Structure; Generated by RSSCD000

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

TI_OLD_ADCP - Change Document Structure; Generated by RSSCD000

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

TI_NEW_KNA1 -

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

TI_OLD_KNA1 -

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

TI_NEW_KNVV -

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

TI_OLD_KNVV -

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

TI_NEW_KNVP -

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

TI_OLD_KNVP -

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

Copy and paste ABAP code example for CRS_CUSTOMER_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_ti_key_info  TYPE STANDARD TABLE OF BAPICRMKEY, "   
lv_i_download_header  TYPE BAPICRMDH2, "   
lt_ti_new_knvi  TYPE STANDARD TABLE OF FKNVI, "   
lt_ti_old_knvi  TYPE STANDARD TABLE OF FKNVI, "   
lt_ti_new_knbk  TYPE STANDARD TABLE OF FKNBK, "   
lt_ti_old_knbk  TYPE STANDARD TABLE OF FKNBK, "   
lt_ti_new_knva  TYPE STANDARD TABLE OF FKNVA, "   
lt_ti_old_knva  TYPE STANDARD TABLE OF FKNVA, "   
lt_ti_new_knb5  TYPE STANDARD TABLE OF FKNB5, "   
lt_ti_old_knb5  TYPE STANDARD TABLE OF FKNB5, "   
lt_ti_new_knvk  TYPE STANDARD TABLE OF FKNVK, "   
lt_ti_old_knvk  TYPE STANDARD TABLE OF FKNVK, "   
lt_ti_messages  TYPE STANDARD TABLE OF BAPICRMMSG, "   
lv_i_keyword_in  TYPE CRM_PARA-KEYWORD_IN, "   
lt_ti_new_sadr  TYPE STANDARD TABLE OF VSADR, "   
lt_ti_old_sadr  TYPE STANDARD TABLE OF VSADR, "   
lt_ti_new_adrc  TYPE STANDARD TABLE OF VADRC, "   
lt_ti_old_adrc  TYPE STANDARD TABLE OF VADRC, "   
lt_ti_new_adrp  TYPE STANDARD TABLE OF VADRP, "   
lt_ti_old_adrp  TYPE STANDARD TABLE OF VADRP, "   
lt_ti_new_adr2  TYPE STANDARD TABLE OF VADR2, "   
lt_ti_old_adr2  TYPE STANDARD TABLE OF VADR2, "   
lt_ti_new_adr3  TYPE STANDARD TABLE OF VADR3, "   
lt_ti_old_adr3  TYPE STANDARD TABLE OF VADR3, "   
lv_i_destination  TYPE CRM_PARA-RFCSERVER, "   
lt_ti_other_info  TYPE STANDARD TABLE OF BAPIEXTC, "   
lt_ti_new_adr4  TYPE STANDARD TABLE OF VADR4, "   
lt_ti_old_adr4  TYPE STANDARD TABLE OF VADR4, "   
lt_ti_new_adr5  TYPE STANDARD TABLE OF VADR5, "   
lt_ti_old_adr5  TYPE STANDARD TABLE OF VADR5, "   
lt_ti_new_adr6  TYPE STANDARD TABLE OF VADR6, "   
lt_ti_old_adr6  TYPE STANDARD TABLE OF VADR6, "   
lt_ti_init_filter  TYPE STANDARD TABLE OF CRMSELSTR, "   
lt_ti_new_adcp  TYPE STANDARD TABLE OF VADCP, "   
lt_ti_old_adcp  TYPE STANDARD TABLE OF VADCP, "   
lt_ti_new_kna1  TYPE STANDARD TABLE OF KNA1, "   
lv_i_server_release  TYPE CRM_PARA-SERVER_REL, "   
lt_ti_old_kna1  TYPE STANDARD TABLE OF KNA1, "   
lv_i_trfc_queue  TYPE BAPICRMDH1-RFC_QUEUE, "   
lt_ti_new_knvv  TYPE STANDARD TABLE OF KNVV, "   
lv_i_flag_contact_only  TYPE C, "   ' '
lt_ti_old_knvv  TYPE STANDARD TABLE OF KNVV, "   
lt_ti_new_knvp  TYPE STANDARD TABLE OF FKNVP, "   
lt_ti_old_knvp  TYPE STANDARD TABLE OF FKNVP. "   

  CALL FUNCTION 'CRS_CUSTOMER_SEND_TO_SERVER'  "NOTRANSL: Prüfung Downloadrelevanz und Datentransfer zum SFA Server
    EXPORTING
         I_DOWNLOAD_HEADER = lv_i_download_header
         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
         I_FLAG_CONTACT_ONLY = lv_i_flag_contact_only
    TABLES
         TI_KEY_INFO = lt_ti_key_info
         TI_NEW_KNVI = lt_ti_new_knvi
         TI_OLD_KNVI = lt_ti_old_knvi
         TI_NEW_KNBK = lt_ti_new_knbk
         TI_OLD_KNBK = lt_ti_old_knbk
         TI_NEW_KNVA = lt_ti_new_knva
         TI_OLD_KNVA = lt_ti_old_knva
         TI_NEW_KNB5 = lt_ti_new_knb5
         TI_OLD_KNB5 = lt_ti_old_knb5
         TI_NEW_KNVK = lt_ti_new_knvk
         TI_OLD_KNVK = lt_ti_old_knvk
         TI_MESSAGES = lt_ti_messages
         TI_NEW_SADR = lt_ti_new_sadr
         TI_OLD_SADR = lt_ti_old_sadr
         TI_NEW_ADRC = lt_ti_new_adrc
         TI_OLD_ADRC = lt_ti_old_adrc
         TI_NEW_ADRP = lt_ti_new_adrp
         TI_OLD_ADRP = lt_ti_old_adrp
         TI_NEW_ADR2 = lt_ti_new_adr2
         TI_OLD_ADR2 = lt_ti_old_adr2
         TI_NEW_ADR3 = lt_ti_new_adr3
         TI_OLD_ADR3 = lt_ti_old_adr3
         TI_OTHER_INFO = lt_ti_other_info
         TI_NEW_ADR4 = lt_ti_new_adr4
         TI_OLD_ADR4 = lt_ti_old_adr4
         TI_NEW_ADR5 = lt_ti_new_adr5
         TI_OLD_ADR5 = lt_ti_old_adr5
         TI_NEW_ADR6 = lt_ti_new_adr6
         TI_OLD_ADR6 = lt_ti_old_adr6
         TI_INIT_FILTER = lt_ti_init_filter
         TI_NEW_ADCP = lt_ti_new_adcp
         TI_OLD_ADCP = lt_ti_old_adcp
         TI_NEW_KNA1 = lt_ti_new_kna1
         TI_OLD_KNA1 = lt_ti_old_kna1
         TI_NEW_KNVV = lt_ti_new_knvv
         TI_OLD_KNVV = lt_ti_old_knvv
         TI_NEW_KNVP = lt_ti_new_knvp
         TI_OLD_KNVP = lt_ti_old_knvp
. " CRS_CUSTOMER_SEND_TO_SERVER




ABAP code using 7.40 inline data declarations to call FM CRS_CUSTOMER_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 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).
 
 
DATA(ld_i_flag_contact_only) = ' '.
 
 
 
 


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!