Entering content frameFunction documentation Locking Cells Locate the document in its SAP Library structure

Use

You can lock the values of data cells and total cells. By locking values, you can prevent them being changed by a new totals or new summands.

Prerequisites

The function Lock Cells On / Off can be used in planning layouts with simple key columns. It can also be used on the period screen. In layouts with a complex key column, this function is not available in the overview screen.

Activities

Locking Cells

Place your cursor on a total or subtotal on the overview screen or period screen of a layout with one or several simple key columns.

You can lock or unlock the values of total cells and data cells by choosing Edit® Lock Cells On / Off or with the relevant push button.

Locked data cells are set to not ready for input. This is also the case for total cells if they were previously ready for input.

Attribute Column "Cell locked"

In order to be able to visually distinguish locked totals from unlocked totals that have been set as not input ready, you can define an attribute column in the Structure linkReport Painter, which automatically shows which cells are locked and which are unlocked in manual planning.

To do this define a new column in the layout definition in the Report Painter by double-clicking next to the heading of the respective key figure column. In the first dialog box, choose the element type "attribute" and in the second the attribute "Locked cell". In the element definition, define the same characteristics combination as for the corresponding key figure column. If necessary, define a suitable heading.

Note

Note that you can define an attribute column for each key figure used in your layout. However, it is not obligatory to define an attribute column. As the planning processor permits a maximum of 30 columns, you can also avoid defining attribute columns in favor of key figure columns. Nevertheless, you can still lock cells in manual planning.

Results at Data Entry

When entering data in a total cell, all locked cells are disregarded when the data is distributed. If a subtotal is locked, its summands count as locked for a superordinate total.

When entering data in a summand with a locked total, all other unlocked summands are changed proportionately so that the total remains constant.

Navigation in Manual Planning

You have the following options for navigating within manual planning:

Locking cells is only temporary and serves as input help for entering plan data. The information telling you which values are locked is only retained during manual planning and is not saved to the database. When you leave the period or overview screen and go to the characteristics screen to make a new selection or if you restart manual planning all cells are unlocked again.

When navigating between different characteristic combinations on the overview screen, a buffer is temporarily created. If you navigate within the overview screen back to a characteristic combination for which you have already locked certain cells, these cells remain locked. The overview screens for different characteristics combinations are totally independent of one another, that is, when you select the next, the previous or an different combination, locked cells are not transferred. The buffer must be initialized if you change the settings for the key columns and, for example, show subtotals. You should therefore choose the settings at the start of planning before you start to enter plan data and lock cells.

Note

When it comes to locking cells, the overview screen and period screen should not be considered as independent of one another: cells on the overview screen correspond to totals on the period screen.

If you lock cells in a row on the overview screen, the locks are transferred to the corresponding totals when you switch to the period screen. Changes to the period screen (for example, unlocking or locking a total) are again transferred when you navigate back to the overview screen.

If you lock total cells on the period screen, the locks are transferred to the data cells in the corresponding rows when you switch back to the overview screen. Changes on the overview screen (for example, removing locks) are transferred when you navigate back to the period screen.

Example

Locked data cell

Region

Stores

Sales

Locked cell

North

R310

20,000.00

X

 

R311

20,000.00

 

South

R312

30,000.00

 
 

R313

15,000.00

 
 

R314

25,000.00

 

*Region

*Stores

110,000.00

 

You now enter values in the totals:

Region

Stores

Sales

Locked cell

North

R310

20,000.00

X

 

R311

20,000.00

 

South

R312

30,000.00

 
 

R313

15,00.00

 
 

R314

25,000.00

 

*Region

*Stores

200,000.00

 

When you confirm your entries you obtain the following result:

Region

Stores

Sales

Locked cell

North

R310

20,000.00

X

 

R311

40,000.00

 

South

R312

60,000.00

 
 

R313

30,000.00

 
 

R314

50,000.00

 

*Region

*Stores

200,000.00

 

The calculation is made as follows:

New total / old total = 180,000 / 90,000 = 2

Therefore the values of all cells that are not locked are multiplied by 2

Note that the locked cell was not taken into consideration in the calculation of the new and old totals.

Locked data cell and total cell

Region

Stores

Sales

Locked cell

North

R310

20,000.00

X

 

R311

40,000.00

 

South

R312

60,000.00

 
 

R313

30,000.00

 
 

R314

50,000.00

 

*Region

*Stores

200,000.00

X

You now enter a value in row 3.

Region

Stores

Sales

Locked cell

North

R310

20,000.00

X

 

R311

40,000.00

 

South

R312

30,000.00

 
 

R313

30,000.00

 
 

R314

50,000.00

 

*Region

*Stores

200,000.00

X

You confirm your entries and obtain the following result:

Region

Stores

Sales

Locked cell

North

R310

20,000.00

X

 

R311

50,000.00

 

South

R312

30,000.00

 
 

R313

37,500.00

 
 

R314

62,500.00

 

*Region

*Stores

200,000.00

X

The calculation is made as follows:

( new total – new value cell 3 ) / ( old total – old value cell 3 ) = 150,000 / 120,000 = 1.25

So, the values of all unlocked cells without data entry are multiplied by 1.25.

Note that the locked cell was not taken into consideration in the calculation of the new and old totals.

Locked data cell

Region

Stores

Sales

Locked cell

North

R310

   
 

R311

   
 

*Stores

   

South

R312

   
 

R313

40,000.00

X

 

R314

   
 

*Stores

40,000.00

 

*Region

*Stores

40,000.00

 

You now enter the subtotal:

Region

Stores

Sales

Locked cell

North

R310

   
 

R311

   
 

*Stores

   

South

R312

   
 

R313

40,000.00

X

 

R314

   
 

*Stores

100,000.00

 

*Region

*Stores

40,000.00

 

You confirm your entries and obtain the following result:

Region

Stores

Sales

Locked cell

North

R310

   
 

R311

   
 

*Stores

   

South

R312

30,000.00

 
 

R313

40,000.00

X

 

R314

30,000.00

 
 

*Stores

100,000.00

 

*Region

*Stores

100,000.00

 

The entry in the subtotal is distributed amongst the summands that are not locked.

Locked subtotal

Region

Stores

Sales

Locked cell

North

R310

   
 

R311

   
 

*Stores

   

South

R312

30,000.00

 
 

R313

40,000.00

X

 

R314

30,000.00

 
 

*Stores

100,000.00

X

*Region

*Stores

100,000.00

 

You now enter the final total:

Region

Stores

Sales

Locked cell

North

R310

   
 

R311

   
 

*Stores

   

South

R312

30,000.00

 
 

R313

40,000.00

X

 

R314

30,000.00

 
 

*Stores

100,000.00

X

*Region

*Stores

200,000.00

 

You confirm your entries and obtain the following result:

Region

Stores

Sales

Locked cell

North

R310

50,000.00

 
 

R311

50,000.00

 
 

*Stores

100,000.00

 

South

R312

30,000.00

 
 

R313

40,000.00

X

 

R314

30,000.00

 
 

*Stores

100,000.00

X

*Region

*Stores

200,000.00

 

If the subtotal is locked, all the summands belonging to it are also counted as locked and therefore remain unchanged if data is entered in a superordinate total.

 

 

Leaving content frame