How to rename PMW DMEE File Name ?
In this blog I am going to explain how to modify the payment method workbench (PMW) File name.
Usually, In the standard program the filename will be generated as like the below format,
Sometimes, we may need to add DATE and TIMESTAMP Values for the filename. Let’s see how we can achieve that using simple steps.
Disclaimer: The Program name and other details I am using in this blog is from demo system only and this is only for learning purpose.
Steps to follow:
I’ve come up with a solution that we are going to use Standard FM FI_PAYMEDIUM_SAMPLE_20 to modify the file name.
Using changing parameter C_FILENAME, Modify the file name as per your requirement.
To trigger the debugger. Add the below mentioned infinite endless loop code, and check in SM50.
data: a, b. a = 'X'. do. if a = b. exit. endif. enddo.
Goto OBPM3 T-Code select the Payment Medium format and click Event Modules,
Enter the Event as 21, add your own custom Function Module Name
Check in AL11.
In this blog, I have explained how to modify standard Payment Medium Workbench DMEE File Name.
Sincerely appreciate any feedback/comments/questions.
Thanks & Regards,
Just one hint - do not copy from the SAP standard events (like 20/30/40 etc.) but copy from the function modules of customer events.
All of the sample modules have names: FI_PAYMEDIUM_SAMPLE_XX where XX is the event number. The supported event numbers are visible in OBPM3.