SAP SAMPLE_PROCESS_01000809 Function Module for ATP: BTE for Configuration and Batch Classifctn. R/3 -> APO
SAMPLE_PROCESS_01000809 is a standard sample process 01000809 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ATP: BTE for Configuration and Batch Classifctn. R/3 -> APO 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 01000809 FM, simply by entering the name SAMPLE_PROCESS_01000809 into the relevant SAP transaction such as SE37 or SE38.
Function Group: BUSP
Program Name: SAPLBUSP
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SAMPLE_PROCESS_01000809 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_01000809'"ATP: BTE for Configuration and Batch Classifctn. R/3 -> APO.
EXPORTING
IV_LOGSYS = "Logical System
TABLES
CT_CUOBJS2 = "Internal Object Number / External Object Number / Item
ET_CUBLB = "BLOB Internal Configuration Data (SCE)
ET_CUCFG = "CU: Configuration Data
ET_CUINS2 = "Instances of mult. configurations - copy of BAPICUINS 4.6C
ET_CUPRT = "Part_of entries of several configurations
ET_CUVAL = "Characteristic values of several configurations
ET_CUVK = "Variant Condition Keys in Configurations
* ET_S_HEAD = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* ET_S_DATA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for SAMPLE_PROCESS_01000809
IV_LOGSYS - Logical System
Data type: ATPCS-LOGSYSOptional: No
Call by Reference: Yes
TABLES Parameters details for SAMPLE_PROCESS_01000809
CT_CUOBJS2 - Internal Object Number / External Object Number / Item
Data type: CUOBJS2Optional: No
Call by Reference: Yes
ET_CUBLB - BLOB Internal Configuration Data (SCE)
Data type: BAPICUBLBOptional: No
Call by Reference: Yes
ET_CUCFG - CU: Configuration Data
Data type: BAPICUCFGOptional: No
Call by Reference: Yes
ET_CUINS2 - Instances of mult. configurations - copy of BAPICUINS 4.6C
Data type: BAPICUINS2Optional: No
Call by Reference: Yes
ET_CUPRT - Part_of entries of several configurations
Data type: BAPICUPRTOptional: No
Call by Reference: Yes
ET_CUVAL - Characteristic values of several configurations
Data type: BAPICUVALOptional: No
Call by Reference: Yes
ET_CUVK - Variant Condition Keys in Configurations
Data type: BAPICUVKOptional: No
Call by Reference: Yes
ET_S_HEAD - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: VBX_S_HEADOptional: Yes
Call by Reference: Yes
ET_S_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: VBX_S_DATAOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for SAMPLE_PROCESS_01000809 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_iv_logsys | TYPE ATPCS-LOGSYS, " | |||
| lt_ct_cuobjs2 | TYPE STANDARD TABLE OF CUOBJS2, " | |||
| lt_et_cublb | TYPE STANDARD TABLE OF BAPICUBLB, " | |||
| lt_et_cucfg | TYPE STANDARD TABLE OF BAPICUCFG, " | |||
| lt_et_cuins2 | TYPE STANDARD TABLE OF BAPICUINS2, " | |||
| lt_et_cuprt | TYPE STANDARD TABLE OF BAPICUPRT, " | |||
| lt_et_cuval | TYPE STANDARD TABLE OF BAPICUVAL, " | |||
| lt_et_cuvk | TYPE STANDARD TABLE OF BAPICUVK, " | |||
| lt_et_s_head | TYPE STANDARD TABLE OF VBX_S_HEAD, " | |||
| lt_et_s_data | TYPE STANDARD TABLE OF VBX_S_DATA. " |
|   CALL FUNCTION 'SAMPLE_PROCESS_01000809' "ATP: BTE for Configuration and Batch Classifctn. R/3 -> APO |
| EXPORTING | ||
| IV_LOGSYS | = lv_iv_logsys | |
| TABLES | ||
| CT_CUOBJS2 | = lt_ct_cuobjs2 | |
| ET_CUBLB | = lt_et_cublb | |
| ET_CUCFG | = lt_et_cucfg | |
| ET_CUINS2 | = lt_et_cuins2 | |
| ET_CUPRT | = lt_et_cuprt | |
| ET_CUVAL | = lt_et_cuval | |
| ET_CUVK | = lt_et_cuvk | |
| ET_S_HEAD | = lt_et_s_head | |
| ET_S_DATA | = lt_et_s_data | |
| . " SAMPLE_PROCESS_01000809 | ||
ABAP code using 7.40 inline data declarations to call FM SAMPLE_PROCESS_01000809
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 LOGSYS FROM ATPCS INTO @DATA(ld_iv_logsys). | ||||
Search for further information about these or an SAP related objects