SAP CO_LA_OPER_SEQ_PRE_READ_AR_ACT Function Module for NOTRANSL: Lesen der Vorg./Folgens. (nur LDB PSJ, 'akt.' Daten aus Archiv)









CO_LA_OPER_SEQ_PRE_READ_AR_ACT is a standard co la oper seq pre read ar act 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 der Vorg./Folgens. (nur LDB PSJ, 'akt.' Daten aus Archiv) 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 co la oper seq pre read ar act FM, simply by entering the name CO_LA_OPER_SEQ_PRE_READ_AR_ACT into the relevant SAP transaction such as SE37 or SE38.

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



Function CO_LA_OPER_SEQ_PRE_READ_AR_ACT 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 'CO_LA_OPER_SEQ_PRE_READ_AR_ACT'"NOTRANSL: Lesen der Vorg./Folgens. (nur LDB PSJ, 'akt.' Daten aus Archiv)
EXPORTING
* I_VERSION = "Version counter
* I_AUFRUF = "Call counter
* I_FLG_READ_CAPACITIES = ' ' "Generic Type
I_TCNDB = "Profile: Database parameters in Project Info System
* I_FLG_GET_CO_OBJ = ' ' "Generic Type
* I_DYN_SEL = "
* I_FLG_DYN_SEL = ' ' "Generic Type
* I_GEN_REPORT = ' ' "ABAP Program Name

TABLES
T_AUFPL_PRE_TAB = "Table for PRE_READ of operations and sequences
* T_AFVGD = "
* T_AFVC = "
* T_AFVU = "
* T_AFVV = "
.



IMPORTING Parameters details for CO_LA_OPER_SEQ_PRE_READ_AR_ACT

I_VERSION - Version counter

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

I_AUFRUF - Call counter

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

I_FLG_READ_CAPACITIES - Generic Type

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TCNDB - Profile: Database parameters in Project Info System

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

I_FLG_GET_CO_OBJ - Generic Type

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DYN_SEL -

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

I_FLG_DYN_SEL - Generic Type

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GEN_REPORT - ABAP Program Name

Data type: RS38M-PROGRAMM
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CO_LA_OPER_SEQ_PRE_READ_AR_ACT

T_AUFPL_PRE_TAB - Table for PRE_READ of operations and sequences

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

T_AFVGD -

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

T_AFVC -

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

T_AFVU -

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

T_AFVV -

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

Copy and paste ABAP code example for CO_LA_OPER_SEQ_PRE_READ_AR_ACT 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_version  TYPE PSJ_VERSIONEN-VERSION, "   
lt_t_aufpl_pre_tab  TYPE STANDARD TABLE OF AUFPL_PRE, "   
lt_t_afvgd  TYPE STANDARD TABLE OF AUFPL_PRE, "   
lv_i_aufruf  TYPE PSJ_VERSIONEN-AUFRUF, "   
lt_t_afvc  TYPE STANDARD TABLE OF PSJ_VERSIONEN, "   
lv_i_flg_read_capacities  TYPE C, "   ' '
lt_t_afvu  TYPE STANDARD TABLE OF C, "   
lv_i_tcndb  TYPE TCNDB, "   
lt_t_afvv  TYPE STANDARD TABLE OF TCNDB, "   
lv_i_flg_get_co_obj  TYPE C, "   ' '
lv_i_dyn_sel  TYPE RSDS_TYPE, "   
lv_i_flg_dyn_sel  TYPE C, "   ' '
lv_i_gen_report  TYPE RS38M-PROGRAMM. "   SPACE

  CALL FUNCTION 'CO_LA_OPER_SEQ_PRE_READ_AR_ACT'  "NOTRANSL: Lesen der Vorg./Folgens. (nur LDB PSJ, 'akt.' Daten aus Archiv)
    EXPORTING
         I_VERSION = lv_i_version
         I_AUFRUF = lv_i_aufruf
         I_FLG_READ_CAPACITIES = lv_i_flg_read_capacities
         I_TCNDB = lv_i_tcndb
         I_FLG_GET_CO_OBJ = lv_i_flg_get_co_obj
         I_DYN_SEL = lv_i_dyn_sel
         I_FLG_DYN_SEL = lv_i_flg_dyn_sel
         I_GEN_REPORT = lv_i_gen_report
    TABLES
         T_AUFPL_PRE_TAB = lt_t_aufpl_pre_tab
         T_AFVGD = lt_t_afvgd
         T_AFVC = lt_t_afvc
         T_AFVU = lt_t_afvu
         T_AFVV = lt_t_afvv
. " CO_LA_OPER_SEQ_PRE_READ_AR_ACT




ABAP code using 7.40 inline data declarations to call FM CO_LA_OPER_SEQ_PRE_READ_AR_ACT

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 VERSION FROM PSJ_VERSIONEN INTO @DATA(ld_i_version).
 
 
 
"SELECT single AUFRUF FROM PSJ_VERSIONEN INTO @DATA(ld_i_aufruf).
 
 
DATA(ld_i_flg_read_capacities) = ' '.
 
 
 
 
DATA(ld_i_flg_get_co_obj) = ' '.
 
 
DATA(ld_i_flg_dyn_sel) = ' '.
 
"SELECT single PROGRAMM FROM RS38M INTO @DATA(ld_i_gen_report).
DATA(ld_i_gen_report) = ' '.
 


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!