SAP

 

ZAR3 - Feed Departmental Invoices into SAP

You can feed departmental invoice data from a text file into SAP. The steps involved are:
  1. Create text file of department invoice data
  2. Get started in SAP
  3. Departmental Invoice Feed: (input for prevalidation only)
  4. Departmental Invoice Feed: (review prevalidation report)
  5. Correct invoice problems
  6. Departmental Invoice Feed: (input for prevalidation and posting)
  7. Departmental Invoice Feed: (review prevalidation and posting)

1. Create text file of department invoice data

Your text file of invoice data must consist of the fields (and fixed field lengths) described below. You can create it in another application, for example Excel, and then "Save as.." a formatted text file, for example Formatted Text (Space Delimited).

Field name Length (Start - End) Description
Batch 8 (1-8) batch number; any 8 characters
Dv 2 (9-10) division (10-41)
Gp 2 (11-12) group
Note: Division and group together determine dunning area.
ID 10 (13-22) customer ID
Date 6 (23-28) service date; mmyydd; used in SAP description
Transaction (or Sar) code 3 (29-31) Used to determine what G/L account (legacy system: object code) or cost center/internal order (legacy system: account) to credit
Description 30 (32-61) description of services
Amount 12 (62-73) transaction amount
Dependent 20 (74-93) Medical enters dependent name; library enters book call number.
Note: Concatenated with Description to get SAP's transaction text.

2. Get started in SAP

Note: This feed procedure will not work unless you set Decimal Notation to Period using System => User Profile => Own Data => Defaults tab. After resetting Decimal Notation, you need to logoff SAP and then login again.

3. Departmental Invoice Feed: (input for prevalidation only)

  1. Enter input data:

    dept invoice feed: input data

    Dunning Area

    (Enter 2-character code for dunning area)

    Number of rows coming in

    (Enter number of invoice records; batch record total)

    Total dollars coming in

    (Enter total invoice dollars = batch dollar total; use comma instead of decimal point)

  2. Select prevalidation option:

    The first time through you should select Prevalidation only (see below).

    dept invoice feed: prevalidation

  3. Process in background?

    The first time through you may want to turn background processing off (see below).

    dept invoice feed: process in background?

    With background processing off, the report goes to your screen. With background processing on, the report goes to your printer. (The default is "yes" for background processing on/report to printer.)

  4. Click on Execute

    Result: A window opens so that you can locate the text file to validate (see below). dept invoice feed: locate text file

  5. Locate invoice text file to validate:

    Note: If the number of records or dollars in the text file being validated does NOT match your input data, an error message displays (see below). You need to repeat step 3, this time entering the batch totals correctly.

    dept invoice feed: error message

4. Departmental Invoice Feed: (review prevalidation report)

The prevalidation report header is shown below, confirming your input selections.

dept invoice feed: prevalidation report header

The report body lists any errors that were found, as shown below.

dept invoice feed: prevalidation report body

5. Correct invoice problems

Error message What to do
Customer ID not in Customer Master Check the data in the customer ID field. You may need to use FD01 - Create customer master record
Amount contains non-numeric data Check the data in the amount field.
  • Customer total is less than $5.00 threshold
  • Invoice totals zero
(SAP does not create Library invoices for less than $5.00)
  • Transaction code (123) not on table ZARTCODE
  • Division/Group not in SAP
  • Division/Group does not match Dunning Area
  • Customer ID marked for deletion in Customer Master
  • Customer ID blocked from posting in Customer Master
  • Customer ID not set up for CUR company
  • Customer ID marked for deletion for CUR company
  • Customer ID blocked from posting in CUR company
  • Customer ID has no dunning procedure
Call Maria Tantoulos at 3-2758 for assistance.
Another message, different from any of the above Call Maria Tantoulos at 3-2758 or send e-mail to fuller@mit.edu

6. Departmental Invoice Feed: (input for prevalidation and posting)

Note: To redisplay the Department Invoice Feed screen, you may need to repeat step 2.
  1. Enter input data:

    dept invoice feed: input data

    Reenter input data, if needed.

  2. Select prevalidation option:

    This time you should select Prevalidation and Posting (see below).

    dept invoice feed: posting

  3. Process in background?

    With background processing off, the report goes to your screen. With background processing on, the report goes to your printer. (The default is "yes" for background processing on/report to printer.)

    Note: If you select background processing, you should review and select Print Options (shown below).

    dept invoice feed: print options

  4. Click on Execute

    Result: A window opens so that you can locate the text file to validate (see below). dept invoice feed: locate text file

  5. Locate invoice text file to validate:

    1. File name:
      Click on ; then use the resulting dialogue box to open the text file to validate. Note: The text file must be in the format described in step 1.

    2. Click on Transfer to validate the selected invoice file.

    Note: A warning message displays (see below), if the SAME number of records and dollars was loaded previously. You can cancel the load if the batch was already fed into SAP.

    dept invoice feed: warning

7. Departmental Invoice Feed screen: (review prevalidation and posting)

The posting report header is shown below, confirming your input selections.

dept invoice feed: posting report header

The report body describes posted transactions and errors, as shown below. For more information about errors, see step 6.

dept invoice feed: posting report body


Copyright © 2002, Massachusetts Institute of Technology. All rights reserved.