EXIT_SAPLWB2A_002 is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name EXIT_SAPLWB2A_002 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
XWB2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EXIT_SAPLWB2A_002' "Trading Contract: KOPF Transport of Data from Screen Exit
IMPORTING
e_komwbhk = " komwbhk
e_komwbhd = " komwbhd
e_komwbhp = " komwbhp
TABLES
xkomwbhk = " komwbhk
ykomwbhk = " komwbhk
xkomwbhi = " komwbhi
ykomwbhi = " komwbhi
xkomwbhd = " komwbhd
ykomwbhd = " komwbhd
xkomwbhe = " komwbhe
ykomwbhe = " komwbhe
xkomwbhp = " komwbhp
ykomwbhp = " komwbhp
. " EXIT_SAPLWB2A_002
The ABAP code below is a full code listing to execute function module EXIT_SAPLWB2A_002 including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_komwbhk | TYPE KOMWBHK , |
| ld_e_komwbhd | TYPE KOMWBHD , |
| ld_e_komwbhp | TYPE KOMWBHP , |
| it_xkomwbhk | TYPE STANDARD TABLE OF KOMWBHK,"TABLES PARAM |
| wa_xkomwbhk | LIKE LINE OF it_xkomwbhk , |
| it_ykomwbhk | TYPE STANDARD TABLE OF KOMWBHK,"TABLES PARAM |
| wa_ykomwbhk | LIKE LINE OF it_ykomwbhk , |
| it_xkomwbhi | TYPE STANDARD TABLE OF KOMWBHI,"TABLES PARAM |
| wa_xkomwbhi | LIKE LINE OF it_xkomwbhi , |
| it_ykomwbhi | TYPE STANDARD TABLE OF KOMWBHI,"TABLES PARAM |
| wa_ykomwbhi | LIKE LINE OF it_ykomwbhi , |
| it_xkomwbhd | TYPE STANDARD TABLE OF KOMWBHD,"TABLES PARAM |
| wa_xkomwbhd | LIKE LINE OF it_xkomwbhd , |
| it_ykomwbhd | TYPE STANDARD TABLE OF KOMWBHD,"TABLES PARAM |
| wa_ykomwbhd | LIKE LINE OF it_ykomwbhd , |
| it_xkomwbhe | TYPE STANDARD TABLE OF KOMWBHE,"TABLES PARAM |
| wa_xkomwbhe | LIKE LINE OF it_xkomwbhe , |
| it_ykomwbhe | TYPE STANDARD TABLE OF KOMWBHE,"TABLES PARAM |
| wa_ykomwbhe | LIKE LINE OF it_ykomwbhe , |
| it_xkomwbhp | TYPE STANDARD TABLE OF KOMWBHP,"TABLES PARAM |
| wa_xkomwbhp | LIKE LINE OF it_xkomwbhp , |
| it_ykomwbhp | TYPE STANDARD TABLE OF KOMWBHP,"TABLES PARAM |
| wa_ykomwbhp | LIKE LINE OF it_ykomwbhp . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_komwbhk | TYPE KOMWBHK , |
| it_xkomwbhk | TYPE STANDARD TABLE OF KOMWBHK , |
| wa_xkomwbhk | LIKE LINE OF it_xkomwbhk, |
| ld_e_komwbhd | TYPE KOMWBHD , |
| it_ykomwbhk | TYPE STANDARD TABLE OF KOMWBHK , |
| wa_ykomwbhk | LIKE LINE OF it_ykomwbhk, |
| ld_e_komwbhp | TYPE KOMWBHP , |
| it_xkomwbhi | TYPE STANDARD TABLE OF KOMWBHI , |
| wa_xkomwbhi | LIKE LINE OF it_xkomwbhi, |
| it_ykomwbhi | TYPE STANDARD TABLE OF KOMWBHI , |
| wa_ykomwbhi | LIKE LINE OF it_ykomwbhi, |
| it_xkomwbhd | TYPE STANDARD TABLE OF KOMWBHD , |
| wa_xkomwbhd | LIKE LINE OF it_xkomwbhd, |
| it_ykomwbhd | TYPE STANDARD TABLE OF KOMWBHD , |
| wa_ykomwbhd | LIKE LINE OF it_ykomwbhd, |
| it_xkomwbhe | TYPE STANDARD TABLE OF KOMWBHE , |
| wa_xkomwbhe | LIKE LINE OF it_xkomwbhe, |
| it_ykomwbhe | TYPE STANDARD TABLE OF KOMWBHE , |
| wa_ykomwbhe | LIKE LINE OF it_ykomwbhe, |
| it_xkomwbhp | TYPE STANDARD TABLE OF KOMWBHP , |
| wa_xkomwbhp | LIKE LINE OF it_xkomwbhp, |
| it_ykomwbhp | TYPE STANDARD TABLE OF KOMWBHP , |
| wa_ykomwbhp | LIKE LINE OF it_ykomwbhp. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EXIT_SAPLWB2A_002 or its description.
EXIT_SAPLWB2A_002 - Trading Contract: KOPF Transport of Data from Screen Exit EXIT_SAPLWB2A_001 - Trading Contract: KOPF Data Transfer to Screen Exit EXIT_SAPLWB27_010 - Trading Contract: Enhancement for Creating with Reference EXIT_SAPLWAUF_103 - Determine Delivery Phase for each Article and Distribution Center EXIT_SAPLWAUF_102 - Material selection EXIT_SAPLWAUF_101 - Allocation Table Number Determination