SAP SAMPLE_PROCESS_CRM3_020 Function Module for NOTRANSL: Schnittstellenbeschreibung zum Customer Exit Kundenerweiterungen









SAMPLE_PROCESS_CRM3_020 is a standard sample process crm3 020 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: Schnittstellenbeschreibung zum Customer Exit Kundenerweiterungen 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 sample process crm3 020 FM, simply by entering the name SAMPLE_PROCESS_CRM3_020 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 SAMPLE_PROCESS_CRM3_020 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 'SAMPLE_PROCESS_CRM3_020'"NOTRANSL: Schnittstellenbeschreibung zum Customer Exit Kundenerweiterungen
EXPORTING
I_DOWNLOAD_HEADER = "
I_KEYWORD_IN = "
I_DESTINATION = "
I_SERVER_RELEASE = "
I_TRFC_QUEUE = "
I_CUSTOMER = "
I_ADDRESS = "
I_SALESORG = "
I_TAXDATA = "

TABLES
TI_KEY_INFO = "BAPI Structure: Key Information
TI_ROLES = "BAPI Structure: Customer, Partner Roles
TI_EXTENSION = "Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
T_IDOC_CONTRL = "Control Record (IDoc)
T_IDOC_DATA = "Data Record (IDoc)
TI_MESSAGES = "BAPI Structure: Messages per Data Record
TI_OTHER_INFO = "Container for 'Customer Exit' Parameter
TI_STDTEL = "BAPI Structure: Telephone (Business Address Services)
TI_STDFAX = "BAPI Structure: Fax Numbers (Business Address Services)
TI_STDTTX = "BAPI Structure: Teletex Numbers (Business Address Services)
TI_STDTLX = "BAPI Structure: Telex Numbers (Business Address Services)
TI_STDMAIL = "BAPI Structure: E-Mail Addresses (Business Address Services)
* TI_BANK = "BAPI Structure: Customer Bank Data
.



IMPORTING Parameters details for SAMPLE_PROCESS_CRM3_020

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_CUSTOMER -

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

I_ADDRESS -

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

I_SALESORG -

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

I_TAXDATA -

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

TABLES Parameters details for SAMPLE_PROCESS_CRM3_020

TI_KEY_INFO - BAPI Structure: Key Information

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

TI_ROLES - BAPI Structure: Customer, Partner Roles

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

TI_EXTENSION - Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut

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

T_IDOC_CONTRL - Control Record (IDoc)

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

T_IDOC_DATA - Data Record (IDoc)

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

TI_MESSAGES - BAPI Structure: Messages per Data Record

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

TI_OTHER_INFO - Container for 'Customer Exit' Parameter

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

TI_STDTEL - BAPI Structure: Telephone (Business Address Services)

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

TI_STDFAX - BAPI Structure: Fax Numbers (Business Address Services)

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

TI_STDTTX - BAPI Structure: Teletex Numbers (Business Address Services)

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

TI_STDTLX - BAPI Structure: Telex Numbers (Business Address Services)

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

TI_STDMAIL - BAPI Structure: E-Mail Addresses (Business Address Services)

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

TI_BANK - BAPI Structure: Customer Bank Data

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

Copy and paste ABAP code example for SAMPLE_PROCESS_CRM3_020 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_roles  TYPE STANDARD TABLE OF BAPICUSPAR, "   
lt_ti_extension  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_t_idoc_contrl  TYPE STANDARD TABLE OF EDIDC, "   
lt_t_idoc_data  TYPE STANDARD TABLE OF EDIDD, "   
lt_ti_messages  TYPE STANDARD TABLE OF BAPICRMMSG, "   
lv_i_keyword_in  TYPE CRM_PARA-KEYWORD_IN, "   
lv_i_destination  TYPE CRM_PARA-RFCSERVER, "   
lt_ti_other_info  TYPE STANDARD TABLE OF BAPIEXTC, "   
lt_ti_stdtel  TYPE STANDARD TABLE OF BAPICUSTEL, "   
lv_i_server_release  TYPE CRM_PARA-SERVER_REL, "   
lt_ti_stdfax  TYPE STANDARD TABLE OF BAPICUSFAX, "   
lv_i_trfc_queue  TYPE BAPICRMDH1-RFC_QUEUE, "   
lt_ti_stdttx  TYPE STANDARD TABLE OF BAPICUSTTX, "   
lv_i_customer  TYPE BAPICUSGEN, "   
lv_i_address  TYPE BAPICUSADR, "   
lt_ti_stdtlx  TYPE STANDARD TABLE OF BAPICUSTLX, "   
lv_i_salesorg  TYPE BAPICUSSLS, "   
lt_ti_stdmail  TYPE STANDARD TABLE OF BAPICSMAIL, "   
lt_ti_bank  TYPE STANDARD TABLE OF BAPICUSBK, "   
lv_i_taxdata  TYPE BAPICUSTAX. "   

  CALL FUNCTION 'SAMPLE_PROCESS_CRM3_020'  "NOTRANSL: Schnittstellenbeschreibung zum Customer Exit Kundenerweiterungen
    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_CUSTOMER = lv_i_customer
         I_ADDRESS = lv_i_address
         I_SALESORG = lv_i_salesorg
         I_TAXDATA = lv_i_taxdata
    TABLES
         TI_KEY_INFO = lt_ti_key_info
         TI_ROLES = lt_ti_roles
         TI_EXTENSION = lt_ti_extension
         T_IDOC_CONTRL = lt_t_idoc_contrl
         T_IDOC_DATA = lt_t_idoc_data
         TI_MESSAGES = lt_ti_messages
         TI_OTHER_INFO = lt_ti_other_info
         TI_STDTEL = lt_ti_stdtel
         TI_STDFAX = lt_ti_stdfax
         TI_STDTTX = lt_ti_stdttx
         TI_STDTLX = lt_ti_stdtlx
         TI_STDMAIL = lt_ti_stdmail
         TI_BANK = lt_ti_bank
. " SAMPLE_PROCESS_CRM3_020




ABAP code using 7.40 inline data declarations to call FM SAMPLE_PROCESS_CRM3_020

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).
 
 
 
 
 
 
 
 
 


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!