SAP PACKET_SEND_FOR_SITES Function Module for Distribute Packets to Processes
PACKET_SEND_FOR_SITES is a standard packet send for sites SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Distribute Packets to Processes 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 send for sites FM, simply by entering the name PACKET_SEND_FOR_SITES 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_SEND_FOR_SITES 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_SEND_FOR_SITES'"Distribute Packets to Processes.
EXPORTING
VALID_RANGE = "Validity Period For Assortment List
PROCESS_INFO = "Transfer Structure For Server Group And Maximum Processes
PACKET_INFO = "bbtyp,dlmod und c_light
T_SITES = "Tabelle aller Filialen
T_SITES_IN_PACKET = "Tabelle der konkreten Filialen
T_ART_FOR_SITES = "Table Type for Store-Specific Article Changes
T_DLDNR = "Verwaltung von Download- und laufenden Nummern
IMPORTING Parameters details for PACKET_SEND_FOR_SITES
VALID_RANGE - Validity Period For Assortment List
Data type: VALID_DATES_TYPEOptional: No
Call by Reference: Yes
PROCESS_INFO - Transfer Structure For Server Group And Maximum Processes
Data type: EXT_PROCESS_INFOOptional: No
Call by Reference: Yes
PACKET_INFO - bbtyp,dlmod und c_light
Data type: PACKET_INFOOptional: 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_SITES - Table Type for Store-Specific Article Changes
Data type: TABLE_ART_FOR_SITESOptional: No
Call by Reference: Yes
T_DLDNR - Verwaltung von Download- und laufenden Nummern
Data type: SITE_BBTYP_DLDNUM_TABLEOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for PACKET_SEND_FOR_SITES 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_valid_range | TYPE VALID_DATES_TYPE, " | |||
| lv_process_info | TYPE EXT_PROCESS_INFO, " | |||
| lv_packet_info | TYPE PACKET_INFO, " | |||
| lv_t_sites | TYPE WDL_FIL_TABLE, " | |||
| lv_t_sites_in_packet | TYPE TABLE_SITE_ART_COUNT, " | |||
| lv_t_art_for_sites | TYPE TABLE_ART_FOR_SITES, " | |||
| lv_t_dldnr | TYPE SITE_BBTYP_DLDNUM_TABLE. " |
|   CALL FUNCTION 'PACKET_SEND_FOR_SITES' "Distribute Packets to Processes |
| EXPORTING | ||
| VALID_RANGE | = lv_valid_range | |
| PROCESS_INFO | = lv_process_info | |
| PACKET_INFO | = lv_packet_info | |
| T_SITES | = lv_t_sites | |
| T_SITES_IN_PACKET | = lv_t_sites_in_packet | |
| T_ART_FOR_SITES | = lv_t_art_for_sites | |
| T_DLDNR | = lv_t_dldnr | |
| . " PACKET_SEND_FOR_SITES | ||
ABAP code using 7.40 inline data declarations to call FM PACKET_SEND_FOR_SITES
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