30-Min-Call DE
SAP VIM customizing
SAP Logo

VENDOR
INVOICE
MANAGEMENT


Hinweis: Wir veröffentlichen alle Blogbeiträge ausschließlich auf Englisch.

Improving Invoice Flow: Using a fixed company code for document extraction in SAP VIM with CC4S or IC4S.

This article is intended for informational purposes only and does not supersede or replace the official documentation provided by OpenText. It serves as supplementary guidance to assist with common challenges that may arise during installation and upgrades. For authoritative instructions and compliance requirements, refer to OpenText’s official documentation.

When extracting documents using OpenText Intelligent Capture for SAP Solutions (IC4S) or OpenText Core Capture for SAP Solutions (CC4S), the standard setup determines the company code based on document content.

This is typically done via the staging table /OTX/PS00_T_STG3, which contains company-code–specific master data such as addresses, bank details, and tax IDs.

This approach makes sense when there is a joint inbox for all company codes and in case you want to detect documents sent to the wrong inbox. In that case, content-based determination is both logical and necessary.

blank

VIM Authoirzation can play against this logic as users assigned to company code 1000 might not be able to see an invoice sent to company code 1000 but is actually for another company code.

A cleaner approach: fixed company code per inbox

In a setup where you are using one email address per entity you can remove the determination from the process and assign a fixed company code per ArchiveLink Document Type or E-Mail Address.

blank

In this scenario a invoice sent to the wrong company code would be rejected and sent again to the correct inbox.

How to configure a fixed company code in Capture

Go to T-Code /otx/pf00_img

Navigate to OpenText Vendor Invoice Management Foundation > Inbound Configuration > Capture > Information Extraction Service > Capture Profile Maintenance.

blank

Navigate to Entity Key Assignment, ignore any messages saying that the client is not modifiable:

blank

Add your Capture Profile, the field ‘CompanyCode‘, the Company Code value (e. g. 2000) in Entity Key and other determination factors in the table:

blank

In scenarios where one company code has one ArchiveLink Document Type it is possible to use a wildcard (*) for both email address of sender and recipient.

In many systems, this configuration:

  • Works without a transport request
  • Can be maintained directly in QA and Production

(As always: follow your internal governance rules.)

Important: After configuring a fixed company code for document extraction with CC4S or IC4S, thorough testing is required to ensure that the company code determination works correctly across all relevant document types and scenarios before transporting to quality and production systems.

Official Documentation

For official documentation please refer to chapter Maintaining entity key assignment in OpenText Vendor Invoice Management for SAP Solutions: Configuration Guide for Foundation.

Final thought

Content-based company code determination is powerful – but not universally the best path.

If your organizational structure already guarantees the correct legal entity at the inbox level, removing unnecessary “intelligence” can actually make the process more stable, more transparent, and easier to support.

Sometimes the best optimization is knowing when not to optimize.

Comments

0 responses to “Improving Invoice Flow: Using a fixed company code for document extraction in SAP VIM with CC4S or IC4S.”

Leave a Reply

Your email address will not be published. Required fields are marked *

blank

Professional SAP VIM Training for you and your team.

blank