Skip to Content

PMW DMEE Change Payment Output file name

2 Part question pertaining to changing PMW DMEE output file name to include our specific "FILETYPE"

1. How do I change the filename dynamically and... (I've been reading about event 21)

2. If the resolution is to use event 21, can I access any fields in the tree to pass file type to event 21?

DMEEX Tree is used is configured to a specific Payment Method

During the setup for F110 Payment Run users enter info in the Free Selection tab to narrow down further the TYPE of open items. There are 3 different TYPES.

I use an EXIT to determine the FILE TYPE in the mapping and outputting it in the 2nd line of my formatted file. Basic logic is to look at one of the Vendors and check their Acct Group with a CASE statement.

WHEN 'N_2260445360' or 'N_3155287310'.
IF V_ACCT_GRP = 'Z006'.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 10 at 08:31 AM

    Hi Felice Pinkney

    you can use event 21 to influence the file name. Please copy the sample FM: FI_PAYMEDIUM_SAMPLE_21 to your own one and do the adjustments there.

    You have structures FPAYH and FPAYHX as well as the format parameters available in that FM.

    Please do never use I_EXTENSION-NODE-NODE_ID becasue it can change! If is enough that someone deletes the node, creates it again with same name but system will give it another ID!

    To meet your requirement you can use the FPAYH structure to obtain the account group of vendors. Please also see that you need to make sure that there is only 1 account group used in the payment run to ascertain that your determination works correct.

    If I were you I would rather base it on payment method which can also indicate it this is Foreign or Domestic / Travel transfer.

    Please also always remember to concatenate parameter 'i_filename' with your value - by this you will overtake the part entered in the variant and just add your extension to it.


    Marek TurczyƄski

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.