SAP EXIT_SAPLV56B_001 Function Module for Transportation Processing: Field Modification
EXIT_SAPLV56B_001 is a standard exit saplv56b 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transportation Processing: Field Modification 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 exit saplv56b 001 FM, simply by entering the name EXIT_SAPLV56B_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XV56
Program Name: SAPLXV56
Main Program:
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLV56B_001 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 'EXIT_SAPLV56B_001'"Transportation Processing: Field Modification.
EXPORTING
IS_VTTK = "Shipment Header (Work Area)
* IS_VTTS = "Shipment Leg (Work Area)
* I_IN_TABLE_CONTROL = ' ' "Flag: Field in Table Control
* I_ONLY_DISPLAY = ' ' "Flg: Display Only (Display Mode)
IMPORTING
E_SCREEN_MODIFIED = "Flag: Screen Was Modified
CHANGING
C_SCREEN = "Field Control Work Area
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.SD_SHIPMENT_FCODE_CONTROL NOTRANSL: Transportbearbeitung: Prüfung, ob FCODE erlaubt ist
SD_SHIPMENT_FIELD_CONTROL Field Control
SD_SHIPMENT_HEADERS_CHANGE_DIA NOTRANSL: Massenänderung des Transportkopfes
IMPORTING Parameters details for EXIT_SAPLV56B_001
IS_VTTK - Shipment Header (Work Area)
Data type: VTTKVBOptional: No
Call by Reference: No ( called with pass by value option)
IS_VTTS - Shipment Leg (Work Area)
Data type: VTTSVBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_IN_TABLE_CONTROL - Flag: Field in Table Control
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ONLY_DISPLAY - Flg: Display Only (Display Mode)
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLV56B_001
E_SCREEN_MODIFIED - Flag: Screen Was Modified
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EXIT_SAPLV56B_001
C_SCREEN - Field Control Work Area
Data type: CXTAB_COLUMN-SCREENOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLV56B_001 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_is_vttk | TYPE VTTKVB, " | |||
| lv_c_screen | TYPE CXTAB_COLUMN-SCREEN, " | |||
| lv_e_screen_modified | TYPE C, " | |||
| lv_is_vtts | TYPE VTTSVB, " | |||
| lv_i_in_table_control | TYPE C, " ' ' | |||
| lv_i_only_display | TYPE C. " ' ' |
|   CALL FUNCTION 'EXIT_SAPLV56B_001' "Transportation Processing: Field Modification |
| EXPORTING | ||
| IS_VTTK | = lv_is_vttk | |
| IS_VTTS | = lv_is_vtts | |
| I_IN_TABLE_CONTROL | = lv_i_in_table_control | |
| I_ONLY_DISPLAY | = lv_i_only_display | |
| IMPORTING | ||
| E_SCREEN_MODIFIED | = lv_e_screen_modified | |
| CHANGING | ||
| C_SCREEN | = lv_c_screen | |
| . " EXIT_SAPLV56B_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLV56B_001
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 SCREEN FROM CXTAB_COLUMN INTO @DATA(ld_c_screen). | ||||
| DATA(ld_i_in_table_control) | = ' '. | |||
| DATA(ld_i_only_display) | = ' '. | |||
Search for further information about these or an SAP related objects