SAP CY09_OBJECT_INFORMATION_READ Function Module for NOTRANSL: Lesen von Daten zu einem Index (z.B. AFKO zum Index eines KBED-S









CY09_OBJECT_INFORMATION_READ is a standard cy09 object information read 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: Lesen von Daten zu einem Index (z.B. AFKO zum Index eines KBED-S 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 cy09 object information read FM, simply by entering the name CY09_OBJECT_INFORMATION_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: CY09
Program Name: SAPLCY09
Main Program:
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CY09_OBJECT_INFORMATION_READ 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 'CY09_OBJECT_INFORMATION_READ'"NOTRANSL: Lesen von Daten zu einem Index (z.B. AFKO zum Index eines KBED-S
EXPORTING
IN_GRUPPE = "Requirements group
* PERS_INFO = "Dummy data element for reference structure
* MARA_INFO = "Dummy data element for reference structure
* IN_BEGIN_DATE = SY-DATLO "Date and Time, Current (Application Server) Date
* IN_END_DATE = SY-DATLO "Date and Time, Current (Application Server) Date
IN_KOMBI = "Combination within a requirements group
* KBED_INFO = "Dummy data element for reference structure
* AFVG_INFO = "Dummy data element for reference structure
* AFKO_INFO = "Dummy data element for reference structure
* PLAF_INFO = "Dummy data element for reference structure
* SAUF_INFO = "Dummy data element for reference structure
* CRHD_INFO = "Dummy data element for reference structure
* KAKO_INFO = "Dummy data element for reference structure

IMPORTING
OUT_KBED = "Capacity requirements: dialog table for KBED
OUT_AFVG = "Order: Dialog table for Table AFVG (order operation)
OUT_AFKO = "Dialog Structure for Order Headers and Items
OUT_PLAF = "Planned Order
OUT_SAUF = "SOP Orders
OUT_CRHD = "Work Center Header Data with Short Text
OUT_KAKO = "Capacity Header Data with Short Text
OUT_PERS = "Standard Selection of Persons for Manpower Planning
OUT_MARA = "Object table 'MARA' (resource planning)
.



IMPORTING Parameters details for CY09_OBJECT_INFORMATION_READ

IN_GRUPPE - Requirements group

Data type: CYBED_GRU-GRUPPE
Optional: No
Call by Reference: No ( called with pass by value option)

PERS_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

MARA_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IN_BEGIN_DATE - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Default: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)

IN_END_DATE - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Default: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)

IN_KOMBI - Combination within a requirements group

Data type: CYBED_GRU-KOMBI
Optional: No
Call by Reference: No ( called with pass by value option)

KBED_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

AFVG_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

AFKO_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

PLAF_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

SAUF_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

CRHD_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

KAKO_INFO - Dummy data element for reference structure

Data type: CYREFS-FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CY09_OBJECT_INFORMATION_READ

OUT_KBED - Capacity requirements: dialog table for KBED

Data type: KBEDD
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_AFVG - Order: Dialog table for Table AFVG (order operation)

Data type: AFVGD
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_AFKO - Dialog Structure for Order Headers and Items

Data type: CAUFVD
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_PLAF - Planned Order

Data type: PLAF
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_SAUF - SOP Orders

Data type: SAUF
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_CRHD - Work Center Header Data with Short Text

Data type: RCRHD_A
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_KAKO - Capacity Header Data with Short Text

Data type: RKAKO_A
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_PERS - Standard Selection of Persons for Manpower Planning

Data type: PERSON
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_MARA - Object table 'MARA' (resource planning)

Data type: CYMARA
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CY09_OBJECT_INFORMATION_READ 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_out_kbed  TYPE KBEDD, "   
lv_in_gruppe  TYPE CYBED_GRU-GRUPPE, "   
lv_pers_info  TYPE CYREFS-FLAG, "   
lv_mara_info  TYPE CYREFS-FLAG, "   
lv_in_begin_date  TYPE SY-DATUM, "   SY-DATLO
lv_in_end_date  TYPE SY-DATUM, "   SY-DATLO
lv_in_kombi  TYPE CYBED_GRU-KOMBI, "   
lv_out_afvg  TYPE AFVGD, "   
lv_out_afko  TYPE CAUFVD, "   
lv_kbed_info  TYPE CYREFS-FLAG, "   
lv_out_plaf  TYPE PLAF, "   
lv_afvg_info  TYPE CYREFS-FLAG, "   
lv_out_sauf  TYPE SAUF, "   
lv_afko_info  TYPE CYREFS-FLAG, "   
lv_out_crhd  TYPE RCRHD_A, "   
lv_plaf_info  TYPE CYREFS-FLAG, "   
lv_out_kako  TYPE RKAKO_A, "   
lv_sauf_info  TYPE CYREFS-FLAG, "   
lv_out_pers  TYPE PERSON, "   
lv_crhd_info  TYPE CYREFS-FLAG, "   
lv_out_mara  TYPE CYMARA, "   
lv_kako_info  TYPE CYREFS-FLAG. "   

  CALL FUNCTION 'CY09_OBJECT_INFORMATION_READ'  "NOTRANSL: Lesen von Daten zu einem Index (z.B. AFKO zum Index eines KBED-S
    EXPORTING
         IN_GRUPPE = lv_in_gruppe
         PERS_INFO = lv_pers_info
         MARA_INFO = lv_mara_info
         IN_BEGIN_DATE = lv_in_begin_date
         IN_END_DATE = lv_in_end_date
         IN_KOMBI = lv_in_kombi
         KBED_INFO = lv_kbed_info
         AFVG_INFO = lv_afvg_info
         AFKO_INFO = lv_afko_info
         PLAF_INFO = lv_plaf_info
         SAUF_INFO = lv_sauf_info
         CRHD_INFO = lv_crhd_info
         KAKO_INFO = lv_kako_info
    IMPORTING
         OUT_KBED = lv_out_kbed
         OUT_AFVG = lv_out_afvg
         OUT_AFKO = lv_out_afko
         OUT_PLAF = lv_out_plaf
         OUT_SAUF = lv_out_sauf
         OUT_CRHD = lv_out_crhd
         OUT_KAKO = lv_out_kako
         OUT_PERS = lv_out_pers
         OUT_MARA = lv_out_mara
. " CY09_OBJECT_INFORMATION_READ




ABAP code using 7.40 inline data declarations to call FM CY09_OBJECT_INFORMATION_READ

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 GRUPPE FROM CYBED_GRU INTO @DATA(ld_in_gruppe).
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_pers_info).
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_mara_info).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_in_begin_date).
DATA(ld_in_begin_date) = SY-DATLO.
 
"SELECT single DATUM FROM SY INTO @DATA(ld_in_end_date).
DATA(ld_in_end_date) = SY-DATLO.
 
"SELECT single KOMBI FROM CYBED_GRU INTO @DATA(ld_in_kombi).
 
 
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_kbed_info).
 
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_afvg_info).
 
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_afko_info).
 
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_plaf_info).
 
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_sauf_info).
 
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_crhd_info).
 
 
"SELECT single FLAG FROM CYREFS INTO @DATA(ld_kako_info).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!