SAP Accounts Payable (AP) Module
City of Portland
Vendor Mass Change XK99
Transaction XK99 allows you to change multiple vendor records at once. You can change one or more fields in
a single operation, but all selected records must be changed in the same way, for example:
change the Payment Block from null to B
change Deletion Flag from null to X
This transaction can only be used by users who have the Vendor Master Administrator role,
RP_S_AP_Vendor_Master_Admin.
Important note: mass change to vendor compliance data (EEO, Business license, etc.) is not possible with this
transaction.
Prerequisite: Before you start, have available the list of vendor numbers you want to change. A good way to
develop this list is with ZVLIST, the Vendor Listing Report. Export your list to Excel and copy the vendor
numbers to your clipboard when youre ready to proceed.
For this example, well be making changes to the following fields for a small group of vendors (note that these
changes arent logicaltheyre just for demonstration purposes):
Deletion flag from null to X
Posting block from null to X
Purch. block from null to B
Payment method from C (check) to A (ACH)
1. Go to transaction XK99. Youll see an information box containing instructions and warnings. Its worth a
read. Enter or click the green checkmark.
Page 1 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
Mass Maintenance: Vendors shows a list of all tables containing any vendor data. Those marked with a
green check are in use by the City. An explanation follows for each table in use.
Vendor Master (General Section) LFA1 Basic vendor data including name, address, contact, tax ID and
search term fields, as well as Account Group (ZVND, ZVRT, etc.) Deletion Flag, Posting Block, and
Purchasing Block
Vendor Master (Company Code) LFB1 Vendor data which might be different for different company
codes. Since the City has only one company code, this data is very much like LFA1 data. Fields we use
include: Created by, Created on, Clearing with Customer, Payment Block, Payment Terms, Accounting
clerk, Alternate Payee, and Credit Memo Terms
Vendor Master (Bank Details) LFBK Banking data, required for ACH payment.
Vendor master record (withholding tax types) LFBW Withholding tax types. May contain multiple
records per vendor.
Vendor master record purchasing organization data LFM1 Vendor data which might vary by
purchasing org. Since the City has only one purchasing org, this table is populated for most of the Citys
vendors equally. It includes Purchasing Block, Incoterms, and Payment terms (PO).
Page 2 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
2. On the Tables tab, select the tables containing the data you want to change by clicking in the selection box
on the left of each row. For our example, the purchasing block, the deletion flag and the posting block are
in LFA1, and the payment block is in LFB1.
(NOTE: LFA1 is the master data table for vendor records. LFA1 fields will automatically be included in all
X99 results, whether or not you select LFA1 in this step.)
3. Now select the Fields tab. You will see all available fields from each of the tables you selected in step 2,
arranged first by table, then by the column order native to the table.
The Description column shows the familiar name of the data field.
Page 3 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
The Fld.name column shows the table name followed by the technical field name. An appendix of the
vendor fields commonly in use by the City is at the end of this document.
4. Select the fields you want to change. Here we have selected Deletion flag, Posting Block and Purch. Block
from LFA1, along with Payment Methods from LFB1.
Click Execute.
You will see another warning, also worth reading. Enter or green check-mark.
Page 4 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
The next screen is where you enter the vendor account numbers you plan to change. Click on the multiple
selection (yellow arrow) for the Vendor Field
In the Multiple Selections for Vendors screen, be sure youre on the Select Single Values tab.
To paste your previously-copied list of vendors into the Single value field, click on Upload from Clipboard
.
Alternatively, you can type values into the fields directly.
Click Execute.
Page 5 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
Your list of vendors is now included in the Mass Maintenance screen. Since the City has only one
Purchasing Organization and one Company Code, you can leave those fields blank.
Execute.
The resulting view will include a tab for each table you selected in step 2.
Hover your mouse over the column headings to see the full field name. Here, they are (C)entral deletion
flag, (C)entral posting block and (C)entral purchasing block. The current value of each field is shown (null).
The vendors to be changed are listed and pre-selected.
Page 6 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
Be sure that all columns in the New Values row are selected. Enter the value to be applied to all the
vendors in the list:
Click on Carry Out a Mass Change
The changes are applied to all the vendors in the list:
Page 7 of 14
1/8/2013
SAP Accounts Payable (AP) Module
Continue to the next tab.
City of Portland
As before, you can hover over the column heading to check the field name. Here, it is Payment (methods).
The current values are shown.
Enter the desired new value and click on Carry Out Mass Change
Page 8 of 14
. The Payment Method is changed.
1/8/2013
SAP Accounts Payable (AP) Module
Click on Save.
City of Portland
You will see another warning
If you are sure the changes you have requested are correct, click on the green checkmark.
The system returns Messages from the Update Task listing the vendor accounts you have changed:
Page 9 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
5. Validate results. A visit to XK05 validates that the requested posting and purchasing blocks have been
placed on vendor 100101:
Similarly, checking XK06 shows the new deletion flag:
Page 10 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
Finally, checking the Payment Transactions tab of XK03 shows that the payment method has been
changed from C to B
This completes the vendor mass change operation.
Page 11 of 14
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
APPENDIX A: Field Definitions
TABLE FIELD
KNOWN AS
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
LFA1
KTOKK
LIFNR
NAME1
NAME2
SORTL
ORT01
REGIO
PSTLZ
LAND1
PFACH
PFORT
PSTL2
TELF1
TELFX
KUNNR
SPERM
SPERR
LOEVM
NODEL
SPERQ
ADRNR
STCD1
STCD2
1
2
3
4
5
9
10
11
12
13
14
16
18
20
21
27
28
29
30
31
Z01
Z04
Z05
Account group
Vendor Number
Name 1
Name 2
Search term 1
City
Region (State)
Postal Code
Country
PO Box
PO Box city
PO Box Postal Code
Telephone 1
Fax Number
Customer
Purch Block
Posting Block
Central Deletion Flag
Central Deletion Block
Block function
Address
Social Security No
Employer Identification No
LFA1
LNRZA
Z11
Alternative Payee
LFA1
LFA1
LFA1
LFA1
LFA1
LFB1
LFB1
LFB1
LFB1
LFB1
LFB1
LFB1
LFB1
LFB1
LFB1
LFB1
ERDAT
ERNAM
SPRAS
STRAS
TELF2
PERNR
ALTKN
ZTERM
ZWELS
ZAHLS
AKONT
XVERR
XPORE
ZSABE
BUKRS
GUZTE
Z17
Z18
ZZ
ZZ
ZZ
22
23
24
25
26
Z12
Z13
Z14
Z15
ZZ
ZZ
Created on
Created by
Language Key
Street
Telephone 2
Personnel Number
Previous account no.
Pmt Terms Non-PO
Payment methods
Payment block
Reconciliation acct
Clearing with cust.
Individual pmnt
Accounting clerk
Company Code
Credit memo pyt term
Page 12 of 14
COMMENT
Search Term 2 is not available in XK99
This is where total block reason 99 is entered
ZVRT account number for a payee that will be
automatically selected at invoice entry (typically a
bank or collection agency)
SAP username
Always COP1
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
LFB1
LFB1
LFB1
LFB1
LFBK
LFBK
LFBK
LFBK
LFBK
LFBW
LFBW
LFBW
LFBW
LFBW
LFBW
LFBW
LFBW
LFBW
LFBW
LFBW
LFBW
LFBW
LFM1
LFM1
LFM1
LFM1
LFM1
LFM1
LFM1
LFZA
REPRF
UZAWE
ZINRT
ZUAWA
BANKS
BANKL
BANKN
BKONT
KOINH
WITHT
WT_WITHCD
WT_SUBJCT
WITHT
WT_WITHCD
WT_SUBJCT
WITHT
WT_WITHCD
WT_SUBJCT
WITHT
WT_WITHCD
WT_SUBJCT
LIFNR
INCO1
INCO2
ZTERM
EKORG
TELF1
VERKF
WAERS
BUKRS
ZZ
ZZ
ZZ
ZZ
Z06
Z07
Z08
Z09
Z10
31
32
33
34
35
36
37
38
39
40
41
42
ZZ
43
44
Z16
ZZ
ZZ
ZZ
ZZ
ZZ
Check double invoice
Pmt meth. supplement
Interest calc. frequency
Sort key
Bank Contry Key
Bank Key
Bank Account
Bank control key
Account holder
Withholding tax type 1
Withholding tax code 1
Subject to w/tax 1
Withholding tax type 2
Withholding tax code 2
Subject to w/tax 2
Withholding tax type 3
Withholding tax code 3
Subject to w/tax 3
Withholding tax type 4
Withholding tax code 4
Subject to w/tax 4
Vendor
Incoterms 1
Incoterms 2
Pmt Terms PO
Purch. Organization
Telephone
Salesperson
Order currency
Company Code
LFZA
EMPFK
ZZ
Permitted Payee
Page 13 of 14
Vendor number from LFA1
Always COP1
Ordering telephone number
Always USD
Always COP1
ZVRT account number for a payee that can be
selected at invoicing
1/8/2013
SAP Accounts Payable (AP) Module
City of Portland
APPENDIX B: Blocks and Flags
NAME
T-CODE
TABLE
FIELDNAME
CREATE REQ
CREATE
PO/CONTRACT
CHANGE PO
LIV INVOICE
VENDOR
INVOICE
PMT RUN
Purchasing Block
XK05
LFA1
SPERM
Blocked
Posting
Block
XK05
LFA1
SPERR
Not blocked
Deletion
Flag
XK06
LFA1
LOEVM
Blocked
Deletion
Block
XK06
LFA1
NODEL
Not blocked
Block func
99
XK05
LFA1
SPERQ
Not blocked
Blocked
Not blocked
Not blocked
Not blocked
Not blocked
Blocked
Blocked
Blocked
Can't post
Not blocked
Not blocked
Not blocked
Not blocked Not blocked
Not blocked Not blocked
Not blocked Not blocked
Not blocked
Blocked
Pmt blocked
Can't post
Not blocked
Not blocked Not blocked
Pmt blocked
Page 14 of 14
Payment
block
XK02
LFB1
ZAHLS
Not blocked
1/8/2013