01-20-2012 1:59 PM
I want to export the idoc number from here to use it other funtion module
Moderator message: welcome to SCN, please always search for information before posting, explain issues in more detail when posting.
Edited by: Thomas Zloch on Jan 20, 2012
01-20-2012 2:11 PM
One usually assigns a process code, which may have a custom (or an SAP-written) function module assigned to the process code for the message type. Research IDOC / EDI if this is what you're trying to achieve. If you're trying to reprocess an IDOC with another function module, you'll find the IDOC contents, by EDI number in EDIDC for the control record and EDID4 for the IDOC content, where the SDATA field content from EDID4 should be copied into an internal structure/table described to exactly match the DDIC structure cotained in the segment name field.
01-20-2012 2:11 PM
One usually assigns a process code, which may have a custom (or an SAP-written) function module assigned to the process code for the message type. Research IDOC / EDI if this is what you're trying to achieve. If you're trying to reprocess an IDOC with another function module, you'll find the IDOC contents, by EDI number in EDIDC for the control record and EDID4 for the IDOC content, where the SDATA field content from EDID4 should be copied into an internal structure/table described to exactly match the DDIC structure cotained in the segment name field.