SAP CAMA_TABLE_MAINTAIN_ENTRI_LINE Function Module for NOTRANSL: Inhalt einer Variantentabellenzeile pflegen
CAMA_TABLE_MAINTAIN_ENTRI_LINE is a standard cama table maintain entri line 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: Inhalt einer Variantentabellenzeile pflegen 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 cama table maintain entri line FM, simply by entering the name CAMA_TABLE_MAINTAIN_ENTRI_LINE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CAMA
Program Name: SAPLCAMA
Main Program: SAPLCAMA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CAMA_TABLE_MAINTAIN_ENTRI_LINE 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 'CAMA_TABLE_MAINTAIN_ENTRI_LINE'"NOTRANSL: Inhalt einer Variantentabellenzeile pflegen.
EXPORTING
VAR_TABLE = "Name of variant table
* VAR_TAB_LINE_NO_INT = "Internal line number of line to be changed
* FL_DELETE = ' ' "Deletion indicator for this line
* CHANGE_NO = "Change number
TABLES
* SELECT_WHERE_VALUES = "Search string for line
VAR_TAB_LINE_ENTRIES = "Char./value pair for change
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for CAMA_TABLE_MAINTAIN_ENTRI_LINE
VAR_TABLE - Name of variant table
Data type: TABLSTRUCT-VAR_TABOptional: No
Call by Reference: No ( called with pass by value option)
VAR_TAB_LINE_NO_INT - Internal line number of line to be changed
Data type: VTLINEID-VTLINNOINTOptional: Yes
Call by Reference: No ( called with pass by value option)
FL_DELETE - Deletion indicator for this line
Data type: CAPIFLAG-FLLKENZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGE_NO - Change number
Data type: CCAPI-CHANGE_NOOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CAMA_TABLE_MAINTAIN_ENTRI_LINE
SELECT_WHERE_VALUES - Search string for line
Data type: CHA_VALOptional: Yes
Call by Reference: No ( called with pass by value option)
VAR_TAB_LINE_ENTRIES - Char./value pair for change
Data type: VTENTRIESOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR - Processing error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CAMA_TABLE_MAINTAIN_ENTRI_LINE 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_error | TYPE STRING, " | |||
| lv_var_table | TYPE TABLSTRUCT-VAR_TAB, " | |||
| lt_select_where_values | TYPE STANDARD TABLE OF CHA_VAL, " | |||
| lv_var_tab_line_no_int | TYPE VTLINEID-VTLINNOINT, " | |||
| lt_var_tab_line_entries | TYPE STANDARD TABLE OF VTENTRIES, " | |||
| lv_fl_delete | TYPE CAPIFLAG-FLLKENZ, " SPACE | |||
| lv_change_no | TYPE CCAPI-CHANGE_NO. " |
|   CALL FUNCTION 'CAMA_TABLE_MAINTAIN_ENTRI_LINE' "NOTRANSL: Inhalt einer Variantentabellenzeile pflegen |
| EXPORTING | ||
| VAR_TABLE | = lv_var_table | |
| VAR_TAB_LINE_NO_INT | = lv_var_tab_line_no_int | |
| FL_DELETE | = lv_fl_delete | |
| CHANGE_NO | = lv_change_no | |
| TABLES | ||
| SELECT_WHERE_VALUES | = lt_select_where_values | |
| VAR_TAB_LINE_ENTRIES | = lt_var_tab_line_entries | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " CAMA_TABLE_MAINTAIN_ENTRI_LINE | ||
ABAP code using 7.40 inline data declarations to call FM CAMA_TABLE_MAINTAIN_ENTRI_LINE
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 VAR_TAB FROM TABLSTRUCT INTO @DATA(ld_var_table). | ||||
| "SELECT single VTLINNOINT FROM VTLINEID INTO @DATA(ld_var_tab_line_no_int). | ||||
| "SELECT single FLLKENZ FROM CAPIFLAG INTO @DATA(ld_fl_delete). | ||||
| DATA(ld_fl_delete) | = ' '. | |||
| "SELECT single CHANGE_NO FROM CCAPI INTO @DATA(ld_change_no). | ||||
Search for further information about these or an SAP related objects