doc-64984 (1)

Upload: vivek-mishra

Post on 04-Nov-2015

216 views

Category:

Documents


0 download

DESCRIPTION

SAP FICO

TRANSCRIPT

  • Generated by Jive on 2015-07-10+02:001

    DMEE Configuration:Step By Step Part 1

    Hi All,

    This is my First Document in the Forum and hope this will be helpful for all.

    I have searched in Forum but I did not get any Document on DMEE where Step By Step Configuration isGiven.

    Any Suggestion and Critics are always Welcome as this will help me to improve.

    Introduction:

    DME stands for Data Medium Exchange

    A data medium exchange (DME) is a data exchange file which is used to send payment information of anenterprise to banks or tax authority. Basically these files contain financial data which can be in flat file or xmlfile format. Different File formats can be created for different countries and different banks based on their ownnorm which replaces conventional ABAP programs.

    DMEE Configuration:Step By Step.Create Payment Medium Formats (OBPM1) Accounts Receivable and Accounts Payable BusinessTransactions Outgoing Payments Automatic Outgoing Payments Payment Media Make Settings forPayment Medium Formats from Payment Medium Workbench Create Payment Medium Formats

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:002

    Select New Entries

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:003

    Format : Z_IDESDescription : Z_IDESPayment medium without docs. : SelectType : 01 FileCountry : INMapping using DME engine : SelectCompany Code : SelectHouse Bank : Select

    Save!Create a new format with the same name as your DMEE format tree. Choose the format output Paymentmedium 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 treedirectly.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:004

    Under Format information, specify your country. You can also write documentation for your PMW format bychoosing the field help for the Documentation module field. From there, choose Proceed, and a documentmaintenance screen appears. Select document class General text, enter a name for the text, and create thedocumentation. Lastly, enter the name of this text in the PMW format in the Documentation module field.

    DME Engine: Initial Screen (DMEE):

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:005

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:006

    Select Active Version and press Copy.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:007

    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.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:008

    In the Field type you have two options 1 or 2

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:009

    I have taken 1,Fields are separated by Delimiter.In Delimiter Section I have taken | but you can use comma,semi colon or anything.Delimiter separates the items in DMEE file by the input provided by you.

    After this click on Sort/Key Fields.Sort key Fileds controls the output of line in DMEE.It actually controls the levels of DMEE.Please see the Screen Shot below.

    Header data should appear only once, so a value like the payment run identifier (FPAYH-LAUFD) is the samefor the entire payment run and file created. Next level is usually the single payment (FPAYH-LFDNR), so theDMEE creates a new line for every payment. Alternatively and based on the requirements, this could be donealso per vendor. Lowest level is usually the invoice references, as you can group several vendor invoices in asingle 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.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0010

    Carriage Return is used for creating new line in word or PDF formart and Line Feed is used for creating newline 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.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0011

    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 newline in txt Format.

    Add the fields to Header and Details as per the requirement and then save.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0012

    Now will show step by step for every Header and payment Details configured here.1. P.S:Requirement may vary according to Client and Bank.

    In Header Part I have made it Constant which you need to choose in Attributes tab of DMEE.Give name(as I have given Header),Give Length and choose character as shown in Screen Shot Below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0013

    Go to Source Tab and write what you want to get in the output as shown in screen shot below.

    The Next is Corporate ID,This is nothing but the paying Co code.Give Name,Length and Type.Please select Structure Field(I have taken Structure Field because it can be fetched from the Tables andField,Some data are there which you can fetch from tables so either you have to make it constant or you haveto use Exit Module).

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0014

    Click on Source Tab.You will find Field name,You can choose Field name according to your requirement.Here I have taken FPAYH-ZBUKR as shown in screen shot below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0015

    Now We will configure the payment details.As I have copied the standard structure where Segment group and Elements were already there but you candefinitely create segment group,segment and elements according to the requirement.

    In my Configuration the first is payment type(Means the payment is NEFT or RTGS)For this you can not use constant or structure field,here you need to use Exit Module and you need the help ofABAPER to write a logic(The logic here is that if the amount is less than or equal to rs 200000 then NEFT elseRTGS).

    Now click on the Source Tab and one need to provide structure and Field name(though we are using ExitModule but we need to provide Structure and Field name so that the data can be populated in the Structureand 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.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0016

    The Exit Function ZDMEE_EXIT_TEMPLATE_ABA is done by ABAPER and you need to assign thisExit 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.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0017

    c_value = l_item-fpayh-formz.

    ENDIF.

    Now click on Payee IFSC Code and Configure as given in the screen shot below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0018

    PS:Please maintain the IFSC code of Payee bank in Control Data Tab in SWIFT column in House bank .

    Click on Payee Bank Number and Configure According to Screen Shot.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0019

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0020

    Click on Receivers IFSC Code and configure as shown in Screen Shot Below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0021

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0022

    I have used Exit Module here as well and the coding is as follows:

    WHEN 'N_9336226660' . "ifsc code

    CLEAR: l_lifnr,l_bkref.

    l_lifnr = l_item-fpayp-gpa2r.

    SELECT SINGLE bkref FROM lfbk INTO l_bkref WHERE lifnr = l_lifnr.

    l_item-fpayh-bkref = l_bkref . " L_ITEM-FPAYH-EIKTO. " L_BKREF.

    o_value = l_item-fpayh-bkref.

    c_value = l_item-fpayh-bkref.

    Now in Vendor Master Data You need to maintain IFSC code in Reference Details Field as shown in ScreenShot Below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0023

    Now Click on Beneficiary Account No and configure as shown in Screen Shot Below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0024

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0025

    Here also I have used Exit Module and the Coding is as follows:

    WHEN 'N_3908411670'. "account no

    CLEAR: l_lifnr,l_bankn.

    l_lifnr = l_item-fpayp-gpa2r.

    SELECT SINGLE bankn FROM lfbk INTO l_bankn WHERE lifnr = l_lifnr ." L_ITEM-FPAYH-EIKTO.

    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.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0026

    Now Click on Transaction Currency and configure as shown below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0027

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0028

    Now Click on Amount and configure as Shown in Screen Shot.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0029

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0030

    Click on Name of Payee(Vendor) and configure as shown in Screen Shot Below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0031

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0032

    Click on Vendor Email Id and Configure as shown in Screen Shot Below.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0033

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0034

    Here also I have used Exit Module.Coding is as follows:

    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 WHERE lifnr = l_lifnr .

    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.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0035

    c_value = l_item-fpayh-INTAD.

    WHEN OTHERS.

    ENDCASE.

    Click on User Mobile No(Vendor) and Configure as shown in Screen Shot.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0036

    Settings in Bank Customization (FBZP):a) Payment Methods in Country: Create Pymt. Method E for country IN. Define the Currency.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0037

    In Payment Medium,Put Z_IDES in Format Column.

    b) Bank Determination: For Paying Company Code 1000, select Ranking Order.

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0038

    Create New Entries for "E"

    c) Bank Accounts

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0039

    Create Bank Account for 1000.

    Due to limitations of screenshots (Up to 20 in one Document) rest of the Configuration is in

    DMEE Configuration:Step By Step Part 2Please Follow the link for the same.http://scn.sap.com/docs/DOC-65031

    Hope this will be helpful for all.

    Any Suggestions or Critics will be highly appreciated as this will help me to Improve in Future.

    RegardsEugene

  • DMEE Configuration:Step By Step Part 1

    Generated by Jive on 2015-07-10+02:0040