Self Billing
Self Billing
The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help Portal.
Note
This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.
2015 SAP SE or an SAP affiliate company. 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 SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP SE
and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by
SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express
warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other
SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in Germany and other
countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
Table of content
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 1 of 22
Table of content
1 Self-Billing
1.1 Self-Billing Complete Process
1.1.1 Procedure for Inbound Processing
1.1.1.1 Self-Billing Monitor
1.1.1.2 Processing Inbound Self-Billing Documents
1.1.1.2.1 Verification Step
1.1.1.2.2 Processing Step
1.1.1.2.2.1 Starting the Processing Step
1.1.1.2.3 Tolerance Limit for Value Differences
1.1.1.3 Automatic Posting in Case of Differences
1.1.1.3.1 Automatic Posting Settings in General Parameters
1.1.1.3.1.1 Setting the Order Reasons
1.1.1.3.2 Condition Types for Automatic Postings
1.1.1.3.3 Customizing Checklist for Automatic Postings
1.1.1.3.4 Optional Default Customizing Settings
1.1.1.3.5 Differentiation of Value-Only and Value/Quantity Differences
1.1.1.3.5.1 Example of Differentiation of Difference Type
1.2 EDI Settings for the SD Self-Billing Procedure
1.2.1 Setting Up the EDI Partner
1.2.2 Determination of EDI Sold-To Party
1.2.2.1 EDI-Relevant Settings for the Vendor
1.2.2.2 EDI-Relevant Settings for the Partner
1.2.2.3 EDI-Relevant Settings for the Unloading Point
1.2.3 Making the Settings for Mapping in the EDI Subsystem
1.2.3.1 Table of Settings for Mapping in EDI Subsystem
1.2.3.2 Monetary Values in SD Self-Billing
1.2.3.3 The +/- Sign in SD Self-Billing
1.2.4 Processing for Self-Billing or Retro-Billing
1.2.4.1 Table of ACTION Codes to Control Self-Billing/Retro-Billing
1.2.5 Number of Deliveries (IDocs) per Transmission Number
1.2.6 Transmitted Conditions, Reference Numbers and Date Information
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 2 of 22
1 Self-Billing
Purpose
The SD self-billing procedure allows the customer to send self-billing documents to the vendor, stating the deliveries and amounts that are settled and paid.
Self-billing documents are usually transmitted electronically per EDI. The receiving system, that is, the vendor system, then compares the self-billing documents
with the deliveries and their receivables. If the transmitted values do not match those in the vendor's internal invoice, the system automatically creates a clearing
document, that is, a further SD invoice (credit or debit advice) that clears the difference between the values. If the value of such a clearing posting exceeds a
specific tolerance limit, the system can create a new open item for the difference amount.
Integration
The self-billing procedure is an integral part of processes between customer and vendor. The OEM generally sends the self-billing document after receiving the
goods, that is, after posting goods receipt. The amounts contained are based on already agreed conditions.
The following diagram shows the process flow and the integration of self-billing in the logistical chain:
( )
Features
You can use this function to process both normal self-billing documents and retroactive price change.
You can work with various delivery procedures:
standard deliveries
deliveries with external delivery note number (for example, external service agent)
deliveries that refer to an external order number (ESA, MAIS Pick Up Sheet, delivery order)
JIT deliveries with invoice for day's collective delivery note.
The system processes and evaluates self-billing documents, always keeping the reference to the original transmission (transmission-oriented processing).
The system compares the amounts transmitted with those in the internal invoice.
The system automatically posts value differences with reference to the internal invoice, thus assigning the document flow to the original transaction.
In case of differences, you can set the system to aditionally create new open items, according to percentage or absolute tolerance limits at delivery or at
item level.
You can analyze transmissions in the reporting tool.
Note
The settings detailed here refer to an SD coupling between 2 clients or 2 SAP systems.
Prerequisites
Vendor (SD)
You have created a material with the corresponding views (for example, Sales and Distribution).
You have created the customer master in your system.
You have created an SD scheduling agreement or order for this customer for the appropriate material, and entered the customer material and the partner
description in this scheduling agreement or order.
You have created an SD delivery and an initial billing document.
You have fulfilled the prerequisites for receiving self-billing documents per EDI. See also Self-Billing Procedure With EDI .
You have made the Customizing settings for the self-billing procedure. See also Processing Inbound Self-Billing Documents .
Customer (MM)
You have created a material with all relevant views.
You have created the vendor master in your system. In the vendor master, you have flagged the indicators GR-based inv. verif. and AutoEvalGRSetmt
Del.
You have created an MM scheduling agreement or a purchase order. Make sure that the indicators GR-based inv. verif. and AutoEvalGRSetmt Del. are
flagged in the purchasing document item. Your MM scheduling agreement must contain at least one schedule line, at least one of which is issued.
You have fulfilled the prerequisites for sending self-billing documents per EDI.
Process Flow
1. The vendor creates a delivery with reference to the SD scheduling agreement/order in his system.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 3 of 22
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
The vendor creates a delivery with reference to the SD scheduling agreement/order in his system.
The vendor posts goods issue of the delivery.
The vendor creates an initial billing document, which he does not send to the customer.
The customer receives the materials and creates a goods receipt with reference to the delivery note number in the MM module.
The customer creates a self-billing document for the goods received, using the MM ERS functions. Make sure that you use the document selection LI .
The customer transmits the self-billing document to the vendor "per EDI" (in this case: ALE). The document must include a number that the system can use
to directly or indirectly determine an SD document number (for example, the SD delivery.)
The vendor system reads and checks the transmission, which can contain several IDocs and therefore several deliveries.
The vendor initiates processing of the transmission, in which the open value from the internal invoice is compared with the value in the self-billing document.
If the values match, an external reference number is updated in the billing (FI) document.
If the values do not match, the system automatically posts all differences, debit or credit, depending on the +/- sign. It assigns a reference number to all
documents that are assigned to the delivery. The reference number is used later to post receipt of payment. If you have set a tolerance check, the system
creates no open items unless the tolerance levels are exceeded. If the tolerance levels are exceeded, the system creates new open items. However, these
are not assigned a reference number. Unless tolerance checking is set, the system creates new open items for every clearing entry. To set the system to
create no new open items, you must activate a tolerance group, in which the tolerance check is explicitly switched off (that is, the Check limits field is not
flagged.)
Integration
The vendor receives the self-billing document, then processes it in the verification step and the processing step. The vendor then deals with any differences that
occur between transmitted and recorded data.
Features
Process flow of verification step
Start and process flow of processing step
Tolerance limit for value differences
Prerequisites for EDI
Self-Billing Monitor
Settings and procedures in case of differences.
Features
You can find the Self-Billing Monitor under
the Self-Billing Monitor you can
Logistics
Sales and
Distribution
Billing
Billing
Document
. In
Display transmissions by specific selection criteria. You can select lists of transmissions
that have to be started manually
that are waiting to be processed (for example, waiting until the time period during which processing is permitted)
for which processing is delayed (for example, because of an error situation in the system job management)
that are currently being processed
for which processing ended with errors
for which processing ended without errors
that contain deactivated transmissions (for example, because the transmissions were transmitted double)
For more details on each criteria, see the field help in the application.
Display transmissions at delivery and material level showing the transmitted data and the corresponding data in your SAP system (for example, transmitted
values vs. open values)
Start transmissions manually from the list
Display error messages from verification and processing steps, and edit errors in the list
Display the quantity and value differences and any new open items that result from processing
Deactivate specific data records (IDocs) in the list of deliveries that cannot be processed due to unrectifiable errors that occurred in the verification step
Set the processing indicator in the list of transmissions, for those transmissions that ended without errors.
Note
A transmission for which the processing indicator has been set is no longer displayed in the counter for the category Processing ended w/o errors the next
time you call up the Self-Billing Monitor.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 4 of 22
Prerequisites
You have made the settings required for EDI processing. See also EDI Settings for the SD Self-Billing Procedure .
You have made the settings for the self-billing procedure in the Self-Billing Monitor (
Logistics
Sales and Distribution
Document Self-Billing Procedure (Automotive)
):
Under
Settings
Billing
Billing
if required, the time delay for the transmission number (this is normally only used for test purposes, where the external transmission number is created from
the date)
if required, the permitted time period during which processing can be started (for example, only during the night, to maintain system performance)
the order reasons, document types and item categories for automatic postings or open items
Under
Settings
, you have set the processing parameters for the EDI partner
Settings
, you have defined tolerance groups for creating new open items.
You can create a tolerance group with a blank key, so that this group is used as a default whenever the Tolerance group field is left blank in the sold-to party
parameters. In this way, a check is always carried out with the parameters you specified.
Under
Settings
,, you have set the processing parameters for the sold-to party
Settings
, you have entered tolerance limits for your tolerance groups and activated the limits by choosing Check limits .
( ) If you do not want the system to create any open items automatically, create a tolerance group in which all checks are deactivated. The system will never
create new open items where this tolerance group is used.
Features
Inbound transmissions must initially be split into individual IDocs by the EDI subsystem , each IDoc representing a delivery. These IDocs are transferred to the
SAP system to be processed further:
Verification step
Receipt of the first IDoc triggers creation of a transmission in the SAP system. All subsequent IDocs are added to this transmission, until a specific target quantity
of IDocs is reached, or the transmission is closed (see also Starting the Processing Step ). In this way, the separate IDocs of the self-billing document are
grouped together again in the vendor's SAP system.
The system then checks the data received, by assigning the number transmitted by the customer to a sales document (delivery or delivery confirmation) in the
SAP system. The verification step comprises of this reading and assignment of data.
Processing step
In this second step, the system compares the quantity and value transmitted for the delivery to the quantity and value contained in the internal invoice in the SAP
system. For differences in value, the system automatically creates clearing entries. You can use the tolerance limit to set the system only to create new open
items from a certain difference amount upwards. If a new open item is created, its value is equal to the value of the clearing entry.
Integration
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 5 of 22
Data that has been read and set as without errors in the verification step is ready to proceed to the processing step. There, the system compares the quantities
and values in the self-billing document with the quantities and values in the current billing document. The system always updates the reference number in the
current SD and FI billing documents. In the case of value differences, the system automatically carries out clearing postings.
Features
The system reads the individual IDocs received from the EDI subsystem. The first IDoc creates a transmission.
The system checks that all the mandatory fields are filled in the IDoc. Mandatory fields are fields such as quantity and value, plus the EDI partner, the
inbound parameters for the EDI partner and the number for delivery determination. See also EDI Settings for the SD Self-Billing Procedure .
The system assigns the number transmitted for delivery determination to a delivery in the SAP system.
Note
The number for delivery determination might be the delivery number from the supplier's own system, or any number with which the delivery can be uniquely
identified (for example, an ESA delivery number). You make these settings in the Self-Billing Monitor under
Settings
Maintain Sold-To Party Parameters
.
If the system finds no corresponding SAP delivery, the verification step reports an error in delivery determination.
If the system finds a corresponding SAP delivery, it assigns the material transmitted (the customer material number) to a material in this delivery.
The system determines the customer name in the SAP system.
The system determines the transaction currency (from the initial billing document for the delivery) in the SAP system.
The system determines how the processing step is started. The processing step can be started either automatically, or manually via the Self-Billing Monitor.
You make these settings in the Self-Billing Monitor under
Settings
Maintain EDI Partner
. See also: Starting the Processing Step .
Result
When the transmission is ended or the processing step is started, the next inbound IDoc automatically causes a new transmission for the EDI partner to be
created. This and any subsequent IDocs remain in the verification step until the transmission is again ended, or the processing step is started for the
transmission.
In the Self-Billing Monitor a counter indicates, whether errors have occurred during the verification step (such as no delivery being found in the SAP system, or a
similar assignment error). By double-clicking on this number, you can display the long text of the error message.
Note
If you double-click on the long text, the system will display detailed information on the cause of the problem and how to deal with it.
Either:
The cause of the error can be removed by editing the transmitted data. In this case, you select the error message, then choose Change data .
The error cannot be corrected by editing. In this case, you can deactivate the original data (the IDoc) in the list of deliveries, so that it is excluded from the
processing step.
Features
The system compares the quantity transmitted with the quantity in the delivery.
The system compares the value transmitted with the value in the billing item.
The system checks the tolerance limit. The user can define a tolerance limit either for the whole delivery or for specific items. If the variance of the values
exceeds the tolerance limit, the system creates a new open item directly from the clearing entry. For any variance that is lower than the tolerance limit, the
system simply makes a clearing entry. Automatic clearing entries and open items always have the same value, but opposite +/- signs (debit/credit.)
IDocs, to which the same delivery number can be assigned, are grouped together during processing, so that the internal invoice amount still matches the
transmitted amount. However, this is only the case if you set it in the Self-Billing Monitor under
Settings
Maintain Sold-To Party Parameters
by
flagging the Group deliveries indicator.
If the same material occurs several times in a delivery, they are always grouped in self-billing (both in value and quantity).
Result
After the verification step, the situation between the billing document and the automatic clearing entries on the one hand, and the transmitted data on the other
hand, is always balanced. All of the documents contain the reference number transmitted by the customer.
New open items never have a reference number. The system displays a row of question marks ( ?_?_? ) in the Reference number field, so that, when it is
displayed in the debitors item list in FI, the user can easily see that this is an automatically created open item from self-billing.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 6 of 22
Features
Manual start of processing
You start processing manually from the Self-Billing Monitor. You access the list of transmissions designated for manual processing, and select the
transmission that you want to process. You can only ever manually start processing for one transmission at time.
Automatic start of processing
You have various options for starting processing automatically:
Start automatically without checking for incorrect records (only the IDocs without verification step errors are processed)
Start automatically if all records correct
You can also specify what triggers the automatic start:
Automatic start when target number of IDocs reached
Here, the total number of IDocs included in the transmission must be transmitted by the EDI subsystem to SAP inbound processing. The system tracks the
number of IDocs transmitted and starts processing when the target number is reached. In this case, no delay time is required.
The EDI sub-system must set the target number of IDocs in the last IDoc to be created, in the segment/field E1EDS01/SUMME, with qualifier 028. See also EDISettings for the SD Self-Billing Procedure .
Automatic start when transmission is ended
Recommendation
Here, the IDoc transmission is ended by the automatic start of processing. The automatic start is triggered when the delay time has run out. Is it assumed that
all IDocs for a transmission have been received by the end of the delay time.
For example, if a transmission is created at 6pm and the delay time is 6 hours, then the first IDoc (the IDoc that created the transmission) schedules a job for
the verification step at 12am. That is, at 12am the transmission is ended and processing is started (change from status A to B). Once a transmission has
changed from status A to B, the next inbound IDoc creates a new transmission.
SAP recommends to only use the option with time delay if the option with the target number is technically not possible.
However, you can still specify a period of time during which processing is permitted for automatic and for manual processing. You do this in the Self-Billing
Monitor, under
Settings
Maintain General Parameters
. This enables you to plan processing for a time at which system performance is less critical (for
example, between 12am and 6am). If you do this, scheduled jobs are put to the next possible date/time.
Activities
1. If required, enter a permitted time period for start of processing under
Settings
Maintain General Parameters
.
2. Specify whether processing is manual or automatic under
Settings
Maintain EDI Partner
.
3. In case of automatic processing, set whether the start of processing ends the transmission, or whether the system starts processing when the target number
of IDocs is reached.
4. If you have set automatic processing and that the system starts processing when the target number of IDocs is reached, you must make the corresponding
settings in the EDI sub-system.
5.
( )
Check with the person responsible for the EDI subsystem if the IDoc counter data can be delivered. It suffices if the data is written into the last IDoc that the
subsystem sends to the SAP system.
6. If you have set automatic start of processing and that start of processing ends the transmission, you must also specify a delay time.
7. If you have set manual start of processing, go to the Self-Billing Monitor and access the list of transmissions for manual start, then select the transmissions
to be processed. Choose Start processing step . If you are currently within the permitted time period, the transmission is processed immediately in the
background. Otherwise, a time is planned for starting within the permitted time period.
Result
After processing, the processing status changes to either processed with errors (C) or processed without errors (D).
If errors occur during processing, this is indicated by an entry in the list of deliveries. A on a green background = OK, B or blank on a red background = error.
This gives you detailed information on the errors and, where appropriate, a solution suggestion.
Note
If any IDocs still show errors from the verification step at the start of the processing step, they are not put through the processing step.
This is indicated by a number greater than 0 in the NoErrors (number of errors) field and a 0 in the Pro (processing progress) field - zero here signifying that
the transmission has been through the verification step but not the processing step.
Page 7 of 22
Features
Various tolerance groups can be defined and one can be assigned to the customer
Absolute and/or percentage values can be set in the tolerance group
Tolerance limits can be set at delivery and/or delivery item (material) level
Tolerance groups can be assigned per sold-to-party. For each sold-to party, you can define a separate tolerance group with separate tolerance limits
A new open item is posted if the tolerance limit is exceeded. This new open item contains the order reason, that is, the reason for which the item was
created.
Activities
1. Starting from the Self-Billing Monitor (
Logistics
Sales andDistribution Billing BillingDocument Self-Billing Procedure (Automotive)
), choose
Settings
Maintain General Parameters
and enter the SD billing document types (for CMR or DMR) and item categories to be used for automatic
postings.
2. Under
Settings
Maintain Tolerance Groups
, create a tolerance group by choosing New Entries . Enter a name and description for the tolerance
group.
3. Choose Save .
4. Under
Settings
Set Tolerance Check
, define the absolute and/or percentage tolerance limits for your tolerance group, by choosing Percent. or
Abs. Tolerances .
5. Choose New Entries , and enter the following data:
Enter a sales organization and your tolerance group.
Specify the upper and lower tolerance limits per delivery and/or material, and select Check Limit .
Save your entries.
6. Under
Settings
Maintain EDI Partner Parameters
, assign the tolerance group to your sold-to party and save.
7. Under
Settings
Maintain Sold-To Party Parameters
, specify the SD condition type you want to use to post automatic value differences and new
open items. SD revenue account determination uses this information to decide which account to make a posting to.
Prerequisites
You must have specified the document types and order reasons and, if required, item categories, that the system is to use for automatic postings. See also
Automatic Posting Settings in General Parameters .
You must have made the appropriate settings in Customizing for Sales and Distribution. See Customizing Checklist for Automatic Postings .
Process Flow
Technically speaking, the automatic postings are created via normal SD documents in the background. Firstly, the system creates a credit or debit memo request
(technically via an SD order document). This is then immediately converted into an SD billing document, that is, a credit or debit memo.
( ) The system ignores any billing blocks that are set for the document type. Conversion to billing document occurs immediately regardless of billing blocks.
The system differentiates between postings that are relevant only for value and postings that are relevant for both value and quantity. Certain SD settings enable
the system to process the value-only postings (for example, item categories or order reasons) correctly.
See Differentiation of Value-Only and Value/Quantity Differences .
Result
The system automatically creates clearing postings and new open items for differences, according to the settings you have made in Customizing for self-billing
and for Sales and Distribution.
Page 8 of 22
Purpose
In order to enable automatic posting in case of differences, you must set the document types and order reasons for the different types of posting and difference.
You can also specify item categories.
Process Flow
Starting from the Self-Billing Monitor, under
Settings
You must set a document type and order reason for each combination of criteria.
You can also specify an item category. If you do so, the system directly uses the item category specified here, ignoring the item category determination that would
normally take place for the credit or debit memo request. Otherwise, you must adjust the standard item category determination accordingly.
The document types and item categories that you set here always refer to the request document that corresponds to the transaction, in the list of SD order types
available in the system .
Prerequisites
You have either:
copied from client 000 SAP's order reasons delivered specially for the SD self-billing procedure
defined your own order reasons for SD self-billing, making sure to set the Usage of order reason for retro-billing as shown in the table below.
Process Flow
You set the order reasons in the general parameters, under Settings Maintain General Parameters in the Self-Billing Monitor.
These are the suggested settings, using the example order reasons from client 000:
Transaction in General Parameters
Order reason
VBI
difference
(quantity/value)
difference
VOI
QOI
difference
*Usages of order reason for retro-billing1 = Request or credit/debit memo is for self-billingThis processing type is assigned to the order
reasons used for transactions that are relevant to value only. In the retro-billing process, documents with these order reasons are included in
calculating the total value, but no new price determination is carried out. 2 = Credit/debit memo is for retro-billing in case of price changeThis
processing type is assigned to the order reasons used for transactions that are relevant to value and quantity. In the retro-billing process, a
new price determination is carried out for documents with these order reasons. A new price determination is always carried out for billing
documents (the initial billing document in self-billing) in retro-billing.
( ) You must ensure that the self-billing order reasons are not used for any other normal postings, if you want to use the order reasons to identify documents
from automatic SD self-billing. The verification step checks if the settings in the order reason are correct.
Prerequisites
You must do one or both of the following:
use the suitable condition type available as standard in the SAP system, PDIF . This is contained in the standard pricing procedure RVAA01 .
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 9 of 22
define your own condition type(s). You must make sure that the condition type is the last price-relevant condition in the pricing procedure. Otherwise the
system will not use the correct value in the automatically created documents.
Process Flow
You set the condition type used to post difference values per sold-to party under
Settings
This condition type will be used to post all difference values, both for difference clearing entries or for automatic new open items. The system uses the condition
type to determine the account, to which the values are posted.
Example
Document
Condition
Value
Revenue acct
Name
Price
+100.-
800000
Inland revenue
10% discount
-10.-
800020
-5.-
800099
10 pieces of material costing 10 dollars per piece are delivered to a customer. The customer also gets a 10% discount. The net item value is therefore 90 dollars.
In the self-billing document, 10 pieces are shown with a net value of 85 dollars.
Since value determination in the self-billing procedure does not depend on the individual price components but on the net values, the difference amount cannot be
split up into the condition types used in the initial billing document. Therefore, the difference amounts are posted with a special condition type. This ensures that
separate revenue accounts can be used for all differences from self-billing. The same applies for clearing postings and new open items.
Checklist
Customizing setting to be checked
Delivery-related billing types in the order types used
Location in Customizing
Sales and Distribution
Sales Document Header
Notes
Sales
Sales Documents
Types
As above
Sales and
Documents
Documents
Distribution
Billing
Billing
Sales Document
Here, you check that copying control exists for the billing
type for the initial billing document to the credit/debit memo
requests. The example shows the assignments that
should be made if you use the new credit and debit memo
requests for F1 and F2 billing documents:
Example:
G2 -> L2
(F2 -> G2WT)
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 10 of 22
F2 -> L2
(F2 -> L2WT)
F1 -> G2
(F1 -> G2WT)
and so on.
It is not necessary to make these settings unless you use
G2WT and L2WT.
Copying Control: Billing Document Sales Document
As above
(Item)
Sales and
Documents
Distribution
Billing
Billing
Maintain Copying Control for Billing
Documents
Billing Document
Example:
Tgt bill. type Srce order type
G2 G2WT
L2 L2WT
For each combination, only the necessary entries for the
item categories G2WT and L2WT are shipped as standard.
The target item category is ____ (blank) so that it is
adopted directly from the appropriate request document.
These settings are not required if you do not use the new
document types G2WT and L2WT.
Features
Sales document types
Credit memo request for transactions relevant only to value: G2WT
Debit memo request for transactions relevant only to value: L2WT
Item categories for value-only items
G2WT for credit memos
L2WT for debit memos
Item category assignment
Order type
Item usage
ItemCat-HgLvlItm
Item category
G2WT
NORM
G2WT
L2WT
NORM
L2WT
Source
Target
Transaction
Document type
Item category
Document type
Item category
F2
LZN
G2WT
G2WT
F2
LZN
L2WT
L2WT
F2
TAN
G2WT
G2WT
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 11 of 22
F2
TAN
L2WT
L2WT
F1
LZN
G2WT
G2WT
F1
LZN
L2WT
L2WT
F1
TAN
G2WT
G2WT
F1
TAN
L2WT
L2WT
Source
Target
Transaction
Document type
Item category
Document type
G2WT
G2WT
G2
L2WT
L2WT
L2
Item category
(that is, including copying control at the level of the item categories G2WT and L2WT.)
Prerequisites
The ACTION codes must be set correctly. See Table of ACTION Codes to Control Self-Billing/Retro-Billing .
The item category set for value-only differences in the General Parameters must be an item category that has been defined as a "value item" in
Customizing for Sales and Distribution. You do this by setting the value A (value item) in the Item type field. See also Automatic Posting Settings in
General Parameters .
The item category determination for the two new "value" document types, G2WT and L2WT, must be set so that the two new item categories G2WT and
L2WT are found and used in all possible cases.
Note
If you use the standard document types G2 and L2, the document types must be set for the request documents under
You have two alternatives
Settings
General Parameters
1. You set G2/L2 for both quantity-only and quantity/value postings. In this case, item categories are necessary, so you must enter the item categories for
value-only transactions (G2WT and L2WT) in the item category assignment, so that they are allowed for the document types G2 and L2.
2. You set G2/L2 and G2WT/L2WT respectively. In this case, the system finds the correct item categories via item category determination.
You must set the system so that when a G2WT or L2WT request document is created for an initial billing document, the value-only item categories are set
and used for all possible item categories in the target document.
Process Flow
For an example of the settings required and the process flow, see Example of Differentiation of Difference Type .
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 12 of 22
SAP has shipped two new SD item categories as examples for value-only items in credit/debit memos: G2WT and L2WT (based on the standard item categories
G2N and L2N.) The most important parameters in these item categories are:
Item type: A (value item)
Billing relevance: Order-related billing document.
Item category assignment
Since the two order document types G2WT and L2WT are new, settings must be made for them in Customizing for item category assignment (see also
Customizing Checklist for Automatic Postings .)
The following entries have been made as an example:
Sales doc. type
G2WT
NORM
Item usage
ItemCat-HgLvlItm
Item category
G2WT
L2WT
NORM
L2WT
If a credit or debit memo request is created with document type G2WT or L2WT and the corresponding material is controlled by item category group NORM, the
system automatically determines the new item category for a value-only item.
If you have detailed differentiations (such as further item category groups) you must also make the approriate entries and assign the item categories G2WT and
L2WT for these. You must set all item category determinations so that the document types G2WT and L2WT all lead to item categories G2WT and L2WT.
Activities
You make the settings for the EDI/IDoc environment under
Tools
Business Communication
IDoc
IDoc Basis
IDoc.
The basic EDI settings for the Automotive enhancement to SD self-billing are:
Logical message
SBWAP
SBAP
IDoc type
GSVERF01
( ) this IDoc GSVERF01 and the SD self-billing inbound processing are designed for a ratio of 1 IDoc to 1 delivery note .
This means that the EDI subsystem has to split up the data so that one IDoc contains the data of one delivery. The IDoc GSVERF01 is not designed to contain
the whole transmission.
Process Flow
You set the partner profile in EDI Basis and the inbound parameters in the application.
Under
Tools
Business Communication
IDoc
Partner Profile
Partner number: 999999999 (number from the customer master that represents the EDI partner)
Partner type: KU (customer)
Note
Partner type LS (logical system) can also be used for test purposes.
Partner function: AG (sold-to party) , RG (payer) or blank
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 13 of 22
Note
Immediately can also be used, but strictly for test purposes: this setting could bring a productive system to a standstill, because the processing of each
IDoc would be sent to a dialog process of the application server.
Under
Logistics
Sales and Distribution Billing
Billing Document
Self-Billing (Automotive)
Settings
for the EDI partner specific to the SD self-billing procedure. See also: Processing Inbound Self-Billing Documents .
Integration
The settings made in table T661W are the same as those used for processes other than SD self-billing, for example, inbound delivery schedules.
Prerequisites
The sender must transmit a vendor number.
The sold-to party must be entered in the table T661W in Customizing for Sales and Distribution, under
Sales
Sales
Documents
Scheduling
Agreements with Delivery
Schedules
Control EDI Inbound Processing Execute Sold-To Party Assignment for Release Orders
.
You must make the required system and IDoc settings for the sold-to party (Basis IDoc settings and SD self-billing settings) as described below.
Features
The system determines the sold-to party for the EDI transmission. It takes the information from the EDI transmission:
vendor number (mandatory)
partner description (optional)
unloading point (optional)
and uses this information to look for an entry in the table T661W. If a suitable entry is found, the system takes the sold-to party to be used for further processing of
the transmission.
Activities
You carry out the following to enable determination of sold-to party:
EDI-Relevant Settings for the Vendor (mandatory)
EDI-Relevant Settings for the Partner Description
EDI-Relevant Settings for the Unloading Point .
Application-specific settings for the sold-to party inbound parameters. See also Processing Inbound Self-Billing Documents .
Prerequisites
The sender transmits the vendor number used to refer to you as vendor in the sender system (vendor number at sender.)
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 14 of 22
Procedure
1. Enter the vendor number at sender in the customer master:
-> in the Account at customer field in the Sales area data: Orders view
-> in the Account at customer field in the Company code data: Correspondence view.
2. When mapping the IDoc GSVERF01, enter the vendor number at sender as follows:
-> in the segment E1EDKA1
-> for partner usage "LF" PARVW = LF
-> in segment field PARTN = 0000012345 (example)
( ) With numbers that consist exclusively of numerical values, zeros may be inserted before the number, as shown above. If this is the case, the
number must be entered with these extras zeros in the Account at customer fields and in the table T661W (see also: Determination of EDI Sold-To Party .)
Prerequisites
The sender transmits a partner description in the self-billing documents.
Procedure
1. Enter the partner description in the customer master for the goods recipient.
2. When mapping the IDoc GSVERF01, enter the partner description as follows:
-> in the segment E1EDKA1
-> for partner usage "WK" PARVW = WK
-> in segment field PARTN = 0001 (example).
Prerequisites
The sender transmits an unloading point in the self-billing documents.
Procedure
1. Enter the unloading point in the Unloading point field in the Shipping data section of the SD scheduling agreement.
2. When mapping the IDoc GSVERF01, enter the unloading point as follows:
-> in the segment E1EDKA1
-> for partner usage "AB" PARVW = AB
-> in segment field PARTN = A00012 (example).
Prerequisites
Each IDoc should only contain the data of one delivery. Both the GSVERF01 IDoc and the inbound processing are designed for one delivery note per
IDoc .
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 15 of 22
Process Flow
The EDI subsystem must give the transmissions to the ERP interface in such a form that one delivery is referred to per IDoc.
The examples that follow are based on the German standard VDA 4908 for self-billing documents. Other standards, like the ANSI 820, work in a similar manner.
You should regard the information as an example, and adapt it to your situation.
Standard VDA 4908
Record type 821
Unique data record for the transmission as a whole (external transmission number)
Contains the data for a self-billing document. Can occur one or n times.
Contains the data for a delivery note. Can occur one or n times in a record with record
type 822.
Contains the data for a delivery note item. Can occur one or n times in a record with
record type 823.
In the case of this common German standard, VDA 4908, the EDI subsystem must split up the transmissions so that one IDoc is created per record of type 823
(that is, per record that represents a delivery note.)
The basic data (e.g. transmission number, self-billing document number and date) contained in the record types 821 and 822, which are above 823 (the delivery)
in the VDA 4908 hierarchy, must be written redundantly in the appropriate fields and segments in each IDoc.
For an example of the actual mapping settings to be made for the SD self-billing procedure, see Table of Settings for Mapping in EDI Subsystem .
VDA description
4908
IDoc Segment/Qualifier lD or
GSVERF01
Identification
Comment
821
821
821
821
821
821 // 05
E1EDK02-BELNR
E1EDK02-QUALF = 077
Predecessor of current
transmission, no function directly
based on this at present.
821 // 06
E1EDK02-BELNR
E1EDK02-QUALF = 074
821 // 07
Transmission date
E1EDK02-DATUM
E1EDK02-QUALF = 074
821 // 04
Vendor number
E1EDKA1-PARTN
E1EDKA1-PARVW = LF
822
822
822
822
822
822 // 03
E1EDK02-BELNR
E1EDK02-QUALF = 073
822 // 05
Payment-due date
E1EDK03-DATUM
E1EDK03-IDDAT = 028
822 // 12
Currency
E1EDK01-CURCY
No qualifier / ID
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 16 of 22
E1EDK01-ACTION
005
006
2 convert to
007
No qualifier / ID
822 // 16
E1EDK02-QUALF = 076
823
823
823
823
823
823 // 03
E1EDK02-BELNR
E1EDK02-QUALF =
To Party .
See below for more information on
sales document determination.
E1EDKA1-PARVW = WK
823 // 04
Customer plant
E1EDKA1-PARTN
Unloading point
E1EDKA1-PARTN
E1EDKA1-PARVW = AB
824
824
824
824
824
824 // 03
Transaction/posting key
01 (Goods receipt)
E1EDK01-ACTION
091
No qualifier / ID
092
093
094
05 (Damages in transport)
99 (Misc.)
095
099
"indirect"
096
E1EDP19-IDTNR
Party .
824 // 04
E1EDP19-QUALF = 001
Note:
824 // 05
Delivery quantity
E1EDP01-MENGE
No qualifier / ID
824 // 06
Unit of measure
E1EDP01-MENEE
No qualifier / ID
824 // 09
E1EDP26-BETRG
E1EDP26-QUALF = 003
824 // 10
_: positive (or)
1: positive
2: negative
824 // 11
824 // 12
E1EDP26-BETRG
824 // 14
E1EDP04-MWSBT
E1EDP26-QUALF = 007
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 17 of 22
E1EDP04-MSATZ
825
825
825
(825 // 03)
825
825
Type of transmitted condition (4figure field)
Technical information: is stored
in VSBCON-KONART_T.
825 // 05
E1EDP05-ALCKZ(or E1EDK05)
825 // 04
Surcharge/reduction amount
E1EDP05-KOBETR(or E1EDK05)
E1EDP05-KRATE(or E1EDK05)
Condition amount.
Technical information: is stored
in VSBCON-KBETR_T (in
transaction currency) or in
VSBCON-KBETRRL-T (in
displayed currency).
E1EDP05-KPERC(or E1EDK05)
( )
Decimal points
If values with decimal places are transmitted to an IDoc segment field, they must be separated by a point. For example:
+/- sign
Transmitted value
positive
100,24
100.24
negative
50,78
-50.78
Use
Effect on EDI settings
The net value of the delivery note item must be transferred to the IDoc segment/field E1EDP26-BETRG with qualifier 003 .
The value-added tax amount is adopted from E1EDP04-MWSBT and stored internally.
Effect on processing/display in the Self-Billing Monitor
The Self-Billing Monitor displays values based on the net value of the delivery note item.
The Self-Billing Monitor displays the gross amount (value inc. tax), which is dynamically calculated from the net item value and the value-added tax amount.
( ) No values transmitted at delivery note header level are used in the SD self-billing processing. All such header values as are displayed in the Self-Billing
Monitor and lists are calculated from the values at delivery note item level.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 18 of 22
Use
This determines the type of processing as follows:
Positive value: The recipient of the self-billing document receives money from the sender
Negative value: The recipient of the self-billing document is debited by the amount transmitted ("debit memo").
You must therefore make sure that these values are transferred to the corresponding IDoc field with the correct +/- sign. The GSVERF01 IDoc has no specific
+ /- sign field . The +/- sign is always read together with the value fields (such as E1EDP26-BETRG.)
The +/- sign for the standard VDA 4908 (as used in the Table of Settings for Mapping in EDI Subsystem example):
As a rule, VDA 4908 value fields all refer to a specific +/- sign field, that contains the appropriate +/- sign key. Therefore, a value always has to be processed
along with its +/- sign information.
+ + sign (VDA +/- sign key 1)
=> the value is transferred to the IDoc segment field with no further editing
- - sign (VDA +/- sign key 2)
=> the value is transferred with preset minus sign to the appropriate IDoc segment field
Example:
Transmitted values
E1EDP26-BETRG -100.20
E1EDP26-QUALF 003
Note
Make sure that all monetary values are saved with the correct +/- sign as the monitor also displays other monetary values such as value-added tax and
condition rates.
Process Flow
The following are the various types of processing possible, numbered with reference to their listing in the table mentioned above.
1. Normal processing with quantity/value This is the standard type of processing, where a customer displays deliveries from a vendor using self-billing
documents. The vendor receives money.The system determines the corresponding SD document (delivery/current invoice or delivery confirmation if working
with the JIT call procedure), compares it with the transmitted data, and creates new invoice documents if required for value or value and quantity
differences.Depending on whether there is a difference only in value or also in quantity and value, the system automatically proceeds as follows: Value
difference When the quantity is correct, but the value is not, the system automatically creates a credit or a debit advice, depending on the +/- sign of the
difference. The value of this credit or debit memo position plus the value of the present billing item is then exactly the same as the value transmitted by the
customer. See also The +/- Sign in SD Self-Billing .In these purely value-relevant documents, the system always leaves the original transaction quantity
unchanged.You should make the appropriate settings to make sure that this quantity is set as not relevant for information system update, such as to the
Sales Information System, Business Warehouse or CO-PA. You do this by defining the relevant item categories and/or document types as "value items" in
Customizing. See also Differentiation of Value-Only and Value/Quantity Differences . Value and quantity difference When both value and quantity are
incorrect (the quantity difference usually causing the value difference), the system automatically creates a document for the difference amount, but in this
case the quantity for the document is the difference quantity.In this case, you should make sure that the quantity is set as relevant for information system
update, such as to the Sales Information System, Business Warehouse or CO-PA. Usually, you can simply use the original item categories for this
purpose. Normally, no extra Customizing settings are required.
2. Value-based clearing invoice without accessing SD Retro-Billing This type of processing assumes that the transmission explicitly states that it is a
clearing invoice, by referring to a transaction that has already been settled.If you know that the transmissions from this sender always deal exclusively with
value changes, then you should use this type of processing if:- you do not want quantities to be changed in your internal statistics update (SIS, CO-PA)
3.
( )
This might be the case if you know that quantity-relevant transactions, such as return deliveries, are never processing in self-billing.
- you are only using the automatic posting to bring the values into the system, so that they can be automatically cleared in FI on payment- you do not want to
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 19 of 22
use retro-billing functions to check that the values transmitted are correct
4. Value-based clearing invoice with accessing SD Retro-Billing As above, except that the invoices, which are already in the document flow for the
original delivery, are recalculated simulatively using the retro-billing functions. The system thus determines whether the amount transmitted agrees with the
amount calculated simulatively in your system.This processing type is advantageous if you have set the system to create new open items automatically
when a certain tolerance limit is exceeded. The tolerance check takes into account all postings with their +/- signs, so that no new open items are created
unnecessarily. For example, if both you and your customer have changed a price retrospectively, the amount becomes the same and the debit amount is
not interpreted as a difference.
5. Transaction not relevant for processing Certain combinations of ACTION codes are not supported. You should check such data and edit it manually if
necessary.It is technically possible to edit the ACTION codes in the Self-Billing Monitor, so that the transmission can be processed. However, you must
ensure that the processing type that results from this editing is the correct one.
1. Deactivation by system If you receive data that you definitively do not want to process, you can set the header ACTION code 007.The data record (IDoc)
is adopted into the transmission, but is immediately deactivated for further processing. This means that it can never into the processing step.
Caution
This setting, once made, cannot be manually undone.
( )
For example, in the case of VDA 4908 (as used in the Table of Settings for Mapping in EDI Subsystem ), you could set that the self-billing document type 2
(non-valuated goods receipt) is always converted into ACTION code 007, since this data is generally purely informative.
824//03
Here the self-billing document type key must be converted to the ACTION code at IDoc header level, the operation key to the ACTION code at IDoc item level.
See also: Table of Settings for Mapping in EDI Subsystem .
Together with the +/- sign, the ACTION codes determine whether the system interprets the transmission as self or retro-billing. The following table shows which
combinations of ACTION codes (at header and item level) and +/- sign lead to which type of processing.
ACTION- Code, header
+/- sign
Description
Type of processing
005
091
091
quantity/value
092
+/-
4908):
a.) With a - sign, this is actually a
clearing entry and should be
quantity/value
093
+/-
094
095
096
supported.
processing
099
006
006
091
092
+/-
(+)/-
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
processing
Page 20 of 22
093
095
quantity/value
as quantity-relevant corrections to
an already-processed goods
receipt, and are treated as a
normal advice.
006
094 (consignment)
+/-
006
096
+/-
processing
006
099
+/-
For more information on the different types of processing, see Processing for Self-Billing or Retro-Billing .
Prerequisites
The sender of the transmission assigns an external transmission number (in the standard VDA 4908 as used in the Table of Settings for Mapping in EDI
Subsystem , this is the record type 821)
Use of external transmission numbers must be indicated in the EDI Partner Parameters , under Settings in the Self-Billing Monitor.
The external transmission number must be entered in each IDoc created in the E1EDK02-BELNR segment/field with qualifier 074 .
Features
Inbound processing sees that the sender (partner number in the IDoc control record) and the external transmission numbers are the same, and so recognizes that
these individual IDocs logically belong together.
You can set the start of processing so that the system closes a transmission and begins processing the data when all IDocs for a transmission have been
received. You do this in the Self-Billing Monitor, under
Settings
Maintain EDI Partner Parameters
.
However, this can only work if the EDI subsystem has a counter that shows how many IDocs belong to a particular transmission. The number of IDocs created for
a transmission (for an external transmission number) must then be transferred to the IDoc segment field E1EDS01-SUMME with E1EDS01-SUMID = 028 . It is
sufficient if the EDI subsystem enters this in the last IDoc transmitted.
These prerequisites must be fulfilled in order to directly link the verification and processing steps, as described in Processing Inbound Self-Billing Documents .
Alternatively, you can use a fixed offset to schedule the processing step after the first IDoc created the transmission.
Process Flow
1. Conditions
Condition information for the document header must be set in the appropriate fields in the segment E1EDK05 .
Condition information on each material item should be in segment E1EDP05 .
These fields are detailed in the Table of Settings for Mapping in EDI Subsystem under 825 .
1. Reference numbers
Usually, several reference numbers are transmitted, for various purposes. The IDoc provides various segments and fields for this.
The significance of the reference number is always dependent on a "qualifier" field. You must ensure in mapping that the reference number adopted in a field
does in fact agree with the text for the qualifier. The system takes the following reference numbers from the IDoc into the list of reference numbers transmitted:
All numbers from the IDoc segment/field (IDoc header level)
E1EDK02-BELNR , with the qualifier entry from the same segment/field, E1EDK02-QUALF
E1EDK01-BELNR (no qualifier entry)
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 21 of 22
Note
How certain reference numbers are used subsequently in processing is set under
Settings
Maintain Sold-To Party Parameters
, in the Self-Billing
Monitor. Here you set, for example, which reference number is used for delivery determination, or which reference number is entered as the "main reference"
in the Financial Accounting item.
Date information
In a similar way to the reference numbers, date information can be saved for display later.
Again, the significance of the date information depends on a field (IDDAT), which describes the significance of the data. This identifier field has the same
significance as the qualifier fields.
The system takes the following date information from the IDoc into the list of date information transmitted:
All dates from the IDoc segment/field (IDoc header level)
E1EDK03-DATUM , with the IDDAT entry from the same segment/field, E1EDK03-IDDAT
All dates from the IDoc segment/field (IDoc item level)
- E1EDP03-DATUM , with the IDDAT entry from the same segment/field, E1EDP03-IDDAT .
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 22 of 22