SlideShare a Scribd company logo
Published in SAP Finance Expert Magazine: http://www.financialsexpertonline.com
Reduce Your ABAP Development by Using the Mass Maintenance Tool
by Mark Chalfen, Solution Architect, Bluefin Solutions (March 2009)
Use a standard SAP transaction to make mass changes to both master data fields and
accounting documents. This removes the need for one-time ABAP development, saving
internal costs and enabling a best practice for your organization.
Key Concept
There are two ways to make mass changes to master and transactional data. The core
MASS transaction code enables certain master data fields to be changed all at once. This
eliminates the need for users to update fields manually or write one-off ABAP code to make
the change. The other way to make mass changes is via the mass change icon in the
customer, vendor, or GL account open item transactions.
Did you know that there is a way to change the accounting clerk of 5,000 customers in a
matter of minutes without writing a program? Did you know that you can update the baseline
date for vendor invoices for a range of vendors at the same time? When you need to perform
large changes to master data, do you normally write a custom program to facilitate this?
Ordinarily, when you resolve these problems using ABAP, the programs that are written are
used only once. This is a waste of your ABAP spend and adds another program to be tested
when upgrades are implemented.
I’ll show you how to use transaction MASS, which master data objects you can use, and how
to schedule a mass update job. Further, I will look into how you can change large amounts of
financial transactional data at once through the classic display line item transaction codes. I’ll
start by considering the data parameters in your job.
Quantity of Records
The first question you should ask concerns the size and volume of records you intend to
change. If you plan to change master data, the rule of thumb I recommend is: If you need to
change up to 10 pieces of common master data, you might as well do it manually. This also
applies to financial transactional data. However, if the number of records that needs to be
changed is greater than 10, then I recommend looking into using a standard MASS
transaction. If the number of records is going to be greater than 1,000, I recommend
scheduling the mass update because changing more than 1,000 records may affect the
performance of your system. Depending on how your system is defined, changing more than
1,000 records should be scheduled to run when the impact to users is minimal.
Remember that when you update a master record or transactional record, the system locks
that piece of data for a split second. Therefore, if you have business users who are updating
the same record, your mass update will not take place or, alternately, the users won’t be able
to access it. It is a good idea to consider scheduling changes for large volumes of data.
You can call the Mass Maintenance tool in different ways. Transaction MASS is one, but you
can also call several of the objects below by a specific transaction code in their respective
module. For instance, you can call the GL object directly by using transaction code
OB_GLACC11 – 13. That said, I’d recommend using MASS because it’s easier to remember
and has all of the data objects that you can use.
Step-by-Step Process
In the following example, I document how to change an accounting clerk for a large number of
customers all at once. The business process scenario is that the credit collections department
is reorganizing customers who are managed by accounting clerks. I’ll move a range of
customers to the accounting clerk K1. The technical name of the accounting clerk field is
KNB1-BUSAB.
Note that you need to handle this tool with care. Mass changes can be a bit dangerous and
there is no mass reverse function, so it’s important to double-check your work. Also, it is
normal to have some strict authorizations around the access to this process, so it should be
performed by super users or the SAP support team.
Step1: Choose an object type. Use transaction MASS (Figure 1). Select the object type you
want to use from the drop-down list (Figure 2). In my example, I’m changing customer master
data using object type KNA1.
Figure 1 Selection parameter screen for transaction MASS
Figure 2 Select an object type from the drop-down list
Step2: Select a table. Click the execute icon and the system displays all the associated
tables in a list. You need to select the field that you wish to change. To do this, you first need
to select the table in which the field for the mass change is kept. Figure 3 shows that in this
example it is KNB1.
Figure 3 Tables linked to object type KNA1
Step3: Select the field you are going to change. Click the Fields tab to look at available fields
(Figure 4). You can select many fields from a single table or select more than one table that
will be changed. The option you choose depends on what you are going to change. You
could, for example, change the dunning clerk (KNB5-BUSAB) at the same time. The number
of fields to be changed depends on your individual requirements. Highlight the table you
require, in this case KNB1, and go to the Fields tab to select the field that you wish to change.
Click the execute icon to go to the field selection criteria.
Figure 4 Fields available for object type KNA1
Step4: Confirm the range or list of master data you wish to change. In the example I used,
you need to specify either a range or list of customers, as well as a company code or range of
company codes. As with most selection parameters, you can have a list of customers or you
can upload a list of customers from a Notepad file using the import from text file and upload
from clipboard icons, respectively. Then click the execute icon. Figure 5 shows the
selection parameters. The number of standard fields available depends on the number of
fields you selected in the mass update.
Figure 5 Selection criteria for the fields to be changed
If you need to add extra fields to the selection parameter to reduce the number of records
selected to change, then you need to select the choose selection fields icon to add further
fields into the selection parameter screen. Figure 6 shows an example of a field that has
been added to the selection parameter. You can do this by highlighting a field on the right
side and selecting the left arrow icon to move it to the selection criteria list on the left. Figure
7 shows the new field that has been added to the selection parameter.
Figure 6 Select field subscreen to include fields to the selection criteria
Figure 7 The amended selection criteria with a new field added
Step5: Retrieve the list of records that should be changed. Click the execute icon to display a
pop-up screen (Figure 8). It shows the number of records your selection parameters found to
be changed.
Figure 8 Pop-up screen confirming the number of selected records
Click the Display All Records button to see a list of records that you can change (Figure 9). It
shows their current field value. Here, you can add a single entry and all the selected records
will then have the same value. For example, I have a range of customers with different
accounting clerks. In the line that says New Values, enter a new value (e.g., K1). Click the
carry out a mass change icon and all the records shown will have K1 as the value for the
customer’s company code (Figure 10). The carry out a mass change icon only works on
highlighted rows, so if you did not want a particular record to be updated or changed, you
simply would not highlight it and the mass change would not affect it.
Figure 9 The values prior to the mass change
Figure
10
The customer details with the new accounting clerk applied to
all selected customers
Clicking the carry out a mass change icon does not physically change the customer master
record. If you do not wish to schedule a job to make the change, all you need to do is save
and the mass change process takes place.
If you need to schedule this job in the background for performance reasons, then you need to
select Save as Variant in the Goto menu. Enter a name and save the variant (Figure 11).
Then you need to schedule the variant in a new session. Select the correct object type and
the variant name (Figure 12).
Figure
11
The save variant pop-up screen
Figure
12
The standard front screen with the variant selected
Next, follow the standard process for scheduling a background job. Follow menu path Mass
maintenance > Background processing. The execute icon then changes to the execute in
background icon (Figure 13). Click it and select a printer (Figure 14).
Figure
13
The mass maintenance background selection screen
Figure
14
Select a printer
Depending on your business processes, you may want to wait until most users are not using
the system to run the job, or you may wish to run it immediately (Figure 15). You can check
the process of your job via transaction SM37 or contact your Basis support to make sure the
job ran successfully. In some organizations, users are not allowed to schedule jobs, so follow
your own internal processes and procedure and contact the appropriate individuals when
necessary.
Figure
15
Schedule a job
After you schedule your job and run it, you should check the log to make sure the updates
took place correctly. Figure 16 shows an example of one that updated successfully.
Figure 16 Job log of a mass update in background
Make Mass Changes to Line Data
Mass changes are not only restricted to changing master data per the object list from
transaction MASS. You can also make mass changes to line item data. This functionality is
not that new. However, it is also not very well known and therefore not often used. You
cannot change certain values in accounting documents, such as GL codes, amounts, and
dates. This is standard SAP functionality, and users should not want to change this type of
core data. Within most accounting documents, there are extra fields (e.g., reference fields or
text fields) that you can change after an accounting document has been created. You can
make changes to GL, AP, and AR items. There are settings in configuration, which I will cover
later.
I will detail how to perform a mass change to line items by applying new baseline dates for
customer or vendor open items to align with new payment terms. Your company may decide
to move all payments to a vendor or range of vendors forward or backward to help with cash
flow. You may choose to delay the payment to certain vendors to maximize your working
capital or choose to pay early if your vendor had its year-end. You can do this by changing
the baseline date of all open items or changing the payment term so all open items are due
on the date you require.
Step1. Select the vendor or group of vendors you want to change using transaction code
FBL1N. Figure 17 displays a range of open items for a range of vendors. I have amended the
display to show the current baseline date and the payment terms so you can see the mass
change take place.
Figure 17 Vendor line item display transaction FBL1N
Step2: Select the line items that you wish to change. Check the boxes shown on the left side
of the screen in Figure 17.
Step3: Begin the line item mass change. Click the carry out a mass change icon or follow the
menu path Environment > Mass change > New values. This brings up a pop-up screen
(Figure 18). It is similar to the new values entry in Figure 10. As this relates to line items, a
list of available fields for mass change is listed. I’ll cover how to define and add new values to
this list later.
Figure
18
Mass change selection screen
Step4: Enter a new value. I have entered a value in the Baseline Date field, so all the line
items selected via a check in Figure 17 now have a baseline date of 01.11.08.
The main difference between master data transaction MASS and the line item change is that
you only need to select the Execute changes button for the changes to be carried out. Figure
19 shows the same line item data after the mass change has taken place.
Figure 19 FBL1N after the mass change has taken place
Step5: Configure the fields that you can change. As mentioned before, the fields that can be
changed are held in configuration. Certain standard fields will be set up so they can be
changed, and you can add fields to the configuration table. Note that to activate a
transactional field for mass change, you have to configure it to do so (I’ll cover this later). If
the field does not appear in the standard mass change selection screen (Figure 18), you can
add your own field by using the methodology described in SAP Note 640908.
You can find the configuration by following IMG menu path Financial Accounting (New) >
Financial Accounting Global Settings (New) > Document > Rules for Changing Documents >
Document Change Rules, Line Item. Figure 20 shows a list of fields that can be changed.
The highlighted field is the one I used in the line item mass change example. If the AccTy
(account type) field, Trans.type (transaction type) field, or the Co… (company code) field is
blank, then the rule applies to all values.
Figure 20 Document change rules configuration definition
Figure 21 shows the details of that change rule. The most important check for this process is
made in the Field Can Be Changed check box. If this is checked, it means it can be changed
and therefore used in the mass update for line items. Depending on the type of field, the
number of stipulations changes.
Figure
21
Document change rule for field BSEG-ZFBDT
One thing to watch out for is the ability to make a change to a cleared open item. Some
companies do not like cleared items to be changed because this could affect the integrity of
the data. A better control is that of the posting period. If you select this, then the accounting
document can only be changed if the posting period is open. If there is a field that you require
to be added on the list of fields for line item mass changes, you need to add an entry into this
table. Once you make this change, the field appears. For additional methodology, check out
SAP Note 640908.
Mark Chalfen is a solution architect for Bluefin Solutions, a specialist SAP consultancy in the
UK. Mark has more than 10 years’ experience in SAP FI/CO in a number of industries. Mark’s
core skills currently include Financial Supply Chain Management (FSCM) and the new G/L.
He is currently advising a wide variety of clients on maximizing their SAP footprint, either in
their current R/3 version or upgrading to SAP ERP. You may contact him via email at
mark.chalfen@bluefinsolutions.com, and you can find out more about Bluefin Solutions at
www.bluefinsolutions.com.
Published in SAP Finance Expert: http://www.financialsexpertonline.com

More Related Content

What's hot

Ap daily procdure
Ap daily procdureAp daily procdure
Ap daily procdure
shailendra Rajput
 
BAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de ManutençãoBAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de Manutenção
Roberto Fernandes Ferreira
 
Mr20 enus 09-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 09-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 09-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 09-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Sami JAMMALI
 
What is copa master data
What is copa master dataWhat is copa master data
What is copa master data
Rajeev Kumar
 
Dynamic Function Call in PI Sheet (XStep)
Dynamic Function Call in PI Sheet (XStep)Dynamic Function Call in PI Sheet (XStep)
Dynamic Function Call in PI Sheet (XStep)
Ankit Sharma
 
16.bill of material
16.bill of material16.bill of material
16.bill of material
Subbu Pullela
 
TOMAS.BP-Business plan
TOMAS.BP-Business planTOMAS.BP-Business plan
TOMAS.BP-Business plan
tomasdse
 
How to split cost of goods sold
How to split cost of goods soldHow to split cost of goods sold
How to split cost of goods sold
Carlos Augusto Rubio Ramirez
 
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Sami JAMMALI
 
ERP web based system
ERP web based systemERP web based system
ERP web based systemBill Chea
 
Power ups Parameters PowerBI
Power ups Parameters PowerBIPower ups Parameters PowerBI
Power ups Parameters PowerBI
Johann Krugell
 
1. customer master records
1. customer master records1. customer master records
1. customer master records
Sam Raju
 
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Sami JAMMALI
 
Fsg Tips And Tricks
Fsg Tips And TricksFsg Tips And Tricks
Fsg Tips And TricksAttiq Ahmed
 
Bar chart Creation
Bar chart CreationBar chart Creation
Bar chart Creation
AyshwaryaBaburam
 
Cube remodelling
Cube remodellingCube remodelling
Cube remodelling
Ramesh Narayanan
 
Sap purchase-requisition-how-to
Sap purchase-requisition-how-toSap purchase-requisition-how-to
Sap purchase-requisition-how-toVERUS BRASIL
 
How to Calculate Product Costs for a Manufacturer
How to Calculate Product Costs for a ManufacturerHow to Calculate Product Costs for a Manufacturer
How to Calculate Product Costs for a Manufacturer
Isah Nurdianah
 
Oracle General Ledger GL FSG
Oracle General Ledger GL FSG Oracle General Ledger GL FSG
Oracle General Ledger GL FSG
Rizwan Ali Qumbrani
 

What's hot (20)

Ap daily procdure
Ap daily procdureAp daily procdure
Ap daily procdure
 
BAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de ManutençãoBAPI - Criação de Ordem de Manutenção
BAPI - Criação de Ordem de Manutenção
 
Mr20 enus 09-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 09-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 09-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 09-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
What is copa master data
What is copa master dataWhat is copa master data
What is copa master data
 
Dynamic Function Call in PI Sheet (XStep)
Dynamic Function Call in PI Sheet (XStep)Dynamic Function Call in PI Sheet (XStep)
Dynamic Function Call in PI Sheet (XStep)
 
Visualbasic tutorial
Visualbasic tutorialVisualbasic tutorial
Visualbasic tutorial
 
16.bill of material
16.bill of material16.bill of material
16.bill of material
 
TOMAS.BP-Business plan
TOMAS.BP-Business planTOMAS.BP-Business plan
TOMAS.BP-Business plan
 
How to split cost of goods sold
How to split cost of goods soldHow to split cost of goods sold
How to split cost of goods sold
 
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
ERP web based system
ERP web based systemERP web based system
ERP web based system
 
Power ups Parameters PowerBI
Power ups Parameters PowerBIPower ups Parameters PowerBI
Power ups Parameters PowerBI
 
1. customer master records
1. customer master records1. customer master records
1. customer master records
 
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 06-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
Fsg Tips And Tricks
Fsg Tips And TricksFsg Tips And Tricks
Fsg Tips And Tricks
 
Bar chart Creation
Bar chart CreationBar chart Creation
Bar chart Creation
 
Cube remodelling
Cube remodellingCube remodelling
Cube remodelling
 
Sap purchase-requisition-how-to
Sap purchase-requisition-how-toSap purchase-requisition-how-to
Sap purchase-requisition-how-to
 
How to Calculate Product Costs for a Manufacturer
How to Calculate Product Costs for a ManufacturerHow to Calculate Product Costs for a Manufacturer
How to Calculate Product Costs for a Manufacturer
 
Oracle General Ledger GL FSG
Oracle General Ledger GL FSG Oracle General Ledger GL FSG
Oracle General Ledger GL FSG
 

Similar to Massmaintenance

Microsoft Excel 20072010 What-If Analysis © Martin Green
Microsoft Excel 20072010  What-If Analysis © Martin GreenMicrosoft Excel 20072010  What-If Analysis © Martin Green
Microsoft Excel 20072010 What-If Analysis © Martin Green
DioneWang844
 
Developing a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourceDeveloping a ssrs report using a ssas data source
Developing a ssrs report using a ssas data source
relekarsushant
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Kranthi Kumar
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
Rajeev Kumar
 
Scoring documentation
Scoring documentationScoring documentation
Scoring documentationFatima Khalid
 
Iinsight 5.1.0 release notes
Iinsight 5.1.0 release notesIinsight 5.1.0 release notes
Iinsight 5.1.0 release notes
Be Software International Pty Ltd
 
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
edieali1
 
Copa realignment
Copa realignmentCopa realignment
Copa realignment
suryanarayana tata
 
Returns and service
Returns and serviceReturns and service
Returns and service
suryanarayana tata
 
Adapting data warehouse architecture to benefit from agile methodologies
Adapting data warehouse architecture to benefit from agile methodologiesAdapting data warehouse architecture to benefit from agile methodologies
Adapting data warehouse architecture to benefit from agile methodologiesbboyina
 
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer ServiceService Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
Naveen Kumar
 
Master data
Master dataMaster data
Master data
souvikroy0310
 
111Assignment Learning ObjectivesBSIS 105Assignment 3Purc.docx
111Assignment Learning ObjectivesBSIS 105Assignment 3Purc.docx111Assignment Learning ObjectivesBSIS 105Assignment 3Purc.docx
111Assignment Learning ObjectivesBSIS 105Assignment 3Purc.docx
hyacinthshackley2629
 
Question
QuestionQuestion
Question
Teja Reddy
 
Print18
Print18Print18
Print18
Hassan Samoon
 
Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot tablesamikshaa sinha
 
Obiee11g beginner's guide adding calculations
Obiee11g  beginner's guide adding calculationsObiee11g  beginner's guide adding calculations
Obiee11g beginner's guide adding calculationsAmit Sharma
 

Similar to Massmaintenance (20)

Tally 6.3
Tally  6.3Tally  6.3
Tally 6.3
 
Tally 6.3
Tally  6.3Tally  6.3
Tally 6.3
 
Microsoft Excel 20072010 What-If Analysis © Martin Green
Microsoft Excel 20072010  What-If Analysis © Martin GreenMicrosoft Excel 20072010  What-If Analysis © Martin Green
Microsoft Excel 20072010 What-If Analysis © Martin Green
 
Developing a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourceDeveloping a ssrs report using a ssas data source
Developing a ssrs report using a ssas data source
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Scoring documentation
Scoring documentationScoring documentation
Scoring documentation
 
Iinsight 5.1.0 release notes
Iinsight 5.1.0 release notesIinsight 5.1.0 release notes
Iinsight 5.1.0 release notes
 
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
 
Copa realignment
Copa realignmentCopa realignment
Copa realignment
 
Returns and service
Returns and serviceReturns and service
Returns and service
 
Adapting data warehouse architecture to benefit from agile methodologies
Adapting data warehouse architecture to benefit from agile methodologiesAdapting data warehouse architecture to benefit from agile methodologies
Adapting data warehouse architecture to benefit from agile methodologies
 
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer ServiceService Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
 
Master data
Master dataMaster data
Master data
 
111Assignment Learning ObjectivesBSIS 105Assignment 3Purc.docx
111Assignment Learning ObjectivesBSIS 105Assignment 3Purc.docx111Assignment Learning ObjectivesBSIS 105Assignment 3Purc.docx
111Assignment Learning ObjectivesBSIS 105Assignment 3Purc.docx
 
Question
QuestionQuestion
Question
 
Clientadmin
ClientadminClientadmin
Clientadmin
 
Print18
Print18Print18
Print18
 
Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot table
 
Obiee11g beginner's guide adding calculations
Obiee11g  beginner's guide adding calculationsObiee11g  beginner's guide adding calculations
Obiee11g beginner's guide adding calculations
 

Recently uploaded

3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
tanyjahb
 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
BBPMedia1
 
Lookback Analysis
Lookback AnalysisLookback Analysis
Lookback Analysis
Safe PaaS
 
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n PrintAffordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Navpack & Print
 
Filing Your Delaware Franchise Tax A Detailed Guide
Filing Your Delaware Franchise Tax A Detailed GuideFiling Your Delaware Franchise Tax A Detailed Guide
Filing Your Delaware Franchise Tax A Detailed Guide
YourLegal Accounting
 
Memorandum Of Association Constitution of Company.ppt
Memorandum Of Association Constitution of Company.pptMemorandum Of Association Constitution of Company.ppt
Memorandum Of Association Constitution of Company.ppt
seri bangash
 
Enterprise Excellence is Inclusive Excellence.pdf
Enterprise Excellence is Inclusive Excellence.pdfEnterprise Excellence is Inclusive Excellence.pdf
Enterprise Excellence is Inclusive Excellence.pdf
KaiNexus
 
Set off and carry forward of losses and assessment of individuals.pptx
Set off and carry forward of losses and assessment of individuals.pptxSet off and carry forward of losses and assessment of individuals.pptx
Set off and carry forward of losses and assessment of individuals.pptx
HARSHITHV26
 
Role of Remote Sensing and Monitoring in Mining
Role of Remote Sensing and Monitoring in MiningRole of Remote Sensing and Monitoring in Mining
Role of Remote Sensing and Monitoring in Mining
Naaraayani Minerals Pvt.Ltd
 
Brand Analysis for an artist named Struan
Brand Analysis for an artist named StruanBrand Analysis for an artist named Struan
Brand Analysis for an artist named Struan
sarahvanessa51503
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
awaisafdar
 
Accpac to QuickBooks Conversion Navigating the Transition with Online Account...
Accpac to QuickBooks Conversion Navigating the Transition with Online Account...Accpac to QuickBooks Conversion Navigating the Transition with Online Account...
Accpac to QuickBooks Conversion Navigating the Transition with Online Account...
PaulBryant58
 
What are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdfWhat are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdf
HumanResourceDimensi1
 
anas about venice for grade 6f about venice
anas about venice for grade 6f about veniceanas about venice for grade 6f about venice
anas about venice for grade 6f about venice
anasabutalha2013
 
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptxCADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
fakeloginn69
 
April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
NathanBaughman3
 
Skye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto AirportSkye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto Airport
marketingjdass
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
LR1709MUSIC
 
Attending a job Interview for B1 and B2 Englsih learners
Attending a job Interview for B1 and B2 Englsih learnersAttending a job Interview for B1 and B2 Englsih learners
Attending a job Interview for B1 and B2 Englsih learners
Erika906060
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
dylandmeas
 

Recently uploaded (20)

3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
 
Lookback Analysis
Lookback AnalysisLookback Analysis
Lookback Analysis
 
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n PrintAffordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n Print
 
Filing Your Delaware Franchise Tax A Detailed Guide
Filing Your Delaware Franchise Tax A Detailed GuideFiling Your Delaware Franchise Tax A Detailed Guide
Filing Your Delaware Franchise Tax A Detailed Guide
 
Memorandum Of Association Constitution of Company.ppt
Memorandum Of Association Constitution of Company.pptMemorandum Of Association Constitution of Company.ppt
Memorandum Of Association Constitution of Company.ppt
 
Enterprise Excellence is Inclusive Excellence.pdf
Enterprise Excellence is Inclusive Excellence.pdfEnterprise Excellence is Inclusive Excellence.pdf
Enterprise Excellence is Inclusive Excellence.pdf
 
Set off and carry forward of losses and assessment of individuals.pptx
Set off and carry forward of losses and assessment of individuals.pptxSet off and carry forward of losses and assessment of individuals.pptx
Set off and carry forward of losses and assessment of individuals.pptx
 
Role of Remote Sensing and Monitoring in Mining
Role of Remote Sensing and Monitoring in MiningRole of Remote Sensing and Monitoring in Mining
Role of Remote Sensing and Monitoring in Mining
 
Brand Analysis for an artist named Struan
Brand Analysis for an artist named StruanBrand Analysis for an artist named Struan
Brand Analysis for an artist named Struan
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
 
Accpac to QuickBooks Conversion Navigating the Transition with Online Account...
Accpac to QuickBooks Conversion Navigating the Transition with Online Account...Accpac to QuickBooks Conversion Navigating the Transition with Online Account...
Accpac to QuickBooks Conversion Navigating the Transition with Online Account...
 
What are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdfWhat are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdf
 
anas about venice for grade 6f about venice
anas about venice for grade 6f about veniceanas about venice for grade 6f about venice
anas about venice for grade 6f about venice
 
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptxCADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
 
April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
 
Skye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto AirportSkye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto Airport
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
 
Attending a job Interview for B1 and B2 Englsih learners
Attending a job Interview for B1 and B2 Englsih learnersAttending a job Interview for B1 and B2 Englsih learners
Attending a job Interview for B1 and B2 Englsih learners
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
 

Massmaintenance

  • 1. Published in SAP Finance Expert Magazine: http://www.financialsexpertonline.com Reduce Your ABAP Development by Using the Mass Maintenance Tool by Mark Chalfen, Solution Architect, Bluefin Solutions (March 2009) Use a standard SAP transaction to make mass changes to both master data fields and accounting documents. This removes the need for one-time ABAP development, saving internal costs and enabling a best practice for your organization. Key Concept There are two ways to make mass changes to master and transactional data. The core MASS transaction code enables certain master data fields to be changed all at once. This eliminates the need for users to update fields manually or write one-off ABAP code to make the change. The other way to make mass changes is via the mass change icon in the customer, vendor, or GL account open item transactions. Did you know that there is a way to change the accounting clerk of 5,000 customers in a matter of minutes without writing a program? Did you know that you can update the baseline date for vendor invoices for a range of vendors at the same time? When you need to perform large changes to master data, do you normally write a custom program to facilitate this? Ordinarily, when you resolve these problems using ABAP, the programs that are written are used only once. This is a waste of your ABAP spend and adds another program to be tested when upgrades are implemented. I’ll show you how to use transaction MASS, which master data objects you can use, and how to schedule a mass update job. Further, I will look into how you can change large amounts of financial transactional data at once through the classic display line item transaction codes. I’ll start by considering the data parameters in your job. Quantity of Records The first question you should ask concerns the size and volume of records you intend to change. If you plan to change master data, the rule of thumb I recommend is: If you need to change up to 10 pieces of common master data, you might as well do it manually. This also applies to financial transactional data. However, if the number of records that needs to be changed is greater than 10, then I recommend looking into using a standard MASS transaction. If the number of records is going to be greater than 1,000, I recommend scheduling the mass update because changing more than 1,000 records may affect the performance of your system. Depending on how your system is defined, changing more than 1,000 records should be scheduled to run when the impact to users is minimal. Remember that when you update a master record or transactional record, the system locks that piece of data for a split second. Therefore, if you have business users who are updating the same record, your mass update will not take place or, alternately, the users won’t be able to access it. It is a good idea to consider scheduling changes for large volumes of data. You can call the Mass Maintenance tool in different ways. Transaction MASS is one, but you can also call several of the objects below by a specific transaction code in their respective module. For instance, you can call the GL object directly by using transaction code OB_GLACC11 – 13. That said, I’d recommend using MASS because it’s easier to remember and has all of the data objects that you can use.
  • 2. Step-by-Step Process In the following example, I document how to change an accounting clerk for a large number of customers all at once. The business process scenario is that the credit collections department is reorganizing customers who are managed by accounting clerks. I’ll move a range of customers to the accounting clerk K1. The technical name of the accounting clerk field is KNB1-BUSAB. Note that you need to handle this tool with care. Mass changes can be a bit dangerous and there is no mass reverse function, so it’s important to double-check your work. Also, it is normal to have some strict authorizations around the access to this process, so it should be performed by super users or the SAP support team. Step1: Choose an object type. Use transaction MASS (Figure 1). Select the object type you want to use from the drop-down list (Figure 2). In my example, I’m changing customer master data using object type KNA1. Figure 1 Selection parameter screen for transaction MASS
  • 3. Figure 2 Select an object type from the drop-down list Step2: Select a table. Click the execute icon and the system displays all the associated tables in a list. You need to select the field that you wish to change. To do this, you first need to select the table in which the field for the mass change is kept. Figure 3 shows that in this example it is KNB1.
  • 4. Figure 3 Tables linked to object type KNA1 Step3: Select the field you are going to change. Click the Fields tab to look at available fields (Figure 4). You can select many fields from a single table or select more than one table that will be changed. The option you choose depends on what you are going to change. You could, for example, change the dunning clerk (KNB5-BUSAB) at the same time. The number of fields to be changed depends on your individual requirements. Highlight the table you require, in this case KNB1, and go to the Fields tab to select the field that you wish to change. Click the execute icon to go to the field selection criteria.
  • 5. Figure 4 Fields available for object type KNA1 Step4: Confirm the range or list of master data you wish to change. In the example I used, you need to specify either a range or list of customers, as well as a company code or range of company codes. As with most selection parameters, you can have a list of customers or you can upload a list of customers from a Notepad file using the import from text file and upload from clipboard icons, respectively. Then click the execute icon. Figure 5 shows the selection parameters. The number of standard fields available depends on the number of fields you selected in the mass update.
  • 6. Figure 5 Selection criteria for the fields to be changed If you need to add extra fields to the selection parameter to reduce the number of records selected to change, then you need to select the choose selection fields icon to add further fields into the selection parameter screen. Figure 6 shows an example of a field that has been added to the selection parameter. You can do this by highlighting a field on the right side and selecting the left arrow icon to move it to the selection criteria list on the left. Figure 7 shows the new field that has been added to the selection parameter.
  • 7. Figure 6 Select field subscreen to include fields to the selection criteria Figure 7 The amended selection criteria with a new field added Step5: Retrieve the list of records that should be changed. Click the execute icon to display a pop-up screen (Figure 8). It shows the number of records your selection parameters found to be changed.
  • 8. Figure 8 Pop-up screen confirming the number of selected records Click the Display All Records button to see a list of records that you can change (Figure 9). It shows their current field value. Here, you can add a single entry and all the selected records will then have the same value. For example, I have a range of customers with different accounting clerks. In the line that says New Values, enter a new value (e.g., K1). Click the carry out a mass change icon and all the records shown will have K1 as the value for the customer’s company code (Figure 10). The carry out a mass change icon only works on highlighted rows, so if you did not want a particular record to be updated or changed, you simply would not highlight it and the mass change would not affect it. Figure 9 The values prior to the mass change
  • 9. Figure 10 The customer details with the new accounting clerk applied to all selected customers Clicking the carry out a mass change icon does not physically change the customer master record. If you do not wish to schedule a job to make the change, all you need to do is save and the mass change process takes place. If you need to schedule this job in the background for performance reasons, then you need to select Save as Variant in the Goto menu. Enter a name and save the variant (Figure 11). Then you need to schedule the variant in a new session. Select the correct object type and the variant name (Figure 12). Figure 11 The save variant pop-up screen
  • 10. Figure 12 The standard front screen with the variant selected Next, follow the standard process for scheduling a background job. Follow menu path Mass maintenance > Background processing. The execute icon then changes to the execute in background icon (Figure 13). Click it and select a printer (Figure 14). Figure 13 The mass maintenance background selection screen
  • 11. Figure 14 Select a printer Depending on your business processes, you may want to wait until most users are not using the system to run the job, or you may wish to run it immediately (Figure 15). You can check the process of your job via transaction SM37 or contact your Basis support to make sure the job ran successfully. In some organizations, users are not allowed to schedule jobs, so follow your own internal processes and procedure and contact the appropriate individuals when necessary.
  • 12. Figure 15 Schedule a job After you schedule your job and run it, you should check the log to make sure the updates took place correctly. Figure 16 shows an example of one that updated successfully.
  • 13. Figure 16 Job log of a mass update in background Make Mass Changes to Line Data Mass changes are not only restricted to changing master data per the object list from transaction MASS. You can also make mass changes to line item data. This functionality is not that new. However, it is also not very well known and therefore not often used. You cannot change certain values in accounting documents, such as GL codes, amounts, and dates. This is standard SAP functionality, and users should not want to change this type of core data. Within most accounting documents, there are extra fields (e.g., reference fields or text fields) that you can change after an accounting document has been created. You can make changes to GL, AP, and AR items. There are settings in configuration, which I will cover later. I will detail how to perform a mass change to line items by applying new baseline dates for customer or vendor open items to align with new payment terms. Your company may decide to move all payments to a vendor or range of vendors forward or backward to help with cash flow. You may choose to delay the payment to certain vendors to maximize your working capital or choose to pay early if your vendor had its year-end. You can do this by changing the baseline date of all open items or changing the payment term so all open items are due on the date you require. Step1. Select the vendor or group of vendors you want to change using transaction code FBL1N. Figure 17 displays a range of open items for a range of vendors. I have amended the display to show the current baseline date and the payment terms so you can see the mass change take place.
  • 14. Figure 17 Vendor line item display transaction FBL1N Step2: Select the line items that you wish to change. Check the boxes shown on the left side of the screen in Figure 17. Step3: Begin the line item mass change. Click the carry out a mass change icon or follow the menu path Environment > Mass change > New values. This brings up a pop-up screen (Figure 18). It is similar to the new values entry in Figure 10. As this relates to line items, a list of available fields for mass change is listed. I’ll cover how to define and add new values to this list later.
  • 15. Figure 18 Mass change selection screen Step4: Enter a new value. I have entered a value in the Baseline Date field, so all the line items selected via a check in Figure 17 now have a baseline date of 01.11.08. The main difference between master data transaction MASS and the line item change is that you only need to select the Execute changes button for the changes to be carried out. Figure 19 shows the same line item data after the mass change has taken place.
  • 16. Figure 19 FBL1N after the mass change has taken place Step5: Configure the fields that you can change. As mentioned before, the fields that can be changed are held in configuration. Certain standard fields will be set up so they can be changed, and you can add fields to the configuration table. Note that to activate a transactional field for mass change, you have to configure it to do so (I’ll cover this later). If the field does not appear in the standard mass change selection screen (Figure 18), you can add your own field by using the methodology described in SAP Note 640908. You can find the configuration by following IMG menu path Financial Accounting (New) > Financial Accounting Global Settings (New) > Document > Rules for Changing Documents > Document Change Rules, Line Item. Figure 20 shows a list of fields that can be changed. The highlighted field is the one I used in the line item mass change example. If the AccTy (account type) field, Trans.type (transaction type) field, or the Co… (company code) field is blank, then the rule applies to all values.
  • 17. Figure 20 Document change rules configuration definition Figure 21 shows the details of that change rule. The most important check for this process is made in the Field Can Be Changed check box. If this is checked, it means it can be changed and therefore used in the mass update for line items. Depending on the type of field, the number of stipulations changes.
  • 18. Figure 21 Document change rule for field BSEG-ZFBDT One thing to watch out for is the ability to make a change to a cleared open item. Some companies do not like cleared items to be changed because this could affect the integrity of the data. A better control is that of the posting period. If you select this, then the accounting document can only be changed if the posting period is open. If there is a field that you require to be added on the list of fields for line item mass changes, you need to add an entry into this table. Once you make this change, the field appears. For additional methodology, check out SAP Note 640908. Mark Chalfen is a solution architect for Bluefin Solutions, a specialist SAP consultancy in the UK. Mark has more than 10 years’ experience in SAP FI/CO in a number of industries. Mark’s core skills currently include Financial Supply Chain Management (FSCM) and the new G/L. He is currently advising a wide variety of clients on maximizing their SAP footprint, either in their current R/3 version or upgrading to SAP ERP. You may contact him via email at mark.chalfen@bluefinsolutions.com, and you can find out more about Bluefin Solutions at www.bluefinsolutions.com. Published in SAP Finance Expert: http://www.financialsexpertonline.com