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

Function PACKET_RESEND 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 'PACKET_RESEND'"Resend a Packet for Processing.
EXPORTING
PROCESS_INFO = "Extended Structure for Process Information
T_DLDNR = "Table Type for SITE_BBTYP_DLDNUM
PACKET_INFO = "Information for Packet for Processing
DATE_FROM = "DATS Field Type
DATE_TO = "DATS Field Type
PACKET_FOR_ALL = "Kennzeichen: Paket für filialunabhängige Artikel
T_SITES = "Tabelle aller Filialen
T_SITES_IN_PACKET = "Tabelle der konkreten Filialen
T_ART_FOR_ALL = "Table Type for Store-Independent Changes
T_ART_FOR_SITES = "Table Type for Store-Specific Article Changes
IMPORTING Parameters details for PACKET_RESEND
PROCESS_INFO - Extended Structure for Process Information
Data type: EXT_PROCESS_INFOOptional: No
Call by Reference: Yes
T_DLDNR - Table Type for SITE_BBTYP_DLDNUM
Data type: SITE_BBTYP_DLDNUM_TABLEOptional: No
Call by Reference: Yes
PACKET_INFO - Information for Packet for Processing
Data type: PACKET_INFOOptional: No
Call by Reference: Yes
DATE_FROM - DATS Field Type
Data type: DATSOptional: No
Call by Reference: Yes
DATE_TO - DATS Field Type
Data type: DATSOptional: No
Call by Reference: Yes
PACKET_FOR_ALL - Kennzeichen: Paket für filialunabhängige Artikel
Data type: COptional: No
Call by Reference: Yes
T_SITES - Tabelle aller Filialen
Data type: WDL_FIL_TABLEOptional: No
Call by Reference: Yes
T_SITES_IN_PACKET - Tabelle der konkreten Filialen
Data type: TABLE_SITE_ART_COUNTOptional: No
Call by Reference: Yes
T_ART_FOR_ALL - Table Type for Store-Independent Changes
Data type: TABLE_ART_FOR_ALLOptional: No
Call by Reference: Yes
T_ART_FOR_SITES - Table Type for Store-Specific Article Changes
Data type: TABLE_ART_FOR_SITESOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for PACKET_RESEND 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_process_info | TYPE EXT_PROCESS_INFO, " | |||
| lv_t_dldnr | TYPE SITE_BBTYP_DLDNUM_TABLE, " | |||
| lv_packet_info | TYPE PACKET_INFO, " | |||
| lv_date_from | TYPE DATS, " | |||
| lv_date_to | TYPE DATS, " | |||
| lv_packet_for_all | TYPE C, " | |||
| lv_t_sites | TYPE WDL_FIL_TABLE, " | |||
| lv_t_sites_in_packet | TYPE TABLE_SITE_ART_COUNT, " | |||
| lv_t_art_for_all | TYPE TABLE_ART_FOR_ALL, " | |||
| lv_t_art_for_sites | TYPE TABLE_ART_FOR_SITES. " |
|   CALL FUNCTION 'PACKET_RESEND' "Resend a Packet for Processing |
| EXPORTING | ||
| PROCESS_INFO | = lv_process_info | |
| T_DLDNR | = lv_t_dldnr | |
| PACKET_INFO | = lv_packet_info | |
| DATE_FROM | = lv_date_from | |
| DATE_TO | = lv_date_to | |
| PACKET_FOR_ALL | = lv_packet_for_all | |
| T_SITES | = lv_t_sites | |
| T_SITES_IN_PACKET | = lv_t_sites_in_packet | |
| T_ART_FOR_ALL | = lv_t_art_for_all | |
| T_ART_FOR_SITES | = lv_t_art_for_sites | |
| . " PACKET_RESEND | ||
ABAP code using 7.40 inline data declarations to call FM PACKET_RESEND
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.Search for further information about these or an SAP related objects