SRS_PDC_GR_DATA_PREP 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 SRS_PDC_GR_DATA_PREP into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
WOSE_PDC_OUT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SRS_PDC_GR_DATA_PREP' "Retail Store: MDE Goods Receipt: Download
EXPORTING
* parallel = " bdfields-parallel Indicator: Parallel processing yes/no
* max_prozess = " srs_pdc_help-srs_anzpp Maximum number of parallel tasks
* servergrp = " wpstruc-servergrp Name of Logon/Server Group for Parallel Processing
* date1 = " srs_wedat Goods Receipt Date
* date2 = " srs_wedat Goods Receipt Date
* purorder = " srs_document Reference Document Type
* matdoc = " srs_document Reference Document Type
* delivery = " srs_document Reference Document Type
* handunit = " srs_document Reference Document Type
* ref_doc_no = " xblnr Reference Document Number
i_exit_pdc_gr_out = " if_ex_srs_pdc_gr_outbound BAdI Interface IF_EX_SRS_PDC_GM_OUTBOUND
badi_imp_activ = " char1 BAdI activ
TABLES
p_t_plant = " srs_pdc_plant Formatted Plants
return = " bapiret2 Return Parameter(s)
. " SRS_PDC_GR_DATA_PREP
The ABAP code below is a full code listing to execute function module SRS_PDC_GR_DATA_PREP 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).
| it_p_t_plant | TYPE STANDARD TABLE OF SRS_PDC_PLANT,"TABLES PARAM |
| wa_p_t_plant | LIKE LINE OF it_p_t_plant , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
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_parallel | TYPE BDFIELDS-PARALLEL , |
| it_p_t_plant | TYPE STANDARD TABLE OF SRS_PDC_PLANT , |
| wa_p_t_plant | LIKE LINE OF it_p_t_plant, |
| ld_max_prozess | TYPE SRS_PDC_HELP-SRS_ANZPP , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| ld_servergrp | TYPE WPSTRUC-SERVERGRP , |
| ld_date1 | TYPE SRS_WEDAT , |
| ld_date2 | TYPE SRS_WEDAT , |
| ld_purorder | TYPE SRS_DOCUMENT , |
| ld_matdoc | TYPE SRS_DOCUMENT , |
| ld_delivery | TYPE SRS_DOCUMENT , |
| ld_handunit | TYPE SRS_DOCUMENT , |
| ld_ref_doc_no | TYPE XBLNR , |
| ld_i_exit_pdc_gr_out | TYPE IF_EX_SRS_PDC_GR_OUTBOUND , |
| ld_badi_imp_activ | TYPE CHAR1 . |
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 SRS_PDC_GR_DATA_PREP or its description.
SRS_PDC_GR_DATA_PREP - Retail Store: MDE Goods Receipt: Download SRS_PDC_GR_CUST_PREP - Retail Store: MDE Goods Receipt: Download SRS_PDC_GR_CUSTOMIZING_GET - Read Customizing Data for Download / MDE GR SRS_PDC_GR_CREATE - SAP Retail Store: Posting of MDE Goods Receipt SRS_PDC_GR_AUTO_CREATE_NEWTASK - SAP Retail Store: PDC: Automatic Posting / Newtask SRS_PDC_GR_AUTO_CREATE - SAP Retail Store: PDC: Automatic Posting