03-27-2017 3:14 PM
Hello,
We currently use Payment medium workbench to generate payment files, program
RFFOAVIS_FPAYM . The default path to save the file is maintained in transaction
obpm4 ....but there is the issue of files being overwritten if the payment run happens more than once a day
We really want the file name to have "Run date + ID + company code" from F110, is this possible via Event 21 / function module? If so, can someone give a sample code for this?
Thanks for help in advance
03-28-2017 7:00 AM
Hi Mujju,
Please find the coding as below.
IF i_fpayhx-formi = 'Name of your DMEE Format'
CONCATENATE '(Your application server path)' lt_fpayh-laufd lt_fpayh-laufi '.txt' INTO wrk_filename.
c_filename = wrk_filename.
Regards
Eugene
03-27-2017 3:52 PM
Hi Mujju,
Yes it is possible via Event21 FM.As of now I am not infront of screen so unable to provide the code.
Regards,
Eugene
03-27-2017 4:28 PM
Hello Eugene,
Thanks so much, If you could give me a sample code would help greatly
Mujju
03-27-2017 3:56 PM
Hello Eugene,
Thanks so much, If you could give me a sample code would help greatly
Mujju
03-28-2017 2:17 AM
03-28-2017 7:00 AM
Hi Mujju,
Please find the coding as below.
IF i_fpayhx-formi = 'Name of your DMEE Format'
CONCATENATE '(Your application server path)' lt_fpayh-laufd lt_fpayh-laufi '.txt' INTO wrk_filename.
c_filename = wrk_filename.
Regards
Eugene
03-29-2017 1:22 PM
02-09-2022 9:36 AM
Hi Ranu,
we have similar requirement to create the files based on the client name with date and timestamp.
The FM : FI_PAYMEDIUM_SAMPLE_21 doesnt have any code to define the specific naming convention with date and time stamp.fi-paymedium-sample-21.jpg
fi-paymedium-sample-21.jpgPlease share then inputs or sample code how to define the file names with client names_type_datetime
Example:
CLIENTNAME_ACH_payment_DATETIME
CLIENTNAME_Check payment_DATETIME
Thanks,
Ravi M