SAP CATT_CIF_LOCATION_EXIST Function Module for NOTRANSL: Test for CATT(Vendor existence).









CATT_CIF_LOCATION_EXIST is a standard catt cif location exist 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: Test for CATT(Vendor existence). 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 catt cif location exist FM, simply by entering the name CATT_CIF_LOCATION_EXIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: CIFT
Program Name: SAPLCIFT
Main Program:
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CATT_CIF_LOCATION_EXIST 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 'CATT_CIF_LOCATION_EXIST'"NOTRANSL: Test for CATT(Vendor existence).
EXPORTING
VENDOR_NAME = "Vendor Name
* LOCATION_TYPE = '1011' "Standard carrier access code
COUNTRY = "Country key
* REGION = ' ' "Region (State, Province, County)
* MANUAL_CHECK = 'X' "Generic Type
DESTINATION_NAME = "Logical Destination (Specified in Function Call)

EXCEPTIONS
NO_TIMEZONE_FOUND = 1 NOT_FOUND = 2 VALUE_ERROR = 3 LOGICAL_SYSTEM_NOT_SET = 4
.



IMPORTING Parameters details for CATT_CIF_LOCATION_EXIST

VENDOR_NAME - Vendor Name

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

LOCATION_TYPE - Standard carrier access code

Data type: LFA1-SCACD
Default: '1011'
Optional: Yes
Call by Reference: No ( called with pass by value option)

COUNTRY - Country key

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

REGION - Region (State, Province, County)

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

MANUAL_CHECK - Generic Type

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

DESTINATION_NAME - Logical Destination (Specified in Function Call)

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

EXCEPTIONS details

NO_TIMEZONE_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

VALUE_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

LOGICAL_SYSTEM_NOT_SET - 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 CATT_CIF_LOCATION_EXIST 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_vendor_name  TYPE LFA1-LIFNR, "   
lv_no_timezone_found  TYPE LFA1, "   
lv_not_found  TYPE LFA1, "   
lv_location_type  TYPE LFA1-SCACD, "   '1011'
lv_country  TYPE T005-LAND1, "   
lv_value_error  TYPE T005, "   
lv_region  TYPE T005S-BLAND, "   SPACE
lv_logical_system_not_set  TYPE T005S, "   
lv_manual_check  TYPE C, "   'X'
lv_destination_name  TYPE ARFCCALLID-ARFCDEST. "   

  CALL FUNCTION 'CATT_CIF_LOCATION_EXIST'  "NOTRANSL: Test for CATT(Vendor existence).
    EXPORTING
         VENDOR_NAME = lv_vendor_name
         LOCATION_TYPE = lv_location_type
         COUNTRY = lv_country
         REGION = lv_region
         MANUAL_CHECK = lv_manual_check
         DESTINATION_NAME = lv_destination_name
    EXCEPTIONS
        NO_TIMEZONE_FOUND = 1
        NOT_FOUND = 2
        VALUE_ERROR = 3
        LOGICAL_SYSTEM_NOT_SET = 4
. " CATT_CIF_LOCATION_EXIST




ABAP code using 7.40 inline data declarations to call FM CATT_CIF_LOCATION_EXIST

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 LIFNR FROM LFA1 INTO @DATA(ld_vendor_name).
 
 
 
"SELECT single SCACD FROM LFA1 INTO @DATA(ld_location_type).
DATA(ld_location_type) = '1011'.
 
"SELECT single LAND1 FROM T005 INTO @DATA(ld_country).
 
 
"SELECT single BLAND FROM T005S INTO @DATA(ld_region).
DATA(ld_region) = ' '.
 
 
DATA(ld_manual_check) = 'X'.
 
"SELECT single ARFCDEST FROM ARFCCALLID INTO @DATA(ld_destination_name).
 


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!