Hi all!
I have a custom program, which is used for creating IDocs, during the program FM MASTER_IDOC_DISTRIBUTE is called and receiving system (chosen on the selection screen) is passed to FM with communication_idoc_control. During the FM, it gets receiving systems, based on BD64 (distribution model) and doesn't take into account receiving systems passed from the selection screen.
For example, in BD64 for message type 'a' I have 2 receiving systems, and in custom program selection screen I choose one of the receiving systems, but IDocs always get created for both receiving systems.
Does anyone have a solution or ideas how to fix this problem?
Thank you!
Roberts