In my customized program, I populated the EDIDC and EDIDD (with no IDOC number) and supply into FM IDOC_INPUT_SRVMAS.
As a result, it updates the ASMD table as what I wanted, but there is no IDOC number generated. Thus, I cant do a trace in WE05.
When I debugged with same IDOC FM in WE19, before the point of calling the FM, an IDOC number has been created. Can I know what function module does that?
Does it mean I have to create the IDOC first, and with the number, I supply it as part of the EDIDC before using it in the FM IDOC_INPUT_SRVMAS?
If such, what FM allows the creation of IDOC?