SAP SRS_PDC_SO_MV_OUTBOUND Function Module for Outbound Interface: Article Data for MRP
SRS_PDC_SO_MV_OUTBOUND is a standard srs pdc so mv outbound SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Outbound Interface: Article Data for MRP 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 srs pdc so mv outbound FM, simply by entering the name SRS_PDC_SO_MV_OUTBOUND into the relevant SAP transaction such as SE37 or SE38.
Function Group: WSAO_PDC_OUT
Program Name: SAPLWSAO_PDC_OUT
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function SRS_PDC_SO_MV_OUTBOUND 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 'SRS_PDC_SO_MV_OUTBOUND'"Outbound Interface: Article Data for MRP.
EXPORTING
CUSTOMER_SITE = "Customer Number 1
* SORTING_METHOD = "Sorting Procedure in Assortment List
* GROUP1 = "Assortment List: Grouping Field 1
* GROUP2 = "Assortment List: Grouping Field 2
* PLANT = "Plant
* OUTBOUND_DATE = "Data Transfer Date
* OUTBOUND_TIME = "Data Transfer Time
* FILE_NAME = "File Name for PDC Data Record
* GROUP_KEY = "UUID in compressed form (22 character UUENCODEd)
* ORDER_DATE = "Date and Time, Current Application Server Time
* ORDER_TIME = "Date and Time, Current Application Server Time
* ASSORTLIST_TYPE = "Assortment List Type
TABLES
* MV_ITEM = "Retail Store Store Order: MRP Data
* ATP = "Retail Store Store Order: Receipts/Issues Planning
* EXTENSIONOUT = "Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
IMPORTING Parameters details for SRS_PDC_SO_MV_OUTBOUND
CUSTOMER_SITE - Customer Number 1
Data type: SRS_PDC_KUNNROptional: No
Call by Reference: No ( called with pass by value option)
SORTING_METHOD - Sorting Procedure in Assortment List
Data type: SRS_PDC_BSORTOptional: Yes
Call by Reference: No ( called with pass by value option)
GROUP1 - Assortment List: Grouping Field 1
Data type: GROUP1Optional: Yes
Call by Reference: No ( called with pass by value option)
GROUP2 - Assortment List: Grouping Field 2
Data type: GROUP2Optional: Yes
Call by Reference: No ( called with pass by value option)
PLANT - Plant
Data type: WERKS_DOptional: Yes
Call by Reference: No ( called with pass by value option)
OUTBOUND_DATE - Data Transfer Date
Data type: SRS_PDC_DOWNLOAD_DATEOptional: Yes
Call by Reference: No ( called with pass by value option)
OUTBOUND_TIME - Data Transfer Time
Data type: SRS_PDC_DOWNLOAD_TIMEOptional: Yes
Call by Reference: No ( called with pass by value option)
FILE_NAME - File Name for PDC Data Record
Data type: SRS_PDC_DOWNLOAD_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
GROUP_KEY - UUID in compressed form (22 character UUENCODEd)
Data type: SRS_PDC_GROUP_KEYOptional: Yes
Call by Reference: No ( called with pass by value option)
ORDER_DATE - Date and Time, Current Application Server Time
Data type: SRS_PDC_ORDER_DATEOptional: Yes
Call by Reference: No ( called with pass by value option)
ORDER_TIME - Date and Time, Current Application Server Time
Data type: SRS_PDC_ORDER_TIMEOptional: Yes
Call by Reference: No ( called with pass by value option)
ASSORTLIST_TYPE - Assortment List Type
Data type: BBTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SRS_PDC_SO_MV_OUTBOUND
MV_ITEM - Retail Store Store Order: MRP Data
Data type: SRS_PDC_SO_MVDATA_ITEMOptional: Yes
Call by Reference: Yes
ATP - Retail Store Store Order: Receipts/Issues Planning
Data type: SRS_PDC_OUT_ATPOptional: Yes
Call by Reference: No ( called with pass by value option)
EXTENSIONOUT - Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SRS_PDC_SO_MV_OUTBOUND 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: | ||||
| lt_mv_item | TYPE STANDARD TABLE OF SRS_PDC_SO_MVDATA_ITEM, " | |||
| lv_customer_site | TYPE SRS_PDC_KUNNR, " | |||
| lv_sorting_method | TYPE SRS_PDC_BSORT, " | |||
| lv_group1 | TYPE GROUP1, " | |||
| lv_group2 | TYPE GROUP2, " | |||
| lt_atp | TYPE STANDARD TABLE OF SRS_PDC_OUT_ATP, " | |||
| lv_plant | TYPE WERKS_D, " | |||
| lt_extensionout | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lv_outbound_date | TYPE SRS_PDC_DOWNLOAD_DATE, " | |||
| lv_outbound_time | TYPE SRS_PDC_DOWNLOAD_TIME, " | |||
| lv_file_name | TYPE SRS_PDC_DOWNLOAD_NAME, " | |||
| lv_group_key | TYPE SRS_PDC_GROUP_KEY, " | |||
| lv_order_date | TYPE SRS_PDC_ORDER_DATE, " | |||
| lv_order_time | TYPE SRS_PDC_ORDER_TIME, " | |||
| lv_assortlist_type | TYPE BBTYP. " |
|   CALL FUNCTION 'SRS_PDC_SO_MV_OUTBOUND' "Outbound Interface: Article Data for MRP |
| EXPORTING | ||
| CUSTOMER_SITE | = lv_customer_site | |
| SORTING_METHOD | = lv_sorting_method | |
| GROUP1 | = lv_group1 | |
| GROUP2 | = lv_group2 | |
| PLANT | = lv_plant | |
| OUTBOUND_DATE | = lv_outbound_date | |
| OUTBOUND_TIME | = lv_outbound_time | |
| FILE_NAME | = lv_file_name | |
| GROUP_KEY | = lv_group_key | |
| ORDER_DATE | = lv_order_date | |
| ORDER_TIME | = lv_order_time | |
| ASSORTLIST_TYPE | = lv_assortlist_type | |
| TABLES | ||
| MV_ITEM | = lt_mv_item | |
| ATP | = lt_atp | |
| EXTENSIONOUT | = lt_extensionout | |
| . " SRS_PDC_SO_MV_OUTBOUND | ||
ABAP code using 7.40 inline data declarations to call FM SRS_PDC_SO_MV_OUTBOUND
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