Interface SRS_PDC_GM_INBOUND 
The RFC module SRS_PDC_GM_INBOUND receives all the goods receipts that have been sent and forwards them for subsequent processing.
Using RFC module SRS_PDC_GM_INBOUND, all goods receipts’ data, header and item data is transferred to the PDC units.
To process goods receipts, module SRS_GM_PDC_CREATE is called. This function module prepares header and item data for each goods receipt and forwards it to BAPI_GOODSMVT_CREATE. If there is a posting error, SRS_GM_PDC_POSTPROCESSING is called.
For an exact description of the interface’s data structure, see the SAP Interface Repository, which all users can access.
To be able to use the module, you have to define an RFC destination in SAP R/3 that is assigned to your target system. The target system may be an SAP Business Connector or a non-SAP system (for example, a PDC server). You must maintain partner and port profiles for the RFC destination.
Customizing in SAP R/3 must be set so that it is possible to post data from SAP Retail Store and from the MM transactions.
The RFC module SRS_PDC_GM_INBOUND receives all the goods receipts that have been sent and forwards them for subsequent processing. Using field SRS_CODE goods receipts and stock transfers are processed differently.
Fields GM_NO
and GM_IT must contain a unique assignment of
header and item data. These fields must be supplied uniquely by the PDC
software. However, it is
sufficient for each inbound table to be unique for headers and items to be
assigned. An
internal R/3 number is allocated so that it is possible to make entries in the
database tables at a later date.
This calls module SRS_GM_PDC_CREATE (check and
post).
If field TWIC0250-SRS_GM_REL is set in the business transaction, function module SRS_GM_PDC_POSTPROCESSING (enter in the DDIC tables WGMH_SRS and WGMP_SRS) with SRS_STATUS = R (Release) is called.
Errors that arise in inbound processing are logged in the application log (transaction SLG1) under object W_SRS and subobject PDC_GM.
Interface SRS_PDC_GM_INBOUND is filled by the PDC or SAP Business Connector.