Need an Idoc by definition in your program ? Some function modules...The following function modules could come in handy
IDOC_SEGMENT_STRUCTURE_READ
takes the release and a segment nameĀ and returns the segment structure (fields and field attributes)IDOCTYPES_FOR_MESTYPE_READ
takes the message type: Determine IDoc types for logical messages (RFC-compatible)IDOCTYPE_READĀ
Idoc type (basic type) infoEXTTYPE_READ
Extension info