on 2025 Mar 21 10:30 AM
Business Requirement:
Question to payment process.
1. Current issue:
a. Vendor Payment method K-Split Payment
b. Documents posted(different FI document types)
i. Invoice
ii. Prepayment
iii. Credit Note
a. Expected result for xml payment format
iv. Invoice -> Split Payment
v. Prepayment\Credit Note –> Domestic Payment
a. Currently all payments are sent via Split Payment process, Prepayment and Credit Note are rejected by bank
2. Questions:
a. Is it any possibility to implement any automatic solution for this variant?
b. If not how process should looks from SAP perspective?
3. Additional remark:
a. Process in PKO works without issue.
Documents type which are not invoices(no VAT): KN, KR i KA
B (Domestic)--->ZPL_METAFORMAT
Prepayment and Credit Note need to check
K(split)---> ZPL_METAFOR_SP
bank name - PKO
1. Process in PKO works without issue.
NAGATIVE PROCESS
K (split)--->ZPL_BNP2_SPLIT_FORMAT
B(Domestic)---> ZPL_BNP2_DOM_FORMAT
BANK - BNP2
How to find program which is related to this method
Request clarification before answering.
Hi,
To address the payment method determination issue in SAP for separating Split Payment (K) and Domestic Payment (B) based on document type, here's a structured solution:
Automatic Payment Method Determination
SAP's Automatic Payment Program (APP) can be configured to select payment methods based on document types (e.g., invoices vs. prepayments/credit notes). Here’s how to implement this:
1.Payment Method Configuration (FBZP)
In FBZP (Payment Method/Bank Selection), define rules to prioritize payment methods based on document type:
Assign K-Split Payment to invoices (e.g., document types RE, RG).
Assign B-Domestic Payment to prepayments (KN), credit notes (KR, KA), and other non-VAT documents.
Example configuration in FBZP:
Restrict K-Split Payment to invoices by setting conditions (e.g., BLART = RE).
Use B-Domestic Payment for other document types via default rules.
2.Substitution Rules (OBBH/GGB1)
Create a substitution rule to dynamically assign payment methods:
Call Point 2 (Document Item Level) substitution checks the document type (BLART).
If BLART = RE/RG → Set payment method K.
If BLART = KN/KR/KA → Set payment method B.
abap
IF BSEG-BLART = 'KN' OR BSEG-BLART = 'KR' OR BSEG-BLART = 'KA'.
BSEG-ZLSCH = 'B'. "Domestic Payment
ELSE.
BSEG-ZLSCH = 'K'. "Split Payment
ENDIF.
3.DMEE Payment Format Mapping
Ensure payment formats are linked to the correct payment method:
K-Split Payment → ZPL_BNP2_SPLIT_FORMAT (XML for Split Payment).
B-Domestic Payment → ZPL_BNP2_DOM_FORMAT (XML for Domestic).
Validate this in OBPM1/OBPM2 (DMEE configuration).
Handling XML Payment Formats
Split Payment XML: Triggered by payment method K, which includes VAT split details.
Domestic XML: Used for non-VAT documents (prepayments/credit notes) via payment method B.
Identifying Related Programs
Standard Payment Program: RFEPLI00 (core APP logic).
Custom Formats:
Check DMEE trees via OBPM1 (transaction-specific formats).
For BNP2 bank formats, review DMEE nodes linked to payment methods K and B in OBPM2.
Process Flow Summary
Step Action Configuration/Transaction
1 APP Proposal F110 with document type filters
2 Payment Method Assignment Substitution rule in OBBH
3 XML Generation DMEE mapping in OBPM2
Alternative Solutions
If standard configuration is insufficient:
Use User Exits (e.g., EXIT_SAPFPEPM_001) to override payment method logic.
Implement BRF+ Rules for dynamic decision-making.
Key Considerations
Bank Communication: Ensure BNP2/PKO accepts the XML formats for Domestic Payment (B).
Testing: Validate with F110 simulation and check payment advice outputs.
By configuring payment method rules and substitutions, SAP can automatically route invoices and non-invoices to their respective payment processes, resolving bank rejections
Kind regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
10 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.