Alternatively, if you know the message type, then go to WE57 and search for the IDOC type and message type value. If you need to create an incoming IDOC by code in ABAP program, you can use the following function module: IDOC_INBOUND_SINGLE.In transaction WE20, find the correct partner number (customer or logical system), and in the inbound parameters of that partner, get the Process Code value.Create a Function Module to update the table from the IDOC segments.Set up a custom Fiori tile with a function module in the background which runs a variant of WLF_IDOC to show all IDOCs in “error” status. How to find inbound idoc function module T-CODE: WE57.