Thanks Anton. Let me explain clearly the requirement
Scenario
User executes "Payment Run" (F7) with payment medium ticked.
DME generated during payment run to path as per FBPM location say /transfers/F00/EDI/AP_Payment Run.
This is successful
Requirement
After payment run and DME generation , user executes " Schedule Print (F6) DME is generated in same location defined in FBPM above.
Whenever DME is generated more than once , system generates a message
"Too many payment mediums created for this payment group - Message Class BFIBL02; Message No 160.
Logic
Whenever system identifies that there is a duplicate DME, then system should place in separate folder (not in the folder defined in FBPM as mentioned above).
Any thoughts how to achieve this requirement.
Regards
Sanjai