Skip to Content
Technical Articles
Author's profile photo Purushothaman M

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.

Step 1:

Goto SE37 to take copy of standard FM FI_PAYMEDIUM_SAMPLE_20 as ZFI_PAYMEDIUM_SAMPLE_20. 

Step 2:

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'.
   if a = b.

Step 3:

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

Sample Output:

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,


Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Marek Turczynski
      Marek Turczynski

      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.


      Marek Turczyński