Skip to Content
0
Jun 22, 2023 at 08:47 PM

SAP IDoc SHPMNT_TNDR

157 Views

In my scenario, the S4Hana creates the shipment in VT01N and sends it into an IDoc to an external transportation management system. For the outgoing step, I'm using data:

IDoc Type: SHPMNT06

Message: SHPMNT

Process Code: SHPM that triggers the FM: IDOC_INPUT_SHPMNT.

The outgoing step is working fine, but now, I want to simulate the tendering processing made by that external TMS into the SAP, updating the shipment sent previously. To do that, I'm using the inbound data as follows:

IDoc Type: SHPMNT05

Message Type: SHPMNT_TNDR

Process code: SHPT that triggers the FM: IDOC_INPUT_SHPTNDR.

That is where I have several errors, the main one was a short dump in the segment E1EDT43 - IDoc: Shipping Unit Item (Shipment), which I bypassed by manually removing it from the segments lists in WE19. My next error was the 54 - Error during formal application check, with the Message: Shipment document cannot be created using output type SHPMNT_TNDR.

My main problem is a lack of knowledge of how to use that Idoc Type SHPMNT05 with the message SHPMNT_TNDR.

Could you please provide me with the mandatory segments that I need to fill up in WE19 to create the tender for the SAP shipment? Or suggest where to find documentation of that process? I couldn't find it in SAP Support or Help portal

I'm trying like that:

E1EDT20-TKNUM = Shipment Number

E1EDT57-TNDRST = AC

E1EDT57-TNDRDT = YYYYMMDD when the tender happened in the TM system (20230623)

E1EDT57-TNDRSET = HHMMSS when the tender happened (031900)

E1EDT58-TNDRST_BEZ = Accepted by forwarding agent

What am I missing?