SlideShare a Scribd company logo
1 of 3
Download to read offline
Pre-sorting Overview
Presorting key 0002 has been used by most of us while defining our schema in the Billing master
data. Most of us do know what a presorting key does but still we continue to use 0002 most of the
times. The idea of this post is to show how a different presorting key can affect the display of the line
items in an invoice, in other words the use of the appropriate presorting key should depend on the
business requirements. More on this can be found here.
First what a presorting key does? It groups together line items that are written by variants with the
same presorting key into one block. The blocks are then sorted based on the presorting key and
processed for invoicing. So pre-sorting keys are used for sorting the billing items before printing.
We can have a tax line items also generated and also have a subtotal as output (based on the
configuration) and we use them in billing schema. At least one block (generated by the presorting key)
should have subtotal as output because this is essential for bill print.
If you do not want to output the subtotals, you must deactivate the posting-relevant in the billing
schema for the basic billing lines. The billing simply generates the comparison or information bill lines.
If the subtotal is suppressed for posting-relevant billing lines, an invoicing error would
occur Difference for tax clearing too large. This is because the suppressed VAT does not match the
tax that was posted.
You can calculate a subtotal for information lines to output the tax too.
The configuration settings can be found here.

Customizing Path

The standard settings given by SAP are below.

©sapisurdg.wordpress.com
Standard SAP entries

So in my example rate I am using Presorting key
•
•

0002 Sort by Contract for Energy Price 000001 line item
0005 Sort by Device for IQUANT line item.

Below is the screenshot of the schema step showing the same!

Presorting key assigned in Schema

Now my example has 2 contracts having 2 devices. Rate is simple having just the QUANTI01 variant.
Idea is to check how the line item of 000001 and IQUANT get stacked up in the billing line items.

2 Contracts and 2 Devices

©sapisurdg.wordpress.com
As we can see below for line item 00001 having presorting key 0002 we have the sorted lines based
on contracts. We see additional line of ‘SUBT’ cause of the unchecked checkbox for ‘NS’. (Check the
customizing screenshot).
For IQUANT line item with presorting key 0005 we can see that the sorting has been done based on
the devices. No subtotal in this case has the checkbox had been checked. Point to note is that the
sorting happens
1. Based on the presorting key i.e. 0002 sorting happens before 0005. Groups are created with the
same presort key. These groups are listed alphabetically in the print document.
2. The sorting also takes care of the order in which the object is coming in. So contract 909 is before
910.Device 10004200 is before 10004201.
Groups are created within a presort key, according to VAT code. The VAT codes are listed
alphabetically in the print document. Billing lines without a VAT code are listed at the start of a bill
group. After each bill group, the VAT is calculated for the whole group and listed at the end.

Presorting Key in Action

Hope I could make my point clear. Anyways there are additional checks which can be done in this
customizing, probably subject for my next post on this topic. :)
If you need your own custom sorting technique check out function group E21J.
Cheers !! :D

©sapisurdg.wordpress.com

More Related Content

Viewers also liked

Moika - сервис для бронирование мест в автомойках (сайт, мобильное приложение)
Moika - сервис для бронирование мест в автомойках (сайт, мобильное приложение)Moika - сервис для бронирование мест в автомойках (сайт, мобильное приложение)
Moika - сервис для бронирование мест в автомойках (сайт, мобильное приложение)
Aibek Dunaev
 
Automated rock testing tracker
Automated rock testing trackerAutomated rock testing tracker
Automated rock testing tracker
Mir Mustafa Ali
 

Viewers also liked (18)

SAP ISU Validation Class : Comparison of n periods
SAP ISU Validation Class : Comparison of n periodsSAP ISU Validation Class : Comparison of n periods
SAP ISU Validation Class : Comparison of n periods
 
Franchise Contract
Franchise ContractFranchise Contract
Franchise Contract
 
Meter Reading Upload Interval :Used for uploading readings through IDocs
Meter Reading Upload Interval :Used for uploading readings through IDocsMeter Reading Upload Interval :Used for uploading readings through IDocs
Meter Reading Upload Interval :Used for uploading readings through IDocs
 
SAP ISU : Installation Groups - Billing Sequence Control
SAP ISU : Installation Groups - Billing Sequence ControlSAP ISU : Installation Groups - Billing Sequence Control
SAP ISU : Installation Groups - Billing Sequence Control
 
Set Break Point: Meter Reading Data Processing
Set Break Point: Meter Reading Data ProcessingSet Break Point: Meter Reading Data Processing
Set Break Point: Meter Reading Data Processing
 
DM Serial Switching
DM Serial SwitchingDM Serial Switching
DM Serial Switching
 
DM Estimation Parameters for Meter Reading Entry
DM Estimation Parameters for Meter Reading EntryDM Estimation Parameters for Meter Reading Entry
DM Estimation Parameters for Meter Reading Entry
 
SAP ISU : Budget Billing Basics
SAP ISU : Budget Billing BasicsSAP ISU : Budget Billing Basics
SAP ISU : Budget Billing Basics
 
DM Estimation on Meter Reading Control
DM Estimation on Meter Reading ControlDM Estimation on Meter Reading Control
DM Estimation on Meter Reading Control
 
Access controls for Operands
Access controls for OperandsAccess controls for Operands
Access controls for Operands
 
SmsBazar presentation in English (2012)
SmsBazar presentation in English (2012)SmsBazar presentation in English (2012)
SmsBazar presentation in English (2012)
 
SatSapar - online airline tickets and hotel booking, online travel agency
SatSapar - online airline tickets and hotel booking, online travel agencySatSapar - online airline tickets and hotel booking, online travel agency
SatSapar - online airline tickets and hotel booking, online travel agency
 
Moika - сервис для бронирование мест в автомойках (сайт, мобильное приложение)
Moika - сервис для бронирование мест в автомойках (сайт, мобильное приложение)Moika - сервис для бронирование мест в автомойках (сайт, мобильное приложение)
Moika - сервис для бронирование мест в автомойках (сайт, мобильное приложение)
 
Презентация мобильной торговой площадки SmsBazar (2011)
Презентация мобильной торговой площадки SmsBazar (2011)Презентация мобильной торговой площадки SmsBazar (2011)
Презентация мобильной торговой площадки SmsBazar (2011)
 
SatSapar - online airline tickets and hotel booking, online travel agency
SatSapar - online airline tickets and hotel booking, online travel agencySatSapar - online airline tickets and hotel booking, online travel agency
SatSapar - online airline tickets and hotel booking, online travel agency
 
Презентация SmsBazar для BarCamp (2012)
Презентация SmsBazar для BarCamp (2012)Презентация SmsBazar для BarCamp (2012)
Презентация SmsBazar для BarCamp (2012)
 
Automated rock testing tracker
Automated rock testing trackerAutomated rock testing tracker
Automated rock testing tracker
 
Rate Category Period End Billing
Rate Category Period End BillingRate Category Period End Billing
Rate Category Period End Billing
 

More from Rakesh Dasgupta

More from Rakesh Dasgupta (14)

Convergent Invoicing: Scheduling
Convergent Invoicing: SchedulingConvergent Invoicing: Scheduling
Convergent Invoicing: Scheduling
 
Serial Switching in Interval Meters
Serial Switching in Interval MetersSerial Switching in Interval Meters
Serial Switching in Interval Meters
 
Disconnection/Reconnection of a Utilities Installation
Disconnection/Reconnection of a Utilities InstallationDisconnection/Reconnection of a Utilities Installation
Disconnection/Reconnection of a Utilities Installation
 
Convergent Invoicing: Clarification Lists
Convergent Invoicing: Clarification Lists Convergent Invoicing: Clarification Lists
Convergent Invoicing: Clarification Lists
 
AMI Capabilities: Operational Status
AMI Capabilities: Operational StatusAMI Capabilities: Operational Status
AMI Capabilities: Operational Status
 
Formula Profile: Define Default Values for Input Parameters
Formula Profile: Define Default Values for Input ParametersFormula Profile: Define Default Values for Input Parameters
Formula Profile: Define Default Values for Input Parameters
 
Synthetic Profile-Multiple Usage Factors
Synthetic Profile-Multiple Usage FactorsSynthetic Profile-Multiple Usage Factors
Synthetic Profile-Multiple Usage Factors
 
SAP ISU: Out-sorting Billing Validation
SAP ISU: Out-sorting Billing ValidationSAP ISU: Out-sorting Billing Validation
SAP ISU: Out-sorting Billing Validation
 
Linear Consumption Pattern
Linear Consumption PatternLinear Consumption Pattern
Linear Consumption Pattern
 
Extrapolation with Periodic Consumption
Extrapolation with Periodic ConsumptionExtrapolation with Periodic Consumption
Extrapolation with Periodic Consumption
 
Maximum Price Limitation
Maximum Price LimitationMaximum Price Limitation
Maximum Price Limitation
 
Rate Category Advance Billing
Rate Category Advance BillingRate Category Advance Billing
Rate Category Advance Billing
 
IDE Synchronizing Change Documents for Master Data Changes
IDE Synchronizing Change Documents for Master Data ChangesIDE Synchronizing Change Documents for Master Data Changes
IDE Synchronizing Change Documents for Master Data Changes
 
IDE Sending Settlement Results EXPSETTLPA
IDE Sending Settlement Results EXPSETTLPAIDE Sending Settlement Results EXPSETTLPA
IDE Sending Settlement Results EXPSETTLPA
 

Recently uploaded

Constitution of Company Article of Association
Constitution of Company Article of AssociationConstitution of Company Article of Association
Constitution of Company Article of Association
seri bangash
 
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
brennadilys816
 
Powerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metricsPowerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metrics
CaitlinCummins3
 
Future of Trade 2024 - Decoupled and Reconfigured - Snapshot Report
Future of Trade 2024 - Decoupled and Reconfigured - Snapshot ReportFuture of Trade 2024 - Decoupled and Reconfigured - Snapshot Report
Future of Trade 2024 - Decoupled and Reconfigured - Snapshot Report
Dubai Multi Commodity Centre
 
A BUSINESS PROPOSAL FOR SLAUGHTER HOUSE WASTE MANAGEMENT IN MYSORE MUNICIPAL ...
A BUSINESS PROPOSAL FOR SLAUGHTER HOUSE WASTE MANAGEMENT IN MYSORE MUNICIPAL ...A BUSINESS PROPOSAL FOR SLAUGHTER HOUSE WASTE MANAGEMENT IN MYSORE MUNICIPAL ...
A BUSINESS PROPOSAL FOR SLAUGHTER HOUSE WASTE MANAGEMENT IN MYSORE MUNICIPAL ...
prakheeshc
 
Jual Obat Aborsi Di Sibolga wa 0851/7541/5434 Cytotec Misoprostol 200mcg Pfizer
Jual Obat Aborsi Di Sibolga wa 0851/7541/5434 Cytotec Misoprostol 200mcg PfizerJual Obat Aborsi Di Sibolga wa 0851/7541/5434 Cytotec Misoprostol 200mcg Pfizer
Jual Obat Aborsi Di Sibolga wa 0851/7541/5434 Cytotec Misoprostol 200mcg Pfizer
Pusat Herbal Resmi BPOM
 

Recently uploaded (20)

Blinkit: Revolutionizing the On-Demand Grocery Delivery Service.pptx
Blinkit: Revolutionizing the On-Demand Grocery Delivery Service.pptxBlinkit: Revolutionizing the On-Demand Grocery Delivery Service.pptx
Blinkit: Revolutionizing the On-Demand Grocery Delivery Service.pptx
 
How Bookkeeping helps you in Cost Saving, Tax Saving and Smooth Business Runn...
How Bookkeeping helps you in Cost Saving, Tax Saving and Smooth Business Runn...How Bookkeeping helps you in Cost Saving, Tax Saving and Smooth Business Runn...
How Bookkeeping helps you in Cost Saving, Tax Saving and Smooth Business Runn...
 
WAM Corporate Presentation May 2024_w.pdf
WAM Corporate Presentation May 2024_w.pdfWAM Corporate Presentation May 2024_w.pdf
WAM Corporate Presentation May 2024_w.pdf
 
Constitution of Company Article of Association
Constitution of Company Article of AssociationConstitution of Company Article of Association
Constitution of Company Article of Association
 
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
 
Powerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metricsPowerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metrics
 
Pitch Deck Teardown: Goodcarbon's $5.5m Seed deck
Pitch Deck Teardown: Goodcarbon's $5.5m Seed deckPitch Deck Teardown: Goodcarbon's $5.5m Seed deck
Pitch Deck Teardown: Goodcarbon's $5.5m Seed deck
 
How Do Venture Capitalists Make Decisions?
How Do Venture Capitalists Make Decisions?How Do Venture Capitalists Make Decisions?
How Do Venture Capitalists Make Decisions?
 
HAL Financial Performance Analysis and Future Prospects
HAL Financial Performance Analysis and Future ProspectsHAL Financial Performance Analysis and Future Prospects
HAL Financial Performance Analysis and Future Prospects
 
Future of Trade 2024 - Decoupled and Reconfigured - Snapshot Report
Future of Trade 2024 - Decoupled and Reconfigured - Snapshot ReportFuture of Trade 2024 - Decoupled and Reconfigured - Snapshot Report
Future of Trade 2024 - Decoupled and Reconfigured - Snapshot Report
 
wagamamaLab presentation @MIT 20240509 IRODORI
wagamamaLab presentation @MIT 20240509 IRODORIwagamamaLab presentation @MIT 20240509 IRODORI
wagamamaLab presentation @MIT 20240509 IRODORI
 
Beyond Numbers A Holistic Approach to Forensic Accounting
Beyond Numbers A Holistic Approach to Forensic AccountingBeyond Numbers A Holistic Approach to Forensic Accounting
Beyond Numbers A Holistic Approach to Forensic Accounting
 
Series A Fundraising Guide (Investing Individuals Improving Our World) by Accion
Series A Fundraising Guide (Investing Individuals Improving Our World) by AccionSeries A Fundraising Guide (Investing Individuals Improving Our World) by Accion
Series A Fundraising Guide (Investing Individuals Improving Our World) by Accion
 
A BUSINESS PROPOSAL FOR SLAUGHTER HOUSE WASTE MANAGEMENT IN MYSORE MUNICIPAL ...
A BUSINESS PROPOSAL FOR SLAUGHTER HOUSE WASTE MANAGEMENT IN MYSORE MUNICIPAL ...A BUSINESS PROPOSAL FOR SLAUGHTER HOUSE WASTE MANAGEMENT IN MYSORE MUNICIPAL ...
A BUSINESS PROPOSAL FOR SLAUGHTER HOUSE WASTE MANAGEMENT IN MYSORE MUNICIPAL ...
 
Inside the Black Box of Venture Capital (VC)
Inside the Black Box of Venture Capital (VC)Inside the Black Box of Venture Capital (VC)
Inside the Black Box of Venture Capital (VC)
 
Progress Report - UKG Analyst Summit 2024 - A lot to do - Good Progress1-1.pdf
Progress Report - UKG Analyst Summit 2024 - A lot to do - Good Progress1-1.pdfProgress Report - UKG Analyst Summit 2024 - A lot to do - Good Progress1-1.pdf
Progress Report - UKG Analyst Summit 2024 - A lot to do - Good Progress1-1.pdf
 
Jual Obat Aborsi Di Sibolga wa 0851/7541/5434 Cytotec Misoprostol 200mcg Pfizer
Jual Obat Aborsi Di Sibolga wa 0851/7541/5434 Cytotec Misoprostol 200mcg PfizerJual Obat Aborsi Di Sibolga wa 0851/7541/5434 Cytotec Misoprostol 200mcg Pfizer
Jual Obat Aborsi Di Sibolga wa 0851/7541/5434 Cytotec Misoprostol 200mcg Pfizer
 
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdfInnomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
 
hyundai capital 2023 consolidated financial statements
hyundai capital 2023 consolidated financial statementshyundai capital 2023 consolidated financial statements
hyundai capital 2023 consolidated financial statements
 
Toyota Kata Coaching for Agile Teams & Transformations
Toyota Kata Coaching for Agile Teams & TransformationsToyota Kata Coaching for Agile Teams & Transformations
Toyota Kata Coaching for Agile Teams & Transformations
 

Pre Sorting Overview

  • 1. Pre-sorting Overview Presorting key 0002 has been used by most of us while defining our schema in the Billing master data. Most of us do know what a presorting key does but still we continue to use 0002 most of the times. The idea of this post is to show how a different presorting key can affect the display of the line items in an invoice, in other words the use of the appropriate presorting key should depend on the business requirements. More on this can be found here. First what a presorting key does? It groups together line items that are written by variants with the same presorting key into one block. The blocks are then sorted based on the presorting key and processed for invoicing. So pre-sorting keys are used for sorting the billing items before printing. We can have a tax line items also generated and also have a subtotal as output (based on the configuration) and we use them in billing schema. At least one block (generated by the presorting key) should have subtotal as output because this is essential for bill print. If you do not want to output the subtotals, you must deactivate the posting-relevant in the billing schema for the basic billing lines. The billing simply generates the comparison or information bill lines. If the subtotal is suppressed for posting-relevant billing lines, an invoicing error would occur Difference for tax clearing too large. This is because the suppressed VAT does not match the tax that was posted. You can calculate a subtotal for information lines to output the tax too. The configuration settings can be found here. Customizing Path The standard settings given by SAP are below. ©sapisurdg.wordpress.com
  • 2. Standard SAP entries So in my example rate I am using Presorting key • • 0002 Sort by Contract for Energy Price 000001 line item 0005 Sort by Device for IQUANT line item. Below is the screenshot of the schema step showing the same! Presorting key assigned in Schema Now my example has 2 contracts having 2 devices. Rate is simple having just the QUANTI01 variant. Idea is to check how the line item of 000001 and IQUANT get stacked up in the billing line items. 2 Contracts and 2 Devices ©sapisurdg.wordpress.com
  • 3. As we can see below for line item 00001 having presorting key 0002 we have the sorted lines based on contracts. We see additional line of ‘SUBT’ cause of the unchecked checkbox for ‘NS’. (Check the customizing screenshot). For IQUANT line item with presorting key 0005 we can see that the sorting has been done based on the devices. No subtotal in this case has the checkbox had been checked. Point to note is that the sorting happens 1. Based on the presorting key i.e. 0002 sorting happens before 0005. Groups are created with the same presort key. These groups are listed alphabetically in the print document. 2. The sorting also takes care of the order in which the object is coming in. So contract 909 is before 910.Device 10004200 is before 10004201. Groups are created within a presort key, according to VAT code. The VAT codes are listed alphabetically in the print document. Billing lines without a VAT code are listed at the start of a bill group. After each bill group, the VAT is calculated for the whole group and listed at the end. Presorting Key in Action Hope I could make my point clear. Anyways there are additional checks which can be done in this customizing, probably subject for my next post on this topic. :) If you need your own custom sorting technique check out function group E21J. Cheers !! :D ©sapisurdg.wordpress.com