SAP IAC_CUSTOMER_INIT_1 Function Module for NOTRANSL: Aktuelle Initialisierungsdaten holen
IAC_CUSTOMER_INIT_1 is a standard iac customer init 1 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: Aktuelle Initialisierungsdaten holen 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 iac customer init 1 FM, simply by entering the name IAC_CUSTOMER_INIT_1 into the relevant SAP transaction such as SE37 or SE38.
Function Group: WWCC1
Program Name: SAPLWWCC1
Main Program:
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IAC_CUSTOMER_INIT_1 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 'IAC_CUSTOMER_INIT_1'"NOTRANSL: Aktuelle Initialisierungsdaten holen.
EXPORTING
PI_COPYREFERENCE = "Reference Data
* PI_SODES_RELEASE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_CONEN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_CUSTOMER_DATA = "Screen Structure IAC Online Store: Customer (Address Data)
PI_LANGUAGE = "Language
PI_CURRENCY = "Currency
* PI_COUNTRYSEL = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_CUSTOMERID = "Customer ID number
* PI_SSLEN = "Allow SSL
* PI_SODES = "RFC destination for orders
* PI_CPDEN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_CPDNO = "OTC customer no.
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_SAPLWWCC1_001 Modification of Customer Template Data
IMPORTING Parameters details for IAC_CUSTOMER_INIT_1
PI_COPYREFERENCE - Reference Data
Data type: BAPIKNA102Optional: No
Call by Reference: No ( called with pass by value option)
PI_SODES_RELEASE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: SY-SAPRLOptional: Yes
Call by Reference: No ( called with pass by value option)
PI_CONEN - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
PI_CUSTOMER_DATA - Screen Structure IAC Online Store: Customer (Address Data)
Data type: WIC_CUSTOMEROptional: Yes
Call by Reference: No ( called with pass by value option)
PI_LANGUAGE - Language
Data type: BAPIKNA101_1-LANGU_POptional: No
Call by Reference: No ( called with pass by value option)
PI_CURRENCY - Currency
Data type: BAPIKNA101_1-CURRENCYOptional: No
Call by Reference: No ( called with pass by value option)
PI_COUNTRYSEL - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TWIC8001-CNSCMOptional: Yes
Call by Reference: No ( called with pass by value option)
PI_CUSTOMERID - Customer ID number
Data type: TWIC8001-CIDENOptional: Yes
Call by Reference: No ( called with pass by value option)
PI_SSLEN - Allow SSL
Data type: TWIC8001-SSLENOptional: Yes
Call by Reference: No ( called with pass by value option)
PI_SODES - RFC destination for orders
Data type: TWICOSTORE-SODESOptional: Yes
Call by Reference: No ( called with pass by value option)
PI_CPDEN - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: TWIC8001-CPDENOptional: Yes
Call by Reference: No ( called with pass by value option)
PI_CPDNO - OTC customer no.
Data type: TWIC8001-CPDNOOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for IAC_CUSTOMER_INIT_1 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_pi_copyreference | TYPE BAPIKNA102, " | |||
| lv_pi_sodes_release | TYPE SY-SAPRL, " | |||
| lv_pi_conen | TYPE XFELD, " | |||
| lv_pi_customer_data | TYPE WIC_CUSTOMER, " | |||
| lv_pi_language | TYPE BAPIKNA101_1-LANGU_P, " | |||
| lv_pi_currency | TYPE BAPIKNA101_1-CURRENCY, " | |||
| lv_pi_countrysel | TYPE TWIC8001-CNSCM, " | |||
| lv_pi_customerid | TYPE TWIC8001-CIDEN, " | |||
| lv_pi_sslen | TYPE TWIC8001-SSLEN, " | |||
| lv_pi_sodes | TYPE TWICOSTORE-SODES, " | |||
| lv_pi_cpden | TYPE TWIC8001-CPDEN, " | |||
| lv_pi_cpdno | TYPE TWIC8001-CPDNO. " |
|   CALL FUNCTION 'IAC_CUSTOMER_INIT_1' "NOTRANSL: Aktuelle Initialisierungsdaten holen |
| EXPORTING | ||
| PI_COPYREFERENCE | = lv_pi_copyreference | |
| PI_SODES_RELEASE | = lv_pi_sodes_release | |
| PI_CONEN | = lv_pi_conen | |
| PI_CUSTOMER_DATA | = lv_pi_customer_data | |
| PI_LANGUAGE | = lv_pi_language | |
| PI_CURRENCY | = lv_pi_currency | |
| PI_COUNTRYSEL | = lv_pi_countrysel | |
| PI_CUSTOMERID | = lv_pi_customerid | |
| PI_SSLEN | = lv_pi_sslen | |
| PI_SODES | = lv_pi_sodes | |
| PI_CPDEN | = lv_pi_cpden | |
| PI_CPDNO | = lv_pi_cpdno | |
| . " IAC_CUSTOMER_INIT_1 | ||
ABAP code using 7.40 inline data declarations to call FM IAC_CUSTOMER_INIT_1
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 SAPRL FROM SY INTO @DATA(ld_pi_sodes_release). | ||||
| "SELECT single LANGU_P FROM BAPIKNA101_1 INTO @DATA(ld_pi_language). | ||||
| "SELECT single CURRENCY FROM BAPIKNA101_1 INTO @DATA(ld_pi_currency). | ||||
| "SELECT single CNSCM FROM TWIC8001 INTO @DATA(ld_pi_countrysel). | ||||
| "SELECT single CIDEN FROM TWIC8001 INTO @DATA(ld_pi_customerid). | ||||
| "SELECT single SSLEN FROM TWIC8001 INTO @DATA(ld_pi_sslen). | ||||
| "SELECT single SODES FROM TWICOSTORE INTO @DATA(ld_pi_sodes). | ||||
| "SELECT single CPDEN FROM TWIC8001 INTO @DATA(ld_pi_cpden). | ||||
| "SELECT single CPDNO FROM TWIC8001 INTO @DATA(ld_pi_cpdno). | ||||
Search for further information about these or an SAP related objects