You are on page 1of 31

SAP

Mass Upload of
Master Data
SAP Transportation Management 9.0
Table of Contents
1. General Instructions………………………………………………………………………………….3
2. Table Design and Templates……………………………………………………………………..5
3. Function Loader Spreadsheet……………………………………………………………………12
3.1. Spreadsheet Information……………………………………………………………….13
3.2. Input Help Button………………………………………………………………………….14
4. Zones…………………………………………………………………………………………………………15
5. Locations……………………………………………………………………………………………………17
6. Transportation Lanes…………………………………………………………………………………20

2
1. General Instructions
Go to SE38

Enter “FUNCTION_LOADER_INLAY”, THEN “EXECUTE”

3
Click on “Create/Open”

Enter a file to create and click “Open”

4
This is the Data tab. Click on the Design tab.

5
2. TABLE DESIGNS AND TEMPLATES
This is the Design feature to tell the system what field or parameters are to be created. “Name of Put
Function Module:” is for data that is to be put in to TM, and “Name of Get Function Module:” is for data
that is to be drawn out of TM. The maximum number of fields available is 256, keep an eye on this field.

6
From here, use the following list of Functions to get the information needed.

The idea is to use various BAPI’s to upload the master data in TM:

Location
Read: BAPI_LOCSRVAPS_GETLIST2
Create: BAPI_LOCSRVAPS_SAVEMULTI2
Delete: BAPI_LOCSRVAPS_DELMULTI2

Resources
R: BAPI_RSSRVSCMB_GETLIST2
C/D: BAPI_RSSRVSCMB_SAVEMULTI2

Transportation Lane
R: BAPI_TRLSRVAPS_GETLIST2
C: BAPI_TRLSRVAPS_SAVEMULTI2
D: BAPI_TRLSRVAPS_DELMULTI

Transportation Zone
R: BAPI_TZSRVSCMB_GETLIST
C: BAPI_TZSRVSCMB_SAVEMULTI
D: BAPI_TZSRVSCMB_DELMULTI

Schedules
R: /SCTM/BAPI_SCHEDULE_READ_MULTI
C/D: /SCTM/BAPI_SCHEDULE_SAVE_MULTI

Transshipment Location
R: /SCMTMS/BAPI_TLOC_READMULTI
C: /SCMTMS/BAPI_TLOC_SAVEMULTI
D: /SCMTMS/BAPI_TLOC_DELMULTI

Customers are supposed to provide us with their data in Excel format (the format used by the various
BAPI’s). We have not tested this yet. This will be done during the RDS AT I guess.

There are also loading template on this design screen.

7
Pick a standard template or there are additional suggestions to create a template that will fit the
customer’s needs in each section.

After clicking on any of these applications, a Formatting Template will appear. Click on the box in front
and highlight the whole line, click on “Select Entry” on the bottom of the screen.

8
9
In the “Opti” column, there are “Put” and “Get” inputs. The “Put” is to put data in to TM and “Get” is to
get data out of TM. Once at this point, you can click on a row in the Selected Parameters and get all the
fields that are within that Parameter. You can select all or deselect all field and pick only the ones that
you want to use.

10
11
This arrow shows that there was a filter used to create the design. Also, the number of Selected Fields
need to be less than the Max. Number of Selected Fields from above when all fields were selected, in
the upper right hand of screen. Once done, this format can be saved to be used again later.

Once the design is finished, click on the “Format Worksheet” to create the spreadsheet.

12
This information box comes up to remind the operator to change the format of the cells to “TEXT”.

Click on the corner of the spreadsheet to select all cells, then go to the body of the spreadsheet and
right click. Scroll down to “Format Cells…” and click.

13
This spreadsheet comes over as “Standard” but needs to be changed to “Text”. Click on Text and “OK”.

14
From here all the Parameters and fields are imported and can be worked with from here.

3. Function Loader Spreadsheet


Now that we have this spreadsheet, we need to go over some of the buttons and fields.

15
Along the “Data” area in the top of this page are buttons to do certain functions that you will need to
know.

This will send data from this spreadsheet to TM.

This button will get data from TM and fill in the fields where there is data.

This button saves the data as a template and can be reused.

This will clean the data off the spreadsheet, which ever you pick.

This button will give any documentation that is behind the cell that was selected.

This button will give input options that are available in TM.

These are the main buttons that will be used.

3.1 Spreadsheet information:


In this spreadsheet, in Row 1, it shows the BAPI’s that were used. In row 3, this is the headers and they
are in different colors. Yellow mean that they are key data. Blue is “Put” data, this is data that is in TM
and where new data is to be put in. Purple- is “Get” data, data that is to be pulled from TM and filled in
the Blue fields.

HINT: Each of the Blue fields work independently. When entering data, one column may have more
data than others. Data needs to be entered after the last entry under each column header (Blue header
fields). Do not enter data straight across the row.

HINT: Click on the first data cell. Before clicking on the “SAP System” to put data in to TM, make sure
the very first cell with data (A10) is selected. This will allow the function module to work properly. If
you don’t, you will error out.

16
3.2 Input Help button
This is what happens when a cell is selected and then Click on the “Input Help” button. This gives all the
possible data that is available. So if you’re having problem figuring out what goes in to a particular field,
click on this “Input help” and it will show all alternatives.

17
4. Zones
This is only a suggestion to use the following Parameters to enter the Zone Data.

Once the spreadsheet comes up, scroll all the way to right and enter the Logical System and Business
System Group and click on the “Worksheet” button. This will fill in any information that is already
entered in TM under the Blue columns.

18
Notice, column A and B are very short, column C,D, E, and F are very long (126 rows), and column K, L,
and M are very short. If you need to enter a “Zone Location”, start on row 15 and fill in the fields that
need to be filled in.

Important: Every row works independently with each header (Blue header). Look at row 12, again,
every row works independently with each header (Blue header). Example: On row 12 there’s
US_AK_99835 in column C, but in column G row 12 there is US-AL, and in Column K, there is IIL-CN-
CHINA. None of these three rows go together; Alaska (AK), Alabama (AL) and, China. The entry
US_AK_99835 can be found in another ID_ZONE_EXT in another column header to match the data
needed to enter in to the Location, Zone, or any other module being used to mass upload data in to TM.

19
Important: Move cursor back to the beginning. Once all the data is entered in to the spreadsheet,
make sure to move the cursor back to the first data cell (A10) and click on the “SAP System” to enter
data in to TM. Once the data is saved, a search can be done again and the new data is then put in
alphabetical order and will not necessarily correspond with other sections.

Once data is successfully transferred (message on the bottom of the screen), make sure to save your
data.

5. Locations
This is only a suggestion to use the following Parameters to enter the Location Data.

20
21
Once done designing the parameters, this can be saved as a template for future use. This can be done
by clicking on the “Save” button on the tool bar. A dialog box will come up and ask for a title of the
template.

When the worksheet comes up, scroll over to the purple section at the end of the data and enter the
data needed. This “Location Selection” is generated by filling in with BRF+ terminology. This means:

Sign: I= include, E= Exclude

Option: EQ= equals, LE= Less than or Equal to, GE= Greater than or Equal to, CP= Contains Pattern, BT=
Between, NE= Not Equal to, LT= Less Than, GT= Greater Than, NP= , NB= .

Low and High: Conditions, ie; A*, CUS*, US*, etc.

All conditions must be entered in all capital letters. If not done, there will be a short dump. Below, the
conditions are to I (Include) data GE (Greater to or Equal) to anything starting with A (*). Move cursor
back to the “Logical System” Cell and click on “Worksheet” button. All data must be entered in all
capital letters.

22
Important: Every row work independently with each header (Blue header). For more information, look
in the ZONE instructions under the “Important” to see more information. Make sure to enter data at
the bottom of each section, not straight across the rows.

23
Important: Move cursor back to the beginning. Once all the data is entered in to the spreadsheet,
make sure to move the cursor back to the first data cell (A10) and click on the “SAP System” to enter
data in to TM. Once the data is saved, a search can be done again and the new data is then put in
alphabetical order and will not necessarily correspond with other sections.

Once data is successfully transferred (message on the bottom of the screen), make sure to save your
data.

6. Transportation Lanes
This is only a suggestion to use the following Parameters to enter the Location Data.

24
Transportation Lane

Product Procurement

25
Means of Transport

26
27
Carrier

28
29
When the worksheet comes up, scroll over to the purple section at the end of the data and enter the
data needed. This “Location Selection” is generated by filling in with BRF+ terminology. This means:

Sign: I= include, E= Exclude

Option: EQ= equals, LE= Less than or Equal to, GE= Greater than or Equal to, CP= Contains Pattern, BT=
Between, NE= Not Equal to, LT= Less Than, GT= Greater Than, NP= , NB= .

Low and High: Conditions, ie; A*, CUS*, US*, etc.

All conditions must be entered in all capital letters. If not done, there will be a short dump. Below, the
conditions are to I (Include) data GE (Greater to or Equal) to anything starting with A (*). Move cursor
back to the “Logical System” Cell and click on “Worksheet” button. All data must be entered in all
capital letters.

If data already exist in TM then this spreadsheet will be filled in.

30
If no data exist, then add the data as needed.

Important: Move cursor back to the beginning. Once all the data is entered in to the spreadsheet,
make sure to move the cursor back to the first data cell (A10) and click on the “SAP System” to enter
data in to TM. Once the data is saved, a search can be done again and the new data is then put in
alphabetical order and will not necessarily correspond with other sections.

Once data is successfully transferred (message on the bottom of the screen), make sure to save your
data.

31

You might also like