SAP C14O_CD_OBJECTS_READ_OLD Function Module for NOTRANSL: EHS: Lesen der Änderungsbelegobjekte von der Datenbank









C14O_CD_OBJECTS_READ_OLD is a standard c14o cd objects read old 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: EHS: Lesen der Änderungsbelegobjekte von der Datenbank 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 c14o cd objects read old FM, simply by entering the name C14O_CD_OBJECTS_READ_OLD into the relevant SAP transaction such as SE37 or SE38.

Function Group: C14O
Program Name: SAPLC14O
Main Program: SAPLC14O
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function C14O_CD_OBJECTS_READ_OLD 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 'C14O_CD_OBJECTS_READ_OLD'"NOTRANSL: EHS: Lesen der Änderungsbelegobjekte von der Datenbank
EXPORTING
I_TABLENAME = "
I_VALFROM = "
I_VALTO = "
* I_OBJECT = "

TABLES
I_OBJECT_TAB = "
E_CD_HEADER_TAB = "
E_CD_POSITION_TAB = "
.



IMPORTING Parameters details for C14O_CD_OBJECTS_READ_OLD

I_TABLENAME -

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

I_VALFROM -

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

I_VALTO -

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

I_OBJECT -

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

TABLES Parameters details for C14O_CD_OBJECTS_READ_OLD

I_OBJECT_TAB -

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

E_CD_HEADER_TAB -

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

E_CD_POSITION_TAB -

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

Copy and paste ABAP code example for C14O_CD_OBJECTS_READ_OLD 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_tablename  TYPE ESP1_TAB_NAME, "   
lt_i_object_tab  TYPE STANDARD TABLE OF CDKEYTAB, "   
lv_i_valfrom  TYPE SY-DATUM, "   
lt_e_cd_header_tab  TYPE STANDARD TABLE OF CDHDR, "   
lv_i_valto  TYPE SY-DATUM, "   
lt_e_cd_position_tab  TYPE STANDARD TABLE OF CDSHW, "   
lv_i_object  TYPE CDHDR-OBJECTID. "   

  CALL FUNCTION 'C14O_CD_OBJECTS_READ_OLD'  "NOTRANSL: EHS: Lesen der Änderungsbelegobjekte von der Datenbank
    EXPORTING
         I_TABLENAME = lv_i_tablename
         I_VALFROM = lv_i_valfrom
         I_VALTO = lv_i_valto
         I_OBJECT = lv_i_object
    TABLES
         I_OBJECT_TAB = lt_i_object_tab
         E_CD_HEADER_TAB = lt_e_cd_header_tab
         E_CD_POSITION_TAB = lt_e_cd_position_tab
. " C14O_CD_OBJECTS_READ_OLD




ABAP code using 7.40 inline data declarations to call FM C14O_CD_OBJECTS_READ_OLD

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 DATUM FROM SY INTO @DATA(ld_i_valfrom).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_valto).
 
 
"SELECT single OBJECTID FROM CDHDR INTO @DATA(ld_i_object).
 


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!