This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
XML (ISO 20022) Payment File for XML (ISO 20022) Payment File for Credit Transfer InitiationCredit Transfer Initiation
(pain.001.001.03)(pain.001.001.03)
ImplementatiImplementation Guideline on Guideline for CGI_XML_CTfor CGI_XML_CT
I.I. Overview of the new CGI_XML_CT FormatOverview of the new CGI_XML_CT Format ................................................................................... 2................................................................................... 2
VI.VI. Create Function Group DMEE_CGICreate Function Group DMEE_CGI .............................................................................................. 19 .............................................................................................. 19
VII.VII. Create Function Modules and Exit Modules under Function Group DMEE_CGICreate Function Modules and Exit Modules under Function Group DMEE_CGI .................. 20 .................. 20
VIII.VIII. Create XSLT Transformation CGI_XML_CT_XSLT to Eliminate Empty TagsCreate XSLT Transformation CGI_XML_CT_XSLT to Eliminate Empty Tags ....................... 27 ....................... 27
IX.IX. Upload and activate the XML FileUpload and activate the XML File .................................................................................................. 29 .................................................................................................. 29
a)a) Adjust cu Adjust customizing sstomizing settings in ettings in Payment MPayment Medium edium Workbench (PMWorkbench (PMW)W) ............................. 32 ............................. 32
b)b) Adjust cus Adjust customizing setomizing settings ottings of instruction f instruction keyskeys ................................................................... 37 ................................................................... 37
c)c) Adjust cus Adjust customizing setomizing settings of Fttings of Format Supormat Supplement plement for textfor text .................................. .................................. ............. 41............. 41
d)d) Adjust cus Adjust customizing setomizing settings fottings for Maintainir Maintaining the Titlng the Titlee .......................................................... 42 .......................................................... 42
e)e) Adjust cus Adjust customizing setomizing settings for Lttings for Language anguage DependDependent Addreent Addressss ....................................... 44 ....................................... 44
f)f) Adjust cus Adjust customizing setomizing settings fottings for Languar Language Depenge Dependent Addent Address for Cdress for Company Company Codeode ..... 45 ..... 45
g)g) Adjust cus Adjust customizing setomizing settings fottings for Languar Language Depenge Dependent Addent Address for Vdress for Vendor endor ................................ .... 48.... 48
XI.XI. Use of BICOrBEI element in the formatUse of BICOrBEI element in the format ........................................................................................ 51 ........................................................................................ 51
XII.XII. Assign the Assign the format naformat name in the Bme in the BADI ImpleADI Implementation mentation to get thto get the correct e correct XML file in XML file in UTF-8UTF-8
XIII.XIII. Steps to create a new node in the DMEE format (Optional)Steps to create a new node in the DMEE format (Optional) ..................................................... 56 ..................................................... 56
I.I. Overview of the new CGI_XML_CT FormatOverview of the new CGI_XML_CT Format
TheThe CGI_ XML_CTCGI_ XML_CT format is used by SAP ERP Financials to generate XML payment files for format is used by SAP ERP Financials to generate XML payment files for
outgoing international and domestic credit transfers. The format structure is based on the ISOoutgoing international and domestic credit transfers. The format structure is based on the ISO
20022 payment initiation message (pain.001.001.03). The20022 payment initiation message (pain.001.001.03). The CGI_ XML_CTCGI_ XML_CT format corresponds to format corresponds to
the Implementation template defined by banks and corporate customers through the Commonthe Implementation template defined by banks and corporate customers through the Common
Global Implementation (CGI) initiative, includes country specific information, and is fully SingleGlobal Implementation (CGI) initiative, includes country specific information, and is fully Single
Euro Payment Area (SEPA) compliant.Euro Payment Area (SEPA) compliant.
II.II. Implementation stepsImplementation steps
You must execute the You must execute the following activities to utilizefollowing activities to utilize CGI_ XML_CTCGI_ XML_CT::
Create the format parameter structureCreate the format parameter structure FPM_CGIFPM_CGI for transmitting structured informationfor transmitting structured information
Enhance structuresEnhance structures FPAYH, FPAYHX and FPAYP FPAYH, FPAYHX and FPAYP
oo Enhance structureEnhance structure FPAYHFPAYH with fieldswith fields BSWIFT1BSWIFT1,, BSWIFT2 BSWIFT2, and, and BSWIFT3BSWIFT3 (Swift (Swift
International Payment)International Payment)
oo Enhance structureEnhance structure FPAYHXFPAYHX with the field with the field DTURG DTURG (Urgent Payment) (Urgent Payment)
oo Enhance structureEnhance structure FPAYP FPAYP with the field with the field BSTRASBSTRAS (Street and House Number) (Street and House Number)
Create Function GroupCreate Function Group DMEE_CGIDMEE_CGI
Create Function ModuleCreate Function Module FI_PAYMEDIUM_DMEE_CGI_05FI_PAYMEDIUM_DMEE_CGI_05 to:to:
oo Use the address details of both Use the address details of both the creditor and debtorthe creditor and debtor
oo Determine if the payment is SEPADetermine if the payment is SEPA
oo Get the bank identification for the house Get the bank identification for the house bankbank
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_ XMLDMEE_EXIT_CGI_ XML to get the parameter values for the nodes to get the parameter values for the nodes
‘‘IdId’’,,''BICOrBEIBICOrBEI',', and and ‘‘IssrIssr’’ based on company code and party name based on company code and party name
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_DEBT_NAMEDMEE_EXIT_CGI_DEBT_NAME to getto get the language dependent debtorthe language dependent debtor
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_CRED_NAMEDMEE_EXIT_CGI_CRED_NAME to getto get the language dependent creditorthe language dependent creditor
namename
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_CRED_CITYDMEE_EXIT_CGI_CRED_CITY to getto get the language dependent creditor citythe language dependent creditor city
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_CRED_PO_CITYDMEE_EXIT_CGI_CRED_PO_CITY to getto get the language dependent creditorthe language dependent creditor
PO cityPO city
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_CRED_REGIONDMEE_EXIT_CGI_CRED_REGION to getto get the language dependent creditorthe language dependent creditor
regionregion
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_CRED_STREETDMEE_EXIT_CGI_CRED_STREET to getto get the language dependent creditorthe language dependent creditor
streetstreet
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_EQVTAMTDMEE_EXIT_CGI_EQVTAMT to get the amount in payment currency to get the amount in payment currency
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_CCYOFTRFDMEE_EXIT_CGI_CCYOFTRF to get the currency for automatic payment to get the currency for automatic payment
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_CRED_TAXIDDMEE_EXIT_CGI_CRED_TAXID to get the creditor Tax ID to get the creditor Tax ID
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TAXAMT_RATEDMEE_EXIT_CGI_TAXAMT_RATE to get the tax amount rateto get the tax amount rate
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TAXAMT_TTLAMTDMEE_EXIT_CGI_TAXAMT_TTLAMT to get the total tax amountto get the total tax amount
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TAXAMT_TXBASEAMTDMEE_EXIT_CGI_TAXAMT_TXBASEAMT to get the taxable base amountto get the taxable base amount
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TAX_CATEGORYDMEE_EXIT_CGI_TAX_CATEGORY to get the tax categoryto get the tax category
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TAX_CTGRY_DTLSDMEE_EXIT_CGI_TAX_CTGRY_DTLS to get the tax category detailsto get the tax category details
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TAX_FORMS_CODEDMEE_EXIT_CGI_TAX_FORMS_CODE to get the tax forms codeto get the tax forms code
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TAX_METHODDMEE_EXIT_CGI_TAX_METHOD to get the tax methodto get the tax method
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TAX_SQNBDMEE_EXIT_CGI_TAX_SQNB to get the tax sequence numberto get the tax sequence number
Create the exit moduleCreate the exit module DMEE_EXIT_CGI_TP_WHTDMEE_EXIT_CGI_TP_WHT to get the constant type value WHTto get the constant type value WHT
Create XSLT TransformationCreate XSLT Transformation CGI_XML_CT_XSLTCGI_XML_CT_XSLT to eliminate empty tags to eliminate empty tags
Upload and activate the XML file for the Upload and activate the XML file for the payment format with the DMEE transactionpayment format with the DMEE transaction
oo Adjust the customizing settings inAdjust the customizing settings in Payment Medium WorkbenchPayment Medium Workbench (PMW) for the use of (PMW) for the use of
the new payment methodthe new payment method
oo Adjust the customizing settings for the instruction keysAdjust the customizing settings for the instruction keys
oo Adjust the customizing settings for the format Adjust the customizing settings for the format payment supplementpayment supplement
oo Adjust the customizing settings for maintaining the text titleAdjust the customizing settings for maintaining the text title
oo Adjust the customizing settings for maintaining the Language DeAdjust the customizing settings for maintaining the Language Dependent Addresspendent Address
oo Adjust the customizing settings for maintaining the Language Dependent Address inAdjust the customizing settings for maintaining the Language Dependent Address in
Company CodeCompany Code
oo Adjust the customizing settings for maintaining the Language DepeAdjust the customizing settings for maintaining the Language Dependent Address inndent Address in
Vendor master dataVendor master data
Select desired use ofSelect desired use of BICOrBEIBICOrBEI element in the format element in the format
Specify the format nameSpecify the format name CGI_ XML_CTCGI_ XML_CT as a filter value in as a filter value in the BADI implementationthe BADI implementation
DMEE_BADI_XML_01DMEE_BADI_XML_01
Create a new node Create a new node in the DMEE format (Optional)in the DMEE format (Optional)
Note:Note: Ensure every object is saved in the packageEnsure every object is saved in the package ID-DMEEID-DMEE..
III.III. Format Parameter Structure FPM_CGI:Format Parameter Structure FPM_CGI:
The format parameter structureThe format parameter structure FPM_UIFPM_UI is used to specify additional information or choose additional is used to specify additional information or choose additional
With a certain transaction the With a certain transaction the user can create variants for user can create variants for the formatting options per House Banks perthe formatting options per House Banks per
payment method. Go to transaction SPRO and choosepayment method. Go to transaction SPRO and choose SAP Reference IMG InSAP Reference IMG In the IMG tree, choose the IMG tree, choose
Financial AccountingFinancial Accounting > > Accounts Receivable and Accoun Accounts Receivable and Accounts Payablets Payable > > Business TransactionsBusiness Transactions > > OutgoingOutgoing
PaymentsPayments > > Automatic Outgoing Payments Automatic Outgoing Payments > > Payment MediaPayment Media > > Make settings for payment mediumMake settings for payment medium
formats for payment medium > Create/Ass formats for payment medium > Create/Assign Selection Variant ign Selection Variant
InIn CGI_XML_CTCGI_XML_CT, structured remittance information can be , structured remittance information can be transmitted within the file. The user selectstransmitted within the file. The user selects
this option by populating thethis option by populating the Structured Remittance InfoStructured Remittance Info checkbox as shown below.checkbox as shown below.
The user can also choose to The user can also choose to publish country specific information by specifying the appropriate two digitpublish country specific information by specifying the appropriate two digit
ISO 3166-1 code of the required country in theISO 3166-1 code of the required country in the ISO codeISO code parameter. parameter.
TheThe Address VersionAddress Version parameter is used to parameter is used to support local language requirements for values such assupport local language requirements for values such as
debtor name or creditor debtor name or creditor name. The user needs to specify the name. The user needs to specify the version of international address toversion of international address to
accomplish this. Detailed information for values are identified below under the customizing steps accomplish this. Detailed information for values are identified below under the customizing steps forfor
language dependent address.language dependent address.
TheThe Requested Execution DateRequested Execution Date parameter is the date the initiating party requests the clearing agent to parameter is the date the initiating party requests the clearing agent to