‎2010 Oct 27 9:18 AM
Hi all
using IDOC number, i'd like to read informations containted in that IDOC.
In EDI_* Function moduls i have found EDI_DOCUMENT_OPEN_FOR_EDIT
The problem is that this FM is used to process IDOC to change its content. i supose that the IDOC is enqued when processed by this FM.
Do you know any other way to access IDOC data content in READ mode
Thank you in advance
Regards
‎2010 Oct 27 10:22 AM
Hi,
You can use the following FM.
IDOC_READ_COMPLETELY (Read IDoc Data)
IDOC_TYPE_COMPLETE_READ (Read IDoc Structure and Segments)
or
read the idoc data from database table edid4 and edids (idoc status))and edidc (idoc control data).
Regards,
S.Velsankar
‎2010 Oct 27 9:47 AM
Use FM EDI_DOCUMENT_OPEN_FOR_READ and after that to get the segments EDI_SEGMENTS_GET_ALL. Check TCODE WE19 for good way to see how it's done.
‎2010 Oct 27 10:22 AM
Hi,
You can use the following FM.
IDOC_READ_COMPLETELY (Read IDoc Data)
IDOC_TYPE_COMPLETE_READ (Read IDoc Structure and Segments)
or
read the idoc data from database table edid4 and edids (idoc status))and edidc (idoc control data).
Regards,
S.Velsankar