Planning Locally with Excel Upload 

Use

You can complete planning decentrally with Excel, that is, you enter the plan data locally with multiple Excel files on one or more computers. The plan data entered in Excel sheets can then be imported to the SAP System using an upload.

Prerequisites

Planning with Excel upload is based on the planning layout. In order to prepare and complete the Excel upload, the following prerequisites have to be met for the planning layout:

If you change a planning layout after creating an Excel template, you can no longer use this Excel template. In this case, you have to create a new Excel template.

Procedure

Preparing the Excel upload

In order to enter plan data in Excel and to then import it to the SAP System using an Excel upload, you first have to prepare the Excel upload. To do so, you have to set up a connection between the planning layout and the Excel file. Proceed as follows:

  1. In Financial Accounting Customizing, choose Special Purpose Ledger ® Planning ® Define Planner Profile.
  2. Goto the desired plan task and set the Excel Int indicator, that is, make certain it is set.
  3. Open the default settings for your plan task.
  4. Enter the values for the variables defined in the planning layout. This entry is necessary so that the Excel sheet can be opened in the next step.

  5. Choose . This opens Microsoft Excel as the entry screen.

The system automatically assigns a file name. A connection between the plan task and the Excel spreadsheet is created by the file name, that is, a connection between the cells of the spreadsheet and the cells of the planning layout.

You can also enter a file name. To do so, you have to go to the column File name in the plan task when editing your plan task and enter your own file name.

  1. This takes you to the screen Maintain File Name with Excel as the entry screen.
  2. The screen defined in the planning layout is displayed in the upper left hand corner of the Excel spreadsheet. You can individually set up the spreadsheets. Various functions are available for this purpose. For more information see Functions for Editing Excel Templates.

  3. Under Generic file, enter a generic file name.

The generic file name creates the connection between the file on the local PC and the file name during the upload.

The generic file name must consist of a group of characters (capitals), the generic sign *, and the file ending .TXT; for example PLANNING*.TXT.

The name ranges of the various generic file names may not overlap, since this would not allow a unique assignment of the local file to the file name. If for example, the generic file name PLAN*.TXT was assigned at one position and PLANN*.TXT at another, the system would not be able to uniquely assign the upload of file PLANN5.TXT.

You can display an overview of all file names with the generic file names. Using the ABAP Editor, start program RKCDPREO. You can delete file names and generic file names from this list, if they are no longer being used.

  1. In Excel, save one copy of the Excel file on your computer and give it a name that matches the generic file name. If you, for example, choose SALES*.TXT as the generic file name, you can name the local file on your PC SALES1, SALES2, or SALES_D.

As file format, you first have to use the Excel format .XLS. The file can now be opened, independent of the SAP System, in Excel. If you want to upload this file to the SAP System, you have to save the file as a text file (.TXT).

  1. Save your file name. To do so, choose  Save file name.
  2. You can copy the downloaded copy of the Excel sheet as often as needed and make it available for decentral planning.

Make certain that the individual file names correspond to the generic file name so that you can upload the data correctly to the SAP System.

Creating plan data locally using Excel

  1. Open the downloaded copy of the excel sheet on your local PC.
  2. Enter your plan data. During planning, keep a copy saved with the excel format .XLS.

Do not use the following Excel functions:

If you use these functions, you cannot import the data correctly to the SAP System.

When entering your plan data in the Excel sheet, the following functions are available:

Prior to the Excel upload, complete the following:

Completing the Excel upload

  1. To start the upload, from the SAP Easy Access menu, choose Accounting ® Financial Accounting ® Special Purpose Ledger ® Planning ® Planned values ® Upload from Excel.
  2. Enter the file or file directory to be imported.

The path and file names on your computer, in which your plan data is saved, must not have any spaces, such as the directory "My Documents".

  1. In the file name file, you enter a file name, which the system uses to import the file(s). If you do not enter a file name, the system determines the file name automatically using the generic file name.
  2. Start the upload.