Académique Documents
Professionnel Documents
Culture Documents
Create Payment Medium Formats (OBPM1) Accounts Receivable and Accounts Payable Business
Transactions Outgoing Payments Automatic Outgoing Payments Payment Media Make Settings for
Payment Medium Formats from Payment Medium Workbench Create Payment Medium Formats
Format
Description
Payment medium without docs.
Type
Country
Mapping using DME engine
Company Code
House Bank
: Z_IDES
: Z_IDES
: Select
: 01 File
: IN
: Select
: Select
: Select
Save!
Create a new format with the same name as your DMEE format tree. Choose the format outputPayment medium
without docs., and type File. Under Program control, set the Mapping using DME engine indicator. Once this
indicator is set, the DME engine button appears, which allows you to access the DMEE format tree directly.
Under Format information, specify your country. You can also write documentation for your PMW format by
choosing the field help for the Documentation module field. From there, choose Proceed, and a document
maintenance screen appears. Select document class General text, enter a name for the text, and create the
documentation. Lastly, enter the name of this text in the PMW format in theDocumentation module field.
Click on Change.
Click on DMEE tree:Properties
Here you need to give the format attributes for your DMEE output File.
Please see the screen shot Below.
Header data should appear only once, so a value like the payment run identifier (FPAYH-LAUFD) is the same for the entire
payment run and file created. Next level is usually the single payment (FPAYH-LFDNR), so the DMEE creates a new line for every
payment. Alternatively and based on the requirements, this could be done also per vendor. Lowest level is usually the invoice
references, as you can group several vendor invoices in a single payment.
After This Goto File Data where you need to tick on Carriage return and Line Feed.
The tick on Carriage return and Line feed is for creatin new line after the finish of Header Part.
Carriage Return is used for creating new line in word or PDF formart and Line Feed is used for creating new line in XML format.
Please refer Screen Shot Given Below.
In Header Part you need to define the Level and the type of output you want..
Screen shot is attached for the same.
The tick on Carriage return and Line feed is for creatin new line after the finish of Header Part.
Carriage Return is used for creating new line in word or PDF formart and Line Feed is used for creating new line in txt Format.
Add the fields to Header and Details as per the requirement and then save.
Now will show step by step for every Header and payment Details configured here.
A.
Go to Source Tab and write what you want to get in the output as shown in screen shot below.
Now click on the Source Tab and one need to provide structure and Field name(though we are using Exit Module but we need to
provide Structure and Field name so that the data can be populated in the Structure and field given and system populates the data
in DMEE file through this Structure and Field)
I have Used FPAYH-FORMZ,.
Please refer the screen shot Below.
The Exit Function ZDMEE_EXIT_TEMPLATE_ABA is done by ABAPER and you need to assign this Exit Function as shown in
Screen Shot Above.
I am giving the code as well which is done by ABAPER and it works according to NODE ID.
The Coding is as follows:
CASE i_extension-node-node_id.
WHEN 'N_8559886880' .
IF l_item-fpayp-dmbtr LT 200000.
l_item-fpayh-formz = 'NEFT'.
o_value = l_item-fpayh-formz.
c_value = l_item-fpayh-formz.
ELSE.
l_item-fpayh-formz = 'RTGS'.
o_value = l_item-fpayh-formz.
c_value = l_item-fpayh-formz.
ENDIF.
Now click on Payee IFSC Code and Configure as given in the screen shot below.
PS:Please maintain the IFSC code of Payee bank in Control Data Tab in SWIFT column in House bank .
Click on Receivers IFSC Code and configure as shown in Screen Shot Below.
I have used Exit Module here as well and the coding is as follows:
Now in Vendor Master Data You need to maintain IFSC code in Reference Details Field as shown in Screen Shot Below.
Now Click on Beneficiary Account No and configure as shown in Screen Shot Below.
Here also I have used Exit Module and the Coding is as follows:
l_item-fpayh-zbnkn = l_bankn.
o_value = l_item-fpayh-zbnkn.
c_value = l_item-fpayh-zbnkn.
Maintain bank account in vendor master in Bank account Column as Shown in Screen Shot Below.
WHEN 'N_9785488450'.
" Vendor Email ID
CLEAR: l_lifnr,l_adrnr,l_emailid.
l_lifnr = l_item-fpayp-gpa2r.
SELECT SINGLE adrnr FROM lfa1 INTO l_adrnr
IF sy-subrc IS INITIAL.
SELECT SINGLE smtp_addr FROM adr6 INTO l_emailid WHERE ADDRNUMBER = l_adrnr.
ENDIF.
l_item-fpayh-INTAD = l_emailid.
o_value = l_item-fpayh-INTAD.
c_value = l_item-fpayh-INTAD.
WHEN OTHERS.
ENDCASE.
Accounts Receivable and Accounts Payable Business Transactions Outgoing Payments Automatic
Outgoing Payments Payment Media Make Settings for Payment Medium Formats from Payment Medium
Workbench Create/Assign Selection Variants
Then Save.
Reservation for Cross-Payment Run Payment Media (OBPM5)
Select
ID should End with 'E' and there should at least one space left.