EXIT_SAPLV56U_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_SAPLV56U_002 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
XV56
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EXIT_SAPLV56U_002' "Checking of Shipments for Completeness
* EXPORTING
* i_opt_dialog = SPACE " rv56a-selkz Option: Dialog
IMPORTING
e_errors_occurred = " rv56a-selkz Errors Have Occurred
e_warnings_occurred = " rv56a-selkz Warnings Have Occurred
TABLES
i_xvttk = " vttkvb Shipment Headers (Current)
i_yvttk = " vttkvb Shipment Headers (Old)
i_xvttp = " vttpvb Shipment Items (Current)
i_yvttp = " vttpvb Shipment Items (Old)
i_xvtts = " vttsvb Shipment Stages (Current)
i_yvtts = " vttsvb Shipment Stages (Old)
i_xvtsp = " vtspvb Assignment Stage/Item (Current)
i_yvtsp = " vtspvb Assignment Stage/Item (Old)
. " EXIT_SAPLV56U_002
The ABAP code below is a full code listing to execute function module EXIT_SAPLV56U_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_errors_occurred | TYPE RV56A-SELKZ , |
| ld_e_warnings_occurred | TYPE RV56A-SELKZ , |
| it_i_xvttk | TYPE STANDARD TABLE OF VTTKVB,"TABLES PARAM |
| wa_i_xvttk | LIKE LINE OF it_i_xvttk , |
| it_i_yvttk | TYPE STANDARD TABLE OF VTTKVB,"TABLES PARAM |
| wa_i_yvttk | LIKE LINE OF it_i_yvttk , |
| it_i_xvttp | TYPE STANDARD TABLE OF VTTPVB,"TABLES PARAM |
| wa_i_xvttp | LIKE LINE OF it_i_xvttp , |
| it_i_yvttp | TYPE STANDARD TABLE OF VTTPVB,"TABLES PARAM |
| wa_i_yvttp | LIKE LINE OF it_i_yvttp , |
| it_i_xvtts | TYPE STANDARD TABLE OF VTTSVB,"TABLES PARAM |
| wa_i_xvtts | LIKE LINE OF it_i_xvtts , |
| it_i_yvtts | TYPE STANDARD TABLE OF VTTSVB,"TABLES PARAM |
| wa_i_yvtts | LIKE LINE OF it_i_yvtts , |
| it_i_xvtsp | TYPE STANDARD TABLE OF VTSPVB,"TABLES PARAM |
| wa_i_xvtsp | LIKE LINE OF it_i_xvtsp , |
| it_i_yvtsp | TYPE STANDARD TABLE OF VTSPVB,"TABLES PARAM |
| wa_i_yvtsp | LIKE LINE OF it_i_yvtsp . |
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_errors_occurred | TYPE RV56A-SELKZ , |
| ld_i_opt_dialog | TYPE RV56A-SELKZ , |
| it_i_xvttk | TYPE STANDARD TABLE OF VTTKVB , |
| wa_i_xvttk | LIKE LINE OF it_i_xvttk, |
| ld_e_warnings_occurred | TYPE RV56A-SELKZ , |
| it_i_yvttk | TYPE STANDARD TABLE OF VTTKVB , |
| wa_i_yvttk | LIKE LINE OF it_i_yvttk, |
| it_i_xvttp | TYPE STANDARD TABLE OF VTTPVB , |
| wa_i_xvttp | LIKE LINE OF it_i_xvttp, |
| it_i_yvttp | TYPE STANDARD TABLE OF VTTPVB , |
| wa_i_yvttp | LIKE LINE OF it_i_yvttp, |
| it_i_xvtts | TYPE STANDARD TABLE OF VTTSVB , |
| wa_i_xvtts | LIKE LINE OF it_i_xvtts, |
| it_i_yvtts | TYPE STANDARD TABLE OF VTTSVB , |
| wa_i_yvtts | LIKE LINE OF it_i_yvtts, |
| it_i_xvtsp | TYPE STANDARD TABLE OF VTSPVB , |
| wa_i_xvtsp | LIKE LINE OF it_i_xvtsp, |
| it_i_yvtsp | TYPE STANDARD TABLE OF VTSPVB , |
| wa_i_yvtsp | LIKE LINE OF it_i_yvtsp. |
When you save after processing shipments, the system checks and informs
you whether the shipments are complete.
...See here for full SAP fm documentation
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_SAPLV56U_002 or its description.
EXIT_SAPLV56U_002 - Checking of Shipments for Completeness EXIT_SAPLV56U_001 - Checking of Shipments for Changes EXIT_SAPLV56T_001 - Filter Delivery Items for Shipment EXIT_SAPLV56S_001 - Shipment Processing: Leg Determination EXIT_SAPLV56M_003 - Collective Processing Shipment: Filling Generated Shipment Docs with D EXIT_SAPLV56M_002 - Collective Processing Shipment: Assign Deliveries to Shipments