SAP Business One — Extraction Guide

Data Extraction Guide
for SAP Business One

Global SME ERP security assessment with enhanced support for East African regulatory requirements. Step-by-step instructions for your IT team to extract security and controls data from SAP B1 via Service Layer REST API or direct SQL for the V/ergent assessment. Includes Release 5 programme packs: 25 AML / Wolfsberg controls + 50 cross-system SoD rules + (SAP-only) 30 SAP-GRC-parity fraud patterns.

18Data Files
12Domains
150+Checks + R5 rules
~20 minEst. Time
All Guides
Quick start

Recommended extraction path

Use the V/ergent extractor first. It writes CSVs to a timestamped folder under C:\Vergent\Export, then you upload that folder into the audit project.

Get extractor
1. Confirm accessUse the read-only role/API scopes listed below.
2. Download with codePaid/active users receive an email code before download.
3. Run locallyPowerShell writes CSV output; V/ergent does not receive credentials.
4. Upload and auditUpload CSVs, confirm file match, then run the audit.
Manual path if automated extraction is blocked

Use the required-file list below as the manual checklist. Keep filenames unchanged, leave unavailable files empty with only headers, and record any missing source in the upload notes before running the audit.

0 Before You Begin
Two extraction methods available. V/ergent provides Extract-VergentSAPB1.ps1 which supports both the Service Layer REST API (recommended for B1 10.0+) and direct SQL against the company database (for older versions or when Service Layer is unavailable).
Read-only — no changes to your SAP B1 data. All extractions are SELECT queries or GET API calls. V/ergent never creates, modifies, or deletes SAP B1 records or configuration. It is safe to run against a live production system.
RequirementDetailsWhere to find it
SAP B1 UserManager-level or Super User accountAdministration → Setup → General → Users
Service Layer URLhttps://b1server:50000 or http://b1server:50000Ask your B1 administrator or check IIS on the server
Company DB Namee.g. ACME_LIVE, SBODemoKEHelp → About SAP Business One → Company DB
SQL Access (fallback)SQL Server login with db_datareader on the company DBSQL Server Management Studio → Security → Logins
B1 VersionB1 9.3 or newer (Service Layer available)Help → About SAP Business One
1 Required Files (15 total)

All files are CSV format. The PowerShell script produces these exact filenames. Upload whichever files you can access — V/ergent runs checks on available data.

Identity & Access
user_accounts.csvIdentity

User Accounts (OUSR)

All B1 users: UserCode, Locked status, SuperUser flag, Admin flag, department, email, last login date, password expiry

user_roles.csvIdentity

User Authorization Groups (USR1/OUSRG)

Mapping of users to authorization groups: UserCode, AuthGroup, GroupName, module codes

license_info.csvIdentity

License Assignments

License type per user (Professional, Limited, Starter), status, and expiry date

Audit & Compliance
audit_log.csvAudit

Audit Trail / Change Log (ADTF)

B1 change log: LogDate, UserCode, object changed, field, old value, new value. Critical for detecting unauthorised vendor bank changes.

approval_templates.csvAudit

Approval Templates (OATM)

Approval workflow definitions: template code, document type covered, active status, min/max amounts, approvers

Financial Controls
journal_entries.csvFinancial

Journal Entry Headers (OJDT)

Manual journal entries: TransId, dates, user, memo, manual flag, totals. Used to detect unapproved posting and backdating.

journal_lines.csvFinancial

Journal Entry Lines (JDT1)

Line-level detail: account codes, debit/credit amounts, contra account. Used to detect round amounts and missing references.

vendor_master.csvFinancial

Vendor / Supplier Master (OCRD)

All suppliers: CardCode, name, bank code, account number, balance, creation and update dates. Used for ghost vendor detection.

payment_transactions.csvFinancial

Outgoing Payments (OVPM)

All outgoing payments: DocNum, vendor, date, total, currency, user who posted, bank account used

System Configuration
company_settings.csvSys Config

Company / Admin Settings (OADM)

System-wide settings: manager password, multiple login allowance, negative inventory, B1 version, backup date, encryption status

password_policy.csvSys Config

Password Policy

Password rules: minimum length, expiry days, complexity requirement, lockout attempts, session timeout

Integration & Data Security
service_layer_log.csvIntegration

Service Layer Access Log

REST API calls: client IP, user, endpoint, HTTP method, response code, protocol (HTTP vs HTTPS). Detect plain-text API usage.

add_ons_list.csvIntegration

Installed Add-Ons / ISV Solutions

Add-on name, publisher, version, SAP certification status, install date. Uncertified add-ons can bypass B1 security controls.

database_users.csvData Sec

Database-Level Users

SQL Server users with direct DB access: role, last login, host. Direct DB access bypasses all B1 application-level controls.

bank_accounts.csvData Sec

Bank Master (OBNK)

Company bank accounts: bank code, name, account number, currency, SWIFT, active status

Detailed extraction steps require sign-in
The full extraction guide — including SQL queries, transaction codes, PowerShell scripts, and the complete file/table reference — is available to V/ergent customers. The overview above tells you what's involved; sign in to access the operational detail.
Sign in Create account
Already a customer? Sign in here.
Ready to assess your SAP Business One system?
Upload your extracted files and receive a full SAP B1 security and controls report within minutes — tailored for East African regulatory context.
Go to Dashboard
What V/ergent ships for SAP Business One (Release 5)

Native coverage: 26 B1-native SoD rules (6 in segregation_of_duties.py + 20 in extended_segregation_of_duties.py) covering OUSRG authorisation groups, OATM approval templates, OINV billing, OPCH purchasing, ODSC payment runs, and SuperUser flag abuse.

Plus the three Release 5 programme packs that run alongside this platform's audit:

Every finding carries citations across 13 frameworks (COSO 2013, COBIT 2019, NIST CSF 2.0, ISO 27001:2022, CIS v8, SOX ITGC, SOC 2 TSC, PCI DSS v4, HIPAA, DORA, NIS2, GDPR, Kenya DPA) — 11 of 13 at ≥75% mapped coverage. See the Check Packs page for per-pack framework coverage badges.