If you need to create an incoming IDOC by code in ABAP program, you can use the following function module: IDOC_INBOUND_SINGLE.
You will have to provide IDOC's Control Record information (parameter PI_IDOC_CONTROL_REC_40: structure parameter of type EDI_DC40) and the content of the IDOC you want to create (parameter PT_IDOC_DATA_RECORDS_40: table parameter with records of type EDI_DD40).
No comments:
Post a Comment