Professional Documents
Culture Documents
SAP Utilities
1
Rechnungsstellung und Zahlungsabwicklung
This document describes the new deregulation functions in the Intercompany Data Exchange
component (SAP IS-U/IDE). These are template solutions and, if necessary, can be changed to meet
country-specific requirements.
The functions described in this document can be implemented globally, even if the German market is
referred to specifically in certain examples.
The new deregulation functions are available with the following support packages:
• Release 4.64 as of Support Package SAPKIPUJ17 (IS-U/CCS 464: patch 0017)
• Release 4.71 as of Support Package SAPKIPUK06 (IS-U/CCS 471: patch 0006)
All menu paths or Customizing paths are valid as of SAP IS-U 4.71.
In SAP IS-U/CCS 4.64, you have to call the relevant transactions directly. To make your Customizing
settings, call the relevant maintenance object using the transaction codes specified.
2
Rechnungsstellung und Zahlungsabwicklung
Table of Contents
1. Infrastructure: Bill and Payment Processing ................................................................................... 5
2. Bill Creation ..................................................................................................................................... 7
2.1. General Conditions ...................................................................................................7
2.2. Process Flow ............................................................................................................8
2.2.1. Posting Individual Customer Documents ..........................................................8
2.2.2. Aggregated Posting Taking Statistical Budget Billing Plans and Partial Billing
Procedures into Account ...................................................................................................8
2.2.3. Creating the Aggregated Bill...........................................................................10
2.2.4. Writing Off and Doubtful Entries .....................................................................11
2.2.5. Sending the Bill...............................................................................................13
3. Incoming Payment......................................................................................................................... 16
3.1. General Conditions .................................................................................................16
3.2. Process Flow ..........................................................................................................16
3.2.1. Payment Advice Note Receipt ........................................................................16
3.2.2. Additional Scenario.........................................................................................18
4. Dunning the Supplier ..................................................................................................................... 29
4.1. General Conditions .................................................................................................29
5. Bill Receipt..................................................................................................................................... 32
5.1. Process Flow ..........................................................................................................32
5.1.1. Identification of Header Data ..........................................................................32
5.1.2. Identification of Document Data......................................................................32
5.1.3. Check Before Information is Copied ...............................................................32
5.1.4. Copying Information........................................................................................33
5.1.5. Check After Information is Copied ..................................................................33
5.1.6. Data Transfer..................................................................................................33
5.2. System Settings......................................................................................................33
5.2.2. Additional Scenarios .......................................................................................34
6. Outgoing Payment......................................................................................................................... 39
6.1. General Conditions .................................................................................................39
6.2. Process Flow ..........................................................................................................39
6.2.1. Read Service Provider Agreement .................................................................39
6.2.2. Execute Aggregated Posting ..........................................................................39
6.2.3. Execute Payment Run ....................................................................................41
6.2.4. Creating Payment Advice Notes .....................................................................42
6.2.5. Sending the Payment Advice Note .................................................................42
7. Manual Processing of Bill and Payment Advice Note Data........................................................... 46
7.1. Manual Entry of Bill and Payment Advice Note Data..............................................46
7.1.1. Prerequisites...................................................................................................46
7.1.2. Manual Entry of Bill Data ................................................................................46
7.1.3. Manual Entry of Payment Advice Note Data...................................................47
7.1.4. Manually Changing Bill and Payment Advice Note Data ................................48
7.1.5. Manually Changing Bill Data...........................................................................48
7.1.6. Manually Changing Payment Advice Note Data .............................................48
7.2. General Functions of the Dialog Transactions........................................................48
7.3. Bill/Document Status ..............................................................................................51
7.3.1. Bill/Payment Advice Note Status ....................................................................51
7.3.2. Bill/Payment Advice Note Document Status ...................................................51
7.3.3. Possible Actions Depending on Status ...........................................................52
7.4. Authorizations .........................................................................................................54
8. Appendix........................................................................................................................................ 55
3
Rechnungsstellung und Zahlungsabwicklung
4
Rechnungsstellung und Zahlungsabwicklung
In SAP IS-U/IDE, the terms processing service provider and service provider market partner are used
instead of distributor and supplier.
The processing service provider is the service provider who executes the processes (for example,
registration/termination of grid usage, bill/payment advice note receipt processing) in his system. The
processing service provider is always the Service Provider in Own System.
The market partner is the other service provider, with whom the processing service provider has a
business relationship and communicates data. The market partner can also be a Service Provider in
Own System (in affiliated companies, for example).
Distributors and suppliers can both be either processing service providers or market partners
depending on the current perspective and the role they play in the marketplace.
5
Rechnungsstellung und Zahlungsabwicklung
For the remainder of this document we will, for clarity and readability purposes, continue to use the
terms distributor and supplier, which describe the roles that the parties play in the marketplace.
The individual processes are described in further detail in the order in which they appear above.
6
Rechnungsstellung und Zahlungsabwicklung
2. Bill Creation
This section describes the process of bill creation. This includes:
• Billing and invoicing for grid usage at individual customer level
• Posting aggregated receivables to the supplier’s account
• Sending bills to the supplier
In a deregulated market, the distributor bills the contract partner (generally the supplier) for
consumption billings, budget billing requests, and other postings for the points of delivery to which the
supplier supplies energy. For monitoring purposes, the receivables that are posted to a supplier’s
account are aggregated. This results in the following requirements:
• Bill creation for statistical budget billing requests or partial bill and consumption billings
• Verification of the cleared budget billing payments in consumption billing
• Point of delivery-related sending of messages (VDEW-INVOIC, for example)
• Periodic generation of full bill documents or account billings for the supplier (that is, with or
without a detailed list of individual receivables at end customer level)
• Option to choose the communication format for the individual bill including a form class for
printing full bill documents or account billings
• Enhancements to the account balance display
7
Rechnungsstellung und Zahlungsabwicklung
Set print
lock
Enhance with
Request Information from Docs
BB amounts/Reversal supplier
EDI
contract account
Invoic
Other postings/
Define
Reversal
Data for comm. channel Paper bill
aggregated Yes + format
posting/
Sending bill
Other
Grouping of items/ Group with file
Consumptn formats
send bill Yes other items,
billing?
individually set status Send individually?
No
BB
No Yes Set status
request?
End
No
Trigger
Aggr. docs
aggr. No
posting
8
Rechnungsstellung und Zahlungsabwicklung
You can create other groupings or individual postings for specific customers in the service provider
agreement. You can use the following as grouping characteristics:
• Point of delivery group
• Billing class
• Account determination ID
The grouping characteristics are automatically taken into account for aggregated postings. In order to
ensure a clear overview of the supplier accounts, we recommend that you use as few additional
grouping criteria as possible, as this increases the number of postings to these accounts.
You can set the individual posting flag for every grouping characteristic that you have defined. As a
result, a separate document is created in the invoicing service provider’s contract account for all
individual customer postings with this characteristic. We recommend that you only set this flag for
characteristics that are not likely to get many postings. If a large number of individual postings are
generated for the invoicing service provider’s contract account, the account will become complicated
and it will take longer to call the account balance display.
2.2.2.1. Prerequisites
• Document items from the individual customer accounts have been electronically sent or
processed using transaction REDISND1 or MEER.
• The selection date for the aggregated posting includes the planned date of payment by a third
party.
• The account determination for internal main transaction 4000 and its internal subtransactions
has been maintained.
Note that, for all subtransactions of the main transaction, you can only use one G/L account in
posting area R001 for each company code and account determination characteristic. In this
case, enter the Clearing Account from the example below.
9
Rechnungsstellung und Zahlungsabwicklung
Receipt by Bank
(3) 180
100 (10)
Bank Settlement
FI-CA FI
(4) 180 180 (3)
(Subledger) (General ledger) (10) 100 100 (8)
Note:
For clarity reasons, postings to the customer accounts in the example do not include taxes or budget
billing requests.
Taxes and additional account assignments are posted in the same way as standard postings at
individual customer level.
The aggregated posting to the supplier’s contract account is not a statistical posting. Posting occurs in
the general ledger via two clearing accounts, which must be balanced at the end of the year.
Aggregated posting uses gross amounts. Taxes are posted to the individual customer account. When
you create a list of open items, do not include the aggregated postings, as this will distort the actual
amounts.
10
Rechnungsstellung und Zahlungsabwicklung
* This is the sum of the tax amounts from the individual bills. It cannot be calculated from
the end total because of possible rounding differences.
In the full bill procedure, all individual bills are issued in their complete form, that is, including meter
readings and consumption values. The bill recipient needs the complete bill information for the bill
receipt check.
In the service provider agreement, you can choose to send the individual bills separately so that the
combined bill is only relevant for account billing. You can also choose not to create aggregated bill
documents.
If you want to send aggregated bills in printed format, you must generate an application form for form
class IS_U_IN_AGGR_BILL. This form is entered in the supplier’s contract account.
In addition to bills and budget billing requests, bill reversals can also be communicated to the supplier.
If you want to send individual bills in printed format, you must enter a suitable form from
form class IS_U_BILL in the service provider agreement. You also define whether
individual bills are sent in printed format or as IDocs in the service provider agreement.
11
Rechnungsstellung und Zahlungsabwicklung
Unavailable functions:
{ The due dates are not combined in the event that several budget billing amounts are
requested.
{ You cannot reset the change lock once a budget billing request has been made (this is
possible for “normal” budget billing plans).
{ If a due date has been requested, you can no longer delete the budget billing plan.
{ You cannot change the amounts when you change the budget billing plan (transaction
EA62). This includes entering amounts directly at cumulated level and at contract level
as well as using the pushbuttons.
{ Unlock item (Change Budget Billing Plan (transaction EA62))
{ Cycle change (Change BB Plan (transaction EA62))
{ Activate prepayment (Change BB Plan (transaction EA62))
{ Automatic budget billing amount adjustment (transaction E61M or report REASBSL1)
{ Interim billing with budget billing amount adjustment (invoicing)
{ Rate maintenance (transaction EC30)
{ Adjustment to changed dates (Portion Change (transaction EA65))
{ Yearly advance payment
Available function:
{ Extend budget billing plan
12
Rechnungsstellung und Zahlungsabwicklung
Special features:
You can only use the account maintenance to clear document line items that contain an
invoicing service provider for items that have the same invoicing service provider. The same
applies for all incoming payment transactions. The only exception to this rule is the payment lot,
as long as it is a distribution lot
You cannot reverse or write off aggregated postings.
1. Define an identification type. For this identification type, define external IDs for the received
service types and then allocate them to line types.
(Customizing for SAP Utilities under Intercompany Data Exchange → Bill and Payment
Advice Note Processing → Define ID for Bill and Payment Advice Note Parts; transaction
SM34, VC_EDEREG_SERINT)
The ID type and the main transactions, subtransactions, and document line types defined
for it are used to determine the ID of the provided service.
2. Define a service provider agreement for the distributor. You define service provider agreements
using the Change Service Provider transaction.
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
Use a service provider agreement type that is based on the deregulation process INV_OUT.
(Customizing for SAP Utilities → Intercompany Data Exchange → Service Provider
Agreements → Define Service Provider Agreement Types; transaction SM30,
V_EDRGSPAGRTYPE)
(Also see Customizing for SAP Utilities → Tools → System Modifications → User-
Defined Enhancements for IDE → Define Deregulation Processes; transaction SM34,
VC_EDEREGPROC)
Use a suitable parameter value for the Bill Issue parameter (for example, send individual bills
before aggregated posting).
Enter an identification type.
Enter a contract account for aggregated bill posting and define a separate bank connection for
the account.
13
Rechnungsstellung und Zahlungsabwicklung
2.2.5.2. Execution
Starting Bill Issue
You can start the bill issue process using the Generate Electronic Bill transaction or the mass activity
of the same name.
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Electronic Bill → Generate Electronic Bill; transaction REDISND1
or
In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Electronic Bill → Mass Activity: Generate Electronic Bill; transaction MEER)
2.2.5.3. Notes
• IDoc processing takes place when you use the VDEW_INVOIC format in function module
ISU_COMPR_VDEW_INVOIC_OUT. The format and the function module are used as a copy
template for customer-specific changes.
You can define customer-specific formats and modules in Customizing for basic process
INV_OUT:
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes)
• You must enter the external number of the distributor and of the supplier for identification
purposes:
14
Rechnungsstellung und Zahlungsabwicklung
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
15
Rechnungsstellung und Zahlungsabwicklung
3. Incoming Payment
This section describes the process of incoming payment. This includes:
• Receiving and processing payment advice note and complaint data
• Incoming payment
• Clearing receivables at supplier and end customer level
Payment
Or
advicenote Create Distribution Clearindividual Posting
and complaint distribution lot lot accounts document
data
Yes
Generation frombill
processingdata
Agent
Clearsupplier Check
Incomingpayment Available? No notification
account distribution lot
workflow
No
Clarify
16
Rechnungsstellung und Zahlungsabwicklung
Reason and Corrected Bill Amount fields for this purpose. If you use this function, the information is
saved and can be used in case of dispute.
You can also use other electronic formats in addition to the REMADV format.
Payment advice notes can also be received in printed format. If this is the case, however, you must
enter the data manually.
As a general rule, the information exchanged is payment advice note information. There are, however,
times when it is not necessary to exchange payment advice notes (if the supplier account has a direct
debit authorization, for example, or if the supplier is a Supplier in Own System). In these cases, the
payment lot for clearing individual items can be created from the communication data used in billing
the supplier (generation from bill processing data). The distributor can normally assume that a
complete incoming payment will follow. The option to remove queried items from the payment lots is
still available.
The payment advice note contains information regarding paid and partially paid bills. This data is
saved when the incoming payment is processed. A payment lot is then created from the data for
payment distribution (Create Payment Lot). When you create the payment lot, you must specify one of
the following points in addition to the payment advice note ID:
• Only create lot
• Close lot immediately
• Post lot immediately
The relevant payment advice note items are read and copied to the items of one or more payment lots.
The posting of the lots is dependent on the conditions of an incoming payment from the supplier. This
takes place in Contract Accounting by means of an enhancement event. The sending supplier must be
defined as a service provider in the distributor’s system.
If the bill is processed within a company, without using cash, a distribution lot is generated and posted
directly for all open items allocated to the company’s own supplier (clearing individual accounts). Items
from the supplier account can be cleared using a payment run with clearing account posting. Another
example of where you can create and post the distribution lot directly is if the distributor is authorized
to automatically debit the supplier’s account. In this case, a payment run would clear all open items on
the supplier’s account and the distribution lot could be created and posted directly in order to clear the
individual accounts. An incoming payment advice note is not required.
All open items on the end customer’s account are flagged in the system as To Be Paid by Third Party
Service Provider. The items cannot be cleared by individual payments at this level. The only way to
clear these items is to post the payment lot that was created by the distribution run described above.
1. Define a data exchange definition for the supplier that is based on basic process IMPREMADV.
For example, use data exchange format REMADV, for which function module
ISU_COMPR_PEXR2002_IN and IDoc basis type PEXR2002 are defined.
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes; transaction SM34,
VC_DEXBASICPROC)
(Customizing for SAP Utilities under Intercompany Data Exchange → Data Exchange
Processes → Define Data Exchange Processes; transaction SM34, VC_DEXPROC)
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
2. You must define a partner profile before you can receive an IDoc. For the input parameter, use
message category REMADV with message variant ISU. You can use ISU_REMADV_IN as the
process code. This is based on function module ISU_COMEV_PEXR2002_IN.
(In the SAP Easy Access Menu choose Tools → Business Communication → IDoc Basis
→ Administration → Partner Profile; transaction WE20)
17
Rechnungsstellung und Zahlungsabwicklung
3.2.1.2. Execution
The system can receive the payment advice note automatically. You can monitor IDoc receipt using
the IDoc List transaction and you can monitor receipt processing using the Monitoring of Data
Exchange Tasks transaction.
You can find the IDoc List transaction in the SAP Easy Access Menu under Tools →
Business Communication → IDoc Basis → Display IDoc (transaction WE02)
You can find the Monitoring of Data Exchange Tasks transaction in the SAP Easy
Access Menu under Utilities Industry → Intercompany Data Exchange → Data Exchange
Processes → Monitoring (transaction EDATEXMON01)
You can monitor the further processing of received payment advice notes in the Monitoring Bill Receipt
transaction (transaction INVMON) and start further processing manually for individual payment advice
notes.
3.2.1.3. Notes
• If you use format REMADV, the IDoc is processed in function module
ISU_COMPR_PEXR2002_IN. This module serves as a copy template for customer-specific
modifications. You can define customer-specific formats and modules in Customizing for basic
process IMPREMADV:
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes) (transaction SM34,
VC_DEXPROC)
• You must enter the external number of your own service provider and of the supplier for
identification purposes:
In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change (transaction EEDMIDESERVPROV02)
1. Define a partner profile with partner type LS (logical system), message category REMADV, and
message variant ISU. For example, you can use process code ISU_REMADV_IN, which is
based on event module ISU_COMEV_PEXR2002_IN.
In the SAP Easy Access Menu choose Tools → Business Communication → IDoc Basis
→ Administration → Partner Profile (transaction WE20)
2. Define a data exchange process for basic process IMPREMADV and set parameter
INV_AVISTYPE to R. Add this data exchange process to the supplier’s service provider
agreement in order to receive the complaint notification. For example, you can use data
exchange format REMADV, which is based on process module ISU_COMPR_PEXR2002.
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes; transaction SM34,
VC_DEXBASICPROC)
(Customizing for SAP Utilities under Intercompany Data Exchange → Data Exchange
Processes → Define Data Exchange Processes; transaction SM34, VC_DEXPROC)
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
18
Rechnungsstellung und Zahlungsabwicklung
The distributor receives a complaint notification in the same way as a regular payment advice note,
with the exception that it is not possible to create a payment lot from the complaint note. As a result,
the complaint notification is processed manually.
System Settings
Preparation
...
19
Rechnungsstellung und Zahlungsabwicklung
For more information read the Customizing Changes document, which you can find in
the SAP Service Marketplace under http://service.sap.com/utilities. Choose Product
Information → IS-U/CCS → Intercompany Data Exchange → Cookbooks&Guidelines.
2. Settings for interpreting a payment advice note item
You make the settings for the interpretation of a payment advice note item in Customizing for
the algorithm ID. This is the identification used in Customizing. The algorithm ID is defined in the
service provider agreement.
(Customizing for SAP Utilities under Intercompany Data Exchange → Payment Control
→ Define Algorithms for Interpretation of Payment Advice Note Items; transaction SM34;
VC_IUEEINA)
For more information read the Customizing Changes document, which you can find in
the SAP Service Marketplace under http://service.sap.com/utilities. Choose Product
Information → IS-U/CCS → Intercompany Data Exchange → Cookbooks&Guidelines.
3. Defining the parameters for the Bill Issue/Incoming Payment (INV_OUT) deregulation process in
the service provider agreement of the participating service providers.
You must enter values for the following parameters in all parameter configurations of the
agreement between the service providers playing a role in distribution (the supplier sends the
payment advice note and the distributor receives payment):
(In the SAP Easy Access Menu go to Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
{ CA Aggr.BillPo. (Contract Account for Aggregated Bill Posting)
The contract account for aggregated bill posting is created for the bill recipient (payment
advice note sender) with a contract account category for invoicing service providers. The
postings for the distribution lot take place for the leading company code in the contract
account. This company code is also used to check other details, such as whether the
Clearing Account Aggr./Payment Distribution was created in this company code.
{ Clearing Account Aggr./Payment Distribution
The Clearing Account Aggr./ Payment Distribution is used in the general ledger as an
offsetting account for postings to the supplier’s reconciliation account. Since the account
is used as a bank clearing account in all distribution lots, you must define it in
Customizing as a bank clearing account for payment lots for the leading company code
of the contract account for aggregated bill posting.
(Customizing for Financial Accounting → Contract Accounts Receivable and Payable →
Business Transactions → Payments → Incoming/Outgoing Payment Processing →
Define Bank Clearing Accounts for Payment Lots; transaction FQZT)
{ Post Distribution Lot
The Post Payment Lot parameter controls whether distribution lots are posted
immediately or whether they can only be posted on receipt of aggregated payment from
the service provider that invoices the contract. The aggregated payment is classed as
received once the payment documents posted to the contract account of the invoicing
service provider have been allocated to the distribution lots by means of the Process
Distribution Lot (Aggregated Payment) function.
(In the SAP Easy Access menu, choose Utilities Industry → Intercompany Data
Exchange → Generate Postings and Display Account Balance → Processing Distribution
Lot → Process Distribution Lots (Aggregated Payment); transaction
IUEEDPPLOTAALC3)
...
20
Rechnungsstellung und Zahlungsabwicklung
To activate the Post Payment Lot parameter, select Post Lot as the further processing
step for distribution type Distribution from Bill Processing in Customizing.
(Customizing for SAP Utilities under Intercompany Data Exchange → Payment Control
→ Define Parameter(s) for Distribution of Aggregated Payments; transaction SM30;
IUEEDPPLOTAVPPV)
{ Algorithm ID
The algorithm ID is the identification used for interpreting payment advice note items in
Customizing (see bullet point 2: Settings for interpreting a payment advice note item).
Execution
Start Bill and Payment Advice Note Processing from the following transactions:
• Monitor Payment Advice Note
(In the SAP Easy Access menu, choose Utilities Industry → Intercompany Data
Exchange → Bill and Payment Advice Note Processing → Monitor Bill/Payment
Advice Note Processing; transaction INVMON)
...
1. Select the payment advice note that you want to process and navigate to the document
display.
2. Choose Process Data to create the distribution lot.
3. Choose Log to display the status and the messages.
4. In the event that errors occur, you can reset the status manually by choosing Reset Status.
You can now reexecute the process.
• Manual Payment Advice Note Entry
(In the SAP Easy Access menu, choose Utilities Industry → Intercompany Data
Exchange → Bill and Payment Advice Note Processing → Enter Payment Advice
Note; transaction INVADV01)
Once you have made the entries, you use the same interface for process execution as the one
described in Monitor Payment Advice Note.
• Mass Process Bill and Payment Advice Note Processing
(In the SAP Easy Access menu, choose Utilities Industry → Intercompany Data
Exchange → Bill and Payment Advice Note Processing → Mass Process
Bill/Payment Advice Note Processing; transaction INVMASSPROC)
...
1. In the Run identification group box, make entries in the Date ID and ID fields.
2. Enter 002 (Payment Advice Note) as the type of bill/payment advice note (PAN).
3. Enter selection criteria for the sender and recipient of the payment advice note and, if
necessary, for the due date and the document status.
Note that the original recipient of the bill is now the sender of the payment advice note
(Field: Int. ID of Bill Sdr).
4. Save your entries and start the mass process.
5. You can display the status and messages on the Logs tab page under Application Log.
21
Rechnungsstellung und Zahlungsabwicklung
(In the SAP Easy Access menu, choose Utilities Industry → Intercompany Data
Exchange → Generate Postings and Display Account Balance → Processing Distribution
Lot → Create Distribution Lot from Bill Processing; transaction IUEEDPPLOTAALC2)
System Settings
Preparation
...
For more information read the Customizing Changes document, which you can find in
the SAP Service Marketplace under http://service.sap.com/utilities. Choose Product
Information → IS-U/CCS → Intercompany Data Exchange → Cookbooks&Guidelines.
2. Defining the parameters for the Bill Issue/Incoming Payment (INV_OUT) deregulation process in
the service provider agreement of the participating service providers.
You must enter values for the following parameters in all parameter configurations of the
agreement between the service providers playing a role in distribution (the supplier sends the
payment advice note and the distributor receives payment):
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
{ CA Aggr.BillPo. (Contract Account for Aggregated Bill Posting)
The contract account for aggregated bill posting is created for the bill recipient (payment
advice note sender) with a contract account category for invoicing service providers. The
postings for the distribution lot take place for the leading company code in the contract
account. This company code is also used to check other details, such as whether the
Clearing Account Aggr./Payment Distribution was created in this company code.
{ Clearing Account Aggr./Payment Distribution
The Clearing Account Aggr./ Payment Distribution is used in the general ledger as an
offsetting account for postings to the supplier’s reconciliation account. Since the account
is used as a bank clearing account in all distribution lots, you must define it in
Customizing as a bank clearing account for payment lots for the leading company code
of the contract account for aggregated bill posting.
(Customizing for Financial Accounting → Contract Accounts Receivable and Payable →
Business Transactions → Payments → Incoming/Outgoing Payment Processing →
Define Bank Clearing Accounts for Payment Lots; transaction FQZT)
{ Auto PAN
The Auto PAN parameter controls whether the distribution lot can be created from bill
processing.
If the parameter is activated, the bill processing data is treated as an automatic
payment advice note (Auto PAN).
If the parameter is not activated, a payment advice note is required to distribute
aggregated payments. In this case, the Create Distribution Lots from Bill
Processing function is terminated.
22
Rechnungsstellung und Zahlungsabwicklung
To activate the Post Distribution Lot parameter, select Post Lot as the further processing
step for distribution type Distribution from Bill Processing in Customizing.
(Customizing for SAP Utilities under Intercompany Data Exchange → Payment Control
→ Define Parameter(s) for Distribution of Aggregated Payments; transaction SM30;
IUEEDPPLOTAVPPV)
It only makes sense to post the distribution lot immediately for affiliated companies or if a
direct debit authorization exists. This is because, in all other cases, an immediate posting
would make it more difficult to keep track of the receivables in the event that payment is
not made.
23
Rechnungsstellung und Zahlungsabwicklung
Execution
...
• Percentage of Sum to Distribute: This refers to the portion of the total amount that
will be distributed. Distribution on a percentage basis is necessary if a business
partner is unable to pay the full amount owed, for example.
• Check Distribution Lot: This indicator controls whether or not items are copied to
the distribution lot.
The system saves the reference between the bill item and the distribution lot item
for all items that are copied to the lot. If these items are distributed again at a later
point, you can check whether distribution lots already exist. This prevents the
unnecessary creation of multiple lots.
3. Start the distribution run.
After the check, the parameters are transferred to a function module, which is called as a
background process.
4. Choose Log to check the status and the messages in the application log.
The messages are displayed in a dialog box. The column on the left contains the grouping
criteria (problem classes) and the column on the right contains the actual messages. Choose
Refresh to update the status and the messages during the run.
The first message is included in the Additional Information problem class and displays the
current status. The following statuses exist:
{ Distribution Running: n percent
The distribution run is still in process. The percentage of the process that is complete is
displayed. Choose Refresh to update the status.
{ Distribution Complete
The distribution run has ended without errors. This occurs if no bill items were selected
for distribution with the specified criteria, or if all of the bill items for distribution were
transferred to distribution lots and all of the further processing steps that you entered in
Customizing were completed. The following statuses are set if the further processing
steps were not completed for all items:
Not all created
Not all of the items could be transferred to distribution lots.
Not all closed
All items are included in distribution lots. The highest further processing step was
Close Lot. However, not all of the relevant lots could be closed.
Not all posted
All items are included in distribution lots. All distribution lots for which Close Lot or
Post Lot was selected were closed. The highest further processing step was Post
Lot. However, not all of the relevant lots could be posted.
{ Distribution Terminated
The distribution run could not end because an error occurred.
The messages are displayed in problem class Other in the order they occurred.
Note
You can display the log as an application log using transaction SLG1.
• Object: IUEEDPPLOT (Distribution of aggregated payments)
• Subobject: THI (Distribution run from bill processing)
• Ext. Identification: Run identification
25
Rechnungsstellung und Zahlungsabwicklung
To display the log data from previous runs, select the parameters from the selection help for the Run
Identification field and choose Log.
Prerequisites
• The distribution lots were created using the Create Distribution Lot from Payment Advice Note
function or the Create Distribution Lot from Bill Processing function.
• A document already exists for the aggregated payment. That is, the document was posted to a
service provider’s contract account for aggregated bill posting.
Activities
...
26
Rechnungsstellung und Zahlungsabwicklung
Prerequisites
• The distribution lots were created using the Create Distribution Lot from Payment Advice Note
function or the Create Distribution Lot from Bill Processing function.
• A document already exists for the clearing reset. That is, the document was posted to a service
provider’s contract account for aggregated bill posting.
Activities
...
27
Rechnungsstellung und Zahlungsabwicklung
{ Contract Account
{ Payment Recipient
{ Sold-To Party
{ Lot Generated From/To
3. Start Processing.
3 processing areas are displayed. You can execute the following functions for each processing
area:
{ Processing area: Reset Document Header Data
Doubleclick on the document number to branch to the document display. Alternatively,
choose Goto → Payment Document in the menu.
{ Processing area: Distribution Lot Header Data
In addition to the list display functions, the following functions are also relevant for
processing:
Display Items
Select a distribution lot. Choose Display Items to display the item data for the
selected lot in the lower processing area.
Delete Lot
Select one or more lots. Choose Delete Lot to delete all selected lots. If lots have
a status that does not allow you to delete them, you may need to execute a mass
reversal of the reconciliation key that is used in the lot (in the menu: Environment
→ Mass Reversal).
{ Processing area: Distribution Lot Item Data
In addition to the list display functions, the following function is also relevant for
processing:
Display Item
Select a lot item Choose Display Lot to branch to the detailed display.
28
Rechnungsstellung und Zahlungsabwicklung
System Settings
You make the basic settings for the dunning run and the dunning activities in Customizing for Financial
Accounting under Contract Accounts Receivable and Payable → Business Transactions → Dunning
Notices.
Preparation
You have to make the following settings before you can dun the service provider that invoices the
contract.
...
29
Rechnungsstellung und Zahlungsabwicklung
3. Allocate an application form that can display dunning items in the deregulated scenario to the
dunning activity. If the application form from form class IS_U_CA_DUNNING uses item
description DEREG_ITEM (see transactions EFRM and EFCS), it can display items in the
deregulated scenario. In addition to the usual data, you can also print the point of delivery (field
EXT_UI) for these items.
4. Configure a dunning procedure for the service provider that invoices the contract and define the
procedure in the service provider’s contract account.
(Customizing for Financial Accounting → Contract Accounts Receivable and Payable →
Business Transactions → Dunning Notices → Configure Dunning Procedure)
5. Ensure that the contract account category of the invoicing service provider’s contract account is
defined as such.
(Customizing for SAP Utilities → Intercompany Data Exchange → Payment Control →
Define Contract Account Category for Service Prov. that Invoices Contract (transaction
SM30, TE002A))
Define a separate number range interval for this contract account category so that you
can dun the service provider that invoices the contract in separate runs.
Execution
You can use the Dunning Proposal (transaction FPVA) to dun the service provider that invoices the
contract. First of all, you create a dunning proposal. This contains the due items from the contract
account of the service provider that invoices the contract that were not posted using the main
transaction 4000 (Receivables from InvServProvider). It also contains all due items from the contract
accounts (end customer accounts) that the service provider that invoices the contract will clear. The
due dates of these items are determined in the corresponding service provider agreement. The due
date is not included in the end customer document but is entered in a separate table (DFKKTHI).
You can create printed dunning notices using the dunning activity run (transaction FPVB). You can
use the form in the dunning activity to display the points of delivery of the end customer accounts.
Notes
• Before you start the dunning run, all incoming payments must be linked to distribution lots and
the distribution lots must have been posted. If this is not the case, end customer items could be
dunned by mistake.
• You can only create a dunning proposal if there is at least one due item in the contract account
of the service provider that invoices the contract.
• End customer documents are only included in the dunning proposal if the corresponding bill has
already been sent to the service provider that invoices the contract.
• You can also allocate dunning blocks to documents (also end customer documents). These
documents are not included in the dunning proposals.
• Dunning charges are posted to the contract account of the service provider that invoices the
contract.
• You can branch to the dunning history from the account balance display of the service provider
that invoices the account (Go to Environment → Account → Dunning Notices in the menu bar).
However, you cannot branch directly from the items of an end customer document to the
dunning history for technical reasons.
• Dunning runs should only take place once incoming payments have been processed. That is,
the distribution lots that were created on receipt of the payment advice note should already have
been posted
• The usual dunning functions are available. You can, therefore, create dunning groups based on
dunning levels. You can use these dunning groups for the dunning activity in a number of
different ways. In other words, you can create a variety of dunning forms.
30
Rechnungsstellung und Zahlungsabwicklung
To reduce run times, we recommend that you carry out separate dunning runs for invoicing service
providers regardless of other business partners and contract accounts.
31
Rechnungsstellung und Zahlungsabwicklung
5. Bill Receipt
This section describes the process of bill receipt processing. The section begins with an explanation of
the individual steps involved in the bill receipt process before looking at the actual process in the
system.
In addition to importing bill documents into the system by IDoc, you also have the option to enter the
data manually.
For more information on manual entry, see the “Manual Processing of Bill and Payment Advice
Note Data” unit.
No No
No No
Yes
Trnsfr
data
Posting and
Log
payment relevant
data
32
Rechnungsstellung und Zahlungsabwicklung
5.2.1.1. Preparation
...
1. Define a service provider agreement for the distributor using the Change Service Provider
transaction.
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
Use a service provider agreement type that is based on the deregulation process INV_IN.
(Customizing for SAP Utilities → Intercompany Data Exchange → Service Provider
Agreements → Define Service Provider Agreement Types; transaction SM30,
V_EDRGSPAGRTYPE)
(Also see Customizing for SAP Utilities → Tools → System Modifications → User-
Defined Enhancements for IDE → Define Deregulation Processes; transaction SM34,
VC_EDEREGPROC)
Enter parameter values for the Bill and Payment Advice Note Type and Document Type
parameters.
Also make an entry in the ID Type parameter. This is required for the interpretation of the
service ID.
If you want to override the basic settings in Customizing, also maintain the parameter values for
parameters Check Group Before Data is Copied, Check Group After Data is Copied, Copy
Group, Transfer Group, Identification Number, and Complaint Group.
2. Define a data exchange process for the distributor.
This data exchange process should be based on basic process IMPINVOICE. Also define a
suitable format. In the German market, for example, you can use the VDEW_INVOIC data
exchange format, for which sample module ISU_COMPR_VDEW_INVOIC_IN and IDoc basic
type ISU_VDEW_INVOIC are defined.
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes; transaction SM34,
VC_DEXBASICPROC)
(Customizing for SAP Utilities under Intercompany Data Exchange → Data Exchange
Processes → Define Data Exchange Processes; transaction SM34, VC_DEXPROC)
33
Rechnungsstellung und Zahlungsabwicklung
3. You must define a partner profile before you can receive an IDoc. To do this, use message type
ISU_BILL_INFORMATION as the input parameter.
(In the SAP Easy Access Menu choose Tools → Business Communication → IDoc Basis
→ Administration → Partner Profile; transaction WE20)
In the German market, you can use ISU_VDEW_INVOIC as the process code. This is based in
function module ISU_COMEV_VDEW_INVOIC_IN.
5.2.1.2. Execution
The system can receive the bill automatically. You can monitor IDoc receipt using the IDoc List
transaction and you can monitor receipt processing using the Monitoring of Data Exchange Tasks
transaction.
(You can find the IDoc List transaction in the SAP Easy Access Menu under Tools →
Business Communication → IDoc Basis → Display IDoc; transaction WE02)
(You can find the Monitoring of Data Exchange Tasks transaction in the SAP Easy
Access Menu under Utilities Industry → Intercompany Data Exchange → Data Exchange
Processes → Monitoring; transaction EDATEXMON01)
You can monitor IDoc receipt using the IDoc List transaction.
You can monitor the further processing of received bills using the Monitor Bill/Payment Advice Note
Processing transaction. You can also start further processing for individual bills there.
(In the SAP Easy Access menu, go to Utilities Industry → Intercompany Data Exchange
→ Bill and Payment Advice Note Processing → Monitor Bill/Payment Advice Note
Processing; transaction INVMON)
Alternatively, you can start further processing of received bills as a mass activity.
(In the SAP Easy Access menu, choose Utilities Industry → Intercompany Data
Exchange → Bill and Payment Advice Note Processing → Mass Process Bill/Payment
Advice Note Processing; transaction INVMASSPROC)
The checks, data copy, and data transfer are executed in further processing. This forms the basis for
the subsequent posting of bills in Financial Accounting.
5.2.1.3. Notes
• In the German market, IDocs are processed in function module
ISU_COMPR_VDEW_INVOIC_IN, for example. This module serves as a copy template for
customer-specific modifications. You define customer-specific modules for basic process
IMPINVOICE in Customizing:
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes)
• You must enter the external number of the processing service provider and of the market
partner for identification purposes.
(In the SAP Easy Access Menu go to Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
• You can no longer make changes to documents that are transferred to Accounting for posting.
34
Rechnungsstellung und Zahlungsabwicklung
example, it contains the bill number of the distributor, the internal bill number of the supplier, point of
delivery information, bank information, complaint reason, and so on.
The supplier can send the complaint notification in paper format or in electronic format.
Preparation
...
1. Define a service provider agreement for the distributor with the category Complaint
(deregulation process COM_OUT).
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
(Customizing for SAP Utilities → Intercompany Data Exchange → Service Provider
Agreements → Define Service Provider Agreement Types; transaction SM30,
V_EDRGSPAGRTYPE)
Set the Outgoing Complaint parameter to Complaint at Individual Bill Level.
If you want to print out the complaint notification, define the Print parameter and set the value to
X.
If you want to send the complaint notification by EDI, leave the Print parameter empty.
2. If you do not want to use the basic settings from Customizing, define a service provider
agreement for the distributor with the category Bill and Payment Advice Note Processing
(deregulation process INV_IN).
(In the SAP Easy Access Menu go to Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
(Customizing for SAP Utilities → Intercompany Data Exchange → Service Provider
Agreements → Define Service Provider Agreement Types; transaction SM30,
V_EDRGSPAGRTYPE)
Define a Bill/Payment Advice Note Type parameter with the value Complaint Notification
(Outgoing), and a Document Type parameter with the value Payment Advice Note and allocate
them a transfer group.
3. If you want to send a complaint notification electronically, define a data exchange process for
basic process EXPREMADV and set the INV_AVISTYPE parameter to R.
(Customizing for SAP Utilities under Intercompany Data Exchange → Data Exchange
Processes → Define Data Exchange Processes; transaction SM34, VC_DEXPROC)
If you want to send a complaint notification electronically, add this data exchange process to the
service provider agreement of the distributor. For example, you can use data exchange format
REMADV_CMPLN, which is based on process module
ISU_COMPR_PEXR2002_CMPLNT_OUT. Alternatively, you can define other data exchange
formats and process modules for basic process EXPREMADV.
(In the SAP Easy Access Menu go to Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes; transaction SM34,
VC_DEXBASICPROC)
4. Define complaint reasons in Customizing (difference reason for payments) to send by EDI.
(Customizing for SAP Utilities under Intercompany Data Exchange → Bill and Payment
Advice Note Processing → Define Difference Reasons; transaction SM30,
TINV_C_ADJ_RSN)
5. Print the complaint notification.
If you want to print out a complaint notification, define form class
IS_U_IDE_REMADV_CMPLNT for correspondent type R006 (complaint notification), and define
an application form (for example, IS_U_IDE_REMADV_CMPLNT or, as of SAP IS.U/CCS 4.71,
IS_U_IDE_REMADV_CMPLNT_SF) for the correspondence type.
35
Rechnungsstellung und Zahlungsabwicklung
Execution
...
1. In Monitoring for Bill/Payment Advice Note Processing, select a bill for complaint.
(In the SAP Easy Access menu, choose Utilities Industry → Intercompany Data Exchange →
Bill and Payment Advice Note Processing → Monitor Bill/Payment Advice Note Processing;
transaction INVMON)
2. In the application toolbar, choose Status: Set to Complain and then select a complaint reason
(difference reason for payments).
A complaint notification and a reference to it are generated when the bill is processed. If
function module ISU_DEREG_REMADV_CMPLNT_CREAT is used when the complaint
notification is generated, processing continues immediately. If this function module is not used,
further processing of the complaint notification takes place in one of the following ways:
{ Individually via Process Data
{ Via the mass processing transaction
(In the SAP Easy Access menu, choose Utilities Industry → Intercompany Data Exchange →
Bill and Payment Advice Note Processing → Mass Process Bill/Payment Advice Note
Processing; transaction INVMASSPROC)
3. The following alternative options exist depending on the settings made in the service provider
agreement:
{ An entry is generated in the correspondence container
You can use the Correspondence Printing transaction to print the complaint notification.
As input parameters, use the business partner of the distributor and correspondence
type R006.
(In the SAP Easy Access menu choose Utilities Industry → Contract Accounts
Receivable and Payable → Periodic Processing → For Contract Accounts →
Correspondence → Print; transaction FPCOPARA)
{ An IDoc is sent directly in the defined format (for example, data exchange format
REMADV_CMPLN)
Note
• You cannot select bills for complaint that have already been reversed, ended manually, or
transferred.
• If you use the data exchange format REMADV_CMPLN, an IDoc for structure PEXR2002 is
used to send the advice note by EDI. This IDoc has been used in Accounts Payable Accounting
since SAP R/3 Release 4.0B (software component SAP_APPL). Therefore, the IDoc contains
the same logic and the corresponding content.
36
Rechnungsstellung und Zahlungsabwicklung
Also, the structure contains all of the necessary fields required to create the EDIFACT format
according to VDEW regulations.
• You make entries in the IDoc in function module IS_U_IDE_REMADV_CMPLNT. This module
serves as a copy template for customer-specific modifications.
You can define customer-specific modules for basic process EXPREMADV and select the value
R for parameter INV_AVISTYPE in Customizing.
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes; transaction SM34,
VC_DEXBASICPROC)
• The complaint reason number (difference reason for payments) is entered directly in the IDoc
for segment AJT (when you use function module IS_U_IDE_REMADV_CMPLNT). Therefore, it
is necessary to take association regulations into account when you define complaint reasons.
• You must enter the external number of your own service provider (that invoices the contract)
and of the bill issuing service provider for identification purposes.
(In the SAP Easy Access Menu go to Utilities Industry Intercompany Data Exchange →
Service Provider → Change; transaction EEDMIDESERVPROV02)
• You can use the Monitoring transaction to monitor the progress of the complaint notification. If
errors occur, check the error log in the monitoring transaction for the data exchange tasks. You
can branch to the corresponding IDoc as well as to the original complaint notification from this
transaction.
(In the SAP Easy Access Menu choose Utilities Industry → Intercompany Data Exchange
→ Data Exchange Processes → Monitoring; transaction EDATEXMON01)
5.2.2.3. Reversal
There are two ways to reverse an original document:
...
1. The market partner sends a reversal document (by EDI or in printed format)
37
Rechnungsstellung und Zahlungsabwicklung
38
Rechnungsstellung und Zahlungsabwicklung
6. Outgoing Payment
This section describes the process of outgoing payment. It includes the aggregated posting of
incoming bills for suppliers, payment to the billing party, and creation of the payment advice note. A
prerequisite for outgoing payment is the completion of the bill receipt process.
Distributors generally send individual bills to suppliers. These individual bills can also be part of a full
bill and are sent either by EDI, as a file, or in paper format. Incoming bills that have been checked
successfully are posted and paid together for performance reasons. An electronic payment advice
note containing information on the paid individual bills is created for the payments. The payment
advice note is sent to the distributor and forms the basis for tracking receivables. The German
Electricity Association suggests the use of EDI format REMADV in the German market, for example.
Payment
advice
note
(REMADV)
Read Execute Create
Triggeraggregated Execute
serviceprovider aggregated paymentadvice
A/Pposting paymentrun
agreement posting note Payment
advice
note
(paper)
Log
39
Rechnungsstellung und Zahlungsabwicklung
certain criteria into account when aggregating the individual bill amounts. You can only aggregate
individual bill lines if the following data is the same:
...
40
Rechnungsstellung und Zahlungsabwicklung
Preparation
...
1. If you use Contract Accounts Receivable and Payable as the posting module, define appropriate
external transactions for internal main transaction 4500 and subtransactions 0010, 0020, 0110,
and 0120.
(Customizing for Financial Accounting → Contract Accounts Receivable and Payable →
Basic Functions → Postings and Documents → Document → Maintain Document
Assignments → Maintain Transactions for Industry-Specific Component Utilities)
2. Maintain the account determination for these transactions.
(Customizing for Financial Accounting → Contract Accounts Receivable and Payable →
Basic Functions → Postings and Documents → Document → Define Account
Assignments for Automatic Postings → Automatic G/L Account Determination → IS-U:
Define Acct Assmt Data Relevant to Main Transactions)
and
(Customizing for Financial Accounting → Contract Accounts Receivable and Payable →
Basic Functions → Postings and Documents → Document → Define Account
Assignments for Automatic Postings → Automatic G/L Account Determination → IS-U:
Define Acct Assignment Data Relevant to Transactions)
3. If necessary, define default values for the aggregated posting of incoming bills.
(Customizing for SAP Utilities → Intercompany Data Exchange → Payment Control →
Define Defaults for Aggregated Posting of Incoming Bills)
Execution
...
...
...
41
Rechnungsstellung und Zahlungsabwicklung
1. In the program specifications for creating the note to payee type, enter module
ISU_DEREG_PAYMEDIUM_DETAILS for your payment medium format and activate it.
(Customizing for Financial Accounting → Contract Accounts Receivable and Payable →
Business Transactions → Payments → Incoming/Outgoing Payment Creation →
Maintain Note to Payee Type for Payment Medium)
2. In Customizing for Financial Accounting under Contract Accounts Receivable and Payable →
Business Transactions → Payments → Incoming/Outgoing Payment Creation → Define
Payment Methods, define your own payment method and maintain the necessary data for the
responsible company code and bank determination. Also include this payment method in the
contract account of the billing party. This payment method is then specified for outgoing
payments as well as for incoming payments.
3. Select the Always Issue Payment Advice Notes field for your payment medium format in the
company code.
Customizing for Financial Accounting → Contract Accounts Receivable and Payable →
Business Transactions → Payments → Incoming/Outgoing Payment Creation → Define
Specifications for Responsible Company Code)
4. In Customizing for Financial Accounting under Contract Accounts Receivable and Payable →
Program Enhancements → Define Payment Medium Formats, define module
ISU_DEREG_PAYMEDIUM_31 for event 31 in the payment medium format.
5. If you want to print the payment advice note, define an application form, in which you use
payment advice note item DEREG_INFO with point of delivery data from form class
IS_U_CA_PAYMENT.
(In the SAP Easy Access Menu, choose Accounting → Contract Accounts Receivable
and Payable for Media Sales and Distribution → Print Workbench → Application Form →
Edit; transaction EFRM)
Define this application form in Customizing for Financial Accounting under Contract Accounts
Receivable and Payable → Basic Functions → Correspondence → Define Application Forms for
Correspondence (correspondence type ‘0006’: Payment Advice Notes)
If you want to use the payment advice notes for other payments, you must use the same
correspondence type and the same application form as for aggregated payments. In the
42
Rechnungsstellung und Zahlungsabwicklung
application, you use structure DEREG_INFO to decide which data to include in the
payment advice note. This structure only contains data for aggregated payments.
1. If you want to print the payment advice note define a SAP script form (for example,
F110_D_AVIS).
(Customizing for Financial Accounting → Accounts Receivable and Accounts Payable →
Business Transactions → Outgoing Payments → Automatic Outgoing Payments →
Payment Method/Bank Selection for Payment Program → Set Up Paying Company
Codes for Payment Transactions)
2. Define your own payment method in Customizing for Financial Accounting → Accounts
Receivable and Accounts Payable → Business Transactions → Outgoing Payments →
Automatic Outgoing Payments → Payment Method/Bank Selection for Payment Program → Set
Up Payment Methods per Country for Payment Transactions.
Select Use Payment Medium Workbench for the payment medium and define an appropriate
format (for example, DTAUS0). Allocate this payment method to the corresponding vendor.
Preparation for both areas (FI-CA and FI-AP):
...
1. Create a service provider agreement for outgoing payments for the distributor (deregulation
process REM_OUT).
(In the SAP Easy Access Menu go to Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
In the parameter configuration for the outgoing payment advice note, enter the value Full
Payment Advice Note for Aggregated Payment and set the Print Payment Advice Note
parameter.
{ If you want to print the payment advice note, enter the value X
{ If you want to send the payment advice note by EDI, leave the parameter empty
2. If you want to send a payment advice note electronically, define a data exchange process for
basic process EXPREMADV and set the INV_AVISTYPE parameter to C (FI-CA) or A (FI-AP).
(Customizing for SAP Utilities under Intercompany Data Exchange → Data Exchange
Processes → Define Data Exchange Processes; transaction SM34, VC_DEXPROC)
3. If you want to send a payment advice note electronically, add this data exchange process to the
service provider agreement of the distributor. For example, you can use data exchange format
REMADV, which is based on process module ISU_COMPR_PEXR2002_OUT. Alternatively,
you can define other data exchange formats and process modules for basic process
EXPREMADV.
(In the SAP Easy Access Menu go to Utilities Industry → Intercompany Data Exchange
→ Service Provider → Change; transaction EEDMIDESERVPROV02)
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes; transaction SM34,
VC_DEXBASICPROC)
4. Define a partner profile (transaction WE20) for the distributor with partner type SP.
In the SAP Easy Access Menu go to Tools → Business Communication → IDoc Basis →
Administration → Partner Profile (transaction WE20)
As the output parameter, add message category REMADV with message variant ISU and IDoc
basic type PEXR2002. Also add a recipient port.
43
Rechnungsstellung und Zahlungsabwicklung
Execution
You can send the payment advice note either in combination with a payment run or once the payment
run is complete. In a payment run, the (usually aggregated) open items from the contract account or
vendor account specified in the service provider agreement are paid and cleared.
Execution in Contract Accounts Receivable and Payable (FI-CA):
...
1. Execute a payment run and select the contract accounts for payment. Also define a suitable
variant for payment medium program SAPFKPY3. You send the payment advice note by EDI
from the payment medium program.
(In the SAP Easy Access menu choose Utilities Industry → Contract Accounts Receivable
and Payable → Periodic Processing → For Contract Accounts → Payment Run; transaction
FPY1)
2. Once the payment medium program has been executed, you can print the form from the
corresponding service provider agreement. You must also execute a correspondence run for the
Payment Advice Note correspondence type.
(In the SAP Easy Access menu choose Utilities Industry → Contract Accounts Receivable
and Payable → Periodic Processing → For Contract Accounts → Correspondence → Print;
transaction FPCOPARA)
Execution in Accounts Payable Accounting (FI-AP):
...
1. Execute a payment run (transaction F110) and select the accounts payable for payment.
(In the SAP Easy Access Menu choose Accounting → Financial Accounting → Accounts
Payable → Periodic Processing → Payment; transaction F110)
2. On the Printout/Data Medium tab page, in the Lists group frame, define a suitable selection
variant for program ISU_DEREG_REMADV (for example, limit to certain payment methods).
When you start the actual run, select the Create Lists field.
You send or the payment advice note by EDI or print it in program ISU_DEREG_REMADV.
Note
• An IDoc from structure PEXR2002 is used to send payment advice note by EDI. This IDoc has
been used to send payment advice notes in Accounts Payable Accounting since SAP Release
4.0B. Therefore, the IDoc contains the same logic and the corresponding content.
Also, the structure contains all of the necessary fields required to create the EDIFACT format
according to VDEW regulations.
• You can maintain the IDoc using function module ISU_COMPR_PEXR2002_OUT. This module
serves as a copy template for customer-specific modifications. You define customer-specific
modules for basic process EXPREMADV in Customizing:
(Customizing for SAP Utilities → Tools → System Modifications → User-Defined
Enhancements for IDE → Define Data Exchange Basic Processes)
• In Contract Accounts Receivable and Payable (FI-CA), you can send the same payment advice
note as often as you want by restarting the payment medium program for the same parameter.
• In Accounts Payable Accounting (FI-AP), you can only send a payment advice note once by
EDI.
44
Rechnungsstellung und Zahlungsabwicklung
If you restart program ISU_DEREG_REMADV, the payment advice note is printed and
not sent, even if this does not conform to the service provider agreement.
• You must enter the external number of your own service provider (supplier) and of the
distributor for identification purposes.
• You can monitor the progress of the payment advice note in Monitoring.
You can find the Monitoring of Data Exchange Tasks transaction in the SAP Easy Access
Menu under Utilities Industry → Intercompany Data Exchange → Data Exchange
Processes → Monitoring (transaction EDATEXMON01)
45
Rechnungsstellung und Zahlungsabwicklung
7.1.1. Prerequisites
You must make the necessary Customizing settings before you can enter bill or payment advice note
data.
46
Rechnungsstellung und Zahlungsabwicklung
47
Rechnungsstellung und Zahlungsabwicklung
Once you have saved the payment advice note document, both it and the corresponding payment
advice note are assigned the status New.
Once you have completed the first payment advice note document, you can enter a new payment
advice note directly (New Object).
48
Rechnungsstellung und Zahlungsabwicklung
• Display references
You can allocate references to a documents. For example, when you generate a document
from an IDoc, you can add an IDoc reference to the document. You can then choose Display
Reference to display the IDoc.
You can also use references to generate follow-up documents (complaint documents, for
example) that are linked to the original document by means of the references.
• Creation data
The creation data shows who created the document and who last changed the document.
• Display internal bill/document number
The display for the internal bill/document number is only relevant for SAP (to determine errors,
for example).
• Process bill/payment advice note data
This function triggers the processing of the current document data. It includes the following
steps:
o Identification of header data
You can use the header data identification to determine the sender and the recipient
of the bill by means of the bill data. You can reprocess the bill data if necessary.
o Identification of document data
You can use the document data identification to determine the point of delivery and
the business partner. Any problems that occur are logged and can be solved by
reprocessing the data. Reprocessing the bill data triggers a new identification.
o Check before information is copied
The bill data check before the information is copied ensures that all the basic checks
are executed (for example, do I supply energy to this customer?). Any messages
(errors, warnings, or information) are recorded in a log file. You can reprocess the bill
data if necessary. If you do reprocess the data, the entire process is restarted.
If the check is successful, the next process is triggered.
o Copying information
In this step, additional information, such as account assignment data, is copied from
the bill to SAP IS-U. Any messages that are issued are recorded in a log file. You can
reprocess the data if necessary. If you do reprocess the data, the process of bill
receipt processing is restarted.
o Check after information is copied
The bill data check after the information is copied ensures the content checks are
executed (checking the end amount, for example). Any messages that are issued are
recorded in a log file. You can reprocess the bill data if necessary.
If the check is successful, the next process is triggered.
o Data transfer
The bill data is transferred in order to prepare the bill data for posting to IS-U. If the
data is transferred successfully, bill receipt processing is complete.
The process is logged for every step and the document status is adjusted accordingly.
49
Rechnungsstellung und Zahlungsabwicklung
Y es Y es Y es
>Check Copy
Postprocess Identif ied? Check
passed? successf ul?
bill data passed?
No
No No No
Y es
Trnsf r
data
Posting and
Log
Py mnt relev ant
data
50
Rechnungsstellung und Zahlungsabwicklung
51
Rechnungsstellung und Zahlungsabwicklung
• Transferred
The document data was transferred successfully for subsequent processing.
• Completed
Processing has been completed.
The following table shows which actions you can execute in the dialog for which initial status:
52
Rechnungsstellung und Zahlungsabwicklung
Initial Status / Action Process Data Status: Status: Reset Status: Set Status: Set Status: Set to
Release to to For To Be
Manually Completed Complaint Reversed
New Yes X Bill only Bill only
To Be Reversed No
Reversed No
Transferred No
Completed No
53
7.4. Authorizations
It is also necessary to take the authorization checks into account in relation to bill processing and bill
display. In addition to using the relevant transaction codes, you can also use authorization object
E_INV_DOC to carry out the authorization checks. The following parameters are used to control this
authorization object:
• INV_ACTIVT
Action to be executed. The following allocations apply:
{ 1 - Display
{ 2 - Change
{ 3 - Create
{ 4 - Delete
{ 5 - Complain
{ 6 – Start Processing
{ 7 – Change Status
{ 8 – Release Manually
• BEGRU
Authorization group defined in bill document or payment advice note.
• INV_RELLVL
Release level of document. This is only taken into account for the Release Manually action.
• INV_INBTYP
Bill receipt type (fixed value):
{ Receipt by IDoc
{ Manual entry
{ Receipt by BAPI
{ Generated automatically
• INV_INVTYP
Bill/payment advice note type (Customizing)
• INV_SENDER
Bill/payment advice note sender
• INV_RECEIV
Bill/payment advice note recipient
Bill and Payment Processing
8. Appendix
8.1. Function Modules for Processing Documents
8.1.1. Introduction
This section describes the standard function modules used to process documents. You can define
these function modules in Customizing:
(Customizing for SAP Utilities under Intercompany Data Exchange → Bill and Payment
Advice Note Processing → Make Basic Settings; transaction SM34,
VC_INVRCPT_CUST2)
(Customizing for SAP Utilities under Intercompany Data Exchange → Bill and Payment
Advice Note Processing → Define Process Control (Part 1); transaction SM34,
VC_INVRCPT_CUST)
(Customizing for SAP Utilities under Intercompany Data Exchange → Bill and Payment
Advice Note Processing → Define Process Control (Part 2); transaction SM34,
VC_INVRCPT_CUST3)
55
Bill and Payment Processing
56
Bill and Payment Processing
This module is a sample module that checks whether a deregulation scenario exists with valid
service provider agreements.
The following checks are made:
{ Does a deregulation scenario exist for the point of delivery?
{ Does the bill period lie within the validity period of the deregulation scenario?
{ Does a valid service provider agreement exist for the sender and recipient?
• Check point of delivery (scenario + agreement + installation) (ISU_DEREG_INV_CHECKB_050)
This module is a sample module that checks whether a deregulation scenario exists with valid
service provider agreements and a valid utility contract.
The following checks are made:
{ Does a deregulation scenario exist for the point of delivery?
{ Does the bill period lie within the validity period of the deregulation scenario?
{ Does a valid service provider agreement exist for the sender and recipient?
{ Do contracts exist for this deregulation scenario, in which the recipient is defined as
service provider?
{ Does exactly one contract exist with service type Supply (utility contract)?
{ Does the bill period lie within the validity period of the utility contract?
Run this module before the other check modules as the check modules are partially
based on the bill period.
57
Bill and Payment Processing
This module is a sample module that enters quantities for posting-relevant document lines with
budget billing amounts that have already been settled.
58
Bill and Payment Processing
This module is available as of SAP IS-U/CCS 4.72. It creates references to imported usage data
and profiles for bills and consumption billing. The references are characterized by the
corresponding data exchange tasks.
The module first checks whether the bill is an individual bill or an aggregated bill (bill
category), and whether the document is a bill document (document category).
If the check is successful, the system selects all data exchange tasks belonging to basic
processes IMPUSAGE and IMPPROFIL that lie within (or adjacent to) the bill period and
records them as references to imported usage data or imported profiles.
59
Bill and Payment Processing
Each budget billing request (line type 0009) is posted as a new, processable document in the
system. The dates specified at line level (start of period, end of period, due date) is copied to
the newly generated document at header level.
If you want to use information lines with other line types, you have to make the necessary
changes in the coding.
• Transfer data to table TINV_INV_TRANSF (ISU_DEREG_INV_TRANS_TRANSF)
This module is a sample module that transfers the transfer-relevant bill data
(TINV_INV_LINE_B) to the transfer table (TINV_INV_TRANSF). The transferred data forms the
basis for postings to accounting. All transferred document data, especially account assignment
data and tax data, must be complete and correct, as you cannot make any subsequent
changes.
• Print/Send Complaint Notification (ISU_DEREG_REMADV_CMPLNT_PRCSS)
This module is allocated to function group EE_DEREG_REMADV.
This function module is a sample module that processes complaint notifications. Based on the
settings in the corresponding service provider agreement, the complaint notification is either
prepared for correspondence print or it is sent by EDI.
60
Bill and Payment Processing
Data that is not copied includes the date of receipt, the bill/payment advice note date, and the
due date. This data is replaced by the current system date.
61
Bill and Payment Processing
Decision
File output
Complex
Process activity
Output
on paper
Database
table
Reference
to
Data store process
End of process
manual
entry/dialog
Read
data objects in
process flow
Call transaction
Manual
activity
Event
62
© Copyright 2003 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without
the express permission of SAP AG. The information contained herein may be changed without prior
notice.
Some software products marketed by SAP AG and its distributors contain proprietary software
components of other software vendors.
Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered
trademarks of Microsoft Corporation.
IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®,
OS/390®, OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere®,
Netfinity®, Tivoli®, Informix and Informix® Dynamic ServerTM are trademarks of IBM Corporation in USA
and/or other countries.
UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.
Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®,
MultiWin® and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World Wide Web
Consortium, Massachusetts Institute of Technology.
JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for technology
invented and implemented by Netscape.
MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One.
SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com, and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in
Germany and in several other countries all over the world. All other product and service names
mentioned are the trademarks of their respective companies.
63