!--a11y-->
Customizing Payment Statistical
Sampling 
Before you can use payment statistical sampling, you need to carry out certain configuration work, including:
· Activating company codes for payment statistical sampling purposes
· Specifying the rules, such as the size of samples, you want to apply
· Specifying who can process what in statistical samples
...
1. First, activate payment statistical sampling for your company code To do this, go to the Public Sector Management part of the Implementation Guide (IMG) and choose Functions for US Federal Government ® Payment Processing ® Payment Statistical Sampling ®Activate/Deactivate Payment Statistical Sampling.
The Activate/Deactivate Payment Statistical Sampling Process view appears.
2. Enter your company code and check the activation box.
3. Save your entries.
Payment statistical sampling is now active in your company code. However, you still need to specify some rules to regulate it.
4. In the IMG, choose Define Payment Statistical Sampling Rules.
The View for Payment Statistical Sampling Process Rules appears.
5. Make the following entries:
¡ Company code
¡ Fiscal year
¡ Document type
¡ Amount
Documents must be worth at least this amount to be selected for verification.
¡ Frequency
For example, if you enter “5” here, the sampling process selects every fifth document for verification.
The table also includes a counter, showing the number of times the settings in question have been used.
6. Finally, you have to specify which clerks and supervisors may perform functions. To do this, choose Define Clerk/Supervisor Relationships.
The AP Clerk/Supervisor Relationship screen appears.
7. Make the following entries:
¡ Company code
¡ Clerk 1
¡ Clerk 2
This clerk may process documents assigned to clerk 1 if, for some reason, clerk 1 cannot process them
¡ Supervisor 1
This supervisor is responsible for verifying the documents initially processed by clerk 1 or 2.
¡ Supervisor 2
This supervisor may verify documents assigned to supervisor 1 if, for some reason, supervisor 1 cannot process them
¡ Supervisor 3
This supervisor may verify documents assigned to supervisor 1 if, for some reason, neither supervisor 1 nor supervisor 2 can do so.
8. Save your entries.
9. There are also two Business Add-Ins (BADIs) for Payment Statistical Sampling, which you can use to vary the specifications for invoice certification and the clerk/supervisor relationships. Read the documentation for the relevant IMG steps for details of what to do if you need to use them.
You are now ready to use the payment statistical sampling features.
