SAP FT_COMBIN_MOT_CUSTOFFICE_CHECK Function Module for NOTRANSL: Außenhandel: Kombination Verk.zweig - Zollst.: Konsistenzprüfung
FT_COMBIN_MOT_CUSTOFFICE_CHECK is a standard ft combin mot custoffice check 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: Kombination Verk.zweig - Zollst.: Konsistenzprüfung 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 ft combin mot custoffice check FM, simply by entering the name FT_COMBIN_MOT_CUSTOFFICE_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: VFTC
Program Name: SAPLVFTC
Main Program:
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FT_COMBIN_MOT_CUSTOFFICE_CHECK 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 'FT_COMBIN_MOT_CUSTOFFICE_CHECK'"NOTRANSL: Außenhandel: Kombination Verk.zweig - Zollst.: Konsistenzprüfung.
EXPORTING
* I_DIRECTION = '2' "Indicator: Goods direction for declarations to authorities
I_COUNTRY = "Country Key
I_MODE_OF_TRANSPORT = "Mode of Transport
I_CUSTOMS_OFFICE = "Customs Office
* I_ISSUE_MESSAGE = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
E_RESULT = "ABAP System Field: Return Code of ABAP Statements
E_MESS_TYPE = "Generic Type
EXCEPTIONS
MOT_OR_CUSTOFFICE_INITIAL = 1 ENTRY_NOT_FOUND = 2 WRONG_DIRECTION = 3
IMPORTING Parameters details for FT_COMBIN_MOT_CUSTOFFICE_CHECK
I_DIRECTION - Indicator: Goods direction for declarations to authorities
Data type: T609S-VEREIDefault: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_COUNTRY - Country Key
Data type: T618K-LAND1Optional: No
Call by Reference: No ( called with pass by value option)
I_MODE_OF_TRANSPORT - Mode of Transport
Data type: T618K-EXPVZOptional: No
Call by Reference: No ( called with pass by value option)
I_CUSTOMS_OFFICE - Customs Office
Data type: T618K-ZOLLAOptional: No
Call by Reference: No ( called with pass by value option)
I_ISSUE_MESSAGE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FT_COMBIN_MOT_CUSTOFFICE_CHECK
E_RESULT - ABAP System Field: Return Code of ABAP Statements
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
E_MESS_TYPE - Generic Type
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
MOT_OR_CUSTOFFICE_INITIAL - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ENTRY_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_DIRECTION - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FT_COMBIN_MOT_CUSTOFFICE_CHECK 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_result | TYPE SY-SUBRC, " | |||
lv_i_direction | TYPE T609S-VEREI, " '2' | |||
lv_mot_or_custoffice_initial | TYPE T609S, " | |||
lv_i_country | TYPE T618K-LAND1, " | |||
lv_e_mess_type | TYPE C, " | |||
lv_entry_not_found | TYPE C, " | |||
lv_wrong_direction | TYPE C, " | |||
lv_i_mode_of_transport | TYPE T618K-EXPVZ, " | |||
lv_i_customs_office | TYPE T618K-ZOLLA, " | |||
lv_i_issue_message | TYPE T618K. " 'X' |
  CALL FUNCTION 'FT_COMBIN_MOT_CUSTOFFICE_CHECK' "NOTRANSL: Außenhandel: Kombination Verk.zweig - Zollst.: Konsistenzprüfung |
EXPORTING | ||
I_DIRECTION | = lv_i_direction | |
I_COUNTRY | = lv_i_country | |
I_MODE_OF_TRANSPORT | = lv_i_mode_of_transport | |
I_CUSTOMS_OFFICE | = lv_i_customs_office | |
I_ISSUE_MESSAGE | = lv_i_issue_message | |
IMPORTING | ||
E_RESULT | = lv_e_result | |
E_MESS_TYPE | = lv_e_mess_type | |
EXCEPTIONS | ||
MOT_OR_CUSTOFFICE_INITIAL = 1 | ||
ENTRY_NOT_FOUND = 2 | ||
WRONG_DIRECTION = 3 | ||
. " FT_COMBIN_MOT_CUSTOFFICE_CHECK |
ABAP code using 7.40 inline data declarations to call FM FT_COMBIN_MOT_CUSTOFFICE_CHECK
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 SUBRC FROM SY INTO @DATA(ld_e_result). | ||||
"SELECT single VEREI FROM T609S INTO @DATA(ld_i_direction). | ||||
DATA(ld_i_direction) | = '2'. | |||
"SELECT single LAND1 FROM T618K INTO @DATA(ld_i_country). | ||||
"SELECT single EXPVZ FROM T618K INTO @DATA(ld_i_mode_of_transport). | ||||
"SELECT single ZOLLA FROM T618K INTO @DATA(ld_i_customs_office). | ||||
DATA(ld_i_issue_message) | = 'X'. | |||
Search for further information about these or an SAP related objects