SAP SAMPLE_PROCESS_00708030 Function Module for General Contract: User Exit for Posting Distribution
SAMPLE_PROCESS_00708030 is a standard sample process 00708030 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for General Contract: User Exit for Posting Distribution 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 sample process 00708030 FM, simply by entering the name SAMPLE_PROCESS_00708030 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVBTESMPL
Program Name: SAPLFVBTESMPL
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SAMPLE_PROCESS_00708030 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 'SAMPLE_PROCESS_00708030'"General Contract: User Exit for Posting Distribution.
EXPORTING
I_INTRENO = "Internal Real Estate Master Data Code
I_BUKRS = "Company Code
I_RECNTYPE = "External Real Estate Contract Type
I_RECNNR = "Real Estate Contract Number
I_RECNBASISAEZIF = "Base: Equivalence Number Distribution
I_DAT_VERTEIL_BEG = "Date from when assignment is valid
I_DAT_VERTEIL_END = "Date up to when the assignment is valid
TABLES
CT_VICN03_DISP = "Real Estate Contract: Posting Distribution
IMPORTING Parameters details for SAMPLE_PROCESS_00708030
I_INTRENO - Internal Real Estate Master Data Code
Data type: VVINTRENOOptional: No
Call by Reference: No ( called with pass by value option)
I_BUKRS - Company Code
Data type: BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNTYPE - External Real Estate Contract Type
Data type: SMVARTOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNNR - Real Estate Contract Number
Data type: RECNNROptional: No
Call by Reference: No ( called with pass by value option)
I_RECNBASISAEZIF - Base: Equivalence Number Distribution
Data type: RECNBASISAEZIFOptional: No
Call by Reference: No ( called with pass by value option)
I_DAT_VERTEIL_BEG - Date from when assignment is valid
Data type: DGULTABOptional: No
Call by Reference: No ( called with pass by value option)
I_DAT_VERTEIL_END - Date up to when the assignment is valid
Data type: DGULTBISOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SAMPLE_PROCESS_00708030
CT_VICN03_DISP - Real Estate Contract: Posting Distribution
Data type: VICN03Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SAMPLE_PROCESS_00708030 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_intreno | TYPE VVINTRENO, " | |||
| lt_ct_vicn03_disp | TYPE STANDARD TABLE OF VICN03, " | |||
| lv_i_bukrs | TYPE BUKRS, " | |||
| lv_i_recntype | TYPE SMVART, " | |||
| lv_i_recnnr | TYPE RECNNR, " | |||
| lv_i_recnbasisaezif | TYPE RECNBASISAEZIF, " | |||
| lv_i_dat_verteil_beg | TYPE DGULTAB, " | |||
| lv_i_dat_verteil_end | TYPE DGULTBIS. " |
|   CALL FUNCTION 'SAMPLE_PROCESS_00708030' "General Contract: User Exit for Posting Distribution |
| EXPORTING | ||
| I_INTRENO | = lv_i_intreno | |
| I_BUKRS | = lv_i_bukrs | |
| I_RECNTYPE | = lv_i_recntype | |
| I_RECNNR | = lv_i_recnnr | |
| I_RECNBASISAEZIF | = lv_i_recnbasisaezif | |
| I_DAT_VERTEIL_BEG | = lv_i_dat_verteil_beg | |
| I_DAT_VERTEIL_END | = lv_i_dat_verteil_end | |
| TABLES | ||
| CT_VICN03_DISP | = lt_ct_vicn03_disp | |
| . " SAMPLE_PROCESS_00708030 | ||
ABAP code using 7.40 inline data declarations to call FM SAMPLE_PROCESS_00708030
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.Search for further information about these or an SAP related objects