SAP AC_VENDOR_DIALOG_COMP_EXPORT Function Module for
AC_VENDOR_DIALOG_COMP_EXPORT is a standard ac vendor dialog comp export 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 vendor dialog comp export FM, simply by entering the name AC_VENDOR_DIALOG_COMP_EXPORT 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_VENDOR_DIALOG_COMP_EXPORT 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_VENDOR_DIALOG_COMP_EXPORT'".
IMPORTING
E_BKPF = "Document header
E_GRICD = "Activity Code for Gross Income Tax
E_GRIRG = "Region (State, Province, County)
E_GITYP = "Distribution Type for Employment Tax
E_LSTML = "Country for tax return
E_CPD_REQ = "
E_SKB1_MWSKZ = "Tax Category in Account Master Record
E_BKP1 = "
E_BSEG = "Line Item
E_BSEU = "
E_BSEZ = "Line Item Additional Information (Online)
E_BSEC = "One-Time Account Data
E_ACTAB = "
E_EGREL = "
E_REGUL = "
CHANGING
* C_OKCODE = "
TABLES
* T_SPLTTAB = "
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
EXPORTING Parameters details for AC_VENDOR_DIALOG_COMP_EXPORT
E_BKPF - Document header
Data type: BKPFOptional: No
Call by Reference: No ( called with pass by value option)
E_GRICD - Activity Code for Gross Income Tax
Data type: BSEG-GRICDOptional: No
Call by Reference: No ( called with pass by value option)
E_GRIRG - Region (State, Province, County)
Data type: BSEG-GRIRGOptional: No
Call by Reference: No ( called with pass by value option)
E_GITYP - Distribution Type for Employment Tax
Data type: BSEG-GITYPOptional: No
Call by Reference: No ( called with pass by value option)
E_LSTML - Country for tax return
Data type: T007A-LSTMLOptional: No
Call by Reference: No ( called with pass by value option)
E_CPD_REQ -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_SKB1_MWSKZ - Tax Category in Account Master Record
Data type: SKB1-MWSKZOptional: No
Call by Reference: No ( called with pass by value option)
E_BKP1 -
Data type: BKP1Optional: No
Call by Reference: No ( called with pass by value option)
E_BSEG - Line Item
Data type: BSEGOptional: No
Call by Reference: No ( called with pass by value option)
E_BSEU -
Data type: BSEUOptional: No
Call by Reference: No ( called with pass by value option)
E_BSEZ - Line Item Additional Information (Online)
Data type: BSEZOptional: No
Call by Reference: No ( called with pass by value option)
E_BSEC - One-Time Account Data
Data type: BSECOptional: No
Call by Reference: No ( called with pass by value option)
E_ACTAB -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
E_EGREL -
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
E_REGUL -
Data type: RF05A-REGULOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for AC_VENDOR_DIALOG_COMP_EXPORT
C_OKCODE -
Data type: COptional: Yes
Call by Reference: Yes
TABLES Parameters details for AC_VENDOR_DIALOG_COMP_EXPORT
T_SPLTTAB -
Data type: ACSPLTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for AC_VENDOR_DIALOG_COMP_EXPORT 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_bkpf | TYPE BKPF, " | |||
| lv_c_okcode | TYPE C, " | |||
| lt_t_splttab | TYPE STANDARD TABLE OF ACSPLT, " | |||
| lv_e_gricd | TYPE BSEG-GRICD, " | |||
| lv_e_grirg | TYPE BSEG-GRIRG, " | |||
| lv_e_gityp | TYPE BSEG-GITYP, " | |||
| lv_e_lstml | TYPE T007A-LSTML, " | |||
| lv_e_cpd_req | TYPE XFELD, " | |||
| lv_e_skb1_mwskz | TYPE SKB1-MWSKZ, " | |||
| lv_e_bkp1 | TYPE BKP1, " | |||
| lv_e_bseg | TYPE BSEG, " | |||
| lv_e_bseu | TYPE BSEU, " | |||
| lv_e_bsez | TYPE BSEZ, " | |||
| lv_e_bsec | TYPE BSEC, " | |||
| lv_e_actab | TYPE C, " | |||
| lv_e_egrel | TYPE CHAR1, " | |||
| lv_e_regul | TYPE RF05A-REGUL. " |
|   CALL FUNCTION 'AC_VENDOR_DIALOG_COMP_EXPORT' " |
| IMPORTING | ||
| E_BKPF | = lv_e_bkpf | |
| E_GRICD | = lv_e_gricd | |
| E_GRIRG | = lv_e_grirg | |
| E_GITYP | = lv_e_gityp | |
| E_LSTML | = lv_e_lstml | |
| E_CPD_REQ | = lv_e_cpd_req | |
| E_SKB1_MWSKZ | = lv_e_skb1_mwskz | |
| E_BKP1 | = lv_e_bkp1 | |
| E_BSEG | = lv_e_bseg | |
| E_BSEU | = lv_e_bseu | |
| E_BSEZ | = lv_e_bsez | |
| E_BSEC | = lv_e_bsec | |
| E_ACTAB | = lv_e_actab | |
| E_EGREL | = lv_e_egrel | |
| E_REGUL | = lv_e_regul | |
| CHANGING | ||
| C_OKCODE | = lv_c_okcode | |
| TABLES | ||
| T_SPLTTAB | = lt_t_splttab | |
| . " AC_VENDOR_DIALOG_COMP_EXPORT | ||
ABAP code using 7.40 inline data declarations to call FM AC_VENDOR_DIALOG_COMP_EXPORT
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 GRICD FROM BSEG INTO @DATA(ld_e_gricd). | ||||
| "SELECT single GRIRG FROM BSEG INTO @DATA(ld_e_grirg). | ||||
| "SELECT single GITYP FROM BSEG INTO @DATA(ld_e_gityp). | ||||
| "SELECT single LSTML FROM T007A INTO @DATA(ld_e_lstml). | ||||
| "SELECT single MWSKZ FROM SKB1 INTO @DATA(ld_e_skb1_mwskz). | ||||
| "SELECT single REGUL FROM RF05A INTO @DATA(ld_e_regul). | ||||
Search for further information about these or an SAP related objects