SAP CACS_OAPCTRLUI_BIND_ALV Function Module for NOTRANSL: FOA: Setze Objektreferenz zum Anwendungsmodell









CACS_OAPCTRLUI_BIND_ALV is a standard cacs oapctrlui bind alv 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: FOA: Setze Objektreferenz zum Anwendungsmodell 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 cacs oapctrlui bind alv FM, simply by entering the name CACS_OAPCTRLUI_BIND_ALV into the relevant SAP transaction such as SE37 or SE38.

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



Function CACS_OAPCTRLUI_BIND_ALV 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 'CACS_OAPCTRLUI_BIND_ALV'"NOTRANSL: FOA: Setze Objektreferenz zum Anwendungsmodell
EXPORTING
* I_TCODE = "Transaction Code
IO_OAWL = "FOA: Worklist for Object Assignment
* IO_OAPI = "FOA: Assignment Process
* IS_OAPSI = "FOA: Step in Process Instance
* IS_OATY = "FOA: Assignment Type (Structure)
IT_FCODE_EXCL = "FOA: UI Function Codes for Process Control
IO_OAUICTRLER = "FOA: Controller for User Interfaces
I_EDITMODE_OAWL = "Boolean Variables (X=true, space=false)
* I_EDITMODE_OAPI = "Boolean Variables (X=true, space=false)
.



IMPORTING Parameters details for CACS_OAPCTRLUI_BIND_ALV

I_TCODE - Transaction Code

Data type: SYTCODE
Optional: Yes
Call by Reference: Yes

IO_OAWL - FOA: Worklist for Object Assignment

Data type: CL_CACS_OAWL
Optional: No
Call by Reference: Yes

IO_OAPI - FOA: Assignment Process

Data type: CL_CACS_OAP
Optional: Yes
Call by Reference: Yes

IS_OAPSI - FOA: Step in Process Instance

Data type: CACS_S_OAPSI
Optional: Yes
Call by Reference: Yes

IS_OATY - FOA: Assignment Type (Structure)

Data type: CACS_S_OATYATTR
Optional: Yes
Call by Reference: Yes

IT_FCODE_EXCL - FOA: UI Function Codes for Process Control

Data type: CACS_TT_OAUIFCODE
Optional: No
Call by Reference: Yes

IO_OAUICTRLER - FOA: Controller for User Interfaces

Data type: CL_CACS_OAUICTRLER
Optional: No
Call by Reference: Yes

I_EDITMODE_OAWL - Boolean Variables (X=true, space=false)

Data type: BOOLEAN_FLG
Optional: No
Call by Reference: Yes

I_EDITMODE_OAPI - Boolean Variables (X=true, space=false)

Data type: BOOLEAN_FLG
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for CACS_OAPCTRLUI_BIND_ALV 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_tcode  TYPE SYTCODE, "   
lv_io_oawl  TYPE CL_CACS_OAWL, "   
lv_io_oapi  TYPE CL_CACS_OAP, "   
lv_is_oapsi  TYPE CACS_S_OAPSI, "   
lv_is_oaty  TYPE CACS_S_OATYATTR, "   
lv_it_fcode_excl  TYPE CACS_TT_OAUIFCODE, "   
lv_io_oauictrler  TYPE CL_CACS_OAUICTRLER, "   
lv_i_editmode_oawl  TYPE BOOLEAN_FLG, "   
lv_i_editmode_oapi  TYPE BOOLEAN_FLG. "   

  CALL FUNCTION 'CACS_OAPCTRLUI_BIND_ALV'  "NOTRANSL: FOA: Setze Objektreferenz zum Anwendungsmodell
    EXPORTING
         I_TCODE = lv_i_tcode
         IO_OAWL = lv_io_oawl
         IO_OAPI = lv_io_oapi
         IS_OAPSI = lv_is_oapsi
         IS_OATY = lv_is_oaty
         IT_FCODE_EXCL = lv_it_fcode_excl
         IO_OAUICTRLER = lv_io_oauictrler
         I_EDITMODE_OAWL = lv_i_editmode_oawl
         I_EDITMODE_OAPI = lv_i_editmode_oapi
. " CACS_OAPCTRLUI_BIND_ALV




ABAP code using 7.40 inline data declarations to call FM CACS_OAPCTRLUI_BIND_ALV

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.

 
 
 
 
 
 
 
 
 


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!