Professional Documents
Culture Documents
CGI W Exits Implementation Norway
CGI W Exits Implementation Norway
CGI W Exits Implementation Norway
Table of Contents
CGI format for Norway....................................................................................................................... 1
General Recommendation Valid For All Countries.......................................................................... 2
Payroll Country Specific Functionoality for CGI_XML_CT ............................................................ 3
Country/Project Specific Issues ....................................................................................................... 3
Example Customer Implementation ................................................................................................ 4
Payroll outgoing payments specific SEB Bank .............................................................................. 4
Paymet Ref KIDNO for Nordea Bank ............................................................................................ 5
General Recommendation Valid For All Countries
Read note 2253571 (Collective information note: CGI_XML_CT extended with BAdI enhancement)
where you can find more information regarding implementation of CGI format. See also attached
document (especially document "Introduction to the BAdI solution for CGI_171215.docx" and others).
Apply prerequisite notes (if not implemented yet or not installed with corresponding Support Package):
1665873 – CGI: DMEE XML Format as per ISO20022 (see attached document
CGI_XML_CT_IMG.zip to prepare FPM_CGI structure, enhance structures FPAYP, FPAYH,
FPAHX, create function group DMEE_CGI, and so on)
2133039 – SEPA: Instruction key for SvcLvl and PmtMtd, service level, payment method cod
2230023 – Creation of New Packages ID-FI-REU and ID-FI-REU-PAYM
2226373 – CGI: BAdI exits introduced to CGI_XML_CT
2236518 – CGI: CGI_XML_CT with Country BAdI Extension
2241939 – CGI: CGI_XML_CT w BAdI - Corrections in Fallback Class
CL_IDFI_CGI_DMEE_FALLBACK
2241311 – CGI: CGI_XML_CT country specific functionality for ES, IT (CBI) , AT, DK, CN, TW,
AU, HK, US, GB, MX , SE
2257354 – CGI: CGI_XML_CT country specific functionality improvement
2261341 – CGI: CGI_XML_CT Format Updates #1
2272412 – CGI: CGI_XML_CT Format Updates #2
2268668 – CGI: CGI_XML_CT Format Updates #3
2245270 – CGI_XML_DD: Spain - FSDD prefix in MsgId in case of Discount SEPA DD, PAYGR
- sample function modules for checking
2253924 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #4
2274616 – CGI Payment Format: address fields truncated (CGI_XML_CT, CGI_CML_DD)
2283292 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #5
2289247 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #6
2295642 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #7
2306111 – CGI: BAdI enhancement for Requested Execution Date in CGI_XML_CT and
Requested Collection Date in CGI_XML_DD
2306304 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #8
2311029 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #9
2318961 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #10
2322683 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #11
2330563 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #12
2350646 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #13
2354237 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #14
2366540 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #15
2375987 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #16
2387052 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #17
2394966 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #18
2414649 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #19
2441382 – CGI: CGI_XML_CT, CGI_XML_DD Format Updates #20
Then refer the note 2253571 to check up-to-date list of delivered SAP Notes and to update DMEE
Tree "CGI_XML_CT" to the latest version (follow manual corr.instructions to get DMEE tree XML
definition and XSLT)
Payroll Country Specific Functionoality for CGI_XML_CT
Please, refer to SAP Note 2385694 - CGI: CGI_XML_CT country specific functionality for Norway for
more details. Also make sure you have checked attached documentation „Customizing for salary
payment.pdf“.
5) Fill in values with name of customer BAdI, description and implementing class:
METHOD if_idfi_cgi_dmee_countries~get_value.
* For all available exits please check and for standard logic please
* check CL_IDFI_CGI_DMEE_FALLBACK or your Country Implementation
IF flt_val_debit_or_credit EQ 'CREDIT'.
CASE i_node_path.
WHEN '<PmtInf><-PmtTpInf>'.
IF i_fpayh-dorigin EQ 'HR-PY'.
o_value = c_value = abap_false.
ENDIF.
WHEN ' <PmtInf><CdtTrfTxInf><-PmtTpInf>'.
IF i_fpayh-dorigin EQ 'HR-PY'.
o_value = c_value = abap_true.
ENDIF.
WHEN ' <PmtInf><CdtTrfTxInf><-CdtrAgt>'.
IF i_fpayh-dorigin EQ 'HR-PY'.
o_value = c_value = abap_true.
ENDIF.
WHEN '<PmtInf><PmtTpInf><SvcLvl><Cd>'.
IF i_fpayh-dorigin EQ 'HR-PY'.
CLEAR: o_value, c_value.
ENDIF.
WHEN '<PmtInf><PmtTpInf><SvcLvl><Prtry>'.
IF i_fpayh-dorigin EQ 'HR-PY'.
o_value = c_value = 'MPNS'.
ENDIF.
WHEN '<PmtInf><CdtTrfTxInf><RmtInf><Ustrd>'.
IF i_fpayh-dorigin EQ 'HR-PY'.
o_value = c_value = i_fpayp-sgtxt.
ENDIF.
ENDCASE.
ENDIF.
ENDMETHOD.
Paymet Ref KIDNO for Nordea Bank
If the Payment reference field (KIDNO) and the Invoice reference field (XBLNR) are both present in the
posted invoice document, then when the payment file is produced, both two values are being
incorrectly populated in to the tag <Ustrd>. Nordea Bank is rejecting these records.
Therefore, the following logic is needed, before the vendor payment file is generated:
1. When the Payment reference field KIDNO has a value, then only use this value to populate tag
<Ustrd>. Ignore any value that may be present in the Invoice reference field XBLNR.
2. When the Invoice reference field XBLNR has a value, then use this value to populate tag
<Ustrd>.
3. If both KIDNO and XBLNR are empty, use NoteToPayee functionality from FALLBACK class.
METHOD if_idfi_cgi_dmee_countries~get_value.
* For all available exits please check and for standard logic please
* check CL_IDFI_CGI_DMEE_FALLBACK or your Country Implementation
IF flt_val_debit_or_credit EQ 'CREDIT'.
CASE i_node_path.
WHEN '<PmtInf><CdtTrfTxInf><RmtInf><Ustrd>'.
* 1. When the Payment reference field KIDNO has a value, then only
* use this value to populate tag <Ustrd>. Ignore any value that
* may be present in the Invoice reference field XBLNR.
* 2. When the Invoice reference field XBLNR has a value, then use
* this value to populate tag <Ustrd>.
* 3. If both KIDNO and XBLNR are empty, use NoteToPayee
* functionality from FALLBACK class.
ENDMETHOD.