SAP AC_CUSTOMER_DIALOG_COMP_IMPORT Function Module for
AC_CUSTOMER_DIALOG_COMP_IMPORT is a standard ac customer dialog comp import SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ac customer dialog comp import FM, simply by entering the name AC_CUSTOMER_DIALOG_COMP_IMPORT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FDCB
Program Name: SAPLFDCB
Main Program: SAPLFDCB
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function AC_CUSTOMER_DIALOG_COMP_IMPORT 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 'AC_CUSTOMER_DIALOG_COMP_IMPORT'".
EXPORTING
I_BUKRS = "
* I_LSTML = "
* I_MWSKZ_KONTEXT = "
* I_DOCUMENT_EXISTS = "
* I_STATUS = "
* I_ACTIVETAB = "
* I_AKTYP = "Activity Category in the Transaction
I_KOART = "Account Type
* I_BUZEI = "
* I_BKPF = "
* I_BSEG = "
* I_BSEC = "One-Time Account Data Document Segment
* I_ANZBZ = '001' "
* I_BUSCS = "
* I_BSEZ = "
TABLES
* T_SPLTTAB = "Carrier for Split Information re: Current Account Line Items
* T_TIBAN = "IBAN
* T_BNKA = "Bank Master Record
* T_MANDATE = "
EXCEPTIONS
COMPANY_CODE_NOT_UNIQUE = 1 ACCOUNT_TYPE_NOT_UNIQUE = 2 NO_OF_LINE_ITEM_NOT_UNIQUE = 3
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_SAPLFDCB_001 Transfer Invoice Header Data
IMPORTING Parameters details for AC_CUSTOMER_DIALOG_COMP_IMPORT
I_BUKRS -
Data type: BSEG-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_LSTML -
Data type: T007A-LSTMLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MWSKZ_KONTEXT -
Data type: BSEG-MWSKZOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DOCUMENT_EXISTS -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
I_STATUS -
Data type: CHAR1Optional: Yes
Call by Reference: Yes
I_ACTIVETAB -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
I_AKTYP - Activity Category in the Transaction
Data type: T020-AKTYPOptional: Yes
Call by Reference: Yes
I_KOART - Account Type
Data type: BSEG-KOARTOptional: No
Call by Reference: No ( called with pass by value option)
I_BUZEI -
Data type: BSEG-BUZEIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BKPF -
Data type: BKPFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BSEG -
Data type: BSEGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BSEC - One-Time Account Data Document Segment
Data type: BSECOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ANZBZ -
Data type: RF05A-ANZBZDefault: '001'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUSCS -
Data type: BUSCASEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BSEZ -
Data type: BSEZOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for AC_CUSTOMER_DIALOG_COMP_IMPORT
T_SPLTTAB - Carrier for Split Information re: Current Account Line Items
Data type: ACSPLTOptional: Yes
Call by Reference: Yes
T_TIBAN - IBAN
Data type: TIBANOptional: Yes
Call by Reference: Yes
T_BNKA - Bank Master Record
Data type: BNKAOptional: Yes
Call by Reference: Yes
T_MANDATE -
Data type: SEPA_MANDATEOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
COMPANY_CODE_NOT_UNIQUE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACCOUNT_TYPE_NOT_UNIQUE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_OF_LINE_ITEM_NOT_UNIQUE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for AC_CUSTOMER_DIALOG_COMP_IMPORT 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_i_bukrs | TYPE BSEG-BUKRS, " | |||
| lt_t_splttab | TYPE STANDARD TABLE OF ACSPLT, " | |||
| lv_company_code_not_unique | TYPE ACSPLT, " | |||
| lv_i_lstml | TYPE T007A-LSTML, " | |||
| lv_i_mwskz_kontext | TYPE BSEG-MWSKZ, " | |||
| lv_i_document_exists | TYPE CHAR1, " | |||
| lv_i_status | TYPE CHAR1, " | |||
| lv_i_activetab | TYPE C, " | |||
| lv_i_aktyp | TYPE T020-AKTYP, " | |||
| lv_i_koart | TYPE BSEG-KOART, " | |||
| lt_t_tiban | TYPE STANDARD TABLE OF TIBAN, " | |||
| lv_account_type_not_unique | TYPE TIBAN, " | |||
| lt_t_bnka | TYPE STANDARD TABLE OF BNKA, " | |||
| lv_i_buzei | TYPE BSEG-BUZEI, " | |||
| lv_no_of_line_item_not_unique | TYPE BSEG, " | |||
| lv_i_bkpf | TYPE BKPF, " | |||
| lt_t_mandate | TYPE STANDARD TABLE OF SEPA_MANDATE, " | |||
| lv_i_bseg | TYPE BSEG, " | |||
| lv_i_bsec | TYPE BSEC, " | |||
| lv_i_anzbz | TYPE RF05A-ANZBZ, " '001' | |||
| lv_i_buscs | TYPE BUSCASE, " | |||
| lv_i_bsez | TYPE BSEZ. " |
|   CALL FUNCTION 'AC_CUSTOMER_DIALOG_COMP_IMPORT' " |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_LSTML | = lv_i_lstml | |
| I_MWSKZ_KONTEXT | = lv_i_mwskz_kontext | |
| I_DOCUMENT_EXISTS | = lv_i_document_exists | |
| I_STATUS | = lv_i_status | |
| I_ACTIVETAB | = lv_i_activetab | |
| I_AKTYP | = lv_i_aktyp | |
| I_KOART | = lv_i_koart | |
| I_BUZEI | = lv_i_buzei | |
| I_BKPF | = lv_i_bkpf | |
| I_BSEG | = lv_i_bseg | |
| I_BSEC | = lv_i_bsec | |
| I_ANZBZ | = lv_i_anzbz | |
| I_BUSCS | = lv_i_buscs | |
| I_BSEZ | = lv_i_bsez | |
| TABLES | ||
| T_SPLTTAB | = lt_t_splttab | |
| T_TIBAN | = lt_t_tiban | |
| T_BNKA | = lt_t_bnka | |
| T_MANDATE | = lt_t_mandate | |
| EXCEPTIONS | ||
| COMPANY_CODE_NOT_UNIQUE = 1 | ||
| ACCOUNT_TYPE_NOT_UNIQUE = 2 | ||
| NO_OF_LINE_ITEM_NOT_UNIQUE = 3 | ||
| . " AC_CUSTOMER_DIALOG_COMP_IMPORT | ||
ABAP code using 7.40 inline data declarations to call FM AC_CUSTOMER_DIALOG_COMP_IMPORT
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 BUKRS FROM BSEG INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single LSTML FROM T007A INTO @DATA(ld_i_lstml). | ||||
| "SELECT single MWSKZ FROM BSEG INTO @DATA(ld_i_mwskz_kontext). | ||||
| "SELECT single AKTYP FROM T020 INTO @DATA(ld_i_aktyp). | ||||
| "SELECT single KOART FROM BSEG INTO @DATA(ld_i_koart). | ||||
| "SELECT single BUZEI FROM BSEG INTO @DATA(ld_i_buzei). | ||||
| "SELECT single ANZBZ FROM RF05A INTO @DATA(ld_i_anzbz). | ||||
| DATA(ld_i_anzbz) | = '001'. | |||
Search for further information about these or an SAP related objects