SAP L_TO_CONFIRM Function Module for Confirm transfer order









L_TO_CONFIRM is a standard l to confirm SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Confirm transfer order 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 l to confirm FM, simply by entering the name L_TO_CONFIRM into the relevant SAP transaction such as SE37 or SE38.

Function Group: L03B
Program Name: SAPLL03B
Main Program: SAPLL03B
Appliation area: L
Release date: 19-Apr-1995
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function L_TO_CONFIRM 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 'L_TO_CONFIRM'"Confirm transfer order
EXPORTING
I_LGNUM = "Warehouse number
* I_STDAT = INIT_DATUM "
* I_STUZT = 0 "Start Time
* I_ENDAT = INIT_DATUM "End Date
* I_ENUZT = 0 "End Time
* I_ISTWM = 0 "Actual work
* I_KOMIM = ' ' "Copy pick quantities into delivery / Post GI
* I_EINLM = ' ' "
* I_TBELI = ' ' "
* I_UPDATE_TASK = ' ' "Indicator: update via update task
* I_COMMIT_WORK = 'X' "Indicator whether COMMIT WORK in function module
I_TANUM = "Transfer order number
* I_AUSFB = ' ' "
* I_SQUIT = ' ' "Confirmation target = actual
* I_QUKNZ = ' ' "Confirmation indicator for separate confirmation
* I_SUBST = ' ' "Confirm also items to subsystems
* I_QNAME = SY-UNAME "User who is executing confirmation
* I_ENAME = SY-UNAME "
* I_SOLEX = 0 "Planned Transfer Order Processing Time from External System
* I_PERNR = 0 "Personnel Number

TABLES
T_LTAP_CONF = "Table of items to be confirmed
* T_LTAP_CONF_HU = "Handling Unit Data for TO Item at Confirmation
* T_LTAP_CONF_HU_SERIAL = "Serial Number Data for TO Item at Confirmation

EXCEPTIONS
TO_CONFIRMED = 1 ITEM_NO_SU_BULK_STORAGE = 10 ONE_ITEM_SU_BULK_STORAGE = 11 FOREIGN_LOCK = 12 SQUIT_OR_QUANTITIES = 13 VQUIT_OR_QUANTITIES = 14 BQUIT_OR_QUANTITIES = 15 QUANTITY_WRONG = 16 DOUBLE_LINES = 17 KZDIF_WRONG = 18 NO_DIFFERENCE = 19 TO_DOESNT_EXIST = 2 NO_NEGATIVE_QUANTITIES = 20 WRONG_ZERO_STOCK_CHECK = 21 SU_NOT_FOUND = 22 NO_STOCK_ON_SU = 23 SU_WRONG = 24 TOO_MANY_SU = 25 NOTHING_TO_DO = 26 NO_UNIT_OF_MEASURE = 27 XFELD_WRONG = 28 UPDATE_WITHOUT_COMMIT = 29 ITEM_CONFIRMED = 3 NO_AUTHORITY = 30 LQNUM_MISSING = 31 CHARG_MISSING = 32 NO_SOBKZ = 33 NO_CHARG = 34 NLPLA_WRONG = 35 TWO_STEP_CONFIRMATION_REQUIRED = 36 TWO_STEP_CONF_NOT_ALLOWED = 37 PICK_CONFIRMATION_MISSING = 38 QUKNZ_WRONG = 39 ITEM_SUBSYSTEM = 4 HU_DATA_WRONG = 40 NO_HU_DATA_REQUIRED = 41 HU_DATA_MISSING = 42 HU_NOT_FOUND = 43 PICKING_OF_HU_NOT_POSSIBLE = 44 NOT_ENOUGH_STOCK_IN_HU = 45 SERIAL_NUMBER_DATA_WRONG = 46 SERIAL_NUMBERS_NOT_REQUIRED = 47 NO_DIFFERENCES_ALLOWED = 48 SERIAL_NUMBER_NOT_AVAILABLE = 49 ITEM_DOESNT_EXIST = 5 SERIAL_NUMBER_DATA_MISSING = 50 TO_ITEM_SPLIT_NOT_ALLOWED = 51 INPUT_WRONG = 52 ITEM_WITHOUT_ZERO_STOCK_CHECK = 6 ITEM_WITH_ZERO_STOCK_CHECK = 7 ONE_ITEM_WITH_ZERO_STOCK_CHECK = 8 ITEM_SU_BULK_STORAGE = 9
.



IMPORTING Parameters details for L_TO_CONFIRM

I_LGNUM - Warehouse number

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

I_STDAT -

Data type: LTAK-STDAT
Default: INIT_DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_STUZT - Start Time

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

I_ENDAT - End Date

Data type: LTAK-ENDAT
Default: INIT_DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ENUZT - End Time

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

I_ISTWM - Actual work

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

I_KOMIM - Copy pick quantities into delivery / Post GI

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

I_EINLM -

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

I_TBELI -

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

I_UPDATE_TASK - Indicator: update via update task

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

I_COMMIT_WORK - Indicator whether COMMIT WORK in function module

Data type: RL03B-COMIT
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TANUM - Transfer order number

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

I_AUSFB -

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

I_SQUIT - Confirmation target = actual

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

I_QUKNZ - Confirmation indicator for separate confirmation

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

I_SUBST - Confirm also items to subsystems

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

I_QNAME - User who is executing confirmation

Data type: LTAP-QNAME
Default: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ENAME -

Data type: LTAP-ENAME
Default: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SOLEX - Planned Transfer Order Processing Time from External System

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

I_PERNR - Personnel Number

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

TABLES Parameters details for L_TO_CONFIRM

T_LTAP_CONF - Table of items to be confirmed

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

T_LTAP_CONF_HU - Handling Unit Data for TO Item at Confirmation

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

T_LTAP_CONF_HU_SERIAL - Serial Number Data for TO Item at Confirmation

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

EXCEPTIONS details

TO_CONFIRMED - Transfer order already confirmed

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

ITEM_NO_SU_BULK_STORAGE - TO item is not withdrawal from SU block storage

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

ONE_ITEM_SU_BULK_STORAGE - There is a withdrawal from SU block storage

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

FOREIGN_LOCK - An SAP block has been set by another user

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

SQUIT_OR_QUANTITIES - Confirm target = actual or explicit quantities

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

VQUIT_OR_QUANTITIES - Confirm entire SU or explicit quantities

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

BQUIT_OR_QUANTITIES - End withdrawal fron SU block storage or quantities

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

QUANTITY_WRONG - Total of specified quantities incorrect

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

DOUBLE_LINES - In T_LTAP_CONF, there are multiple entries

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

KZDIF_WRONG - Difference indicator unknown

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

NO_DIFFERENCE - Difference indicator superfluous

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

TO_DOESNT_EXIST - Transfer order does not exist

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

NO_NEGATIVE_QUANTITIES - Negative quantities not allowed

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

WRONG_ZERO_STOCK_CHECK - Zero stock check incorrect

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

SU_NOT_FOUND - Storage unit does not exist

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

NO_STOCK_ON_SU - Storage unit does not contain stock

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

SU_WRONG - Storage unit is not in source bin

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

TOO_MANY_SU - Too many storage units have been confirmed

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

NOTHING_TO_DO - Acc.to transf.parameter, no proc.required

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

NO_UNIT_OF_MEASURE - Unit of measure for qty missing

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

XFELD_WRONG - Incorrect value for checkbox

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

UPDATE_WITHOUT_COMMIT - Update via update task only using Commit

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

ITEM_CONFIRMED - TO item already confirmed

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

NO_AUTHORITY - No authorization

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

LQNUM_MISSING -

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

CHARG_MISSING -

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

NO_SOBKZ -

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

NO_CHARG -

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

NLPLA_WRONG -

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

TWO_STEP_CONFIRMATION_REQUIRED -

Data type:
Optional: No
Call by Reference: Yes

TWO_STEP_CONF_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

PICK_CONFIRMATION_MISSING -

Data type:
Optional: No
Call by Reference: Yes

QUKNZ_WRONG -

Data type:
Optional: No
Call by Reference: Yes

ITEM_SUBSYSTEM - TO item to be confirmed by subsystem

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

HU_DATA_WRONG -

Data type:
Optional: No
Call by Reference: Yes

NO_HU_DATA_REQUIRED -

Data type:
Optional: No
Call by Reference: Yes

HU_DATA_MISSING -

Data type:
Optional: No
Call by Reference: Yes

HU_NOT_FOUND - HU does not exist

Data type:
Optional: No
Call by Reference: Yes

PICKING_OF_HU_NOT_POSSIBLE -

Data type:
Optional: No
Call by Reference: Yes

NOT_ENOUGH_STOCK_IN_HU -

Data type:
Optional: No
Call by Reference: Yes

SERIAL_NUMBER_DATA_WRONG -

Data type:
Optional: No
Call by Reference: Yes

SERIAL_NUMBERS_NOT_REQUIRED -

Data type:
Optional: No
Call by Reference: Yes

NO_DIFFERENCES_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

SERIAL_NUMBER_NOT_AVAILABLE -

Data type:
Optional: No
Call by Reference: Yes

ITEM_DOESNT_EXIST - TO item does not exist

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

SERIAL_NUMBER_DATA_MISSING -

Data type:
Optional: No
Call by Reference: Yes

TO_ITEM_SPLIT_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

INPUT_WRONG -

Data type:
Optional: No
Call by Reference: Yes

ITEM_WITHOUT_ZERO_STOCK_CHECK - Zero stock check for TO item not possible

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

ITEM_WITH_ZERO_STOCK_CHECK - Zero stock check required for TO item

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

ONE_ITEM_WITH_ZERO_STOCK_CHECK - There is a TO item with zero stock check

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

ITEM_SU_BULK_STORAGE - TO item is withdrawal from SU block stor.

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

Copy and paste ABAP code example for L_TO_CONFIRM 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_lgnum  TYPE LTAK-LGNUM, "   
lt_t_ltap_conf  TYPE STANDARD TABLE OF LTAP_CONF, "   
lv_to_confirmed  TYPE LTAP_CONF, "   
lv_i_stdat  TYPE LTAK-STDAT, "   INIT_DATUM
lv_item_no_su_bulk_storage  TYPE LTAK, "   
lv_i_stuzt  TYPE LTAK-STUZT, "   0
lv_one_item_su_bulk_storage  TYPE LTAK, "   
lv_i_endat  TYPE LTAK-ENDAT, "   INIT_DATUM
lv_foreign_lock  TYPE LTAK, "   
lv_i_enuzt  TYPE LTAK-ENUZT, "   0
lv_squit_or_quantities  TYPE LTAK, "   
lv_i_istwm  TYPE LTAK-ISTWM, "   0
lv_vquit_or_quantities  TYPE LTAK, "   
lv_i_komim  TYPE RL03T-KOMIM, "   SPACE
lv_bquit_or_quantities  TYPE RL03T, "   
lv_i_einlm  TYPE RL03T-EINLM, "   SPACE
lv_quantity_wrong  TYPE RL03T, "   
lv_i_tbeli  TYPE RL03T-TBELI, "   SPACE
lv_double_lines  TYPE RL03T, "   
lv_kzdif_wrong  TYPE RL03T, "   
lv_i_update_task  TYPE RL03A-VERBU, "   SPACE
lv_i_commit_work  TYPE RL03B-COMIT, "   'X'
lv_no_difference  TYPE RL03B, "   
lv_i_tanum  TYPE LTAK-TANUM, "   
lt_t_ltap_conf_hu  TYPE STANDARD TABLE OF LTAP_CONF_HU, "   
lv_to_doesnt_exist  TYPE LTAP_CONF_HU, "   
lv_i_ausfb  TYPE LTAK-AUSFB, "   SPACE
lv_no_negative_quantities  TYPE LTAK, "   
lv_wrong_zero_stock_check  TYPE LTAK, "   
lv_su_not_found  TYPE LTAK, "   
lv_no_stock_on_su  TYPE LTAK, "   
lv_su_wrong  TYPE LTAK, "   
lv_too_many_su  TYPE LTAK, "   
lv_nothing_to_do  TYPE LTAK, "   
lv_no_unit_of_measure  TYPE LTAK, "   
lv_xfeld_wrong  TYPE LTAK, "   
lv_update_without_commit  TYPE LTAK, "   
lv_i_squit  TYPE RL03T-SQUIT, "   SPACE
lv_item_confirmed  TYPE RL03T, "   
lt_t_ltap_conf_hu_serial  TYPE STANDARD TABLE OF LTAP_CONF_HU_SERIAL, "   
lv_no_authority  TYPE LTAP_CONF_HU_SERIAL, "   
lv_lqnum_missing  TYPE LTAP_CONF_HU_SERIAL, "   
lv_charg_missing  TYPE LTAP_CONF_HU_SERIAL, "   
lv_no_sobkz  TYPE LTAP_CONF_HU_SERIAL, "   
lv_no_charg  TYPE LTAP_CONF_HU_SERIAL, "   
lv_nlpla_wrong  TYPE LTAP_CONF_HU_SERIAL, "   
lv_two_step_confirmation_required  TYPE LTAP_CONF_HU_SERIAL, "   
lv_two_step_conf_not_allowed  TYPE LTAP_CONF_HU_SERIAL, "   
lv_pick_confirmation_missing  TYPE LTAP_CONF_HU_SERIAL, "   
lv_quknz_wrong  TYPE LTAP_CONF_HU_SERIAL, "   
lv_i_quknz  TYPE RL03T-QUKNZ, "   SPACE
lv_item_subsystem  TYPE RL03T, "   
lv_hu_data_wrong  TYPE RL03T, "   
lv_no_hu_data_required  TYPE RL03T, "   
lv_hu_data_missing  TYPE RL03T, "   
lv_hu_not_found  TYPE RL03T, "   
lv_picking_of_hu_not_possible  TYPE RL03T, "   
lv_not_enough_stock_in_hu  TYPE RL03T, "   
lv_serial_number_data_wrong  TYPE RL03T, "   
lv_serial_numbers_not_required  TYPE RL03T, "   
lv_no_differences_allowed  TYPE RL03T, "   
lv_serial_number_not_available  TYPE RL03T, "   
lv_i_subst  TYPE RL03T-SUBST, "   SPACE
lv_item_doesnt_exist  TYPE RL03T, "   
lv_serial_number_data_missing  TYPE RL03T, "   
lv_to_item_split_not_allowed  TYPE RL03T, "   
lv_input_wrong  TYPE RL03T, "   
lv_i_qname  TYPE LTAP-QNAME, "   SY-UNAME
lv_item_without_zero_stock_check  TYPE LTAP, "   
lv_i_ename  TYPE LTAP-ENAME, "   SY-UNAME
lv_item_with_zero_stock_check  TYPE LTAP, "   
lv_i_solex  TYPE LTAK-SOLEX, "   0
lv_one_item_with_zero_stock_check  TYPE LTAK, "   
lv_i_pernr  TYPE LTAK-PERNR, "   0
lv_item_su_bulk_storage  TYPE LTAK. "   

  CALL FUNCTION 'L_TO_CONFIRM'  "Confirm transfer order
    EXPORTING
         I_LGNUM = lv_i_lgnum
         I_STDAT = lv_i_stdat
         I_STUZT = lv_i_stuzt
         I_ENDAT = lv_i_endat
         I_ENUZT = lv_i_enuzt
         I_ISTWM = lv_i_istwm
         I_KOMIM = lv_i_komim
         I_EINLM = lv_i_einlm
         I_TBELI = lv_i_tbeli
         I_UPDATE_TASK = lv_i_update_task
         I_COMMIT_WORK = lv_i_commit_work
         I_TANUM = lv_i_tanum
         I_AUSFB = lv_i_ausfb
         I_SQUIT = lv_i_squit
         I_QUKNZ = lv_i_quknz
         I_SUBST = lv_i_subst
         I_QNAME = lv_i_qname
         I_ENAME = lv_i_ename
         I_SOLEX = lv_i_solex
         I_PERNR = lv_i_pernr
    TABLES
         T_LTAP_CONF = lt_t_ltap_conf
         T_LTAP_CONF_HU = lt_t_ltap_conf_hu
         T_LTAP_CONF_HU_SERIAL = lt_t_ltap_conf_hu_serial
    EXCEPTIONS
        TO_CONFIRMED = 1
        ITEM_NO_SU_BULK_STORAGE = 10
        ONE_ITEM_SU_BULK_STORAGE = 11
        FOREIGN_LOCK = 12
        SQUIT_OR_QUANTITIES = 13
        VQUIT_OR_QUANTITIES = 14
        BQUIT_OR_QUANTITIES = 15
        QUANTITY_WRONG = 16
        DOUBLE_LINES = 17
        KZDIF_WRONG = 18
        NO_DIFFERENCE = 19
        TO_DOESNT_EXIST = 2
        NO_NEGATIVE_QUANTITIES = 20
        WRONG_ZERO_STOCK_CHECK = 21
        SU_NOT_FOUND = 22
        NO_STOCK_ON_SU = 23
        SU_WRONG = 24
        TOO_MANY_SU = 25
        NOTHING_TO_DO = 26
        NO_UNIT_OF_MEASURE = 27
        XFELD_WRONG = 28
        UPDATE_WITHOUT_COMMIT = 29
        ITEM_CONFIRMED = 3
        NO_AUTHORITY = 30
        LQNUM_MISSING = 31
        CHARG_MISSING = 32
        NO_SOBKZ = 33
        NO_CHARG = 34
        NLPLA_WRONG = 35
        TWO_STEP_CONFIRMATION_REQUIRED = 36
        TWO_STEP_CONF_NOT_ALLOWED = 37
        PICK_CONFIRMATION_MISSING = 38
        QUKNZ_WRONG = 39
        ITEM_SUBSYSTEM = 4
        HU_DATA_WRONG = 40
        NO_HU_DATA_REQUIRED = 41
        HU_DATA_MISSING = 42
        HU_NOT_FOUND = 43
        PICKING_OF_HU_NOT_POSSIBLE = 44
        NOT_ENOUGH_STOCK_IN_HU = 45
        SERIAL_NUMBER_DATA_WRONG = 46
        SERIAL_NUMBERS_NOT_REQUIRED = 47
        NO_DIFFERENCES_ALLOWED = 48
        SERIAL_NUMBER_NOT_AVAILABLE = 49
        ITEM_DOESNT_EXIST = 5
        SERIAL_NUMBER_DATA_MISSING = 50
        TO_ITEM_SPLIT_NOT_ALLOWED = 51
        INPUT_WRONG = 52
        ITEM_WITHOUT_ZERO_STOCK_CHECK = 6
        ITEM_WITH_ZERO_STOCK_CHECK = 7
        ONE_ITEM_WITH_ZERO_STOCK_CHECK = 8
        ITEM_SU_BULK_STORAGE = 9
. " L_TO_CONFIRM




ABAP code using 7.40 inline data declarations to call FM L_TO_CONFIRM

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 LGNUM FROM LTAK INTO @DATA(ld_i_lgnum).
 
 
 
"SELECT single STDAT FROM LTAK INTO @DATA(ld_i_stdat).
DATA(ld_i_stdat) = INIT_DATUM.
 
 
"SELECT single STUZT FROM LTAK INTO @DATA(ld_i_stuzt).
 
 
"SELECT single ENDAT FROM LTAK INTO @DATA(ld_i_endat).
DATA(ld_i_endat) = INIT_DATUM.
 
 
"SELECT single ENUZT FROM LTAK INTO @DATA(ld_i_enuzt).
 
 
"SELECT single ISTWM FROM LTAK INTO @DATA(ld_i_istwm).
 
 
"SELECT single KOMIM FROM RL03T INTO @DATA(ld_i_komim).
DATA(ld_i_komim) = ' '.
 
 
"SELECT single EINLM FROM RL03T INTO @DATA(ld_i_einlm).
DATA(ld_i_einlm) = ' '.
 
 
"SELECT single TBELI FROM RL03T INTO @DATA(ld_i_tbeli).
DATA(ld_i_tbeli) = ' '.
 
 
 
"SELECT single VERBU FROM RL03A INTO @DATA(ld_i_update_task).
DATA(ld_i_update_task) = ' '.
 
"SELECT single COMIT FROM RL03B INTO @DATA(ld_i_commit_work).
DATA(ld_i_commit_work) = 'X'.
 
 
"SELECT single TANUM FROM LTAK INTO @DATA(ld_i_tanum).
 
 
 
"SELECT single AUSFB FROM LTAK INTO @DATA(ld_i_ausfb).
DATA(ld_i_ausfb) = ' '.
 
 
 
 
 
 
 
 
 
 
 
"SELECT single SQUIT FROM RL03T INTO @DATA(ld_i_squit).
DATA(ld_i_squit) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single QUKNZ FROM RL03T INTO @DATA(ld_i_quknz).
DATA(ld_i_quknz) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single SUBST FROM RL03T INTO @DATA(ld_i_subst).
DATA(ld_i_subst) = ' '.
 
 
 
 
 
"SELECT single QNAME FROM LTAP INTO @DATA(ld_i_qname).
DATA(ld_i_qname) = SY-UNAME.
 
 
"SELECT single ENAME FROM LTAP INTO @DATA(ld_i_ename).
DATA(ld_i_ename) = SY-UNAME.
 
 
"SELECT single SOLEX FROM LTAK INTO @DATA(ld_i_solex).
 
 
"SELECT single PERNR FROM LTAK INTO @DATA(ld_i_pernr).
 
 


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!