2023 Jul 07 5:14 PM
I need to generate an outbound idoc for COSMAS message type with COSMAS01 idoc type which has segments E1CSKSM and E1CSKTM.I have to map the data to the fields of the segments and trigger the idoc from custom program .
Can the idoc be generated using MASTER_IDOC_DISTRIBUTE fm or any other fms are available.Pls provide any sample code if available.
Thanks in advance.
2023 Jul 09 9:07 AM
Why do you need to manually create those IDOC in a custom program and not use SALE, change pointers
You could look at MASTERIDOC_CREATE_COSMAS