SAP CY17_FILL_SEL_KAKO Function Module for NOTRANSL: Auflösen des Pfades: KAKO-> CRHD-> KBED-> PLAF-> AFKO-> AFVG
CY17_FILL_SEL_KAKO is a standard cy17 fill sel kako 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: Auflösen des Pfades: KAKO-> CRHD-> KBED-> PLAF-> AFKO-> AFVG 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 cy17 fill sel kako FM, simply by entering the name CY17_FILL_SEL_KAKO into the relevant SAP transaction such as SE37 or SE38.
Function Group: CY17
Program Name: SAPLCY17
Main Program: SAPLCY17
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CY17_FILL_SEL_KAKO 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 'CY17_FILL_SEL_KAKO'"NOTRANSL: Auflösen des Pfades: KAKO-> CRHD-> KBED-> PLAF-> AFKO-> AFVG.
EXPORTING
IINDI = "Indicators for setting up internal tables/Capacity leveling
IRC65B = "Structure with the settings for resource planning
* SEL_PATH = ' ' "Dummy data element for reference structures
IMPORTING
EINDI = "Indicators for setting up internal tables/Capacity leveling
TABLES
IFIL_TAB = "Filter table (filtering of capacity requirements)
INDEX_CRHD_GRUPPE = "Selected objects (resource planning)
INDEX_KAKO_GRUPPE = "Selected objects (resource planning)
INDEX_PERS_GRUPPE = "Selected objects (resource planning)
EXCEPTIONS
NO_ENTRY_CRHD = 1 NO_ENTRY_KAKO = 2
IMPORTING Parameters details for CY17_FILL_SEL_KAKO
IINDI - Indicators for setting up internal tables/Capacity leveling
Data type: CYINDIEIOptional: No
Call by Reference: No ( called with pass by value option)
IRC65B - Structure with the settings for resource planning
Data type: RC65BOptional: No
Call by Reference: No ( called with pass by value option)
SEL_PATH - Dummy data element for reference structures
Data type: CYREFS-CHARACTERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CY17_FILL_SEL_KAKO
EINDI - Indicators for setting up internal tables/Capacity leveling
Data type: CYINDIEIOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CY17_FILL_SEL_KAKO
IFIL_TAB - Filter table (filtering of capacity requirements)
Data type: CYFIL_TABOptional: No
Call by Reference: No ( called with pass by value option)
INDEX_CRHD_GRUPPE - Selected objects (resource planning)
Data type: CYSEL_OBJOptional: No
Call by Reference: No ( called with pass by value option)
INDEX_KAKO_GRUPPE - Selected objects (resource planning)
Data type: CYSEL_OBJOptional: No
Call by Reference: No ( called with pass by value option)
INDEX_PERS_GRUPPE - Selected objects (resource planning)
Data type: CYSEL_OBJOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_ENTRY_CRHD - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ENTRY_KAKO - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CY17_FILL_SEL_KAKO 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_eindi | TYPE CYINDIEI, " | |||
| lv_iindi | TYPE CYINDIEI, " | |||
| lt_ifil_tab | TYPE STANDARD TABLE OF CYFIL_TAB, " | |||
| lv_no_entry_crhd | TYPE CYFIL_TAB, " | |||
| lv_irc65b | TYPE RC65B, " | |||
| lv_no_entry_kako | TYPE RC65B, " | |||
| lt_index_crhd_gruppe | TYPE STANDARD TABLE OF CYSEL_OBJ, " | |||
| lv_sel_path | TYPE CYREFS-CHARACTER, " SPACE | |||
| lt_index_kako_gruppe | TYPE STANDARD TABLE OF CYSEL_OBJ, " | |||
| lt_index_pers_gruppe | TYPE STANDARD TABLE OF CYSEL_OBJ. " |
|   CALL FUNCTION 'CY17_FILL_SEL_KAKO' "NOTRANSL: Auflösen des Pfades: KAKO-> CRHD-> KBED-> PLAF-> AFKO-> AFVG |
| EXPORTING | ||
| IINDI | = lv_iindi | |
| IRC65B | = lv_irc65b | |
| SEL_PATH | = lv_sel_path | |
| IMPORTING | ||
| EINDI | = lv_eindi | |
| TABLES | ||
| IFIL_TAB | = lt_ifil_tab | |
| INDEX_CRHD_GRUPPE | = lt_index_crhd_gruppe | |
| INDEX_KAKO_GRUPPE | = lt_index_kako_gruppe | |
| INDEX_PERS_GRUPPE | = lt_index_pers_gruppe | |
| EXCEPTIONS | ||
| NO_ENTRY_CRHD = 1 | ||
| NO_ENTRY_KAKO = 2 | ||
| . " CY17_FILL_SEL_KAKO | ||
ABAP code using 7.40 inline data declarations to call FM CY17_FILL_SEL_KAKO
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 CHARACTER FROM CYREFS INTO @DATA(ld_sel_path). | ||||
| DATA(ld_sel_path) | = ' '. | |||
Search for further information about these or an SAP related objects