IDoc Error: E0031 Port ‘SAPPRD ‘ does not exist in the table of port descriptions [SAP]
I have been working on SAP ECC 6.0 upgrade project for almost 3 months. Finally I get a chance to work on Netweaver platform. Bye bye 4.6C.
I have got this message when I tried to create an outbound IDoc message for my new custom IDoc type/message.
Port ‘SAPPRD ‘ does not exist in the table of port descriptions
Message no. E0031Diagnosis
The file name of the outbound file is to be created for the port SAPPRD. However, the port does not exist (any longer) in the table of port definitions.Procedure
Create this port or use a port which already exists.
I was testing in QAS. I give receiver partner number (EDIDC-RCVPRN) and receiver partner type EDIDC-RCVPRT but I do not give receiver port number (EDIDC-RCVPOR) for control record.
While outbound IDoc is being created via function module MASTER_IDOC_DISTRIBUTE, it seems receiver port automatically is assigned as SAPPRD even though I am in QAS system. So I debugged the function module and I have seen that at some point receiver port is identified as SAPPRD.
I checked WE21 port definitions; there is no really SAPPRD port. There is an SAPQAS port. And IDoc is supposed to have this SAPQAS port.
As a result I realized that customer type (KU) partner in WE20 transaction for outbound parameters of message type, receiver port is defined as SAPPRD, I changed it as SAPQAS.
Then all IDoc were processed successfully.

