How can I find the function module associated with an outbound processing of IDocs? I'm aware that we can find the function module through process codes, but we have custom segments to deal with.
The function module associated with the process code assigned here is a standard Fn module IDOC_OUTPUT_INVOIC. I checked, but there are no user exits also in the above Fn module. They actually copied the partner profiles from one system to another. I'm guessing there has been some change in the configuration, but I may be wrong.
The IDocs which I create now (manually from we19) do not contain any custom segment associated with it, but only has the standard SAP segments, so I thought maybe the process code is wrong.
How can I find the right process code or the right Fn module? I have two IDocs created before (when everything was fine). I reprocessed them manually from we19 and they create an IDoc which has the custom segments.
The function module is tied to the process code. The process code is then assigned in the partner profile to the NAST message used to trigger the IDoc. (The table is TEDI1).
The IDoc could also be sent explicitly by a program using MASTERIDOC_DISTRIBUTE. In that case, no customizing or processing would be used, but the function would be called to build the IDoc and then MASTERIDOC_DISTRIBUTE is called to send it out.
Dig Deeper on SAP UX
Related Q&A from Axel Angeli
An SAP user wants to know how to upload data into SAP R/3 when SAP Scripting is not enabled. Continue Reading
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order. Continue Reading
An SAP user is having difficulty with PERNR iDoc while transporting data from SAP to an external system. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.