SAP EXPIMP_BUS_TRANS_CUST_PROC_DET Function Module for NOTRANSL: Außenhandel: Ermittlung der Geschäftsart T605Z und des Verfahren









EXPIMP_BUS_TRANS_CUST_PROC_DET is a standard expimp bus trans cust proc det 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: Außenhandel: Ermittlung der Geschäftsart T605Z und des Verfahren 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 expimp bus trans cust proc det FM, simply by entering the name EXPIMP_BUS_TRANS_CUST_PROC_DET into the relevant SAP transaction such as SE37 or SE38.

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



Function EXPIMP_BUS_TRANS_CUST_PROC_DET 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 'EXPIMP_BUS_TRANS_CUST_PROC_DET'"NOTRANSL: Außenhandel: Ermittlung der Geschäftsart T605Z und des Verfahren
EXPORTING
* I_BUS_TRANS_TYPE_FETCH = 'X' "
* I_CUST_PROCEDURE_FETCH = 'X' "
I_LAND1 = "Country
I_VKORG = "Sales Organization
I_VTWEG = "Distribution Channel
* I_SPART = ' ' "Division
* I_MTVER = ' ' "
I_PSTYV = "Item Category
* I_EXART_ORDER = ' ' "

IMPORTING
E_EXART = "Determined business transaction type
E_EXPRF = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLV50E_001 SD documents - Header: User exit for default of Foreign Trade header data
EXIT_SAPLV50E_002 MM documents - header: User exit for default of import header data
EXIT_SAPLV50E_003 SD documents - Item: User exit for export item data default
EXIT_SAPLV50E_004 MM document - Item: User exit for import item data default
EXIT_SAPLV50E_005 Foreign Trade data - Header: User exit: Check completeness of data
EXIT_SAPLV50E_006 Foreign Trade data - Item: User exit - Check completeness of data

IMPORTING Parameters details for EXPIMP_BUS_TRANS_CUST_PROC_DET

I_BUS_TRANS_TYPE_FETCH -

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

I_CUST_PROCEDURE_FETCH -

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

I_LAND1 - Country

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

I_VKORG - Sales Organization

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

I_VTWEG - Distribution Channel

Data type: VBAK-VTWEG
Optional: No
Call by Reference: Yes

I_SPART - Division

Data type: VBAK-SPART
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MTVER -

Data type: MARC-MTVER
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PSTYV - Item Category

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

I_EXART_ORDER -

Data type: VBAP-EXART
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for EXPIMP_BUS_TRANS_CUST_PROC_DET

E_EXART - Determined business transaction type

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

E_EXPRF -

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

Copy and paste ABAP code example for EXPIMP_BUS_TRANS_CUST_PROC_DET 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_e_exart  TYPE EIPO-EXART, "   
lv_i_bus_trans_type_fetch  TYPE C, "   'X'
lv_e_exprf  TYPE EIPO-EXPRF, "   
lv_i_cust_procedure_fetch  TYPE C, "   'X'
lv_i_land1  TYPE EIKP-ALAND, "   
lv_i_vkorg  TYPE VBAK-VKORG, "   
lv_i_vtweg  TYPE VBAK-VTWEG, "   
lv_i_spart  TYPE VBAK-SPART, "   SPACE
lv_i_mtver  TYPE MARC-MTVER, "   SPACE
lv_i_pstyv  TYPE VBRP-PSTYV, "   
lv_i_exart_order  TYPE VBAP-EXART. "   SPACE

  CALL FUNCTION 'EXPIMP_BUS_TRANS_CUST_PROC_DET'  "NOTRANSL: Außenhandel: Ermittlung der Geschäftsart T605Z und des Verfahren
    EXPORTING
         I_BUS_TRANS_TYPE_FETCH = lv_i_bus_trans_type_fetch
         I_CUST_PROCEDURE_FETCH = lv_i_cust_procedure_fetch
         I_LAND1 = lv_i_land1
         I_VKORG = lv_i_vkorg
         I_VTWEG = lv_i_vtweg
         I_SPART = lv_i_spart
         I_MTVER = lv_i_mtver
         I_PSTYV = lv_i_pstyv
         I_EXART_ORDER = lv_i_exart_order
    IMPORTING
         E_EXART = lv_e_exart
         E_EXPRF = lv_e_exprf
. " EXPIMP_BUS_TRANS_CUST_PROC_DET




ABAP code using 7.40 inline data declarations to call FM EXPIMP_BUS_TRANS_CUST_PROC_DET

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 EXART FROM EIPO INTO @DATA(ld_e_exart).
 
DATA(ld_i_bus_trans_type_fetch) = 'X'.
 
"SELECT single EXPRF FROM EIPO INTO @DATA(ld_e_exprf).
 
DATA(ld_i_cust_procedure_fetch) = 'X'.
 
"SELECT single ALAND FROM EIKP INTO @DATA(ld_i_land1).
 
"SELECT single VKORG FROM VBAK INTO @DATA(ld_i_vkorg).
 
"SELECT single VTWEG FROM VBAK INTO @DATA(ld_i_vtweg).
 
"SELECT single SPART FROM VBAK INTO @DATA(ld_i_spart).
DATA(ld_i_spart) = ' '.
 
"SELECT single MTVER FROM MARC INTO @DATA(ld_i_mtver).
DATA(ld_i_mtver) = ' '.
 
"SELECT single PSTYV FROM VBRP INTO @DATA(ld_i_pstyv).
 
"SELECT single EXART FROM VBAP INTO @DATA(ld_i_exart_order).
DATA(ld_i_exart_order) = ' '.
 


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!