When I'm using either of the standard inbound FMs BORES_IDOC_INPUT_SHPMNT or IDOC_INPUT_SHPMNT in IDOC processing for Shipment creation with message type SHPMNT05 - The shipment is getting created but the partner functions like WE, LF, etc. are not getting updated in the shipment, only the partner function SP is getting updated. I am using the segment E1ADRM4.
In debugging, I found that in the processing of the segment only partner functions OTP and SP are being handled.
Please suggest what I need to do so that the remaining partner functions also get updated in the shipment.