VIM 7.6 SPS2 - Configuration Guide For Invoice Solution English (VIME070602-CGD-EN-01)
VIM 7.6 SPS2 - Configuration Guide For Invoice Solution English (VIME070602-CGD-EN-01)
VIME070602-CGD-EN-01
OpenText™ Vendor Invoice Management for SAP® Solutions
Configuration Guide for Invoice Solution
VIME070602-CGD-EN-01
Rev.: 2021-Dec-03
This documentation has been created for OpenText™ Vendor Invoice Management for SAP® Solutions 7.6 SPS2.
It is also valid for subsequent software releases unless OpenText has made newer documentation available with the product,
on an OpenText website, or by any other means.
Tel: +1-519-888-7111
Toll Free Canada/USA: 1-800-499-6544 International: +800-4996-5440
Fax: +1-519-888-0677
Support: https://support.opentext.com
For more information, visit https://www.opentext.com
One or more patents may cover this product. For more information, please visit https://www.opentext.com/patents.
Disclaimer
Every effort has been made to ensure the accuracy of the features and techniques presented in this publication. However,
Open Text Corporation and its affiliates accept no responsibility and offer no warranty whether expressed or implied, for the
accuracy of this publication.
Table of Contents
1 About Vendor Invoice Management ...................................... 11
1.1 Architectural Overview ..................................................................... 13
1.2 Processing blocks ........................................................................... 14
1.3 About this document ........................................................................ 14
1.4 Understanding Vendor Invoice Management ..................................... 16
1.5 Preparing the configuration .............................................................. 20
4 Roles ......................................................................................... 43
4.1 Defining roles .................................................................................. 44
4.2 Defining role templates .................................................................... 46
4.3 Assigning templates to roles ............................................................ 50
4.4 Maintaining role determination settings ............................................. 52
4.5 Maintaining Chart of Authority .......................................................... 55
15 SAP GUI for HTML Fiori apps in SAP ECC .......................... 599
15.1 VIM Analytics SAP GUI for HTML Fiori app ..................................... 601
15.2 VIM Invoice Workplace SAP GUI for HTML Fiori app ....................... 603
OpenText Vendor Invoice Management for SAP Solutions (VIM) is an ABAP add-on
solution to SAP ECC and SAP S/4HANA.
If no business rules fail, the document is posted in SAP without human intervention.
Although a straight through, no-touch process is the ultimate objective, VIM also
supports the fast and efficient handling and resolution of exceptions.
Exceptions are routed via workflow to the relevant user or user group based on the
role assigned to the exception.
• Invoice Solution
• Procure to Pay Solutions
– Order Confirmation
– Delivery Note
– Quotation
• Order to Cash Solutions
– Sales Order
– Remittance Advice
Since VIM resides inside SAP, enrichments and business rules have direct access to
SAP master and transactional data, which avoids complex interfaces and the
replication and duplication of data.
Each solution offers a Workplace used by end-users and managers to manage and
monitor outstanding and completed work items. Each solution includes a
preconfigured set of analytical measures tailored for the specific document scenario.
Solutions can be enhanced to support company-specific business requirements.
VIM Solutions use features offered by its powerful feature rich Foundation.
• Inbound
• Process
• Workplace
• Analytics
VIM also supports custom solutions where a preconfigured solution is not available
for a specific, less common business process.
VIM offers a simple and intuitive user interface for end-users, managers and
administrators.
Users can choose between the classic SAP GUI or the modern SAP Fiori interface.
SAP Fiori offers a responsive web-based user interface that supports desktop and
mobile devices.
VIM supports various input channels including scan, fax¸ e-mail and web services.
It also supports various input formats, including paper, PDF, TIFF, IDoc and XML.
VIM integrates seamlessly via its Inbound component with OpenText Intelligent
Capture for SAP Solutions and OpenText Core Capture for SAP Solutions, which
uses advanced machine learning algorithms to extract metadata from imaged-based
documents like PDF and TIFF.
VIM also offers integration with OpenText Extended ECM for SAP Solutions and
OpenText Document Presentment for SAP Solutions.
Beside the components of this graphic, VIM offers additional components such as
SAP NetWeaver Business Warehouse or BW/4Hana for specific solutions which are
not shown in this basis architectural overview.
“Mandatory configuration”
These configuration steps describe the basic mandatory customizing. This
customizing must be done with every VIM installation, independent of changes
to the VIM baseline; for example the configuration of roles for the VIM process.
For further information about the VIM baseline, see “Delivery model”
on page 17.
“Advanced configuration”
These configuration steps describe the advanced customizing. This customizing
changes the VIM baseline and partly includes extensions and customer exits. An
example is the DP process configuration.
“Optional configuration”
These configuration steps describe the basic, but optional customizing. This
customizing must be done for optional VIM features, such as the integration of
the Return to Vendor (RTV) function.
“Special topics”
These configuration steps describe special topics of the VIM customizing, for
example VIM Notifications.
• OpenText Vendor Invoice Management for SAP Solutions - Installation Guide (VIME-
IGD)
• OpenText Vendor Invoice Management for SAP Solutions - Configuration Guide for
Foundation (BOCPE-CGD)
• OpenText Vendor Invoice Management for SAP Solutions - Configuration Guide for
Solutions Beyond Invoice (BOCPE-CCS)
• OpenText Vendor Invoice Management for SAP Solutions - Administration Guide
(VIME-AGD)
• OpenText Vendor Invoice Management for SAP Solutions - Reference Guide for Invoice
Solution (VIME-RGD)
• OpenText Vendor Invoice Management for SAP Solutions - Scenario Guide for Invoice
Solution (VIME-CCS)
• OpenText Vendor Invoice Management for SAP Solutions - Security Guide (VIME-
GSM)
• OpenText Vendor Invoice Management for SAP Solutions - User Guide for Invoice
Solution (VIME-UGD)
• OpenText Vendor Invoice Management for SAP Solutions - User Guide for Solutions
Beyond Invoice (BOCPE-UGD)
Release Notes The Release Notes describe the following aspects in detail:
• Documentation extensions
The Release Notes are continually updated. The latest version of the VIM Release
Notes is available on OpenText My Support (https://support.opentext.com).
For information about all OpenText products resold by SAP (including VIM
and ICC), check SAP Marketplace Note 1791874: SAP Products by OpenText -
Software and Support Lifecycle. This note provides detailed information about
software life cycle, access to Support Packages, access to latest documentation,
language packages, and other patches, as well as Support ticket handling.
Note: Only end user screens are translated in additional languages other than
English. Customizing screens are provided in English language only.
Validate metadata
The metadata or index data are validated against the SAP database. If validation
fails, an exception is triggered.
Check duplicates
The validated metadata is used to check whether the new invoice has been
entered already. If the new invoice is suspected to be a duplicate of any existing
invoice, an exception is triggered.
Apply business rules
Invoice pre-processing: Business rules are applied to detect additional
exceptions before posting.
Post for payment
The invoice is posted and released for payment.
Process Description
The description in the headline represents the process scenario.
Roles
Each lane represents a business role, a unique grouping of people required to
collaborate to complete the process.
Dashboard
The dashboard is the user interface for the actors in the process. The dashboard
type identifies the VIM component that is used to realize a specific functionality.
The following dashboard types are available:
DP dashboard
The DP dashboard represents a process as implemented in the Document
Processing component of VIM.
See Section 3 “Working with the DP Dashboard” in OpenText Vendor Invoice
Management for SAP Solutions - User Guide for Invoice Solution (VIME-UGD).
VIM dashboard
The VIM dashboard represents a process as implemented in the Invoice
Exception component of VIM for parked invoices.
See Section 5 “Working with the Invoice Exception dashboards” in OpenText
Vendor Invoice Management for SAP Solutions - User Guide for Invoice Solution
(VIME-UGD).
Options
Various options are available to the actors during the processing of invoices.
These are represented as individual items next to the dashboard block.
• Install and configure an archiving system that supports SAP HTTP Content
Server interface.
• Complete business process blueprint sessions: Final process design swimlane
diagrams are available.
• Create User IDs with appropriate developer and configuration authorizations.
Authorizations need to include developer as well as workflow administrator
authorizations.
• Create ArchiveLink document types or at least finalize the list of the document
types etc.
This part describes mandatory configuration steps for VIM. These configuration
steps describe the basic mandatory customizing. This customizing must be done
with every VIM installation, independent of changes to the VIM baseline; for
example the configuration of roles for the VIM process.
After the installation, some post installation activities need to be performed. Some of
them need to be performed by the Basis Administrator who installs the software.
These are described in OpenText Vendor Invoice Management for SAP Solutions -
Installation Guide (VIME-IGD). This section describes the post installation activities
that you have to perform.
Each component of the Invoice Solution has its own namespace that is used for
customizing settings. The following table lists these namespaces:
Component/App Namespace
Inbound component PS03
Resolve Invoice Exceptions app PS31
Invoice Approval apps PS03
Enter Cost Assignment Simple app PS32
Enter Cost Assignment Advanced app PS37
Confirm Quantity and Price app PS35
Vendor Invoices Report PS311
Supplier Self Service apps PS34
Notes
• For every client, you must activate new BC Sets after installing VIM 7.6.
• You have to login in English to activate the BC Sets.
• Always use “Expert mode” to activate the BC sets.
• You need the appropriate security authorization to run some of the
transactions.
• Depending on the SAP version, the following screens might look different on
your system.
• OpenText recommends that you activate only one BC set in one call of the
SCPR20 transaction. Close the SCPR20 transaction after each activation and
call the transaction again. Some activation errors depend on this: they do not
occur if the activation is performed in a separate SCPR20 transaction.
Don’t activate the BC set in the production system. Create a customizing transport in
Development System configuration client by activating the BC set and move it to
desired systems.
To activate BC Sets:
1. To access the Business Configuration Sets: Activation screen, run the SCPR20
transaction.
Note: If you are prompted to create a new transport, follow your standard
change request process for tracking changes.
Tip: You can ignore any warnings during the activation. If you get an
error during activation of a BC set, then activate it again. In many cases the
error will disappear. You can ignore activation errors like No data found
for writing activation links for object <xxx>.
5. If you are prompted to confirm field values for Company Code, as shown in the
following screenshot, confirm them.
BC sets for Using the same procedure, activate the following BC sets:
inbound and
Fiori scenarios
For inbound:
/OTX/VIM76_SP_INBOUND_DELTA, and then /OTX/VIM76_SP_INBOUND
c. Optional Download the result as HTML, to get the output with colors. This
provides a documentation how it was before.
d. Optional Copy the result into an Excel sheet manually.
e. Optional Create an Excel list of tables, to better decide where something
needs to be changed back.
If you do not want to insert values of a whole table, go into edit mode of
the table, so it is locked and the activation of the BC set cannot insert into
this table.
2. Compare the new BC set with current table entries. Only entries that overwrite
the changed entries need to be analyzed, all other changes are changes in the
standard and can be accepted.
3. After activating the BC set, apply the customer specific changes again.
The standard text is client dependent and should be copied from client 000 to all
required clients. Perform the following steps to do a client copy of the following
standard text in the required languages.
• /OPT/VIM_RTV_EXAMPLE
• /OPT/VIM_SIGNATURE_RTV
Note: To copy the text in all languages at once, you can use an asterisk in
the Language field.
3. Enter values in the required fields. Text Name and Target Name must be the
same.
Click .
6. Repeat the steps for all standard text shown in the list above.
• To activate the BC sets, sign in in English and use the expert mode.
• You must activate the BC sets in every client separately.
• The VIM Invoice Solution 7.6 BC sets are not cumulative. When performing
an upgrade installation, in addition to the initial BC Set /OTEXVIM/VIM76_
BASELINE, you must activate the BC sets of each support package. For more
information, see “Activating business configuration sets” on page 31.
• OpenText recommends that you activate only one BC set in one call of the
SCPR20 transaction. Close the SCPR20 transaction after each activation and
call the transaction again. Some activation errors depend on this: they do not
occur if the activation is performed in a separate SCPR20 transaction.
The business configuration sets (BC Sets) for post installation activities after an
upgrade are the following:
/OTEXVIM/VIM76_BASELINE
This BC set contains complete configuration of VIM 7.6
/OTEXVIM/VIM76_BASE_ONE
This BC set contains configuration changes for VIM 7.6 as compared to VIM 7.5
SP11.
/OTEXVIM/VIM76_DELTA_V2
This BC set contains configuration changes contained in VIM 7.5 SP10 and SP11.
• If you upgrade from VIM 7.5 initial release up to and including SP8, activate /
OTEXVIM/VIM76_BASELINE.
Note: OpenText recommends that you run each of these BC sets with compare
option, to get an overview of the constant values, that are going to be changed
when the BC sets are activated. The values in green are added constants, the
values in yellow are changes. Note that you do not need to activate these BC
sets.
If you are prompted to confirm field values for Company Code, as shown in the
following screenshot, confirm them.
If you are upgrading from VIM 7.5 SP11, you need to activate only /OTX/VIM76_SP_
INBOUND.
When performing an upgrade to VIM 7.6 and applying the support packages at the
same time, in addition to the initial BC sets listed in this section, you must activate
the BC sets of each support package. Those are listed in “Activating business
configuration sets” on page 31.
c. Optional Download the result as HTML, to get the output with colors. This
provides a documentation how it was before.
d. Optional Copy the result into an Excel sheet manually.
e. Optional Create an Excel list of tables, to better decide where something
needs to be changed back.
If you do not want to insert values of a whole table, go into edit mode of
the table, so it is locked and the activation of the BC set cannot insert into
this table.
2. Compare the new BC set with current table entries. Only entries that overwrite
the changed entries need to be analyzed, all other changes are changes in the
standard and can be accepted.
3. After activating the BC set, apply the customer specific changes again.
Note: Consider the most recent Release Notes for latest information on new BC
sets and additional post installation activities.
• Test = X
Note: Before performing the import, verify whether you already have such an
entry. Save the values of non-key fields to restore them after import. The
corresponding IDoc mapping entries are created for development object
ARBCIG_INVOIC.
Note: Consider the most recent Release Notes for latest information on
new BC sets and additional post installation activities.
This chapter describes the steps needed to configure SAP ArchiveLink document
types. ArchiveLink is responsible for the collaboration between the SAP ERP system
and the Archive Center, for example to save documents from a VIM workflow to the
Archive Center, or to retrieve documents from Archive Center for a VIM process.
You need to do this configuration when the content repository (Archive Center) is
installed and the basic ArchiveLink settings are completed. Depending on the
customer requirements, the number and attributes of the ArchiveLink settings might
be different.
Note: For further details about ArchiveLink refer to the SAP documentation.
Check if the following archive document types are defined because they are
frequently used as default values in the VIM configuration:
• /OPT/HTM with description Archived HTML Email and document class HTM
• /OPT/ICC with description ICC Scanned Image (or other) and document class
PDF or TIF
• /OPT/NFE with description XML document NF-e brazil invoice and document
class XML
• /OPT/OTHER with description Additional documents and document class
<empty>
• /OPT/PDF with description Workflow History and document class PDF
To know where to store the incoming invoice (in which Content Repository, in
which link table), you must maintain the links, as described in this section.
To link the Archive Document Type and the VIM Business Object:
2. In the Links for Content Repositories Overview screen, click New Entries.
Object Type
Enter /OPT/V1001
Document type
Enter /OPT/ICC
Link Status
Enter X
Storage system
Enter the Content Repository ID.
Link
Enter TOA01
Notes
4. Click .
2. Create new entries, as shown in the following screenshots. The first one is BKPF
for Non-PO invoices and the second one is BUS2081 for PO invoices.
Additionally, you have to define a profile for the PDF history log and assign it to a
VIM process step. For more information, see “PDF history log” on page 958.
To know where to store the PDF history log (in which Content Repository ID, in
which link table), you must maintain the links, as described in this section.
To link the archive document type and the VIM business object:
2. In the Links for Content Repositories Overview screen, click the New Entries
button in the application tool bar.
Object Type
Enter /OPT/V1001.
Document type
Enter /OPT/PDF.
Link Status
Enter X.
Storage system
Enter the Content Repository ID.
Link
Enter TOA01.
2. Create new entries as shown in the following screenshots. The first one is BKPF
for Non-PO invoices and the second one is BUS2081 for PO invoices.
Roles refer to the grouping of various business users according to their business
activity. In the swimlane diagrams, roles represent the title for each of the lanes.
Vendor Invoice Management (VIM) has a comprehensive framework for realizing
various requirements in the area of role definition. You can define roles as granular
as needed.
Role
In VIM terminology, role stands for a Process Agent. Role is not the same as the
SAP workflow technical role.
Note: The workflows are delivered by OpenText and hence cannot be
changed at client side.
Template
Any role bases on a template.
Template fields
Templates can have fields that determine the granular logic used in determining
the final set of users. For example, the grouping of roles can base on the
company code or the purchasing organization.
This chapter describes the steps required to create and configure roles needed for
implementing VIM business scenarios.
005
Document Processing (DP) based product codes
LIX
LIV based product codes (both for PO parking and PO blocking workflows)
PIR
Product codes for Non-PO parking workflows
Every role assignment bases on the product code/role combination. For example, to
create a role called BUYER in a PO parking process, create a role BUYER with product
code LIX.
OpenText delivers standard roles used in most process scenarios. You can define
your own roles if needed.
To maintain roles:
Product Code
Enter the product code such as 005, LIX, PIR. Refer to OpenText product
codes for applicable product code.
Responsible Party
Enter the responsible party (role).
Description
Enter the description of the role.
Role Function Module
Enter a function module for the role. For the interface, see function module
template /PTGWFI/COA_W_ADKY_GET.
Key Determination
Select the check box, if the role is defined by object information – the context
in which the role is used.
Deactivate the check box, if the role is fixed and defined by organization
data, for example: if you want to determine the role by company code, scan
location, or plant.
Object Type
Maintain the object type, based on the workflow.
• Combination of columns
Example: Company code, scan location and plant define the AP Processor role.
Example: Buyer is the PO creator that the function module extracts from the PO.
Template Id
Enter meaningful character value that identifies the template.
Description
Enter the template description.
Type
Select the template type. The following template types are available:
Org Unit
If you select Org Unit, the agents for the role are determined from a
fixed org unit (User, Position, Work Center, and so on)
Allow Org
For Key Determination Based templates, only: If the Allow Org flag is set,
you can set an Org Unit instead of a fixed SAP User ID while maintaining
agents for role template in the role determination transaction.
Object Type
For Org Unit based templates only: Select the default value for Agent Type
(User, Position, and Work Center etc.).
Agent Id
For Org Unit based templates only: Select the agent ID.
Function Module
For Function Module Based based templates only: Select the function
module that is used to determine agents for this template. The interface
value for the function module can be found in the OpenText delivered
function /OPT/BL_ROLE_SELF_DIRECTED.
1. In the Template Definition Overview screen, select a template from the list and
double-click Template Fields in the navigation pane.
Field Id
Enter a freely defined field Id which describes the usage of the field.
Ref. Table/Ref. Field
Select reference table and reference field. When maintaining values for the
field, the system can check the values and provide F4 help for the field
using reference table and reference field.
Search Help
Select the search help. When maintaining values for the field in the role
determination transaction, the system uses this value to provide F4 help for
the field.
Allow Range
Select this check box to allow ranges. The values can have a range from
“Low Value” to “High Value”. The system checks the runtime data for the
product code in which the template is used to validate if it can resolve the
field.
Wild Card
Select this check box to allow the wild card character *. Users can define a
wild card for values in the role determination transaction for the product
code in which the template is used.
Example: A field combination of Company Code and Plant could be used to resolve BUYER
in the PO parking process, BUYER in the PO blocking process and PO_BUYER in the Document
Processing process.
2. In the Template Fields Details Overview screen, maintain the Template Field
Details, using the following parameters:
Product Code
Select the OpenText product code in which the template is used.
Object Type
Select the object type. Object types are defined for each OpenText product
code. You can however create a subtype for the OpenText Object Type to
define your own attributes. At runtime, the system instantiates the object
with the object key. The type should be compatible to the OpenText object
type for the given product code.
Attribute
Select the attribute the system uses for the given OpenText product code for
getting the runtime value for the given field Id.
Product Code
OpenText product code
Responsible Party
OpenText role
Key Determination Template Id
Template Id defined
Active check box
Select the Active check box to assign the template defined to the product
role combination. The template will be used in determining agents for the
role in OpenText processes. You can only have one active template for a
given product role.
Func. Module
Enter the custom function module. The interface for the function
module is defined in the /OPT/BL_ROLE_SELF_DIRECTED function
module.
Agent Type
Select the agent type (US for user ID, S for position, and so on).
Agent Id
Depending on the agent type, select the agent Id (SAP user ID, position
etc.).
Level-based This approval method has been introduced with VIM 7.0. Level-based approval is
approval considered only for Non PO document types. For PO document types, a one-step
approval is provided by default.
For more information, see “Configuring approval flow settings” on page 406.
Note: The simple approval flow, which was used in versions of VIM prior to
7.0, was based on Manager’s information provided in the “old” Chart of
Authority (COA). For information about the “old” COA, see Section 9.6
“Maintaining Chart of Authority” in OpenText Vendor Invoice Management -
Configuration Guide (VIM060000-CGD). This is the documentation for VIM 6.0.
COA configura- In level-based approval, COA details are checked when the user opens the work
tion item. That means that changes in the COA details are automatically reflected in the
Invoice Approval screen. When a task is performed, the next approval steps are
automatically determined according to the actual setting. Therefore, changes to user-
specific COA details are not critical. Changing or renaming a User ID might be
critical. For more information, see “To activate or deactivate a user:“ on page 59.
This section provides details on how to configure the COA for level-based Invoice
Approval. For a comprehensive description of the level-based Invoice Approval
component, see “Invoice Approval“ on page 387.
Purpose COA is required in the Invoice Approval process to allow users to approve Non PO
invoices. The data combination maintained in the COA helps to determine the
correct approver for a certain invoice in the approval process.
Note: The PO Invoice Approval process does not consider the COA when
determining the next approver. For PO invoices, Baseline implementation
identifies the requester of the PO as the first and only approver.
Prerequisites
• The Cost Objects allowed in the Invoice Approval process are maintained. You
can maintain the Cost Objects in the SM30 transaction for the /OPT/BL_T401V
table/view.
Note: The fields Inv. Table and Inv. Field in /OPT/BL_T401V were used in
the old simple approval, but are ignored in level-based approval.
• The fields required for approval user data in the User Details tab are maintained.
You can maintain the fields in the SM30 transaction for the /OPT/BL_T402V table/
view.
Independently from the /OPT/BL_T402V table/view, the following fields are
always displayed in the User Details tab:
– OPT_USERID
– DELETED
– EMAIL
– MANAGER_ID
– BULKAPPROVAL
– BTEXT
– USER_TYPE
– UTEXT
For all other fields, you must maintain them in the /OPT/BL_T402V table/view to
have them displayed in the User Details tab.
• The levels required for approval limit and approval authorities are maintained.
You can maintain the levels in the SM30 transaction for the /OPT/AT_LEVEL table/
view.
Note: Level 0 is always reserved for Coder Level. Level 1 always represents
Requester Level. All other subsequent levels from 2 to x can be used for
Approval Levels.
Expense type It is possible to build the line-based approval logic on the values of expense type and
and additional other fields that are available in the invoice line items. The expense type is treated as
fields
an item level field. Other fields must already be present in the line item structures of
the invoice. See the /OPT/A_INVOICE_ACCT_ST structure for reference.
Important
You can configure the requester determination using the same COA logic as
used to determine coders (except the first coder) and approvers. However, this
is only supported if you work with real coders, that means, if you have two
steps, first coding and then requester. If you have configured that “coder =
requester”, VIM uses the requester field from the invoice.
1. Add new fields (except the expense type) to the /OPT/A_COA_FIELDS_ST and /
OPT/BL_4RCOA_DATA structures. To do this, use append structures.
2. Add new fields to the COA field list in the /OPT/BL_T401V view as line item
fields. You must add the expense type field as a line item field. Make sure the
Header field check box is cleared.
3. Provide a mapping between the invoice fields and the COA fields. You do this
in the VIM customizing for the respective AFS IDs, under Maintain Invoice
Detail Fields and Maintain Coding Fields Mapping. For more information, see
“Configuring fields for the invoice detail page” on page 429.
Access You can access the COA maintenance using transaction code /OPT/AR_COA.
The default access to COA is in display mode. Use the Display/Change button to
switch to maintenance mode.
OpenText User Id
User Id (generated automatically)
Note: If the OpenText Approval Portal is connected to multiple SAP ERP
backend systems, the OpenText User Id for a particular user must be the
same in all SAP ERP systems.
Deleted
Check box indicating if the user is deleted from COA.
Manager ID
Direct superior of the user. In the level based approval flow, the manager is only
used for the notification escalation processing but not for any approval
processing logic. For more information, see “Configuring notification and email
options” on page 985.
• A-Approval
• R-Reject
• B-Approval and Reject
• N-None
Last Name
User’s last name
First Name
User’s first name
Middle Name
User’s middle name (optional)
Department
User's department (optional)
Windows Domain
If implementing optional Approval Portal with WAS authentication scenario:
Windows domain. Required if Approval Portal is used with WAS authentication
scenario and users are authenticated using Windows domain.
Windows_ID
If implementing optional Approval Portal with WAS authentication scenario:
Windows ID or the login ID. Required if Approval Portal is used with WAS
authentication scenario and users are authenticated using Windows domain.
Personnel number
Personnel number of the user
SAP User ID
SAP User ID of the user
SAP Portal User ID
If implementing optional Approval Portal with Portal authentication scenario,
this will be the login ID for the user in the portal.
Email Address
User's email address. Identifying field for all COA users (approvers). This field
cannot be duplicated with existing users.
Name and address
Name, other form of user's address (optional)
Telephone number
User's telephone number
In the User Details View screen, you can perform the following actions:
Notes
• You cannot delete users in COA but only deactivate them. Before you
deactivate a user, check if the user has open invoices to approve. If yes,
reassign open invoices to another user using the Reassign utility. For
more information, see “Override, delegation, substitution, and reassign”
on page 449.
• Renaming an OpenText User ID is not possible directly. You must create
a new user and deactivate the old user.
• If you are deactivating a user, the COA will issue a warning if there are
any active approval tasks. However, this is only a warning, you can still
proceed.
The settings here are the same as in the Personalization screen in the Approval
Portal. See Section 7.15 “Personalizing your views of the Approval Portal” in
OpenText Vendor Invoice Management for SAP Solutions - User Guide for Invoice Solution
(VIME-UGD). Some parameters apply to the Mobile Integration, as well.
Show Details
Select this check box to automatically open the Invoice Detail section in the
Approve Invoice screen.
Clear this check box to display only the Details link in the Approve Invoice
screen.
Show History
Select this check box to automatically open the History section in the
Approve Invoice screen.
Clear this check box to display only the History link in the Approve Invoice
screen.
Default Coder
Starting with VIM 7.5, this parameter is no longer used.
E Notify Active
Select this check box to receive an email notification regarding any new
invoice in your inbox.
Language
Enter the default language.
Note: Using this setting can override the language used by some
screen elements in browser-based Invoice Approval applications. This
can result in a mixed display, meaning different languages in the same
screen. Do not use this setting if you experience conflicts of this setting
with default settings on the client side, like browser default settings or
the Fiori Launchpad sign-in language.
Date format
Also relevant for Mobile Integration: Enter the date format. Click for a
list of possible formats.
Dec.pt.format
Also relevant for Mobile Integration: Enter the format of the decimal
notation. Click for a list of possible formats.
Currency
Enter the default currency.
Show Attachment
This check box is not relevant. Users can always use the attachment
function, regardless of the Show Attachment check box.
Display Type
Determine where the invoice image should be displayed when opening the
detail page. Click for a selection.
Logical system
Enter the SAP ERP system that you want to use as the user preference for
your Invoice List page.
Time Zone
Also relevant for Mobile Integration (as the time zone in Approval log):
Enter the default time zone for the user. Click for a selection.
Note: In header based approval, the flow will remain the same as the line
based approval in coder and requester level. The lines have to be coded and
approved, and each line is checked against the COA details of the user in the
corresponding level.
Enter the following parameters for the combination of Company Code and
Approval Level:
Company Code
Company Code for which the approval level should apply
Approval Level
Basic value of the level based COA. Select one of the following values from the
list:
0
Coder level (no limit possible)
1
Requester level
2, 3, ...
Approval levels
Amount Limit
Enter an amount. This amount will be considered as the approval limit. The user
can approve the invoice if the amount of a certain pack in the invoice is less than
or equals to the amount mentioned in this column. If the amount exceeds this
limit, the invoice needs next level approval.
Notes
Invoice information
Invoice 1000€
Amount
Line 1 Cost Center: 1000; Amount 100€
Line 2 Cost Center: 1001; Amount 300€
User A Allowed for Cost Center 1000 and Cost Center 1001
User B Allowed for Cost Center 1001
User C Allowed for Cost Center 1002
As User C has the highest pack amount, he will receive the workitem.
(In this case, you must distinguish between the Highest pack only and the All
pack scenarios.)
For coder and requester (approval level 0 and 1), the cost objects are checked if the
user can code or approve the corresponding cost objects. All lines must be approved
by a legitimated coder or requester. The invoice is forwarded to the next coder or
requester until all lines are coded or approved. Within level based approval, this
process is performed in the same way for header and line based approval scenarios.
For approvers, the COA is used to determine the next approver and also to create
the pack when the approver opens the work item. If more than one approver exists
in the COA for the corresponding cost objects of the invoice line, the first user in the
COA will be determined. For this, the entries will be sorted alphanumerically with
the approver ID and counter.
Note: To change the logic of handling the cases when more than one approver
can be determined, you can redefine the user map class and implement your
own logic of sorting the entries and prioritizing the approvers.
Cost object values can be entered using ranges and wildcards (asterisk). Only full
wildcards (*) are allowed, no partial wildcards (n*).
Note: You can choose whether the asterisk will match an empty invoice field
or not. You control this by the constant IAP / AST_ALLOWS_SPACE. When
changing the constant value, be aware that having it enabled may affect the
process of finding the next coding agent for the lines where all COA-relevant
fields are empty.
Without the constant enabled, for lines with empty cost elements, VIM will
propose any existing coding agent to allow the coding process to continue.
With the constant enabled, users that have COA records with asterisks will be
excluded from the search. This means, the line is not empty for them anymore
because the asterisk will fill the space.
If an invoice line has one cost object assigned, this cost object is checked against the
COA.
If an invoice line has more than one cost object assigned, all cost objects are checked
against the COA. There is no precedence of one cost object over the other. All cost
objects that are listed in OPT/BL_T401V are checked.
Cost objects which are not available in the COA (according to configuration of OPT/
BL_T401V) are not checked.
If an invoice line does not have any cost object that can be assigned to a COA cost
object, the line cannot be approved.
The COA Details View lists approvers, depending on the Company Code and the
Approval Level.
The user types Coder / Requester and Approver are shown on separate sub-tabs.
Company Code
The company code that the user is authorized to approve. For line based
approval, the company code of the invoice line is used to check against the
COA. For header based approval, the header company code is relevant.
Important
In VIM baseline, level based approval does not support cross-company-
code invoices.
Approval Level
Approval level. See “Approval Limit/Level View” on page 61.
UserObjID
OpenText User Id, maintained in the User Details tab
Counter
This column is not editable. It is filled automatically by the system. The counter
is used to indicate the number of times the same user with same level and
company code is assigned to different cost elements. See the lines in the
screenshot at the beginning of this section: Company Code 1000, Approval
Level 000-Coder, and UserObjID CODER1
However, using this way, you cannot limit the approval rights at some
selected levels only to a combination of GL account 1234 and cost center
1010. The solution is to enable multiple cost elements in COA and maintain
the COA like this:
Parallel editing
The following might be a requirement: Multiple users in different company codes
should be able to change data in the COA Details tab in parallel. You can use the /
OPT/AR_COA_S transaction for this purpose.
The following conditions apply for parallel editing of the COA Details tab.
Notes
Technical implications
Locking
To ensure data integrity between standard COA maintenance, COA Detail
maintenance and COA Upload, the following locking scenarios are in place:
Data handling
The behavior of the delete line icon in the /OPT/AR_COA_S transaction needed to
be changed. In this transaction, the delete line action is directly performed on the
database, in contrast to the main transaction where the deletion is performed
only after saving.
The company code will only be shown for determination by requester and
company code. If the determination is configured to use requester, there will be
no maintenance view available for this AFS ID.
Requester ID
Person who the invoice belongs to (initial approver). For more information,
see “Driving the approval flow for DP invoices” on page 403 and “Defining
approval hierarchy and approval level” on page 405.
Company Code
The company code the coder is authorized to perform coding accounting
information for.
Default
Select the check box to set the coder as the default coder for this company
code.
Counter
Counter, cannot be modified.
Coder
User ID of the coder for this combination.
In the Coder Settings view, you can perform the following action:
You as the VIM workflow administrator can set up Anne as Andrew’s substitute so that she
can approve the invoices.
Notes
• When a substitute approves an invoice, the audit trail shows that “XXXX
approves on behalf of YYYY”.
• In the Approval Portal (new interface), you can set up substitutes (delegates)
using the User menu in the header. For more information, see Section 7.16
“Specifying settings for delegation” in OpenText Vendor Invoice Management
for SAP Solutions - User Guide for Invoice Solution (VIME-UGD).
2. In the User Substitutes Management Utility screen, click the Search User
button to indicate the user to be substituted.
3. In the Search User dialog box, enter search criteria for the substituted user and
click to search for the user ID.
4. To select the user from the list, double-click the corresponding entry in the
Search User dialog box.
5. In the User Substitutes Management Utility screen, click the Substitutes tab,
and then click Select a substitute.
6. In the Search User dialog box, enter search criteria for the substitute and click
to search.
7. To select the user from the list, double-click the corresponding entry in the
Search User dialog box.
To view the change documents, select the records to be analyzed and click the
Display changes button in the mentioned tabs.
You might want to use standard SAP transactions to view change documents or to
write change documents from your custom programs. In this case, see the following
list. It describes the corresponding change document classes and function modules
that are provided with VIM.
User Details
Change document class /ORS/USERMAP
Function module /OPT/VIM_BL_CHNG_USRMAP
Approval Limit/Level
Change document class /OPT/VIM_APPLMT
Function module /OPT/VIM_APPLMT_WRITE_DOCUMENT
COA Details
Change document class /OPT/VIM_LBACOA
Function module /OPT/VIM_LBACOA_WRITE_DOCUMENT
Processing modes
Delta mode
In this mode, you update the existing record with information provided in
the upload file (*.CSV file).
Inserts a new record if the user does not exist yet.
Note: To mark a user as deleted, set the deletion flag in the *.CSV file.
The field DELETED for table /ORS/USERMAP must be enabled in the
upload configuration, and the *.CSV file must contain X at the
corresponding position.
Full mode
In this mode, all data from the COA tables is deleted in the database, and is
updated with the data provided in the *.CSV file.
Important
Handle the full mode with care because all existing users are deleted
in the system if you upload the data in full mode.
Test mode
Select this check box to run the report for testing purposes. Test mode does
not perform table updates.
Note: The processing modes are only applicable to upload (data transfer).
For download, the processing modes are not used.
Update modes
Presentation server
The *.CSV file to be uploaded is selected from the PC (presentation layer).
File path
Path to the *.CSV file that is used to either upload or download the data.
Application server
The *.CSV file to be uploaded is selected from the application layer.
Notes
Upload
The data provided in the *.CSV file is uploaded to the COA tables.
Use SAP internal format
Clear this check box to upload the cost objects that are defined in the *.CSV
file with conversion (conversion exits, for example adding leading zeros).
Select this check box to upload the cost objects that are defined in the *.CSV
file without conversion, in the SAP internal format.
Notes
• The upload report does not perform all input checks as done in the /
OPT/AR_COA maintenance transaction. Manual rework might be
necessary after the upload.
• If the Use SAP internal format parameter is not set, Z constant COA_
VAL_INPUT_FLDS will be considered. For more information, see
Input validation for cost objects on page 67.
Download
The data related to the COA tables is downloaded into the *.CSV file.
Use Configuration
Clear this check box to download the table using the structure of the
database table.
Select this check box to download the table using the structure defined in
the COA upload configuration.
Exits You can overwrite the entire logic using the exits provided in the /OPT/COA_
UPLOAD_REPORT program, using the following Z constants of the IAP product code in
the /PTGWFI/Z_CONST table:
COA_UPLOAD_EXIT_UP
Z constant for upload. The reference FM template for the exit is /OPT/COA_
UPLOAD_EXIT.
COA_UPLOAD_EXIT_DW
Z constant for download. The reference FM template for the exit is /OPT/COA_
UPLOAD_EXIT.
Customization You can configure the fields and the field sequence for the COA upload, according
to the tabs in the new COA. The configuration for the COA upload supports only
three of the four tabs. For details, see the following table.
1. To specify the tab type for the COA upload, run the /OPT/VIM_UPLCFG
transaction.
Alternatively, run the /n/OPT/SPRO transaction and navigate to OpenText
Vendor Invoice Management Invoice Solution > Invoice Approval
Configuration > Technical General > COA Upload Configuration Details.
2. In the Tab Configuration for COA Upload screen, in the COA Tab selection
field, specify the tab type that you want to configure, and click .
Field entries are inserted into the /opt/coa_uplcfg table.
Tab type
COA upload tab type
Table name
Name of the table related to the specified COA upload tab type
Fields
Fields available in this table
Active
Select this check box for the fields that you want to change or update the
information for in the respective tab of the new COA.
Sequence
Specify the order of the fields. This can be flexible, you can determine your
own order or template. Do not duplicate order numbers.
Notes
The proposal for the COA upload configuration entries is created when you
open the corresponding node in /OPT/SPRO. All the field information related to
the COA tab is read. Already existing records are not overwritten. The data is
inserted or modified in the COA upload configuration table /opt/coa_uplcfg.
You must activate the fields in the proposed list of COA upload configuration
entries according to your process.
When using the Use Configuration option for the COA download, this
configuration is also considered when downloading COA data.
Deletion of records in the COA Details tab – For data in the COA Details tab
(key COA for table /OPT/APPR_COA), you can maintain a DELETE_FLAG in the
upload configuration for the COA details table. All entries that are marked with
DELETE_FLAG are deleted from the database.
Important
• OpenText strongly recommends that you fully specify the key of the /
OPT/APPR_COA table in the *.CSV upload. If the key is not specified
completely and you perform a delta upload, existing data that is not
considered in the *.CSV file might be overwritten. Therefore, if you run
a delta upload without fully specified keys, you do so at your own risk.
• When deleting entries in the COA details with the DELETE_FLAG, you
must completely specify the key.
Entries in the *.CSV file that cannot be matched to an existing database entry
are ignored and mentioned in the output protocol of the report.
The virtual field DELETE_FLAG is not reflected in the database table /OPT/APPR_
COA. The virtual field is only used to mark fields for deletion in the upload
report.
Notes
• Always maintain the first column of the *.CSV file with the COA upload tab
type, for example USR. Then follow the sequence for the corresponding table,
mentioned in Sequence on page 77.
• The SAP_USER_IDs must already exist as SAP users.
• Cleaning the personal data from the usermap for records marked as inactive,
selected by user. No records are deleted, but the following fields are set to blank:
last, first, and middle name; department; email; phone number.
• Deleting the usermap records, COA and coder records, for records marked as
inactive, selected by user.
Notes
• The program does not check whether there are approval workflows that are
still open. Such a check is being performed in the COA maintenance
transaction when a user is being deactivated.
• The approver name can be eventually stored in approval process comments.
The comments are stored as SAPScript objects and are not deleted by the
program.
• When personal data is cleared, corresponding change documents are
written. The existing values will then be visible in the change documents
created in the process. The change documents can be deleted later using
standard SAP tools.
1. To open the selection screen, run the SE38 transaction, enter the program
name /OPT/VIM_USERMAP_CLEANUP, and click Execute.
2. On the COA Usermap Cleanup screen, configure the cleanup program, using
the following parameters:
The transaction supports only updating of COA Details, which is the third tab in the
COA maintenance transaction from earlier versions. You can use the alternative
transaction to maintain larger amounts of data, compared to the earlier one.
Note: Performance optimization implies the restriction that any custom COA
columns are not supported. Use the earlier transaction /OPT/AR_COA in this
case.
To access specific COA records with the alternative maintenance transaction, restrict
the selection on User Mapping Object ID, Approval Level, or Expense Type for
Invoices. The selection of the Company Code is mandatory. You can select only one
company code.
Note: The data in the Limits and Users tabs cannot be changed, even in
maintenance mode.
Product code
IAP
Constant name
COA_INDIVIDUAL_LOCK
Run the SM30 transaction for table /PTGWFI/Z_CONST, and set the value to X
to enable the individual locking.
Clear the value to enable global locking if you are processing large amounts
of data that might lead to reaching the global lock limit.
To determine when parking and blocking processes need to be triggered, you must
define the rollout criteria, for example the company code, for these processes.
Note: The rollout criteria are used for two additional functions:
• for the posted approval process. For more information, see “Configuring
event linkage for posted approval” on page 399.
• for the creation of accompanying DP documents for documents that are
posted or parked directly in the SAP system, in connection with a
corresponding setting of the Z constants 005 DOCTYPE_NPO and 005
DOCTYPE_PO.
Note: Company codes, document types, and plants are part of the rollout
criteria for the PO parking process and the PO blocking process. For the Non
PO parking process, company codes and document types are part of the rollout
criteria.
• Rollout company codes, plants, and document types are maintained in the
respective tables by using the OpenText Customization:
Company codes
/OPT/VIM_CCODE_A
Plants
/OPT/VIM_PLANT_A
Document types
/OPT/VIM_DTYPE_A
1. To define the rollout criteria, run the /n/OPT/SPRO transaction and navigate to
OpenText Vendor Invoice Management Invoice Solution > PO Based Invoice
Configuration > Parked Invoice Processing Configuration > Rollout Criteria
(Workflow Start Conditions) > Allowed Company Codes, Plants, Document
Types.
2. In the Allowed Company Codes screen, select either both PO Invoice Process
and Non PO Invoice Process or only one of the check boxes for the respective
Company Code.
in the table(s) or the data meets all the conditions such as company code,
document type and plant (only for PO invoices).
Caution
If you change the configuration in this section, the PO parking process
might not trigger at all.
Company codes, document types, and plants are part of the rollout criteria for
the PO parking process and the PO blocking process. For details, see “Defining
rollout criteria for the PO parking process” on page 85.
1. To define the rollout criteria, run the /n/OPT/SPRO transaction and navigate to
OpenText Vendor Invoice Management Invoice Solution > PO Based Invoice
Configuration > Blocked Process Configuration > Rollout Criteria (Workflow
Start Conditions) > Allowed Company Codes, Plants, Document Types.
2. In the Allowed Company Codes screen, select either both PO Invoice Process
and Non PO Invoice Process or only one of the check boxes for the respective
Company Code.
Caution
If you change the configuration in this section, the PO blocking process
might not trigger at all.
Notes
• You must activate this linkage if you want to use posted approval for
PO invoices, because the event to trigger posted approval is generated
in the receiver function module /OPT/BL_PO_BLK_RECEIVER. Make sure
that your setting of rollout criteria does not prevent the execution of the
receiver function module.
Note: For a description of the configuration necessary for the Non PO parking
process, see “Non PO parking process configuration“ on page 365.
To completely disallow the Non PO parking process, deactivate the event linkage as
described in “Event linkages” on page 91.
Note: Company codes, document types, and plants are part of the rollout
criteria for the PO parking process and the PO blocking process. For the Non
PO parking process, company codes and document types are part of the rollout
criteria.
Rollout company codes and document types are maintained in the respective tables
by using the OpenText Customization:
Company codes
/OPT/VIM_CCODE_A
Document types
/OPT/VIM_DTYPE_A
1. To define the rollout criteria, run the /n/OPT/SPRO transaction and navigate to
OpenText Vendor Invoice Management Invoice Solution > Non PO Based
Invoice Configuration > Parked Invoice Processing Configuration > Rollout
Criteria (Workflow Start Conditions) > Allowed Company Codes, Plants,
Document Types.
2. In the Allowed Company Codes screen, select either both PO Invoice Process
and Non PO Invoice Process or only one of the check boxes for the respective
Company Code.
Caution
If you change the configuration in this section, the Non PO parking process
might not trigger at all.
This part describes the advanced customizing. This customizing changes the VIM
baseline and partly includes extensions and customer exits. An example is the DP
process configuration.
Important
If you create new elements from baseline elements in the advanced
configuration, do not change the baseline configuration but only copy it. Use
element names that begin with Z and numeric elements with 800 or 900. If you
need to enhance the VIM document status, use alphanumeric values (for
example Z1). VIM has already occupied the whole range between 00 and 99.
VIM implements authorization checks in several reports, for the COA maintenance
transaction /OPT/AR_COA, for the indexing screen, and for VIM Invoice Workplace.
In the reports, in the indexing screen, and in VIM Invoice Workplace, the
authorization checks ensure that SAP users working with VIM are able to see and
process only the information that they are authorized for. In the COA maintenance,
the authorization checks make sure that the user is allowed to display or maintain
the entries.
For backward compatibility reasons, the authorization checks are disabled in the
standard configuration. You can enable them on demand as described in “Enabling
VIM authorization checks globally” on page 106.
P_GROUP = '/OPT'
P_ACTION = 'SUBMIT'
If you run VIM in a multiple backend landscape, the data for the Central Reporting
module is normally collected from more than one system. It may be important to
distinguish between documents arriving from different systems even if they have
the same company code. Because of this, OpenText provides the new authorization
object J_6NIM_BUK, which has the following check fields: activity, logical system,
and company code. The activity checked currently in the reports is 03 - Display.
The logical system and the company code correspond to the document source.
In case of VIM Analytics and Current Liability Report, the data that is displayed
comes from the current (local) system only. Therefore, these reports use a blank
logical system value when checking the authorizations.
Restrict the visibility of the data regarding company code authorizations of the users
for the following reports:
All reports perform the checks for the blank value of the company code whenever it
is relevant for DP documents. If the authorization checks are active, the documents
with a blank company code are not shown to all users, but are checked as are all
other documents. Therefore, unless you are granting “all values” access with an
asterisk (*), it is important to allow the display by adding the empty company code
value in the authorization profile. The value to enter is ' ', that is a space
surrounded by single quotes. For the OpenText authorization object J_6NIM_BUK,
the authorization profiles in the central system must include entries with blank
company code for the central and satellite systems as needed.
Similarly, to grant access to local documents in VIM Analytics and Current Liability
Report, you must maintain the entries with blank logical system in the authorization
profiles. You must do this even if at the same time, for the multiple backend
scenario, the exact logical system name of the local system is already added into the
authorization profiles.
All authorization checks examine the SAP user group of corresponding SAP user in
the user map, or a blank user group of non-SAP users is entered. The following
screenshot from the SU01 transaction shows the field being checked.
The checks of the approval limits and coder assignments will also check the
company code of the record. All three objects support the following activities for the
authorization checks: 01- Create, 02 - Change, and 03 - Display.
Table 6-3 summarizes the authorization checks available in the COA maintenance.
If you do not use the user group field in the SAP user master of the corresponding
SAP user, enter a <blank> value for the user group in the authorization profile. Also
enter a <blank> value for the user group in the authorization profile if the SAP user is
not maintained (for example for pure portal users). The blank company code will be
used whenever the company code is not entered or is entered as “*” in COA Details
or Coder Settings.
If Coder Settings is set to “Use Requester” mode so that the company code is not
used, empty company code values must be used in the authorization profiles. When
switching the setup from “Use Requester” to other modes, all company code values
in the Coder Settings have to be properly populated. If needed, this must be
performed by a user who has the coder maintenance authorization for all company
codes.
Whenever the data is saved, in all four screens, the maintenance transaction
performs consistency checks on the changed data. This also includes the entries that
are not shown to the user because of missing authorization. This means, both the
displayed list and the hidden list are checked together. An inconsistency could be
reported because of the hidden entries. In case of Coder Settings checks, the
consistency errors for hidden entries will be reported as any that have the row index
99999. When such problems occur, the COA consistency has to be checked by a user
who has maximum authorizations for all four screens, for example by a Basis
administrator.
Table 6-4 shows the authorization object used in the indexing screen (DP
dashboard).
Note: With VIM Invoice Workplace, you can run work items that are not in
your own inbox, such as Work Views Other, Team, or All. If you want to
restrict this possibility, you must protect it against the authorization objects
J_6NIM_WP8 or J_6NIM_WP9.
Table 6-5 summarizes the authorization checks available in VIM Invoice Workplace.
Note: If your VIM system does not run in a multiple backend environment, all
authorization checks are performed on the same local system. In this case, a
transaction assignment in SU24 is possible for all authorization checks, using
the proposal provided by OpenText. For more information, see “Configuring
the authorization checks” on page 104.
To enable authorization checks in the VIM Central Workplace on VIM work items
and to restrict the execution based on company codes, the Foundation component
provides a new class for dynamic filter: /OTX/PS03_CL_03_AUTH_CC_WP.
1. Run the /OTX/PF00_IMG transaction, and then navigate to the path Workplace
configuration > Navigation > Nodes.
2. Mark the node related to VIM and double-click Filter criteria in the Dialog
Structure.
3. Configure the filter criteria, using the following parameters:
Attribute
BUKRS
Sign
Range Limit included
Options
Equals
Note: The BC set delivered with the VIM Support Package 16.3.2 provides
the dynamic filter entries for all relevant nodes.
4. To activate the authorization check, open table /PTGWFI/Z_CONST using the
SM30 transaction, and set the global authorization check Z constant 009 / AUTH_
CHECK_ACTIVE to X.
The authorization checks use the authorization object J_6NIM_BC1. Any “Display”
or “Change” authorizations allow the user to execute work items.
Table 6-6 shows the authorization object used in the exception dashboards.
If the 009 / SPROGRAM_CHECK_ACTIV Z constant is active, the program also checks for
access to the S_PROGRAM authorization object. For more information, see the entry
SPROGRAM_CHECK_ACTIV in Section 36 “Z constants for product code 002 and 009” in
OpenText Vendor Invoice Management for SAP Solutions - Reference Guide for Invoice
Solution (VIME-RGD).
Transaction Description
/OPT/DP_POST_DT_UPD Mass update of posting date in DP documents
/OPT/VIM_INV_REVERSE Reverse invoice posted with VIM
/OPT/VIM_RPT_DATA_LD Initial data load for VIM Analytics (VIM 7.0 only)
Transaction Description
/ORS/UMREASSIGNED Approval reassignment
The installation packages provide only the standard entries for “SAP” assignments,
which means those visible in SU22. Copying of the standard VIM assignments into
the “customer” tables (SU24) must be performed through the standard SAP
download / upload programs RSU22DOWN and RSU22UPLD in the following way.
3. Run the upload program RSU22UPLD, and enter the same list of VIM
transactions.
4. Make sure you set the check boxes as shown in the following screenshot:
Note: You can perform a test run first (select Test Mode) and also use the
option to create a transport file if needed (select Enter Data in Transport).
5. When asked for the file to use, select the same file created by the download
program.
6. When you have successfully completed the previous steps, adjust the
transaction assignments, if needed, in SU24. Then, you can use them in the
profile generation tool.
• /OPT/VIM_VA2
• /OPT/VIM_VA21
• /OPT/VIM_VA22
• /OPT/VIM_VA23
• /OPT/VIM_VA24
• /OPT/VAN_LIABILITY
• /OPT/VIM_AGING
• /OPT/VIM_AUDIT
• /OPT/VIM_EXCP1
• /OPT/VIM_KPA1
• /OPT/VIM_PROD1
• /OPT/VIM_SUMM
• /OPT/AR_COA
• /OPT/VIM_WP
Some VIM tables are being delivered without this authorization group. To set this
authorization group on customer’s site, a report is available. The report is called /
OPT/VIM_AUTHGROUP_TABLE_CHNG. You can use it to update:
If you run the report in test mode, the names and the number of tables with default
authorization group are displayed.
If you run the report in normal mode, the report prompts for a transport request
after successfully updating the data. This transport must be transported to quality
and production clients.
The new authorization checks are implemented to comply with SAP security
requirements. You cannot switch them off like it is possible with VIM specific
authorization checks (see “Configuring the authorization checks” on page 104). Most
of the time, VIM users already have the necessary authorizations in their profiles
because they likely use the same transactions outside of the VIM context. For
reference purposes, the list of transaction codes is provided in “Authorization
checks with fixed transaction codes, VIM transactions” on page 107 and
“Authorization checks with fixed transaction codes, standard SAP transactions”
on page 108. If needed, authorization profiles of VIM users can be extended
according to their specific tasks.
Note: Make sure the background user (normally WF-BATCH) has all
necessary authorizations
Table 6-9: Authorization checks with fixed transaction codes, VIM transactions
Table 6-10: Authorization checks with fixed transaction codes, standard SAP
transactions
• Function modules that belong to core VIM (namespaces /PTGWFI, /ORS and /
OPT)
• Function modules that belong to VIM solutions based on the Foundation
component, used for the Inbound component and Fiori apps (namespace /OTX)
In core VIM, you can additionally secure remote function calls (RFC) by activating
dedicated authorization checks. These checks are optional and are not active in the
baseline configuration for backwards compatibility.
Product code
009
Constant name
SRFC_CHECK_ACTIV
To activate the checks in general, the value of the Z constant 009 / ALV_CHECK_
ACTIVE must be set to X in the constant table /PTGWFI/Z_CONST. With this activation,
you can control the authorization with the authority check object J_6NIM_ALV:
• The users authorized for activity = 02 are allowed to maintain ALV layouts for
the mentioned screens.
• Unauthorized users do not have any layout options active in ALV toolbars of the
mentioned screens. The default global variant is used all the time.
2. The authorized users create a global default variant in each ALV screen.
3. All user specific ALV layouts for the following programs are deleted.
• /OPT/CL_C_UI_PLUGIN_DEF_LOG===CP
• /OPT/CIDX_OUTPUT_LOG_ST
• /OPT/SAPLVIM_RPT_FG_005
Note: The ALV layout deletion can be performed as described in SAP Note
933916.
4. Activate the authorization check for ALV layout (table /PTGWFI/Z_CONST).
If you use the Inbound Configuration, only the following customizing steps are
relevant for VIM:
Each document runs through defined workflow steps indicated by the framework
process. Workflow steps consist of an ordered number of Service Modules. These
Service Modules are integrated components of the framework. You can enhance the
Service Modules by adding new entries in the customizing.
Some authorizations are needed to monitor the Inbound Configuration. For more
information, see the example in Section 8.4 “Authorization objects” in OpenText
Vendor Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD).
Caution
Standard inbound scenarios for invoices include implicit enumeration of
invoice line items. This results in entries with field name ITEMID added
automatically into external data lists. To avoid conflicts with those entries,
avoid using explicit mapping of the item ID, for example, by adding a
corresponding entry into IDOC mapping definition.
Note: Make sure that the channel you use in Inbound Configuration is also
configured in the Invoice Solution.
Scenario classification
Entry PS03_VIM_INVC is delivered in BC set. It is required to trigger VIM. You
must assign it in your registration configuration. For details, see Section 4.3
“Creating scenario classifications” in OpenText Vendor Invoice Management for
SAP Solutions - Configuration Guide for Foundation (BOCPE-CGD).
Document handler - status
All necessary status entries are delivered in BC sets. For details, see Section
4.4.1.1 “Configuring the document handler status” in OpenText Vendor Invoice
Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-CGD).
Document handler - modules
The following document handlers are delivered in BC sets. Assign the document
handlers in your registration configuration. For details see Section 4.4.1.3
“Configuring modules for the required processing steps” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD):
initial values, for example provided within a pipeline with call point PR. If you
want to avoid that already pre-mapped information gets overwritten during
later mapping, you must enhance the mapping logic.
The OCR integration document handler PS03_CAPTU updates the captured data
from OCR recognition and validation in VIM (handler modules /OTX/PS03_CL_
VIM_MODULE_CC_VAL and /OTX/PS03_CL_VIM_MODULE_CC_PRO).
The DP status in VIM is finally updated with the processed handler steps at the
end of the Inbound component processing in the exit class /OTX/PS03_CL_VIM_
HANDLER_EXIT of the document handler.
7.1.3 Administration
All incoming documents can be monitored and administered in the VIM Central
Workplace in the Inbound Administration work center.
This chapter describes configuration required for IES and VIM integration, which is
specific for VIM. General Foundation component configuration that is required for
IES integration is documented in Section 5 “Capture Integration” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
ICC and IES It is possible to switch from ICC to IES. You can use the pre-learning feature in the
Foundation component to train IES profiles based on already validated ICC
extraction results. For more information, see Section 2.4 “Pre-learning of IES
Profiles” in OpenText Vendor Invoice Management for SAP Solutions - Administration
Guide (VIME-AGD).
Data correction The OCR sometimes makes mistakes, and these mistakes need to be corrected
manually. Machine learning also requires correction. For more information, see
Section 5.2.1.4 “Machine learning” in OpenText Vendor Invoice Management for SAP
Solutions - Configuration Guide for Foundation (BOCPE-CGD).
Inside SAP
VIM indexing screen
Outside SAP
Validation Client for SAP® Solutions (Validation Client), which is the end user
interface of IES. For more information, see Section 3 “Validating documents” in
OpenText Validation for SAP Solutions - User Guide (CPIE-UGD).
Single Click Up to VIM 7.5 SP10 and VIM 16.3.4, Single Click Entry (SCE) was only supported
Entry with ICC/BCC. Starting with VIM 7.5 SP11 and VIM 16.3.5, you can use the SCE
function when invoices are processed with IES. There is no additional configuration
required to enable the SCE plug-in. When a document is processed with IES, the SCE
button is visible in the DP indexing screen and you can move any data from the
image into VIM fields with a single click.
Learning in IES is based on the data sent as feedback either as results of the OCR
validation process, or from the processed VIM DP document, which in turn can be
direct or SCE based input, sent at the end of the DP process. Activate either
Validation or Process end in the feedback configuration in the Foundation
component configuration. If you are not using SCE but only the validation client,
OpenText recommends that you set the feedback to Validation.
Note: For Single Click Entry to work correctly with IES, the Single Click Entry
control needs to be updated to the latest version, patch 26 minimum.
Authorizations RFC authorizations are necessary for the validation user. For more information, see
Section 2.4 “Configuring authorizations for validation user” in OpenText Vendor
Invoice Management for SAP Solutions - Security Guide (VIME-GSM).
Credit memos IES hands over negative amounts if they are present on the credit memo. If a
corresponding keyword points to a credit memo, IES also hands over negative
amounts for credit memos that have positive amounts. From validator corrections,
IES learns to distinguish between credit memo and invoice.
Upgrade After an upgrade of IES to a later version, no further action is required from your
side.
In the first step, SAP is calling IES and sends the image and information about the
PO number format, see the parameters in First step on page 120. IES tries to find
generic data on the invoice which will allow SAP to determine the sender and the
recipient of the invoice, such as PO number candidates, email addresses, IBAN
numbers, TaxIDs. The OCR results are stored in SAP.
In the second step, SAP calls IES and sends a list of possible receiving countries
(based on company code), a list of vendor countries (based on the vendor
candidates), and a list of relevant tax rates. In this step, IES extracts all preconfigured
and custom invoice fields. The OCR results are stored in SAP.
It is possible and recommended to use the Validation Client to verify and complete
extraction results. For details regarding configuration of validation, see Section 5.3
“Customizing validation” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
First step
PONumberRanges
List of internal number range intervals for number range object EINKBELEG
(purchasing documents) with low value, high value, and current value
Second step
ReceivingCountries
List of countries of company codes which are relevant based on extracted fields
of first step
VendorCountries
List of countries of suppliers which are relevant based on extracted fields of first
step
VatRates
List of relevant tax rates of company code if unique company code was
identified by extracted fields of first step
SupplierMatcher
List of candidates for supplier which are relevant based on extracted fields of
first step (version 2 only, see “Business Entity Determination” on page 121)
RecipientMatcher
List of candidates for company code which are relevant based on extracted fields
of first step (version 2 only, see “Business Entity Determination” on page 121)
Business Entity For the recognition of the supplier and company code entity fields, an advanced
Determination determination logic is available with version 2 of the invoice extraction
scenario PS08_INVOICE. This feature is called Business Entity Determination. It is
described in Section 5.2.3.1 “Customizing the Business Entity determination” in
OpenText Vendor Invoice Management for SAP Solutions - Configuration Guide for
Foundation (BOCPE-CGD).
Version 2 of the Invoice scenario additionally uses address data and other master
data to determine the supplier and company code.
• IBAN numbers
• Email addresses
• PO numbers
• Address data
• Tax numbers / VAT IDs
• URL addresses
• Email addresses
• Tax numbers / VAT IDs
• URL addresses
• Address data
For details see Section 5.2.3.1.1 “Processing of the Business Entity determination” in
OpenText Vendor Invoice Management for SAP Solutions - Configuration Guide for
Foundation (BOCPE-CGD)
The following settings are provided with the BC sets. Do not change them:
Note: The VIM channel is using the standard VIM mapping GENERAL.
The following procedure shows the additional required steps to enable the IES
integration. The OpenText Vendor Invoice Management for SAP Solutions - Configuration
Guide for Foundation (BOCPE-CGD) provides more details on some of the
configuration tasks.
1. Customize ArchiveLink:
6. Activate the created extraction profile in the system that will be actually
integrated with the IES service.
Note: It can take some minutes until the profile will be completely
activated and ready to be used for extraction.
Note: When setting up the IES result processing service according to the
Foundation component documentation, you need to grant general MM and FI
authorizations to the service user if the IES will be used with VIM. If
recognition results are not complete, for example, supplier or company code
data is not populated in general, perform an authorization trace to identify
missing authorizations.
Field mapping VIM is using two stage mapping for IES results. The first mapping, implemented in
of IES the Inbound Configuration, maps the fields in the structured XML format received
extraction
results
from IES into a field/value list for header and item data. This data set is later
mapped using the baseline VIM mapping definition GENERAL when starting the VIM
process.
You can configure the first mapping in the maintenance table /OTX/PS03_IESMAP for
the used IES scenario.
Customizing Run the /n/OPT/SPRO transaction and navigate to OpenText Vendor Invoice
path Management Invoice Solution > Document Processing Configuration > General
Configuration > Incoming Document Processing > IC4SAP (IES) Data Mapping.
Baseline scenario is PS08_INVOICE. The field External Field Name must contain the
path to the field that is mapped. The path must correspond to the structure
definition delivered in the table /OTX/PF11_T_DESD. The fields and paths, apart
from custom defined fields, are set by the IES. Do not change them.
Note: To ensure correct amount mapping, verify that the Z constant 005 / OCR_
CURRENCY_FIELD lists all possible external names of currency fields. Settings
for this Z constant are not delivered with standard BC sets. Separate the list
with commas and include no spaces. Recommended value: InvoiceCurrency,
WAERS.
If you are using an input channel different from the standard channel VIM_IES, and
also using feedback on the process end, you must define that custom channel for
feedback mapping.
3. Add a new entry for your new channel with the same mapping ID as the
standard one:
The possible tax rates are not read from the SAP FI module (transaction FTXP) but
must be maintained in the table /OTX/PS00_TAXR:
Provide the entries for country and tax category. Currently, the following tax
categories are supported:
For Canada
GST, HST, PST
For India
CGST, IGST, SGST
You can use the free-text column Region to enter several rates for one combination
of country and category. The column does not need to be restricted to real region
names.
The recognition of country specific tax data requires special mapping entries in the
table /OTX/PS03_IESMAP (see also “Configuring the IES integration for VIM”
on page 122). OpenText delivers standard mapping entries for that.
Note: The path does not reflect the OCR result structure. The last element (for
example CA_GST) actually denotes country and tax category and does not
exist as it is.
1. Add the custom field in the Foundation component IES Profile Maintenance.
2. Add the custom field in the /OTX/PS03_IESMAP table. For external names, add a
prefix Z_.
4. Use the validation process to make IES learn the custom fields.
If you are using feedback on the process end, and not after validation, you must add
the custom fields to the feedback mapping.
2. Mark the data model PS03_VIMCL and double-click External data mapping.
4. Add header fields in the node Field Mapping for data hierarchy level 1.
Add line items fields in the node Field Mapping for data hierarchy level 2.
5. The external field name must be your custom field name including the prefix
Z_, and the field name must be the database field in the table /OPT/VIM_1HEAD
for header fields and /OPT/VIM_1ITEM for item fields.
This section describes the setup steps required to enable IES Extraction Analytics for
Invoice Solution.
To add the call of IES Extraction Analytics into logic module processing:
3. Add record(s) to the standard processing definition G_PS03_001 for the relevant
DP document types and inbound channels.
3. Select the Active check box for the following nodes: PS03_DEA_INV_ALL
and PS03_DEA_INV_VAL.
1. Run the /n/OPT/SPRO transaction and navigate to the menu path OpenText
Vendor Invoice Management Invoice Solution > Document Processing
Configuration > General Configuration > Incoming Document Processing >
Maintain Channels.
The Channel Setup Overview shows a list of all existing Channel IDs.
2. Make sure that all relevant VIM import channels are included in the table.
Important
The Web Dynpro application of the KPI Dashboard can display a maximum of
10 channels.
To create a channel:
Channel Type
Select the channel type from the list.
Short Description, Text
Enter the channel description. It is language dependent.
Mapping ID
Enter the Mapping ID.
You maintain mapping IDs for each channel, for example IDOC. The
mapping ID is used to determine whether the mapping is done through a
custom function module or field to field.
Sys Det. ID
If you want to link a System Determination ID to the channel, enter the
System Determination ID. If no System Determination ID is linked here, the
Default Company Code Look up system determination can be used in a
multiple system scenario.
Ignore Mapping Error
Errors might occur during the mapping stage when data from a particular
channel is sent to the SAP ERP system.
Select this check box to determine that these errors are ignored for the
channel and that the VIM workflow is started.
Clear the check box to determine that, in case of a mapping error,
processing stops and the VIM workflow is not started.
Process ID
Enter the process ID.
You can maintain process IDs for the channel. The process ID is used to
determine which process handling the incoming document is linked to.
Notes
1. Run the /n/OPT/SPRO transaction and navigate to the menu path OpenText
Vendor Invoice Management Invoice Solution > Document Processing
Configuration > General Configuration > Incoming Document Processing >
Maintain Channel Override Settings.
2. Decide on the priority of the checks for possible file types (Document Class)
and the XML content format (Root Node for XML files).
Note: If there are several XML files attached to the same invoice, all of
them are checked against each configuration entry until a match is found.
You can create a Mapping ID to logically group a mapping set for a particular
channel. A Mapping ID is tied to a channel so that proper mapping is performed for
an incoming invoice for that channel.
Ignore Chars
Enter characters that are deleted in an extra step before the mapping
continues. This is useful to easily implement simple normalization of
external values. For example, apostrophes or dashes can be removed this
way.
The field can contain up to 6 characters.
Condense
To remove blank characters in the input string, enter X in this field.
Notes
In addition to the standard field mapping, automated field enhancement offers the
possibility to set or change field values statically or dynamically.
Counter
To specify a call order of the field enhancement, enter a number up to 4
digits.
Field Type
Select field level Header or Item.
Document Field Name
Enter the Index field name (VIM field).
Note: If you are using Subsequent Debit/Credit, for the field name BSART
(E1EDK01 segment, object name INVOIC02), maintain the Document Field
name VORGANG instead of CREDIT_MEMO.
Additionally, in the IDoc Field Mapping, maintain, for the field name
BSART, the Document Field Name VORGANG instead of CREDIT_MEMO. For
more information, see “Configuring IDoc field mapping” on page 143.
You can use the Inbound Configuration to handle incoming document processing.
For more information about how to configure document registration for Document
Pipeline and document handler, see Section 4.4.2.4 “Customizing the Document
Pipeline registration type” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
To activate the Document Pipeline processing for the Inbound Configuration, you
must assign the corresponding exit function delivered with the Foundation
component in the J_6NGTE26 table and deliver the data according to the interface
described in Section 4.4.2.4.1 “Maintaining general settings” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
Example: The structure of an SAP application document and the structure of the
corresponding EDI message under the UN/EDIFACT standard.
• IDocs allow extensive exception handling before the data is posted to the
application.
You can use the Inbound Configuration to handle incoming document processing.
For more information about how to configure document registration for IDoc and
document handler, see Section 4.4.2.2 “Customizing the Inbound IDoc registration
type” in OpenText Vendor Invoice Management for SAP Solutions - Configuration Guide
for Foundation (BOCPE-CGD).
To activate the IDoc processing for the Inbound Configuration, you must assign the
corresponding processing function delivered with the Foundation component in the
Inbound Function Module configuration in the BD51 transaction. For more
information, see “Defining settings for the inbound function module” on page 138.
4. Click Save .
7.6.1.2 Linking the inbound function module to IDoc type and message
type
In this step, you establish the link between the inbound function module, the basic
IDoc type, and the message type.
To link the inbound function module to IDoc type and message type:
Function module
/OPT/DB_INBOUND_IDOC_PROC
Function type
Select Function Module.
Basic type
Enter the basic type, for example INVOIC02.
Message Type
Enter the message type, for example INVOIC.
Object Type
Enter /OPT/V1001.
Direction
Select Inbound.
Description
Enter a meaningful description.
5. Click Save .
The process code is a logical name for the processing function module. The process
code is used to uniquely determine a function module that processes the received
IDoc data and converts an IDoc to an SAP document.
Process code
Enter the process code name.
Tip: You can choose a name for the process code that suits your needs.
Description
Enter a meaningful description.
Identification
Enter the inbound function module /OPT/DB_INBOUND_IDOC_PROC.
Option ALE
Click Processing with ALE service.
Processing type
Click Processing by function module.
5. Click .
7. Assign the new process code to the logical message using the following
parameters:
Process code
Process code name as defined in Step 4.
Message type
Enter the message type, for example INVOIC.
8. Click Save .
In this step, you assign the new process code to the IDoc partner profile. You must
specify partner and partner type. You must also specify whether you define a profile
for inbound or outbound data exchange. You can use an existing partner profile. The
partner type must be Logical system (LS).
Tip: If you want to create a new partner profile, you must first create a new
logical system. See the SAP documentation for details.
Partner No.
ID of the partner profile
Partn. Type
Partner Type: Enter LS for logical system.
Message type
Enter the message type, for example INVOIC.
5. On the Inbound options tab, enter the Process code that you created in
“Creating a new process code” on page 140.
6. Click Save .
• The first level of mapping maps the IDoc data to Intermediate fields.
• The second level of mapping maps Intermediate fields to VIM fields (index
fields). The second level of mapping is maintained at the channel level.
Every type of incoming document, for example IDoc, is assigned to a channel.
Based on the mapping ID which is assigned to the channel, each type of
incoming document is mapped differently. The mapping ID determines the set of
mappings from the Intermediate Fields to the VIM fields. For VIM, the channel
for the EDI scenario is IDOC. The Channel IDOC is assigned to the mapping ID
IDOC.
In multiple backend systems, the incoming IDocs are received and preprocessed in
the central system. After that, they are sent to the satellite system for further
processing. The satellite system is determined based on the company code. Each
system in the multiple backend system is identified by a logical system name. See
“Determining system by company code for multiple backend systems” on page 148.
1. Run the /N/OPT/SPRO transaction and navigate to the menu path OpenText
Vendor Invoice Management Invoice Solution > Document Processing
Configuration > General Configuration > Incoming Document Processing >
Idoc Data Mapping.
Obj. name
Development Object name: the IDoc type INVOIC02
Segm.type
Segment type in IDoc type
Field name
Segment field
IDOC Qualf(Fld/VAl)
Qualifier of the Segment
Qualifier Value
Value of Segment Qualifier
Field Type
Select either Header or Item type from the list.
Value
If you selected Constant (fixed value), System variable, or Function
Module as the field mapping type, enter the corresponding value.
If you selected Function Module, you can use the /OPT/GET_YEAR or /OPT/
IDOC_UOM_ISO_TO_SAP function modules as a template.
Notes
Value
POLIST or DNLIST
• If you are using Subsequent Debit/Credit, for the field name BSART (E1EDK01
segment, object name INVOIC02), maintain the Document Field name
VORGANG instead of CREDIT_MEMO.
Additionally, when maintaining the VIM field mapping, maintain, for the
IDoc Mapping ID, the CREDIT_MEMO Document Field name instead of
VORGANG in Automated Field Enhancement. For more information, see
“Maintaining the VIM field mapping” on page 133.
Header
E1EDK04-MWSKZ to MWSKZ
Item
E1EDK04-E1EDP04-MWSKZ to MWSKZ
You can use the Inbound Configuration to handle incoming document processing.
For more information about how to configure document registration for IDoc and
document handler, see Section 4.4.2.2 “Customizing the Inbound IDoc registration
type” in OpenText Vendor Invoice Management for SAP Solutions - Configuration Guide
for Foundation (BOCPE-CGD).
To activate the PDF rendering of IDocs using the Inbound Configuration, you must
assign the same document type in the registration for IDoc in the Foundation
component, see Section 4.4.2.2.5 “Linking inbound IDoc with document handler,
channel, and classification” in OpenText Vendor Invoice Management for SAP Solutions
- Configuration Guide for Foundation (BOCPE-CGD). Additionally, a service module
for document creation must be available and activated in the handler processing ,
see Section 4.4.1.3 “Configuring modules for the required processing steps” in
OpenText Vendor Invoice Management for SAP Solutions - Configuration Guide for
Foundation (BOCPE-CGD).
Z constant To enable the PDF rendition, you must maintain the Z constant EDI_IMAGES_FM
(product code 005) in table /PTGWFI/Z_CONST. In the Constant Value field, enter a
function module using the template /OPT/EDI_IMAGES_EXIT_TEMP. You can use the
baseline function module /OPT/EDI_IDOC_PDF_IMAGE.
2. For the fields in the Define Profiles area, see the following screenshot and
“Defining profiles for the PDF log” on page 955. The field description is similar
to the general PDF log.
The IDoc rendition to PDF shows the following differences from the general
PDF log:
• The fields PDF Timezone and Time Zone do not apply for the IDOC
rendition.
• The Document type must be the same as the IDOC channel archive object
document type.
For the EDI scenario, you configure the system determination using Company Code
only in the central system.
For a description of the configuration, see Section 4.8 “Maintaining the system
determination” in OpenText Vendor Invoice Management for SAP Solutions - Scenario
Guide for Invoice Solution (VIME-CCS).
In the following screenshot, Company code 2000 is mapped to the Logical system
T90CLNT090.
To test an IDoc:
1. To start the Test tool for IDoc processing, run the WE19 transaction.
3. Click the Inbound function module button in the application tool bar. The Test
inbound IDoc via a function module dialog box opens.
5. To check the status of the new IDoc, run the WE02 transaction.
6. Enter the new IDoc number into the IDoc number field and click .
The IDoc with status information is displayed. Successfully processed IDocs
have the status 53.
1. To access the Data Browser: Initial Screen, run the SE16 transaction.
3. Enter the IDoc number in the EDI_DOCNUM field of the selection screen and
click in the application tool bar.
Important
Changes of the global configuration parameters as described in this section
may affect the functionality of the process.
3. In the WebFlow Constant Table, under Product Code 005, double-click the
Constant EDI_IMAGES_FM.
ICC integration
The OCR solution OpenText Invoice Capture Center (ICC) can be integrated into
VIM.
Note: From a technical point of view, OpenText™ Invoice Capture Center for
SAP® Solutions (ICC) corresponds to “OpenText™ Business Center Capture
for SAP® Solutions with invoice solution” (BCC with invoice solution).
ICC automates the capture of paper invoices by using OCR to extract the invoice
data. ICC uses SAP ERP as backend to store and retrieve invoice image information.
You can use the Inbound Configuration to handle incoming document processing.
For more information about how to configure document registration for early
archiving and document handler, see Section 4.4.2.1 “Customizing the early
archiving registration type” in OpenText Vendor Invoice Management for SAP Solutions
- Configuration Guide for Foundation (BOCPE-CGD).
• To activate the ICC processing for the Inbound Configuration, you must
activate the BC_INBOUND Z constant.
• After you have switched your system to BC_INBOUND, ICC and OpenText™
Business Center Capture for SAP® Solutions (BCC) cannot access the ICC
application store in your VIM system anymore. This means, that you must
perform a new export of all your ICC/BCC applications. For more
information, see Section 2.2.3 “Exporting an application to SAP ERP or SAP
S/4HANA” in OpenText Business Center Capture for SAP Solutions -
Customization Guide (CPBC-CGD) and Section 2.2.6 “Exporting an application
to file” in OpenText Business Center Capture for SAP Solutions - Customization
Guide (CPBC-CGD).
If you use the Inbound Configuration, only the following customizing steps are
relevant for VIM.
If you use the Inbound Configuration to handle incoming document processing, the
following constants are relevant:
• CUSTOM_ICC_PO_DOWNLD
• DP_DOC_TYPE
• PO_REC
• VEND_REC
1. Run the /N/OPT/SPRO transaction and navigate to the menu path OpenText
Vendor Invoice Management Invoice Solution > Document Processing
Configuration > General Configuration > Incoming Document Processing >
ICC Configuration > Advanced Configuration.
Product Code 005 determines Document Processing.
Value is the default value or expected value in the process.
2. Define the default values, according to the following table:
Constant Meaning
CUSTOM_ICC_PO_DOWNLD Customer function module to perform the PO
download.
The signature is the same as standard function
module /OPT/DOWNLOAD_PURCHASE_DATA
Using this user exit, a customer specific function can
be performed to load the items from the staging tables
to the ICC.
DP_DOC_TYPE Default DP document type
PO_REC Maximum batch size for Purchase Order download
data
VEND_REC Maximum batch size for Vendor download data
Prerequisite The DOC_ARC_DOC_ID field (XML data from ICC) must be filled for the work item.
1. Open the index header configuration (see “Configuring the index header”
on page 185)
The Training button is visible but inactive if one of the following conditions applies:
1. Run the /N/OPT/SPRO transaction and navigate to the menu path OpenText
Vendor Invoice Management Invoice Solution > Document Processing
Configuration > General Configuration > Incoming Document Processing >
ICC Configuration > Maintain Workflow Template Constants.
1. Run the /N/OPT/SPRO transaction and navigate to the menu path OpenText
Vendor Invoice Management Invoice Solution > Document Processing
Configuration > General Configuration > Incoming Document Processing >
ICC Configuration > Maintain Preprocess Exit constants.
The engine works if the DP document type assigned to the archive document type is
one of the following:
• the default document type; that means the value configured in Z-constant 005
DP_DOC_TYPE
If a different DP document type is assigned to the archive document type, the engine
is skipped. In this case, the assigned DP document type is used for the DP workflow.
If you have a 1:1 relation between the DP document type and an ArchiveLink
document type, select the ArchiveLink document type defined in the SAP
ArchiveLink process. If you do not have a fixed relation, you can leave the field
empty or you can use a dummy archive document type which is used for all DP
document types without fixed relationship. The current baseline is delivered with
dummy document type /OPT/ICC.
Up to VIM 6.0 SP3, the archive document type in table /OPT/VIM_1HEAD was derived
from the DP document type by the configuration setup using the /OPT/VIM_1CX1
transaction. This determination was changed in VIM 6.0 SP3 to the determination
that is described in this section.
However you can switch to the old determination behavior (as it was before VIM 6.0
SP3), using transaction /OPT/VIM_1CX12: For constant 005 / AR_OBJECT_FROM_DP,
enter Constant Value X.
8.4.1 Methods
The rules engine consists of a sequence of procedures. Each procedure is responsible
for one DP document type. If one procedure says NEXT, the next procedure is
performed. If a procedure says TRUE, the document type of this procedure is applied
to the document. The last procedure should be responsible for the DP document
type NPO_75. This last procedure should always return TRUE.
8.4.2 Configuration
You configure the rules engine in the VIM Invoice Configuration (/OPT/SPRO):
OpenText Vendor Invoice Management Invoice Solution > Document Processing
Configuration > Document Type Configuration > Maintain Document Type
Determination Procedure
You can use the Exclusive check box to deactivate a procedure. If the check box
is not selected, the procedure will never return TRUE but always return NEXT.
You can change the sequence of the procedures, and you can introduce
additional procedures. As the procedures are executed in alphabetical order
according to their procedure name, you must insert new procedures in their
correct position. The maintained procedures will be checked top down and the
first matching document type will be chosen.
8.4.4 Steps
The procedures consist of steps, which can be modified. You can use the following
check types:
A
Missing value of an OCR field
B
Constant value of an OCR field
C
Custom function
D
Invalid value of an OCR field (value cannot be found in a check table)
E
Characteristic value of the characteristic customizing criteria
F
PO related invoice type check
You can configure the processing relation between the different steps with the
indicators AND or OR.
Note: The report is available with UI languages English, German, French, and
Spanish.
The report generates database lines for every company code in the selection,
respecting all house banks and bank accounts. The address information related to
the company code is the same in all lines.
Note: In most cases, you must edit the text file or the database itself because
the address information generated by the download program will not be
sufficient for a good identification of company codes.
Character The processing option With character check checks the address for TAB characters
check inside the strings. These characters would disturb the output format and must be
eliminated.
Processing option With character check will not work in an EBCDIC environment, so
it can be switched off.
Logical system You can set the value for the logical system to be used in the data to a defined value.
So, it is possible to generate databases which are not designated for the logical
system where the download data is taken from.
Output to If you use the option Additional output to screen, the data will be displayed on the
screen screen in an ALV grid. Note that the field sequence is rearranged for optimized
readability. The field sequence does not correspond to the field sequence in the
download file.
You can maintain these keywords in table /OPT/VIM_T001I, using the SE16 or SE16N
transaction.
1. Run the SM30 transaction to maintain the trusted vendor list /OPT/SLN_
VENDORV.
If the list does not contain any entries at all, each vendor is considered as
active.
If the list contains entries, but none of them is flagged as active, each vendor is
considered as inactive.
Note: To avoid risks, add at least one vendor in this list, before you use an ICC
application with option Deliver line item number.
To find out which vendors can be added to the trusted vendor list:
1. Switch on the ICC option Deliver line item number and process the
documents as usual. For more information about the option, see Section 3.4.6
“Specifying line item processing” in OpenText Business Center Capture for SAP
Solutions - Customization Guide (CPBC-CGD).
2. After a while, look at the entries in table /OPT/VIM_1ITEM. Look for items that
have the same value in columns EBELP and EBELP_N and find out the vendors
for these purchase orders.
3. If you have found suitable vendors, find out the purchase orders of these
vendors. Double-check the items.
If you find purchase orders with different values for EBELP and EBELP_N, the
vendor is not a candidate for the trusted vendor list.
Document types
• Highest level attribute, effect the processing, process flow and user interface.
A more detailed configuration according to the process and screen layouts is
done at the invoice characteristic level; see “Characteristic specific
configuration“ on page 643. Therefore it is not necessary to create many
different document types for individual process settings. Use a document
type as a global invoice processing template.
• Determine the SAP transaction to be called during document creation.
• Determine the metadata (index) collection screen layout and fields.
• Can be derived from OCR data using the document type determination rules
engine.
• Require no one-to-one relation to SAP ArchiveLink document types.
Process types
Business rules
– process type
– document type (in case of OCR or external data input)
• Use configuration to apply logical conditions.
• Allow defining of multiple criteria.
• Can be specified regarding order and exclusivity.
• Can be used for validating data from external systems (OCR).
• Can be automatically applied to the metadata to effect the process flow.
• Can be configured to be called at multiple stages in the process flow.
Roles
– Actions
Actions can be based on transactions or class method or workflow tasks.
– Referrals (for collaboration)
• Can effect the processing logic.
• Can effect the user experience.
• Can trigger the workflow engine to re-run the rules on the most current
metadata to effect the process flow.
• Can be configured to change the document status.
BDC IDs
Main steps Implementing process scenarios in the DP workflow component of VIM comprises
the following main steps:
The starting point for any configuration is a set of process flow swimlanes.
Figure 9-1 shows an example for a process swimlane as implemented by the DP
workflow:
NPO_75
for Non PO processing
PO_75
for PO processing
DWN_75
for Down Payment processing
The NPO_75 and PO_75 document types contain a huge amount of business rules,
which are relevant to process Non PO or PO invoices in different countries. Because
The customizing allows specifying if a business rule should be executed for each
characteristic or executed only depending on the characteristic setting. For more
information, see “Characteristic specific configuration“ on page 643.
The baseline also contains only a few business rules which are mandatory for further
processing. The intention is to avoid dialog steps to increase efficiency.
With VIM 7.5 and above, baseline document types PO_75, NPO_75 and DWN_75
can be posted automatically. For more information, see “Configuring automatic
posting” on page 217.
The DWN_75 document type allows processing of Down Payments (both Non PO
related and PO related) based on a specific set of business rules. After processing the
defined business rules and running through the corresponding approval process (if
required), posting of Down Payment Requests using the F-47 transaction is possible
in dialog or background.
Note: The document types described in this section are the DP document types
in the baseline configuration of VIM.
Of course, you are free to create new DP document types, and, in upgrade
projects, to keep the DP document types that you are used to.
Description
Enter the document type description.
Number Range
Enter the number range for the number range object. If a custom number
range object is not defined in global configuration, you can maintain the
number range for object /OPT/DOCID in the Maintain Number Ranges step;
see “Configuring global parameters” on page 287.
Classifier
Select the classifier from the list. The classifier represents a further detailed
classification of special invoice types (for example Down Payments).
Document Index Type
Select the type of indexing to determine how the system determines the
origin of data. The following values are available:
Indexing using OCR
Use this option if the document is scanned and the OCR interface
passes the data to SAP ERP for creating an OpenText document.
Online Indexing
Use this option if archiving a document using the SAP ArchiveLink
Early Archiving process. Indexing is manual and the person responsible
maintains the data and submits for further processing.
In case of online indexing, the first process type that is determined will
be the default process type (see Default Process Type on page 173),
regardless of the list and the sequence of process types configured for
the document type.
No Indexing
Use this option if there is no indexing required and the document is
directly processed. Use this option if there is no scanned image and the
process is triggered using an API provided by OpenText.
Indexing using Idoc
This is not supported at the moment.
Invoice Type
Decide whether the document generates a Non PO Invoice or a PO Invoice.
Default Archive Doc. Type
The following logic applies:
ArchiveLink document type is set for external data
Document types will be checked for the ArchiveLink document type;
not only the field in the global customizing but also the new Archive
Link Mapping table; see “Mapping ArchiveLink document types”
on page 189.
Example: If the value in the field is AA,BB, the system will set the FI document type
AA for invoice and BB for credit memos.
• ATTRIBUTE1
• ATTRIBUTE2
• ATTRIBUTE3
• ATTRIBUTE4
• CUSTOM_FIELD4
• CUSTOM_FIELD5
• CUSTOM_FIELD6
• CUSTOM_FIELD7
• CUSTOM_FIELD8
• CUSTOM_FIELD9
• CUSTOM_FIELD0
Process Configuration
Document Posting Configuration group
Example: If a document has no errors and should directly be created in SAP ERP,
you select a default process type for creating the document.
Rescan Role
Select the role that receives the work item if the document data is not legible
or if the user decides to send the document for rescanning.
Note: A valid role must be already defined, see “Defining roles”
on page 44.
Posting Role
Select the role that is responsible for posting the document finally. If the
posting of the document fails in background, this role gets the work item to
post the document in dialog.
Note: A valid role must be already defined, see “Defining roles”
on page 44.
Display Index Data
Select this check box to display the index document in a separate session
while document posting so the user is able to reference back the index data.
Note: At least one session must be available for display.
Skip Dashboard
Select this check box to skip the dashboard step. The system creates the SAP
document directly during the document posting process for the posting
user.
Example: If the document is all okay, the user might want to post it directly,
without displaying the document data.
Display Image
Select this check box to display the archived image linked to the document
in a separate session when the user processes the work item.
Note: Archiving must be active in the system.
3. In the Document Processes Overview screen, select a process type and click the
button in the application bar.
4. In the Document Processes Details screen, define the process type, using the
following parameters.
Process Type
Select the process type that is valid for the document type.
Active check box
Select this check box to achieve that the process type is considered for the
document type, for example if you want to delimit a specific process type
delivered by OpenText or defined in the system but no longer used.
BDC Transaction Id
Select the BDC Id that the system uses to process an SAP transaction to
create an SAP document in user context.
Background Tran Id
Select the BDC Id that the system uses to process an SAP transaction to
create an SAP document in the background. This is relevant if the user does
not want to see the index data (dashboard) during document posting.
Autopost Flag
The following settings are possible:
ParkReason
Enter the parking reason the system uses to park the document.
Prerequisites
• The BDC Id defined for Document Create is used for parking the
document.
• A valid parking reason is defined in the Maintain Parking Reasons step
for Non PO or PO documents; see “Configuring parking reasons”
on page 322 and “Configuring parking reasons (Non PO parking
process)” on page 367.
Step Id
Define a step Id.
Process Type
Define the process type for the step Id.
Exclusive Indicator
Select this check box if the system should stop checking for next process
type even though the current step resolves a process type.
Exclude from Simulate
Select this check box to exclude the business rule from simulation.
Bypass possible
Select this check box to enable the Bypass icon on the Bypass/Simulate
Business Rules screen for the user.
You can also enable a bypass for a Process Option on the indexing screen
when the user clicks Apply Rules: In addition to the Bypass possible check
box, set the value of the Z constant 005 / ENABLE_BYPASS_POPUP to X in the
table /PTGWFI/Z_CONST.
For process option ID 2012 - Apply Rules, change the existing Option
Type BDC Action to Class Method.
Enter the Option Class Name /OPT/CL_CP_PRCOPT_APPLY_RULES. In VIM
16.3 and 20.4, this class option is provided with baseline configuration.
1. In the Proc. Type. Det. Sequence Overview screen, select a step and double-
click Sequence Steps.
Step Seq.
Enter a numeric value identifying the step sequence.
Field name
Select the field name in document data that is considered for validation.
Check Type
Select the type of check to be performed:
• If Table Field is selected, the system validates that the value of the
document field at runtime exists in the check table mentioned in the
Table field. If the value does not exist, the step is considered to be
successful and the system will determine the process type.
You have to maintain the Table field.
• If Check Function is selected, you can define your own check against
the document field. If the function raises an exception the step is
considered to be successful and the system will determine the process
type.
You have to maintain the Check Function field.
• If Constant Value is selected, you can define a constant value against
which the runtime data of the document is compared. If the runtime
value matches the configured value, the step is considered to be
successful and the system will determine the process type.
You have to maintain the value of the constant in the Check Val field.
Note: The business rule check function library offers additional check
function modules that are not directly delivered as pre-customized
business rules. You can use the function modules as new business rules
depending on your needs. The new library is located in function group /
OPT/VIM_PROC_TYPE_LIBRARY, which has been created to collect such
function modules.
If you want to activate one of the library function modules as a new
business rule for any VIM document type, perform the following
customizing steps:
3. In the Index Screen Options Overview screen, click the New entries button in
the application tool bar to create a new index screen option.
Process Type
Select a valid process type, as defined in “Defining process types”
on page 175.
Description
Description of the selected process type
Current role
Role which processes the work item
Allow Changes
Select this check box for a given role to allow all users in the role defined to
change the index data.
Prerequisite – The document should not have been submitted, yet.
Show Duplicates
Select this check box to achieve that the duplicates identified by the system
are displayed below the index data screen for the role that is processing the
work item.
Example: It might be relevant for the DUP_CHECKER role to look at the duplicates to
decide whether the document is actually a duplicate. For the AP_PROCESSOR role,
showing duplicates might not be that important as the document might have
already completed the duplicate check process and might be ready to be posted or
parked.
Initial Tab
With the indexing screen delivered with VIM 7.0 and higher, you can
configure each tabstrip of the indexing screen for the tab that is shown
initially:
Basic Data
Shows the basic indexing information which is also available on the
invoice document
Line Item Data
Shows the relevant line items
Accounting Data
Shows additional SAP specific data for the accountant to post the
document
Tax Data
Shows relevant tax information
Process Data
Shows relevant process information and also provides access to the
duplicated invoices
Enable Simulate
Select this check box to simulate skipping certain business rules. The
Simulate process will check the relevant business rules.
Enable Bypass
Select this check box to bypass the business rules.
Dis.Obsolete
Select this check box to hide the Obsolete button in the DP Dashboard for
the selected DP document type and the current role.
Dis.Rescan
Select this check box to hide the Rescan button in the DP Dashboard for the
selected DP document type and the current role.
Show Match
Select this check box to display the matching area within the item data
subscreen for PO invoices to the user. This is relevant to execute the
matching for PO related documents based on the SAP proposal.
Disable GL Tab
Select this check box to hide the GL tab on the index screen for the selected
PO document type and the current role.
Code Check Enable
You can configure the check box in the following places:
Document type configuration
/OPT/SPRO > Document Processing Configuration > Document Type
Configuration > Maintain Document Types, option: Index Screen
Options (described in this section)
Configuration in Characteristic
/OPT/SPRO > Document Processing Configuration > Document Type
Configuration > Characteristic Specific Document Type
Configuration, option: Characteristic Specific Screen Configuration
(see “Characteristic specific screen configuration” on page 664)
Select the check box for a certain process type and a certain role to show the
Validate Coding button in the DP Dashboard, Line Items tab, G/L Account
tab of the given role and the given process type. This button enables the
agent to validate the coding entered in the indexing screen.
Notes
• To use the Validate Coding button, you must select the Code Check
Enable check box in both places (document type configuration and
configuration in Characteristic) if the Characteristic Check check
box of the process type is selected (see “Defining the process type”
on page 265). In baseline, this check box is cleared.
The configuration in Characteristic will overwrite the document
type configuration.
• Coding validation is available for both PO and Non PO based DP
documents. However, it is available for PO documents only since
VIM 7.5 SP6 and it is only available along with the simulation
support of SAP MM-LIV BAPI, provided with SAP note 1694508.
Enable Code Upload
You can configure the check box in the following places:
Document type configuration
/OPT/SPRO > Document Processing Configuration > Document Type
Configuration > Maintain Document Types, option: Index Screen
Options (described in this section)
Configuration in Characteristic
/OPT/SPRO > Document Processing Configuration > Document Type
Configuration > Characteristic Specific Document Type
Configuration, option: Characteristic Specific Screen Configuration
(see “Characteristic specific screen configuration” on page 664)
Select the check box for a certain process type and a certain role to show the
Upload Coding button in the DP Dashboard, Line Items tab, G/L Account
tab of the given role and the given process type. This button enables the
agent to upload coding from an Excel sheet.
Notes
• To use the Upload Coding button, you must select the Enable Code
Upload check box in both places (document type configuration and
configuration in Characteristic) if the Characteristic Check check
box of the process type is selected (see “Defining the process type”
on page 265). In baseline, this check box is cleared.
The configuration in Characteristic will overwrite the document
type configuration.
• Upload coding is available for Non PO based DP documents.
Required
Make the field mandatory at runtime.
Input
Define the field as an input field for users.
Display Only
Only display the field.
Hide
Hide the field on the screen.
Note: The attributes Input, Display Only, and Hide are independent
from the processing state. Unlike those, the attribute Required works as
follows: If the processing state is configured in Z constant 005 / REQUIRED_
PROC_TYPE, the field is required and the field will show the Input
Required icon. In all other processing states, the field is a normal input
field. Thus, the field input can be skipped in the early processing steps.
There are some special fields that are not in the database but can be displayed in the
index screen. To use them, you must configure the Field Stat column for the
following parameters:
VORGANG
To display Subsequent Debit and Subsequent Credit for PO in the index
screen, under Invoice Data, Transaction field, set the parameter VORGANG to
Input.
DIFFERENZ
To display the Balance traffic light in the index screen, under Invoice Data, set
the parameter DIFFERENZ to Display Only.
DN_LIST, PO_LIST, SES_LIST, BOL_LIST
To display the DN List, PO List, SES List, and BOL List buttons in the index
screen, under Invoice Data, set the parameters DN_LIST, PO_LIST, SES_LIST,
and BOL_LIST to Input.
IGNORE_IP
If the purchase order contains an invoicing party, this field appears (if it is not
set as Hide). The invoicing party is used as reference for bank data and
withholding tax.
Check the field IGNORE_IP, if you want to ignore the invoicing party and pay to
the vendor directly.
Required
Make the field mandatory at runtime.
Input
Define the field as an input field for users.
Display Only
Only display the field.
Hide
Hide the field on the screen.
Note: The attributes Input, Display Only, and Hide are independent
from the processing state. Unlike those, the attribute Required works as
3. In the Field Selection dialog box, select one or more filters: Field Name,
Language Key, Data element, Label and click .
4. In the Determine Work Area: Entry dialog box, enter filter values and click .
5. In the Maintain index screen header field labels or the Maintain index screen
line item field labels screen, customize the field labels, using the following
parameters:
Field Name
Field in the index data table. The table is either /OPT/VIM_1HEAD (header
fields) or /OPT/VIM_1ITEM (line item fields).
Language
Language, for example EN.
Data element
Enter the data element.
For line item labels, baseline configuration determines that the labels are
fetched based on the data element that is mapped to the field. If a data
element is available, the medium size label is fetched automatically. If an
input is provided in the text field, the label from the data element is
ignored. This means the field is cleared.
Label
Enter the language-specific label, which represents the heading of the field.
You can migrate for multiple languages at the same time for bulk update of the line
item labels. The migration program updates the line item labels only. You cannot
use it to update header field labels.
After running the migration program, you must add the table entries to a
customizing request manually. This enables you to transport the table entries when
using the migration program.
Note: If you add entries using the OPT/SPRO node Translations/Labels for
Index Screen Fields, no customizing transport request is necessary to move the
table entries to the target system.
2. In the Upload labels for line item fields screen, enter the Language Key
(range).
Country
Enter a country code to which the ArchiveLink document type is associated.
Doc. Type
Enter an ArchiveLink document type to map it to the selected DP document
type.
Description
Enter a description of the ArchiveLink document type.
You can define country specific archive document types in the document type
configuration. You can also define an archive document type that is not country
specific. This means, it is used for the rest of the countries. If you have only one
archive document type that is not country specific, you can use the default archive
document type in the document type configuration. If you have more of these
document types, leave the default archive document type empty and make archive
document type entries with empty value in the Country column.
Prerequisites
The DP document type, the company code, or the Country field might be changed
during DP processing. In this case, VIM checks if the archive document type has to
be adjusted, and if so, performs the adjustment. If the new archive document type is
linked to a different logical archive, the images are copied between the archives.
The application log shows messages for object /OPT/VIM, subobject DP, and
document number as external ID. Messages are of the following types:
Information
if there was a copy to a new archive
Warning
if there is no image linked
Error
if there was an exception in one of the called function modules
You can have country specific document types and you can maintain the relation in
the ArchiveLink mapping table. Whenever a company or a country is changed in the
indexing screen, the relation is checked and, if necessary, the archive document type
is adjusted. There are two user exits to change this, controlled by two Z constants:
You can define the logic to determine the archive document type and you can define
the logic when a redetermination should be triggered.
To enable custom solutions for attachments, VIM 7.5 SP3 introduces the /OPT/ES_
VIM_R1AX1 enhancement spot in the /OPT/VIM_R1AX1 program. When changing the
DP document type, this enhancement spot allows implementing a custom logic to
reassign ArchiveLink document types of documents and attachments to other
logical archives.
Further filters For the /OPT/VIM_CHANGE_DOCUMENT_TYPE function module, VIM 7.5 SP4
introduces an enhancement spot /OPT/ES_VIM_FG1A3. You can use the enhancement
spot to apply further filters for the new document types available in the Change
Document Type option, for example authorization checks.
The DP Dashboard provides the possibility to show the image in the Detail pane.
The configuration described in this section is only relevant if you want to deactivate
the image plug-in, or to display the image in a separate window.
3. In the WebFlow Constant Table, under Product Code 005, double-click the
Constant DASHBOARD_IMAGE_AUTO.
With version 7.5 and higher, VIM provides some options in the logic module
processing to match and derive data even if no 1:1 relation is available.
• Ignoring the line item data coming from ICC and deriving the line item data
from the PO(s).
• Ignoring the line item data coming from ICC and deriving the line item data
from the MIRO proposal.
• Matching the PO and GR data against the data provided manually or from
external sources, and, based on the PO and GR data, completing the data in the
line item fields where it is missing.
With VIM 7.5 and higher, the determination of line item data is implemented in logic
module /OPT/CL_D_LM_DETERM_PO_MAP, which is included in logic module
processing Line based processing / enrichment / matching (PO).
Old In VIM versions prior to 7.5, the following DP business rules were used to process
the PO matching and exception handling:
• Manual Check Needed for Indexing Lines (PO), DP process type 110
• Unable to Determine PO Line Number (PO), DP process type 109
New These two business rules are replaced by the combination of a logic module and a
business rule:
Note: In this section, the “OCR” term, which is used to denote the source of the
data, applies equally to the data entered manually or received from external
sources like IDoc.
PO Line Det. ID
The ID must be numeric.
You must assign the PO Line Determination ID to the DP document type;
see Step 8 on page 195.
Description
Enter an appropriate description.
Check Function
Optionally, use a custom function module here to determine the PO line
number. By default, the field is blank. An OpenText standard function
module is used.
No of Fields to Match (shown if Match All Fields is cleared)
Specify how many fields should be matched before claiming the PO line
number found. The number of fields you specify here should be less than or
equal to the number of fields you maintain for this Determination ID.
Match All Fields
Select this check box to use all fields maintained in the PO line
determination fields for the Determination ID to find a PO line match.
Match Conditional (used in logic module Line based processing /
enrichment / matching (PO))
Select this check box to configure a condition in the fields configuration
between each field within one field group. See Relation on page 195.
Match against Proposal (used in logic module Line based processing /
enrichment / matching (PO))
Select this check box to match not only against PO information but also
against the MIRO proposal. If a unique match is found, also relevant key
fields (GR or SES) are retrieved.
Match within MIRO Tolerance (used in logic module Line based processing
/ enrichment / matching (PO))
Select this check box to achieve that matching is also possible within the
tolerances configured in MIRO.
Exclude Invoiced Lines
Select this check box to exclude the lines in the PO that have been marked
as Final Invoice when trying to find the PO line match. This narrows
down the search for the PO line determination.
The new matching process is used in logic module Line based processing /
enrichment / matching (PO)). To find the PO line number, the matching
process first tries to match all fields within step ID 1 (MENGE / NETPR / WRBTR) for
each index line against the PO and the GR. If no unique match is found, step ID
2 is processed. Now, the process takes also the field MAKTX into account. If again
no unique match is found, the process takes step ID 3 with field LFSNR into
account. So it is possible to define various steps with different detail levels to
find a unique match.
4. Maintain the fields you want to use for the PO line determination. Baseline
configuration uses the following fields for the matching:
Step ID
Define the sequence for the matching. The step ID is also the grouping
indicator for the fields to find a unique match.
Field Name
Enter the field used for matching.
• Baseline:
/OPT/VIM_DBPF_MATCH_QUANTITY to convert quantity fields from
invoice unit into PO unit
• Baseline:
/OPT/VIM_DBPF_MATCH_TEXT to normalize the invoice material text to
match it against PO material text
Relation
Optional: Enter AND or OR.
The relation is taken into account if conditional matching is enabled. The
relation is used within one step ID.
8. Maintain the Determination Logic ID (PO Line Determination ID) you have
just configured.
OK (default value)
Use OCR lines as basis without deletion of incomplete lines.
OCR lines are evaluated line by line. All lines based on reference documents
are read from the MIRO proposal. All OCR lines for which matches are
found in the MIRO proposal are overwritten with MIRO Amount/Quantity if
the OCR Amount/Quantity is missing.
• While matching, PO/PO item will be used as a key for Non GR IV case.
• PO/PO item or delivery note will be used as a key for GR IV case.
All lines that could not be matched with MIRO lines stay as they are. Finally,
the modified OCR lines are updated in the indexing item table.
OD
Use OCR lines as basis with deletion of incomplete lines.
OCR lines are evaluated line by line. All lines that are based on reference
documents are read from the MIRO proposal. All OCR lines for which
matches are found in the MIRO proposal are overwritten with MIRO Amount/
Quantity if the OCR Amount/Quantity is missing.
• While matching, PO/PO item will be used as a key for Non GR IV case.
• PO/PO item or delivery note will be used as a key for GR IV case.
All lines that could not be matched against MIRO lines and that are
incomplete are deleted. Finally, the modified OCR lines are updated in the
indexing item table.
MO
Use MIRO proposal as basis for indexing lines.
All lines that are based on reference documents are read from the MIRO
proposal. All MIRO lines for which matches are found in OCR line items are
overwritten with OCR Amount/Quantity.
• While matching, PO/PO item will be used as a key for Non GR IV case.
• PO/PO item or delivery note will be used as a key for GR IV case.
All lines that could not be matched against OCR lines stay unchanged.
Finally, the modified MIRO lines are updated in the indexing item table.
M2
Use MIRO proposal as basis, change only open lines.
This option has the same logic as MO but it prevents the data in non-open
lines of the MIRO proposal from being overwritten.
Background: Option MO results in overwriting the MIRO proposal lines that
are not open anymore because the data has been manually entered in the
DP document or received from ICC. Although this logic may be wanted in
some situations, VIM is now offering the alternative option M2.
Important
Level Preference is used in conjunction with Ref Doc Preference. These two
values indicate the starting point for selecting reference documents, in order to
propose lines for invoicing: either purchase orders or delivery notes that
appear either at line item level or at header level.
Example: If Level Preference is L and Ref Doc Preference is PO, the system uses
purchase orders at line item level as the basis for getting proposals.
If no purchase order exists at line item level, the system uses delivery notes at line item
level.
If no documents exist at line level, the system uses the header level and starts with
purchase orders, there.
If no purchase order is supplied, the system uses delivery notes at header level.
Note: If the PO line determination does not find the PO line item number
while running the Business Rules, you will get an exception Unable to
determine PO line number (PO). You will also get this exception if the PO
line item number is blank or if it is invalid.
The tax code determination works whenever there is a supplied tax rate. See “Tax
calculation group” on page 198 for details.
In the Tax Code Determination group, the following options are available:
Note: Select the Tax Code from Vendor Master check box to retrieve the
tax code from Vendor Master in case any of the other options fails to
retrieve the tax code.
Note: This option only works if Auto Calculate Tax is not selected.
• Select the Calculate Tax on Net check box to define that G/L account
amounts are to be entered net.
• Clear the Calculate Tax on Net check box to define that G/L account
amounts are to be entered gross.
SAP ERP has two different tax flags that control the line amount and balance on
the Non PO parking screen and VIM Non PO parked approval:
In the past, VIM had only the auto-calc tax flag for Non PO DP approval. The
calculate-on-net-amount tax flag, known from Non PO processing, was not
available for DP documents. VIM interpreted the missing second flag as being
empty. If the auto-calc flag was selected, the gross amount was expected in the
Non PO DP line items.
The following combinations are possible with the two tax flags:
1. If a PO line exists, the system tries to retrieve the jurisdiction code from the PO
line item.
2. If the PO line item does not contain a jurisdiction code, the system checks for a
jurisdiction code based on the plant for the PO line item.
3. If still no jurisdiction code is found or if the invoice is a Non PO invoice, the
system picks up the jurisdiction code from the vendor master.
Note: If no jurisdiction code is found for tax procedures with jurisdiction code,
the tax code determination fails.
• The PO line item tax code does not match the tax rate supplied.
• There are multiple tax codes belonging to the same tax rate supplied.
• A tax rate may match with one tax code but the tax code contains multiple rates.
• The tax jurisdiction code has not been determined, in case a tax procedure with
jurisdiction code is used.
For example, the United States have the TAXUSJ tax procedure with jurisdiction
code.
If the tax code determination fails, an Invalid Tax Info exception is raised in the
VIM Analytics report. In this case, the workflow is routed to the Tax Expert for
further actions.
3. To maintain the reporting country, run the FTXP transaction and click
Properties on the menu. Maintain the reporting country as a combination of Tax
code, Tax type, and country (Reporting cntry).
If the current tax code is not maintained in the reporting country that you have
chosen, a warning message is displayed: Reporting country changed, verify
the tax code (s).
Note: On the Tax tab of the indexing screen, there is a similar field
Reporting cntry. Its purpose is to provide default VAT registration
numbers from vendor master, based on the reporting country entered.
On the indexing and approval screen, Basic Data tab, the Change rep.country
(Change reporting country) button is displayed after the Tax Code list, only if
Plants Abroad is activated.
1. The system reads the tax code from the PO line and checks if the tax rate
supplied by the external system matches uniquely. If the tax code exists in the
PO line item and no match is found, the tax code is considered to not determine
and the system stops checking further.
2. If the tax code does not exist in the PO line or the invoice is not a PO invoice, the
system proceeds as follows:
a. The system checks all tax codes of input tax type for the country and checks
if the tax rate supplied matches uniquely with only one tax code. If no match
is found, the system proceeds further.
b. The system selects the tax code from the OpenText table based on the tax
rate (Simple Maintenance). See “Tax Determination using OpenText Tax
Table (Simple maintenance)” on page 203.
c. If the above step does not result in a tax code match, the system retrieves the
tax code from Vendor Master if the Tax Code from Vendor Master check
box is selected in the DP configuration. The system checks if the vendor tax
code contains only one tax rate and if that tax rate matches with the tax rate
supplied. If it matches, the tax code is determined.
Note: If the tax procedure with tax jurisdiction is used, the jurisdiction code is
determined first and this code is used in conjunction with tax code to retrieve
the match. For details on the jurisdiction code determination, see “Tax
jurisdiction code determination” on page 200.
1. The system reads the tax code from the PO line and checks if the tax rate
supplied by the external system matches uniquely. If the tax code exists in the
PO line item and no match is found, the tax code is considered to not determine
and the system stops checking further.
2. If the tax code does not exist in the PO line or the invoice is not a PO invoice, the
system proceeds as follows:
a. The system selects the tax code from the OpenText tax table based on the tax
rate (Simple Maintenance).
2. For a given Country key and Vendor ranges, maintain Tax Rate versus
Tax Code.
For tax procedures with jurisdiction code, additionally use the
Jurisdiction code field to maintain Tax Rate versus Tax Code entries.
b. If the above step does not result in a tax code match, the system retrieves the
tax code from Vendor Master if the Tax Code from Vendor Master check
box is selected in the DP configuration. The system checks if the vendor tax
code contains only one tax rate and if that tax rate matches with the tax rate
supplied. If it matches, the tax code is determined.
Note: If the tax procedure with tax jurisdiction is used, the jurisdiction code is
determined first and this code is used in conjunction with tax code to retrieve
the match. For details on the jurisdiction code determination, see “Tax
jurisdiction code determination” on page 200.
1. The system reads the tax code from the PO line and checks if the tax rate
supplied by the external system matches uniquely. If the tax code exists in the
PO line item and no match is found, the tax code is considered to not determine
and the system stops checking further.
2. If the tax code does not exist in the PO line or the invoice is not a PO invoice, the
system proceeds as follows:
a. The system checks all tax codes of input tax type for the country and checks
if the tax rate supplied matches uniquely with only one tax code. If no match
is found, the system proceeds further.
b. If the above step does not result in a tax code match, the system retrieves the
tax code from Vendor Master if the Tax Code from Vendor Master check
box is selected in the DP configuration. The system checks if the vendor tax
code contains only one tax rate and if that tax rate matches with the tax rate
supplied. If it matches, the tax code is determined.
Note: If the tax procedure with tax jurisdiction is used, the jurisdiction code is
determined first and this code is used in conjunction with tax code to retrieve
the match. For details on the jurisdiction code determination, see “Tax
jurisdiction code determination” on page 200.
VIM duplicate VIM extends the idea of standard duplicate checks available in SAP ERP or SAP S/
check 4HANA in FI and MM-IV modules. VIM allows flexible configuration of the checks
and offers many different options, which are described in this section.
Basic configura- In VIM, you implement duplicate check as a DP process type (exception) that is
tion active for DP document types and is executed on each run of business rules. The
configuration of duplicate check in VIM does not depend on the standard
configuration in SAP FI or MM-IV modules, including field selection or vendor
specific activation of the checks. Therefore, when implementing VIM, OpenText
recommends that you make the standard SAP FI and MM-IV duplicate check less
strict, disabling the corresponding messages in transactions OBA5 / OMRM for
background posting. This will let the documents post when invoice data is really the
same as that of an earlier posted invoice, and a DP document was explicitly declared
as non-duplicate.
Groups, steps, To implement VIM duplicate check, first decide on duplicate check groups. Each DP
and fields document type must have a duplicate check group assigned. Depending on the
duplicate check type maintained in the group, each group can have several steps of
fields checks, or it can have a function module that will be called by VIM. Steps are
an additional layer to control the check. On each step, several different combinations
of fields are checked to match against existing documents. In the most simple case, a
duplicate check group has only one step and list several fields to be checked. A
duplicate will be detected as soon as the first combination of fields defined by a step
deliver a match.
Baseline In a baseline configuration, VIM duplicate check checks both DP documents (not
posted or parked) and SAP documents (posted or parked). Checks of SAP
documents are optional but active in a baseline configuration.
In the baseline, the fields invoice date, invoice reference, and vendor number
are used to identify potential duplicates.
Note: This does not apply if the check type is set to Function module and a
custom function module is entered in the above mentioned field, assuming all
responsibility over the check.
Relevant For all combinations of checks, whether DP or SAP documents, only relevant
invoices invoices are checked. Obsolete, cancelled, or deleted documents, as well as those
confirmed as duplicate, are ignored.
Performance Take care when deciding on the fields to be used for duplicate checks with regards
to check performance. For most common field combinations, it is very likely that
database indexes will exist for VIM DP and SAP FI and MM tables. If you use less
common fields, it is advised to consider creating additional database indexes.
When VIM performs a duplicate check during the business rules run, the process
typically stops, opening a dialog box to decide the following:
Buttons The list of found documents whose data match the current document will be
displayed in the DP indexing screen. If invoice data is considered to be wrong and is
corrected, use Submit or Rerun business rules options to continue the processing.
The Non duplicate button lets the invoice proceed and post even if identical data is
detected. The button Declare as Duplicate ends the DP process.
9.1.13.2 Configuration
Configuring duplicate check comprises the following steps:
2. To add a duplicate check group, click the New entries button in the application
toolbar.
3. Define the new duplicate check group, using the following parameters:
Description
Enter a description for the duplicate check group.
Function Module
Select Function Module to configure duplicate check in a custom
function module. Enter the function module in the Duplicate Chk Func
field. The function module maintained here must have the same
interface as described in the field Ext. Dup. Check Func.
In this step, you define the fields that need to be considered to define a duplicate
check. You can define multiple groups by maintaining them in the same step id.
2. Define duplicate check fields for the selected group, using the following
parameter:
Currency field In versions before VIM 7.5 SP2 (and VIM 7.0 SP6), the duplicate check automatically
included the Currency field when an amount was configured in the duplicate check
customizing.
Since VIM 7.5 SP2 (and VIM 7.0 SP6), this automatism is removed. The Currency
field is not automatically checked during duplicate check, you have to customize it
explicitly.
This change was done to avoid duplicate postings which occurred if a wrong or
empty currency was delivered, for example, during OCR recognition or other input
channels. In these cases, it could happen that a duplicate was not found due to the
wrong currency check.
The new default delivery is a duplicate check without currency. It can lead to a
higher amount of possible candidates for duplicate check. For upgrade customers,
OpenText recommends that you review the current duplicate check settings and
include the currency field (WAERS) to the customizing, if necessary.
The table /OPT/VT_DOC_DET stores the vendors that send PO based invoices. In
China it is possible to send PO based invoices without providing the PO numbers on
it. Using this table, you can configure certain vendors that do this practice, thereby
determining the DP document type correctly.
The system first checks the entries in table /OPT/VT_DOC_DET. If the vendor is found,
the DP document is considered as a PO based invoice. If no vendor entry is found,
the system checks for the existence of any PO numbers on the invoice.
You can maintain vendors per company code and also ranges of company code and
vendor combinations.
Configuration The whole configuration for auto coding is integrated in the VIM Invoice
aspects Configuration tree: Navigate to OpenText Vendor Invoice Management Invoice
Solution > Document Processing Configuration > General Configuration >
Automated Line Processing > NPO Line Auto Coding.
1. Define dynamic determination for auto coding. In this step, you configure the
data loading for auto coding:
• With VIM 7.5 and later, you can use logic modules for auto coding.
Therefore, the Logic Module Process ID N_SPEC_001 must be mapped to the
Non PO based DP Document Types that are used. In VIM Baseline, this
mapping is available for DP Document Type NPO_75. For more information,
see “Mapping the processing” on page 228.
• Without logic modules: Integrate a process type for the document type to
execute auto coding in the DP processing.
Determination Type
Enter ACO (Auto Coding Configuration)
The determination type is defined in table /OPT/AT_DETTYPE. The type ACO
is delivered within the posted approval baseline configuration.
Field Type
Available values are Header or Item. For the determination, only header
fields are relevant.
Field Name
Select the corresponding field of the /OPT/VIM_1HEAD or /OPT/VIM_1ITEM
table.
Sequence
Define the processing sequence of the determination.
Search Help Name
Configure the search help that will be used in the data determination
configuration.
Allow Ranges
Select this check box to allow ranges in the data determination
configuration. For item fields, ranges are not allowed.
C
Skip the coding step (most common setting).
R
Skip the coding step and the requester step.
S
Skip the requester step. However, in case of rejection, the document is still
sent to the requester in the approval process.
To execute the auto coding, you must integrate a process type in the document
processing for the following reasons:
To integrate a process type, follow the customizing steps in “Defining the process
type” on page 265.
• No exception
• No user process options
• Autopost flag activated
• Bypass and simulate deactivated
• Process type determination sequence before Approval Required process option
• Sequence step function module /OPT/VIM_DETERMINE_PROC_LIB003
Process Type Definition (no other settings relevant); see also “Defining the process
type” on page 265:
Index Screen Options (no other settings relevant): see also “Configuring index screen
options” on page 181:
Process Type Determination Sequence (no other settings relevant); see also
“Defining the process type determination sequence” on page 177
The corresponding Upload Coding button is added to the indexing screen. You can
configure the button to be shown or hidden. For more information about
configuring the button, see “Configuring index screen options” on page 181.
In this step, you configure the mapping between VIM fields and columns in the
Excel sheet for coding upload in the indexing screen.
Application Area
IDX_CODING is specific for coding upload in Indexing.
Table Name
/OPT/CIDX_ITEMS is also specific for coding upload in Indexing.
Note: The Application Area and Table Name fields are not editable.
They will be added to the entries during the configuration.
Fields
Field name in the indexing screen.
Active
Select this check box to specify that the field is considered in the uploading
process.
Sequence
Enter digits that indicate the sequence of Excel sheet columns that will be
mapped. This sequence number must be unique.
Example: The first column of the Excel sheet is mapped to the field with the lowest
sequence number. The second column of the Excel sheet is mapped to the field with
the second lowest sequence number, and so on.
With VIM 7.5 and above, the baseline document types PO_75, NPO_75 and DWN_75
will no longer get posted automatically. You must activate them to get posted
automatically.
To activate the automatic posting configuration, you must configure the document
type accordingly: In the process type definition, you must configure the baseline
function module /OPT/VIM_DETERMINE_AUTOPOST for the default process type or the
relevant process types for automatic posting.
Automatic posting might fail, for example, if the scenario is not supported or if the
necessary configuration has not been implemented. In this case, the DP document is
re-routed to the posting role, which is defined in the DP Document Type; see
Posting Role on page 174.
2. Configure the fields for automatic posting, using the following parameters:
Determination Type
The determination type for automatic posting is APO. It is defined in table /
OPT/AT_DETTYPE. The determination type APO is delivered in the baseline
configuration.
Field Type
You can configure Header or Item fields. For the determination, only
header fields are relevant.
Field Name
Select the corresponding field of table /OPT/VIM_1HEAD or /OPT/VIM_
1ITEM.
Sequence
Define the processing sequence of the determination.
Search Help Name
You can configure a search help, which will be used in the data
determination configuration.
Allow Ranges
Select this check box to allow configuring ranges in the data determination
configuration.
In this example, all documents of the company codes 1000 to 2000 and vendors
1000 to 9000 will be posted automatically.
• NPO - Cross company posting is not supported if the company codes have
different currencies.
• NPO - Specific currency translation for tax
• PO - Mixed Services and Goods in combination with multi account assignment
• NPO - Fields that are not supported by standard SAP BAPI: LNRZE (Head office
account number)
• PO - Fields that are not supported by standard SAP BAPI: LNRZE (Head office
account number), SECCO (Section Code)
• Distribution logic “by amount” is not supported if it is used in multiple account
assignment of a PO position.
Note: Starting with VIM 7.0 SP7 and VIM 7.5 SP3, this scenario is
supported.
• The line number of a PO invoice might be limited according to the Z constant NR_
ALLOWED_LINEITEMS to maximum allowed lines. The default value is 1,000. If the
line count of the invoice to be posted exceeds the limit, the posting will stop.
• Posting to a tax GL account is supported for NPO invoices with BDC ID 42,
starting with VIM 7.0 SP7 and VIM 7.5 SP3.
• Asset posting is not supported in VIM baseline. If you absolutely need this
functionality, you must implement it as an extension (BDC with the F-90
transaction).
• Until VIM 7.0 SP6 (VIM 7.5 SP2), line by line tax determination based on tax
jurisdiction codes was not supported with BDC ID 34 on latest SAP EHPs. For
details, see the SP list in OSS note 1692637. The reason for this were new
restrictions imposed by the standard SAP posting logic. The check that stops the
posting could be switched off by setting the Z constant SKIP_LINETAX_CHECK.
Starting with VIM 7.0 SP6 (VIM 7.5 SP2), such invoices can normally be posted
when another Z constant USE_ITEM_COUNTER is set.
• Net vendor invoices, which typically have SAP document type KN, cannot be
posted with BDC ID 34. VIM does not calculate the discount and does not create
automatic lines for discount posting. OpenText recommends that you use BDC
ID 41 (batch input with the FB60 transaction) or BDC ID 42 (starting with VIM 7.0
SP7 and VIM 7.5 SP3) to post discounts correctly.
• When posting in background with BDC ID 41, pay attention to the way how line
item amounts in the DP document (gross or net) are entered. It must be in sync
with the gross or net setting flag of the user that is used to post the documents,
typically WF-BATCH.
• VIM provides a limited logic of assigning the default values to cost elements and
other invoice fields. VIM supports determining the tax jurisdiction code from
cost center, WBS element, network or activity, internal order, and vendor master.
Example: FI validation rules that you define for FB60 are not called by VIM and SAP
BAPIs to determine default field values.
Therefore, the current logic of assigning the default values may not satisfy your
implementation requirements. In this case, extend the logic with the provided
extension mechanisms or disable automatic posting of such invoices.
• Tax reporting date (VAT date) is posted if the corresponding field exists in the
SAP BAPI structure, which depends on your SAP SP level. Moreover, the
company code must be set up to use VAT date. However, if the company code is
set up for VAT date but the BAPI structure does not allow this, the background
posting stops. The invoice must be posted in dialog. For more information, see
“Maintaining the VAT date” on page 304.
Note: You can disable the VAT date and BAPI structure check by setting
the Z constant SKIP_VATDATE_CHECK.
• You might want to post an invoice with CPD vendor. If there is no IBAN field in
the BAPI structure, the posting will stop. To avoid this, set the Z constant SKIP_
BAPICHECK_SEPA.
To activate the Document Creation field on the indexing screen (AUTO_POST field),
see “Configuring the index header” on page 185.
Using the Document Creation field, the user can decide whether the document
should be posted automatically in background (A), online in dialog (M), or posted as
configured.
The decision of the user has the highest priority, that means, no matter what is
configured for the document type,
The task of logic modules is to check whether data is missing for a document and to
add the data where possible. This data enrichment is scheduled before the business
rules run. It might be useful to also trigger some logic modules at a later point of
time, for example if the user has entered data on the indexing screen and presses
Rerun Business Rules. A new business rule has been introduced that “informs” the
user that a logic module has added data to the document. Business rules are
intended to check document data whereas logic modules are intended to also change
document data.
Logic module customizing comprises modules, process IDs and the mapping of
document types to process IDs. The smallest unit is a logic module. It consists of a
class method (including an user exit) running its own checks and its own data
retrieval. The logic modules are clustered together to process IDs obtaining a certain
sequence. There are process IDs for PO documents and Non PO documents.
Some logic modules replace existing mapping function modules, others are
completely new.
1. VIM checks whether additional costs have been planned in purchase order.
2. If unplanned additional costs exist, they are moved to header or line items
according to VIM Additional Cost Customizing.
“Best Practice” in VIM 7.5 means that OpenText delivers a set of logic modules/
process IDs that you can use by assigning them to your document types, according
to your processes.
To configure the logic module processing, the following steps are necessary:
Module ID
Unique ID of the module
Class Name
Enter the processing class of the logic module. The class must have super
class /OPT/CL_D_LM_SUPER. Method /OPT/IF_D_BP_MODULE~PROCESSING
must be redefined to integrate own processing logic.
Process Type Activation
Select how the process type is activated. A process type or exception gets
triggered according to the activation type:
Activate on field change
The process type gets triggered by a field change. See “Configuring
field change for exception” on page 225.
Activate on custom logic
The process type gets triggered by custom logic implemented in Exit
FM.
Process Type
Enter the process type.
Process type 405 is a template for the one time business rule trigger. The
rule gets triggered when a field is changed within the module or by custom
logic (see Process Type Activation on page 224)
Note: If you use a process type here, locate it near the beginning of the
sequence of process types.
Exit FM
Enter the exit function for process type activation on custom logic. Use
template function /OPT/VIM_DBPF_TEMPLATE_PROC_TR to create your own
function module.
2. In the Module Definition Overview screen, select a Module ID that has Process
Type Activation Activate on field change, and double-click Field Change
for Exception in the Dialog Structure.
3. In the Field Change for Exception screen, configure the fields, using the
following parameters:
Field Type
Select Header or Item.
Field Name
Enter the name of the field in the index data table. The table is either /OPT/
VIM_1HEAD or /OPT/VIM_1ITEM.
1. In the Module Definition Overview screen, select a Module ID that has Process
Type Activation Activate on field change, and double-click Messages for
Exception in the Dialog Structure.
2. In the Messages for Exception screen, configure the messages, using the
following parameters:
Application Area
Enter the message class of the message.
MsgNo
Enter the message number.
Fld.Change
Select this check box to show a message for each field that gets changed
with relevant information:
/OPT/VIM_BPF - 001
Message for item field changes
/OPT/VIM_BPF - 002
Message for header field change
Field Type
Select if the message is shown for Header or Item fields.
• a processing sequence
• different processing for PO / NPO document types
• easier configuration: basic enrichment is separate from special handling
(additional costs)
2. In the Processing Definition screen, define the processing, using the following
parameters:
Process ID
Enter the unique Process ID of the processing steps.
Description
Enter the description of the processing steps.
2. In the Module Processing Steps screen, assign the logic modules to the
processing definition, using the following parameters:
Counter
Enter the sequence of the modules.
Module ID
Enter the unique ID of the module (see “Defining logic modules”
on page 224).
Active
Select this check box to activate each module in the process.
Process Mode
Define when to trigger the module: at Process Start, at Rerun Rules
(rerun business rules), or at both times (Start + Rerun).
Note: Be careful when you use the rerun option. Many of the
enrichments only make sense when they are done at the start of
processing. During rerun, they might overwrite values entered by the
user.
Relation
Select the relation between the modules: AND or OR
You can define if the module has run successfully or not within the
processing class (see “Defining logic modules” on page 224).
• If you define an AND relation between two modules and the first module
does not run successfully, the next modules will not be processed at all.
Notes
Counter
Define the sequence of processing.
Channel ID
Only relevant for activation type Activate by Constant.
Enter the input channel that is used for the process definition. If it is empty,
all channels are valid.
DP Document Type
Only relevant for activation type Activate by Constant.
Enter the document type that is used for the process definition. If it is
empty, all document types are valid.
Note: When upgrading from older VIM releases, you might like to
have some document types using logic modules and some others run
without logic modules. In this case, you need to remove the standard
entries in the processing mapping with empty document types. This
will prevent the logic modules to be called for all documents. The
removed entries need to be replaced with respective entries for each
document type that will need to have logic modules called.
Activation Type
Select how your mapping is activated. If you select Activate by Constant,
input channel and document type are the relevant parameters that are taken
into account.
You can also select Inactive, Activate by Custom Function or Activate
by Determination (see “Configuring logic module processing
determination - fields” on page 229).
Process ID
Enter the unique ID of the processing steps.
Note: If you want to use logic modules for auto coding, Process ID N_
SPEC_001 must be mapped to the Non PO based DP Document Types
that are used. In VIM Baseline, this mapping is available for DP
Document Type NPO_75.
FM to determine Process ID
If applicable, enter the name of the function module to activate the logic
module processing. Use template function /OPT/VIM_DBPF_TEMPLATE_DET
to create your own function module.
Important
If there are entries in the logic module processing mapping that have activation
type Activate by Determination, you must define the relevant fields and the
data. Otherwise, you can skip sections “Configuring logic module processing
determination - fields” on page 229 and “Configuring logic module processing
determination - data” on page 231.
This section describes the configuration of fields that are used for the determination.
The process ID (PROC_ID) field (see screenshot below) is required to assign the
correct process.
2. In the Maintenance View for Logic Module Processing, configure fields for
logic module processing, using the following parameters:
Determination Type
BPF (mandatory)
The determination type for Best Practice Framework Configuration is
BPF. It is defined in table /OPT/AT_DETTYPE. The determination type BPF is
delivered in the baseline configuration.
Field Type
You can configure Header or Item fields. For the determination, only
header fields are relevant.
Field Name
Select the corresponding field of table /OPT/VIM_1HEAD.
Sequence
Define the processing sequence of the determination.
Allow Ranges
Select this check box to allow configuring ranges in the data determination
configuration.
Important
This is only relevant if there are entries in the logic module processing
mapping that have activation type Activate by Determination. Otherwise,
you can skip sections “Configuring logic module processing determination -
fields” on page 229 and “Configuring logic module processing determination -
data” on page 231.
In this example, the Logic Module Process ID N_SPEC_001 is used for all
documents of the company code 7000 and vendors 1000 to 3000 + for the
company code 7500 and vendors 4000 to 7000.
With VIM 7.5, the settings are more refined with respect to check status, check
conditions, vendor grouping, and assignment.
The new check status does not only mean that a business rule run is either on or off.
The check status also considers counter based, random, periodic, or once as possible
triggers for a business rule run.
The new check condition definition allows you to limit business rule runs to either
exceeding a minimum amount or receiving a flag from a custom function.
• Random
The business rule might or might not run.
• Condition based (function module)
The business rule runs only if a custom function module delivers a success flag.
• Counter based
If the counter is reached, the business rule runs. The counter can be customized.
• Blind
The business rule runs without stopping in case of an exception.
• Off
The business rule does not run (inactive).
• Check
The business rule runs (active).
• Periodic
The business rule runs every x month for a vendor. The x can be customized.
• Amount based
A minimum amount is configured. If the document exceeds this amount, the
business rule is run.
• Function module based
A custom function can be implemented. If it returns a success flag, the business
rule is run.
Vendor Group
Unique name for the vendor group (black, grey, white)
Description
Description of the vendor group
Company Code to
For ranges only: Enter the highest company code in a range.
Vendor
Enter the vendor number.
If this field is empty, the assignment is valid for all vendors of the company
code(s).
Country
Vendor country code, for example DE for Germany.
Name
Vendor name.
Vendor Group
Enter the vendor group. For more information, see “Configuring vendor
groups” on page 234.
Description
Vendor group description. For more information, see “Configuring vendor
groups” on page 234.
• RANDOM
• CONDITION
• COUNT
• BLIND
• OFF
• CHECK
• PERIODIC
• ONCE
For more information, see “Check type / check status” on page 232.
2. In the BRF - Check Type ID Overview screen, fill the check type descriptions
(especially in additional languages), using the following parameters:
• Chck. Type ID
• Check Type name
• Check Type Description
Check ID
Enter the unique ID of the check condition.
Description
Enter the check condition description.
Check Base
Select which check base you want to use. Possible options:
Amount based
If you select this option, you must enter values in the following fields:
Amount, Currency, Amount Base, and Conversion Date.
Function Module
If you select this option, you must enter a custom check function in the
Check Function field.
Check Function
Enter the exit function for the function module check base. You can use
the /OPT/VIM_DCMP_EX_CONDITION function module as a template.
Amount
Enter a minimum amount for a business rule run.
Currency
Enter the currency for the minimum amount.
Amount Base
Select Gross amount or Net amount.
Conversion Date
Define a currency conversion date. You can select one of the following
options:
Conversion Function
Optionally, enter a custom function for the currency conversion. If you
leave this field empty, the SAP function module CONVERT_TO_LOCAL_
CURRENCY is used.
Company Code to
For ranges only: Enter the highest company code in a range.
Vendor Group
Enter the vendor group. If you leave the field empty, the Grey list vendor
group is taken.
DP Document Type
Enter a DP document type. If you leave the field empty, the assignment is
valid for all DP document types.
Process Type
If you do not use an exception class ID and you nevertheless want to limit
the check type, enter a process type.
Check ID
To limit the check type, assign a check ID as defined in “Maintaining check
IDs” on page 236.
Check Type
Select a check type. For more information, see “Maintaining check type ID
names” on page 236.
Counter X
If you use Counter Based check type: Enter a numeric value for the counter.
When the counter is reached, the business rule runs.
COMPL_RANDOM_MIN
Valid for check type RANDOM. You can increase or decrease the probability of
exceeding the minimum random value.
This central value is used as a lower limit for the Business Rule Framework. If
check type RANDOM is active for a business rule (process type), the SAP random
number generator is called. It returns a value between 0 and 100. If you want
business rules to run very rarely, you have to enter a high value (for example
90). If you want them to run more often you have to enter a low value (for
example 10).
CUSTOM_FM_COMPLIANCE
You can create a customer specific function module for the BRF matching. Use
template /OPT/VIM_DCMP_EX_MATCH.
COMPL_ALLOW_M_BYPASS
The DP indexing simulation screen shows activate/bypass icons that are set by
the BRF or manually. If a BRF check type exists and this Z constant is empty, the
icon cannot be changed. If no check type exists or this Z constant is set to X,
manual changes are possible.
COMPL_HIDE_CHECKTYPE
If this Z constant is set to X, the DP indexing simulation screen does not show
the check type column. If it is empty, it shows the column.
• to show the processing steps for a group of documents that is defined by:
– DP document type
– Company Code
– Vendor
• to show the processing steps of a DP document.
• DP Document Type
• Characteristic (country)
• Vendor Group
Step data
Step ID
Technical information: processing sequence
Process Type
Technical information: process type ID
Business Rule
Name of the process type (business rule)
Activate/Bypass
A business rule can take one of the following statuses:
<empty>
Active (no manual bypass possible)
Active
Inactive / bypassed
Random
At business rule run time, the random function delivers a bypass
variable that is either filled or empty.
Condition
At business rule run time, a custom function delivers a bypass variable
that is either filled or empty.
Count
At business rule run time, the counter is checked for company code,
vendor and process type/exception class. If a predefined value is
reached, the business rule is run. Otherwise, it will be bypassed.
Periodic
At business rule run time, the current date is compared to a predefined
period and last run for company code, vendor and process type/
exception class. If the predefined period is reached, the business rule is
run. Otherwise, it will be bypassed.
Once
At business rule run time, it is checked whether the business rule has
been run once for company code/vendor/document type. If the business
rule has run before, it is bypassed. If it did not run before, it is run now.
Check Type
If a check type has been assigned in the BRF schemata assignment, it is
shown.
Initial Role
Role that is assigned to the business rule.
Header data
• Document ID
• DP Document Type
• Characteristics (country)
• Invoice Category
• Vendor Group
Step data is identical to the group result list; see Step data on page 241.
You can assign a specific user profile, using the user parameter /OPT/CIDX_CUST_
PROF.
2. In the Profiles Details screen, define the profile, using the following
parameters:
Customizing profile
Unique ID of the profile
The general default profile (DEFAULT) included in the baseline delivery assumes a
minimum screen resolution of 1600 x 900 for all UI related settings.
2. Define the profile settings using the following parameters. The corresponding
settings are called during runtime.
Customizing Profile
Unique ID of the profile
Application Class
Enter the application class.
The complete logic of the indexing screen is combined in the application
class of the indexing screen. All relevant attributes and methods of the
global application class are delivered in a baseline indexing screen
application. You can enhance the class by redefining components of the
class within a custom class, which can be maintained instead of the baseline
class.
Default value: /OPT/CL_C_IDX_APPLICATION
UI Class
Enter the UI class.
All relevant screen logic is combined within the UI class of the indexing
screen. Like for the application class, the baseline class delivers the
complete screen logic, which you can redefine.
Default value: /OPT/CL_C_IDX_UI_CONTROLLER
Process Options
Enter the process options class.
This class includes the process options to be executed within the indexing
screen.
Default value: /OPT/CL_C_IDX_PROCESS_OPTIONS
User Class
Enter the user class.
This class includes necessary user settings and configuration of the indexing
screen.
Default value: /OPT/CL_C_IDX_USER
The plug-in options of the profile are used when the user calls the indexing
screen the first time. Changes done during screen processing are stored when
the indexing screen is left and the screen is opened in the same way the next
time. For details about plug-ins, see “Customizing plug-in controls for end-user
screens“ on page 697.
Plug-In Type
Enter the plug-in type that is used within the indexing screen by default.
Default value: VIM_IDX
Plug-In ID
Enter the default plug-in ID that is used in the indexing screen.
Default value: 10 (Image plug-in)
Plug-In Side
Select the default plug-in side where the plug-in is displayed on the screen.
Default value: Right justified
Cont. Pane % Vt.
Content pane size ratio vertical in %: Enter the default plug-in size in
percent of the indexing screen, a % value between 5 and 90.
Default value: 42
Alternatively, navigate to OpenText VIM - Invoice Solution > SAP menu > Roles >
Role Maintenance.
To create a new role, follow the process described in “Defining roles” on page 44,
with product code 005.
Option Id
Enter a 4 digit number identifying the process option.
Option Button Text
Enter the text that appears on the button for this option in the users’
dashboard.
Option Button Icon
Enter the icon that appears on the button for this option in the users’
dashboard. If you maintain an icon, the Option Button Text is not used.
Option Text
Enter a description that describes the option in detail.
Option Type
Select the type of option:
BDC Action
A BDC ID is executed if the user chooses this option.
Note: If you select BDC Action, you must maintain the BDC
Configuration Id.
Referral
User can refer the work item to a target role for further processing.
Note: If the Override Res. Actor check box is selected, the user
has an option to send the work item to users other than the ones
determined by the system for the target role.
Class Method
The system calls the class method that you define in the Option Class
Name field.
Note: If you select Class Method, you must maintain the Option
Class Name field.
Call Transaction
The system calls the transaction that is defined in the Transaction Code
field.
Workflow Task
The system calls a (sub) workflow or task before continuing the process.
Select Workflow Task to define any custom post processing steps for a
given option.
Confirm Execute
Select this check box to let the system get a confirmation from the user to
execute the option.
Confirm Completion
Select this check box to let the system get a confirmation from the user that
the option is successfully executed.
Comments Required
Select this check box if a comment is required for the action executed. The
comment will be shown in the process log.
Note: For referring process options, this setting is ignored if the Z
constant REFER_COM_REQ (product code 005) is set.
Document Status
Select the status set for the document if the option is executed successfully.
Description
Enter a meaningful description for the action.
Transaction Code
Enter the related SAP transaction code.
Data Area
Enter Indexing for DP
Processing Mode
Select settings for processing:
Display errors
BDC mode E: Stops at Error screen.
Background processing
BDC Mode N: Use this option for background processes.
Update
Select the Update mode to call transaction. Possible values: Local,
Synchronous, or Asynchronous.
CATT Mode
Select the CATT mode. The following values are possible:
No CATT
’ ’ No CATT active
Default Size
Select this check box to use the default window size.
Continue after Commit
Select this check box to specify that the transaction does not end at COMMIT
WORK.
Not a BI Session
Select this check box to specify no batch input mode, that is, SY-BINPT =
SPACE.
End: No BI
Select this check box to specify no batch input mode after the end of BDC
data.
Custom BDC Function
Maintain the custom BDC function, and the system will ignore all settings
in the BDC Definition Details screen. Figure 9-2 on page 253 shows the
function module interface.
Exceptions
• You must specify the processing mode that you are using in your
customer function.
• You must specify the transaction FV60 as Transaction code, if you are
calling a transaction to park Non PO invoices in your custom module,
and if you want the parking workflow for the Non PO invoices dialog to
be triggered.
To define parameters:
SPA/GPA
Parameter Id (Check definition with SAP Documentation)
Function module
Figure 9-3 on page 254 shows example and interface.
As the data head is structure, it is not specified. Use field symbol to pass
it on to the respective structure.
You can use the function module parameter ID also as exit before
calling BDC transaction.
Create a dummy parameter ID and use the custom function module for
any processing that needs to be done before BDC call.
Application Variable
Application Variable is used to reference index field values.
System Field
System Field is used to reference system fields.
Default Value
Default Value is used to set default values as parameters.
Class Method
Currently not implemented.
Index ID
Sequence step number for the BDC data table
Program
Enter the name of the program.
Screen number
Enter the screen number.
Start Screen
Select the check box to indicate a new screen.
Line Number for Item
Enter the line number for the table control line item. Normally blank.
BDC Field Name
Enter the BDC field name.
Application Variable
The value of the table field from table /opt/vim_1head can be used in
the application variable. If you choose Application Variable, enter
the field name from table /opt/vim_1head into the BDC field value
table.
Class Method
Currently not implemented.
BDC Extension Function Module
You can use this option to add a screen field to BDC Data structure
based on special logic, for example country specific screen fields. When
you use this option, enter the following values and leave the remaining
fields empty. See the following screenshot.
Program
EXTENSION
If success messages are maintained, the system checks for the messages at the end of
the transaction, and if they match any other messages returned from BDC, the
system treats it as transaction completed.
Index
Sequential line item number
Application Area
Select the message class.
Message ID
Select the message number.
The success message is not required for all transactions. In a few cases, like MIRO and
FV60 transactions, the transaction itself exports a Process_key-complete flag to
memory ID name as work item ID, and then the system also treats the transaction as
completed.
The following is the example code for exporting a document creation flag in case of
MIRO and FV60 transactions.
DATA l_objkey TYPE swotobjid-objkey.
CALL FUNCTION 'GET_WORKFLOW_ID'
IMPORTING
workitemid = l_objkey
EXCEPTIONS
not_found = 1
OTHERS = 2.
CHECK sy-subrc EQ 0.
l_prockey-bus_objtype = 'BUS2081'.
l_prockey-bus_objkey = l_rbkp+3(14).
l_prockey-complete = 'X'.
3. Replace the existing BAPI with custom BAPI compatible to interface /OPT/VIM_
52_BAPI_DOCLINES_PO.
5. Replace the existing BAPI with custom BAPI compatible to interface /OPT/VIM_
52_BAPI_PO_PARK.
You might not want to entirely overwrite the BAPIs with custom BAPIs as described
above. The other way to allow some custom modifications is to use a custom plug-in
function module.
2. Double-click CUSTOM_FM_PLUGIN.
This Z constant allows you to plug in your own function module, in order to
enhance the functionality lines for posting or parking via BAPI. This plug-in
custom function is called within /OPT/VIM_52_BAPI_DOCLINES_PO and /OPT/
VIM_52_BAPI_PO_PARK, just before creating the SAP documents.
In this step, you need to verify that the BAdI used for PO based invoice processing is
active. This is important to successfully terminate the document processing
workflow and start PO parked/blocked workflow (if required).
Usage:
Make sure that only one implementation for this BAdI is called. Therefore use the
SE19 transaction to check that the runtime behavior of BAdI /OPT/VIM_ENH_SPOT_
MIRO is Implementation is not called. To prevent activation of this second BAdi,
leave the Planned Status for Business Function /OPT/VIM_SFW_MIRO empty (in the
SFW5 transaction).
2. Use the SFW5 transaction to set the planned status of business function /OPT/
VIM_SFW_MIRO to “active” and activate the change.
You can check if the activation was successful in SFW5 (bulb is lit) or in SFW_
BROWSER (“Switch position” of business function /OPT/VIM_SFW_MIRO is green.)
3. Use the SE19 transaction to make sure that runtime behavior of BadI /OPT/VIM_
ENH_SPOT_MIRO is Implementation is called.
New BTE processing for document parking – The parked processing within BTE
2213 has been enhanced and supports the following scenarios:
• NPO parking using enjoy transactions: uses BTE 2213 and BTE 1140
• NPO parking using classic transactions: uses BTE 1020 and BTE 2213
• NPO BDC scenario: uses BTE 2213 and modification in function module /OPT/
VIM_CALL_IDX_TRANSACTION
Is Exception
Select this check box to mark the process type as exception. If this check box
is selected, the process type is not relevant for automatic background
document posting.
Characteristic Check
Relevant for characteristic specific configuration, for the following kinds of
process types:
To rerun process types correctly in background, you must plan a batch job for a
report; see Section 7.1.1 “Scheduling batch jobs for workflows” in OpenText
Vendor Invoice Management for SAP Solutions - Administration Guide (VIME-AGD).
You can also rerun the waiting process types in dialog using the /OPT/DR_BR_
WAIT report or the /OPT/VIM_RULERUN transaction. See also “Rerunning waiting
process types“ on page 1005.
Wait / Rerun
With this option, it is possible to send any exception of a business rule into a
wait state. Depending on the selected option, it is possible or not possible to
process the work item:
Background processing only
The work item is sent to the background user (WF-BATCH).
Interval (hours)
The interval defines the time in hours after which the business rule is
skipped or placed in the initial actor's inbox if no other action happened.
You can control this using the exclusive indicator; see “Defining the process
type determination sequence” on page 177). The rule will be skipped if the
exclusive indicator is not set, or the process will stop and the initial actor
has to resolve the process type manually.
Wait Role
Only necessary if the Wait / Rerun option is set to Workitem processing
possible. The specified role gets the work item that is sent into the wait
state. The specified role is able to process the work item.
Workflow Settings
Workflow Type
Select Opentext Approval Workflow from the drop down list to start the
DP based approval workflow. With Opentext Approval Workflow selected,
it is possible to select or clear the Auto Start check box, as the case may be.
Select External Workflow from the drop down list to run any external
workflow (based on SAP technology) outside SAP IM workflows as a part
of any business rule. With External Workflow selected, the Auto Start
option is always enabled.
Select SRM System Integration from the drop down list for SRM scenarios
or any other external systems where an email will be sent and the workflow
will be in wait status. See “SRM integration“ on page 937.
Auto Start
Relevant for DP based approval workflow. If the process type
corresponding to the approval workflow is determined, the system checks
whether the Auto Start check box is enabled. If yes, the system starts the
approval workflow if it is enabled. If Auto Start is not enabled, processing
continues with the initial actor assigned to the current process type. The
initial actor will manually start the approval workflow.
Task
Enter the workflow template to be triggered. The workflow template
container can be of any interface as the binding is controlled by a custom
binding function module.
Binding Function
Enter the Workflow Binding function module.
It must be implemented in the system where the SAP IM workflow is
running, to pass appropriate data to the external workflow. The function
module should have an interface as /OPT/VIM_DASHBOARD_BINDING. Inside
SWC_CONTAINER_TO_RUNTIME called_container.
SWC_CONTAINER_TO_PERSISTENT called_container.
ENDIF.
ENDFUNCTION.
Logical System
Enter the name of the system where the external workflow is supposed to
run. The external workflow should be based on SAP technology.
SRM Settings
Max Retry Counter, Retry Time (Minutes), Mail Config ID, Receiver Mail
Function, Send Mail Function
These fields are only relevant for the SRM integration. See “Missing goods
receipt scenario” on page 942.
1. In the Process Type Definition Overview screen, select a process type and
double-click User Process Option in the navigation pane.
Option Id
Process option identifier
Description
Description of the option
From Actor
Select the source role that gets the work item.
To Actor
Select the target role that receives the work item if the action is performed.
This is only available if the option is a referral.
Check FM
Enter a check function module to restrict the option for a role. You find the
interface for the check function module using /OPT/VIM_BL_CHECK_FM_
2012.
Sequence
Optional setting: Enter the sequence of the process options shown in the
dashboard.
Old VIM With VIM 7.0 and lower, the business rule Unable to Determine PO Line number
approach was used to derive PO item numbers for the indexing lines. As an extension for the
feature of line determination for invoicing, VIM provides a business rule Manual
Check Needed for indexing lines. The former rule Unable to Determine PO Line
number stays valid as it complements the line determination.
New VIM In VIM 7.5 and higher, the old approach is replaced with a combination of a logic
approach module and a business rule.
OCR lines
• If no OCR lines are supplied, the entire proposal that is based on reference
documents is used to form indexing lines, based either on PO orders in the
documents or on Delivery Notes, but not on both.
• If OCR lines are supplied, and all lines’ mandatory fields are filled, no business
exception occurs.
• If OCR lines are supplied, but some lines have empty mandatory fields, these
lines are considered as incomplete.
Incomplete OCR lines are checked if certain fields are filled. According to the
configuration, either the lines proposed by the MIRO transaction or the OCR
supplied lines can then form the basis for indexing lines. See “Setting up the
derivation infrastructure” on page 273.
Business exception
• PO Number
• PO Item
• Quantity
• Amount
• UOM
Once the system has determined that indexing lines are incomplete, the system
derives the missing mandatory fields based on the configuration described in
“Setting up the derivation infrastructure” on page 273.
The old derivation infrastructure using business rules is still working but you
should not use it any more.
Process Type 110, business rule Manual Check Needed for Indexing Lines, used in
VIM versions prior to 7.5, is replaced with process type 113, business rule Manual
Check Needed / Missing Data for Indexing Lines (PO) with VIM 7.5 and higher.
This business rule has been created for PO data checking.
2. Process definition and related logic module must be available and active.
3. The process definition must be mapped and activated for the related document
type.
To configure the business rule Manual Check Needed / Missing Data for
Indexing Lines (PO):
2. At DP Document Type level, configure process type 113 Manual Check Needed
/ Missing Data for Indexing Lines (PO).
3. Open the Sequence Steps screen for process type 113. See also “Defining
sequence steps” on page 180.
2. Double-click BDC_POSTING_ONLINE.
Process option BDC Configuration Id 200 is a special BDC Configuration Id. It, therefore, needs to
be attached to a user process option, which in turn is called from the DP Dashboard.
Either create a new process option or change the existing process option for PO
invoice posting, as shown in the following procedure.
User process You need to configure the user process option 2009 Post PO Invoice for process
option type 110 Manual Check Needed for Indexing Lines.
2. In the Process Type Definition Overview screen, select process type 110 Manual
Check Needed for Indexing Lines and double-click User Process Option in
the navigation pane. See also “Defining user process options” on page 270.
3. Maintain process option 2009 Post PO Invoice for appropriate roles under
process type 110, as shown in the screenshot.
4. For VIM version 7.5, repeat this procedure for process type 113.
Enhancement The following locations in SAP code need to be modified using implicit
spots enhancements:
Call of /OPT/VIM_BUILD_REFERENCE_DOCS
This function is used for passing the reference documents in the include
LMR1MF3S. Call this function inside the subroutine ZUORDNUNGSKRITERIEN_
AUFBAUEN, at the end of the form, just before the ENDFORM statement.
Call of /OPT/VIM_CHANGE_PROPOSAL_MIRO
This function is used to manipulate the lines from proposal in the include
LMR1MF3U. Call this function inside the subroutine
ZUORDNUNG_DURCHFUEHREN, at the end of the form, just before the
ENDFORM statement.
********BEGIN OF CODE PIECE**************************
data: vim type c.
.
***********BEGIN OF ADDITIONAL MIRO CHECKS*******************
if VIM = 'X'.
loop at ydrseg.
endloop.
endif.
***********END OF ADDITIONAL MIRO CHECKS***********************
3. Display implicit enhancement options using the menu path: Edit >
Enhancement Operations > Show Implicit enhancement options.
4. Create the implementation with the code as shown in the following, at the
beginning of the form:
*&---------------------------------------------------------*
*& Form TAB_MULTIVEN_CHECK
*&---------------------------------------------------------*
* text
*----------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------*
FORM tab_multiven_check.
"""""$"$\SE:(1 ) Form TAB_MULTIVEN_CHECK, Start D
*$*$-Start: (1 )----------------------------------------$*$*
ENHANCEMENT 98 ZMIRO_MULTIVENDOR_SEL. "active version
DATA: lv_lifnr TYPE lifnr,
lv_vim TYPE char1.
Code
Rescan reason code.
Description
Description of the rescan reason.
Comm Required
If you select this check box, the user must maintain the comments to
proceed.
Code
Obsolete reason code
Description
Description of the obsolete reason
Comm Required
If you select this check box, the user must maintain the comments to
proceed.
Comm visible
Comments visible externally. If you select this check box, comments entered
when obsoleting a document may be sent outside your organization. For
example, they may be sent to a vendor who is transmitting invoices over
Ariba Network. Vendors can then read the comment on the Ariba Network
invoice display pages.
If you select this check box, a warning dialog box is displayed when
confirming the obsolete reason in the DP indexing screen.
Scan Location
Scan location for archiving
Description
Scan location description
Priority
Enter the priority number.
Description
Enter a description of the priority.
Column Header
Enter text to appear as column header in user's inbox.
Dynamic Col. Type
Define how the dynamic column value is determined. The following values
are possible:
Table Field
Data will be populated from the /OPT/VIM_1HEAD table.
Container Expression
Data will be populated from container data from task TS9578003.
Custom Function
Data is derived using a custom function module. A sample interface can
be found from function module /OPT/BL_IF_SET_DYNAMIC_COLUMN.
Note: The change of the settings for dynamic columns in the DP workflow
results in automatic entry of the workflow container elements DYNAMICCOLUMNx
for the task TS00275278 in the table SWLVCUSTOM. All six columns are plain text
fields, and this can result into incorrect sorting for values containing numbers,
for example Invoice Amount. If you need VIM users to see and sort work items
using the Invoice Amount field, you must maintain one dynamic column
directly in the table SWLVCUSTOM (transaction SM30) with the container element
expression &_WI_OBJECT_ID.GROSSAMOUNT& (instead of automatically entered
&DYNAMICCOLUMNx&).
Important
Take care when you change the global configuration parameters. Changes can
affect the functionality of the process.
GR_CHECK_EXIT
Usage
This constant defines the function that is called to check if the Goods
Receipt (GR) for the PO is already done.
This constant is only applicable for Brazil.
Default value
/OPT/VIM_BL_CHECK_GR_EXIT
GR_MOVEMENT_TYPE
Usage
This constant defines the movement type to be used when posting the
goods receipt (GR) document in background. It can either be a fixed
value or a function module name.
This constant is only applicable for Brazil.
Default value
For a fixed value, just mention the movement type in the constant
value, for example: 101.
For a function module, use the format FM: <function_name>.
GR_POST_BAPI_EXIT
Usage
This user exit bases on a function module. The function module defined
in this constant is called by the standard program before the SAP BAPI
is called while posting the goods receipt (GR). You can use this user exit
to change values being passed to the BAPI.
This constant is only applicable for Brazil.
Default value
None
The interface of the custom function module must be the same as /OPT/
DPPO_GR_BAPI_POST_EXIT.
DP_NPO_POSTING_EXIT
Usage
This user exit bases on a function module. The function module is called
before calling the non PO invoice posting BAPI BAPI_ACC_DOCUMENT_
POST in function module /OPT/DNONPO_INVOICE_BAPI. You can use this
user exit to modify the baseline data in BAPI structures.
This constant is applicable for all countries.
Default value
None
The interface of the custom function module must be the same as /OPT/
DNONPO_INVOICE_BAPI_EXIT.
DP_PO_PROPOSAL_EXIT
Usage
This user exit is called at the end of the proposal function. You can
modify the proposals and create additional error messages.
APP_DOCU_URL
Usage
The custom help URL for the DP dashboard. You can provide custom
help for users to look up processing steps they need to take when they
are processing the DP dashboard.
Default value
www.opentext.com
IMG_DOCU_URL
Usage
The custom help URL for OpenText IMG. Do not change this constant.
Default value
www.opentext.com
MAIN_WF_TEMPLATE
Usage
The default workflow template that will be triggered for DP. Do not
change this value.
Default value
WS00275269
NUMBER_RANGE_OBJECT
Usage
The default number range object for DP is /OPT/DOCID. If you want to
define a custom number range object for document number ranges,
define the value of the number range object here.
Default value
None
Note: If you change this value, you will have to maintain the number
ranges for the documents separately. The OpenText delivered /OPT/
Usage
A custom function module can be used as a value for this constant to
change the document values (Index Data etc.) before the workflow
starts.
Default value
None
Interface
CALL FUNCTION <CONSTANT>
CHANGING
INDEXER = LCL_INDEXER TYPE REF TO /OPT/CL_VIM_DOC_PROCESSOR
REMINDER_USER_EXIT
Usage
This configuration value is used to maintain a custom function allowing
to format e-mail content when sending reminders to users holding
work items.
Default value
/OPT/VIM_NOTIF_USER_EXIT_TEMP
Interface
CALL FUNCTION <CONSTANT>
EXPORTING
SEND_INFO STRUCTURE/OPT/VIM_S1_REMINDER_DISPLAY
TABLES
OUT_DATA STRUCTURE /OPT/VIM_S1_REMINDER_DISPLAY
FIELDS_CATALOG STRUCTURE LVC_S_FCAT
SORT_FIELDS STRUCTURE LVC_S_SORT
REM_MAIL_DOCTYPE
Usage
This configuration value determines the global format of email sent
from Reminder Notification, Approval Notification and SRM
Notification.
The notification emails can be sent in HTML format with readable
formatting and invoice data presented in the form of HTML tables. To
enable this functionality, you must set the constant 005 / REM_MAIL_
DOCTYPE to HTM. In the /OPT/VIM_8CX50 transaction, you must
configure the Email Type to be Internet Email.
Default value
RAW
REM_MAIL_FORMAT_FM
Usage
This configuration value determines the exit function module where the
customer can manipulate the email content before sending it out.
Default value
empty
SERVICE_ENTRY_BSART (obsolete)
Usage
The service entry document type. This configuration value was
formerly used in business rule 154 Service entry required.
SERVICE_ENTRY_BSTYP (obsolete)
Usage
Purchase document category for service entry. This configuration value
was formerly used in business rule 154 Service entry required.
WI_TEXT_FM
Usage
This configuration value is used to maintain a custom function that
allows formatting the work item text.
Prerequisite
Knowledge about work item data
Default value
/OPT/BL_IF_DETERMINE_WI_TEXT
Interface
CALL FUNCTION <CONSTANT>
EXPORTING
VALUE(INDEX_DOCID) TYPE /OPT/DOCID
IMPORTING
REFERENCE(WI_TEXT) TYPE SWW_WITEXT
DP_DASHBOARD_TASKID
Usage
This configuration value is used to determine the dashboard task in DP.
The task should be compatible to task TS00275257.
Prerequisite
Knowledge about workflow tasks
Default value
TS00275257
Note: Do not change this value as a change affects the behavior of the
application.
DUP_CHECK_DELIMIT
Usage
This configuration value is used to determine which characters in the
document reference number are considered as delimiter to determine a
document as a duplicate.
Default value
/-
Example
If a document with reference number REF-1 should be considered as a
duplicate for REF, the delimiter that should be maintained is -.
LIST_WF_STATUSES
Usage
This configuration value is used to determine at which document
statuses the PO parked workflow should be triggered. The document
status in question is the SAP document status.
Possible values:
A: Parked workflow triggered by MIR7 function Save parked document
B: Parked workflow triggered by MIR7 function Save as completed
AB: Parked workflow triggered by MIR7 function Save as completed
and Save parked document
Default value
A
Usage
This configuration value is used to determine for which SAP document
types the PO/Non PO workflow is triggered. This eliminates the
triggering of the workflow for unwanted document types. Separate the
values by comma.
Default value
KR,RE,KG
Example
If you want to trigger the workflow for GL documents (document type
AB) maintain value AB here.
WFTRGPLANT
Usage
This configuration value is used to determine for which plants the PO /
Non PO workflow is triggered. This eliminates the triggering of the
workflow for unwanted plants. If you want to consider all plants,
maintain the value * here.
Default value
*
Example
If you want to stop triggering the workflow for plant 0001, maintain all
plants different from 0001 here.
2. Maintain company codes that should be excluded from process types, using the
following parameters:
Process Type
Enter the process type from which the company code should be excluded
Company Code From, Company Code To
Enter a company code or a company code range that should not execute the
mentioned process type.
Exclude
To activate the exclusion, select this check box.
Delivery costs are costs that are invoiced for a delivery over and above the value of
the delivery itself. This includes freight charges, customs duty, packaging, material
surcharges, or other costs.
Delivery costs can accrue as line item related costs and as header related costs. There
is also a distinction between planned delivery costs and unplanned delivery costs.
• Freight charges
• Customs charges
Costs calculation
ICC extracts and classifies additional costs from the invoice based on customer
specific keywords. It delivers a separate line for each cost object found. The cost
type, for example freight or packaging, that is delivered within the line is called
“qualifier”.
You can customize VIM to use ICC line item data by setting the PO line
determination setting to OK; see “Maintaining the PO line determination”
on page 192. VIM checks whether planned costs of this cost type(s) exist for the
purchase order(s) involved and tries to match the cost amount(s) to the planned cost
amount(s). If the PO line determination setting is not OK, additional cost handling
will not work.
A successfully matched line will be shown with PO details and condition type.
Mismatched cost lines will be handled according to the customizing. For the
available alternatives, see “Maintaining the handling of unplanned costs”
on page 300.
Planned delivery costs are shown on the PO Reference tab of the indexing screen
line item section. They can be recognized by the filled Condition Type. Unplanned
delivery costs are either shown on header level or on the G/L account tab of the
indexing screen line item section. If they are on item level they will show the
qualifier name and the alternative A4 or A5.
2. In the Customizing table qualifier texts screen, maintain the qualifiers, for
example FREIGHT or PACKAGING, using the following parameters:
• Description
• Short Description
2. In the Maintenance View for Qualifier Discount Flag, specify the qualifiers
that are discount, using the following parameters:
• Discount Flag
• Additional Costs
A SAP condition type represents some aspect of a company's daily pricing activities.
A different condition type can be defined for each kind of price, discount, or
surcharge that occurs in business transactions.
Example: ZOB1 represents value based customs surcharges.
Easymatch is a flag for the comparison of extracted line item data with planned
delivery cost in the purchase order. If Easymatch is set, only the cost amount is
compared. If it is not set, the amount is compared in addition with purchase order
number and item.
2. In the Maintenance View for Additional Cost Handling, maintain the fields,
using the following parameters:
Determination Type
Enter the determination type. For additional planned cost handling, enter
ACP.
The determination type ACP is defined in the /OPT/AT_DETTYPE table.
Note: You can perform some customizing on the production system,
where clients are normally set to “No changes allowed”. For this
customizing activity, no transport request is created.
As a prerequisite, you must select the Edit Allowed check box in the /
OPT/AT_DETTYPE table for the corresponding transaction codes.
Field Type
Select Header from the list.
Field Name
Enter the field name. Click for a list of available fields.
Sequence
Define the sequence for the header.
Easymatch should have the highest number in the list.
2. In the Maintenance View for Additional Cost Handling screen, maintain the
fields, using the following parameters:
Determination Type
Enter the determination type. For additional cost handling, enter ACS.
The determination type ACS is defined in the /OPT/AT_DETTYPE table.
Note: You can perform some customizing on the production system,
where clients are normally set to “No changes allowed”. For this
customizing activity, no transport request is created.
As a prerequisite, you must select the Edit Allowed check box in the /
OPT/AT_DETTYPE table for the corresponding transaction codes.
Field Type
Select Header or Item from the list.
Item fields are used for auto coding of alternative 4 and alternative 5 G/L
lines.
The following item fields are allowed:
• HKONT
• KOSTL
• KSTRG
• PRCTR
• PROJK
• AUFNR
• NPLNR
• GSBER
• LSTAR
• VORNR
• ZUONR
• VBELN
• VBELP
• PAOBJNR
• GEBER
• FISTL
Field Name
Enter the field name. You can select the field from the available field list.
If you want to use auto coding for GL lines (alternative 4 and 5), you must
enter item coding fields like HKONT or KOSTL.
Sequence
Define the sequence for header and item fields.
ALTERNATIVE must be the first header field with sequence 1.
QUALIFIER must be sequence 2.
DISTR_TYPE must be sequence 3.
HEADER fields must be sequence 4 to x.
Alternative
The following alternatives are available:
Additional Costs
Enter qualifiers, for example FREIGHT.
Example:
• A1: For company code 3000 and vendors 0 to 3000, the cost will be added to the
Unplanned Cost header field.
• A6: Vendor 1002 claims handling charges, which will always be discarded.
2. In the Customizing Table G/L line flag for Handling Alternative screen,
specify whether the customer specific handling alternative is G/L line relevant
or not.
For general information, see the SAP Note 1232484 - How to use the VAT due date,
tax reporting date VATDATE (http://service.sap.com/sap/support/notes/1232484)
The VAT date functions in VIM work in conjunction with the global setting of
company codes Tax Reporting Date active. If this setting is activated, VIM checks
if the VAT date is provided in the DP document at the time of posting.
You can enter the VAT Date field during indexing in the DP indexing screen. In
many cases, the value of the supply date, which already exists in VIM, can be
assigned to the VAT date. VIM does not automatically populate the VAT date from
the supply date, but VIM provides the business rule 409 - Copy rule: Supply Date
to VAT Date (NPO / PO) to copy the value. You can activate this business rule when
needed. VIM provides the business rules 407 - Missing VAT Date (NPO) and 408 -
Missing VAT Date (PO) to check if the VAT date is entered in the DP document.
These business rules stop the process with a DP exception before posting.
In the standard configuration, none of the related functions are active. To be able to
use the VAT date, additional configuration is required, as described in the following
sections.
Alternatively, you can add the VATDATE field into the list based on characteristics, as
described in “Characteristic specific screen fields” on page 661. For example, you
can enable the field for Eastern European countries where the VAT date is
mandatory.
The process types 407 and 408 check if the VAT date is provided in the DP
document. If not, the DP processing stops with an exception. Users are required to
enter the VAT date in the DP document. To enable the check, add the respective
process type for DP document or characteristic, with the function /OPT/VIM_
DETERMINE_PROC_407 (same function for 408).
The baseline configuration of the process types 407 and 408 contains predefined
process options. You can adjust the process options list to suit your scenarios.
The process type 409 copies the supply date value into the VAT date. This is not a
dialog process type: it does not trigger an exception. You must use the same process
type for both PO and NPO. You can enable the process type for individual
document types or using characteristics. The process type must be checked with the
function /OPT/VIM_DETERMINE_PROC_409.
• For PO invoices
With SAP BAPI (standard VIM BDC ID 1): When PO invoices are set up to be
posted.
VIM 7.0 SP8 / VIM 7.5 SP4 and earlier do not support background posting of
VAT date. But if you want the posting to go through or you are using a user exit
to pass the date in some other way, you can set the constant to X.
3. On the Maintain Profitability Sement Fields screen, select the Active check box
at least for one row.
4. Enter a value 1 in the corresponding field of the Seq. Num column, and save.
5. If you use the Approval Portal for Invoice Approval, perform the necessary
configuration as described in “Activating the profitability segment”
on page 469.
6. Activate the PSEG field in Index Item Configuration in the document type
configuration. For more information, see “Configuring the index item fields”
on page 187.
Limitations
/OPT/VIM_1RDOC_DATA
This structure is used to capture data that is document specific and not process
specific. If a field is applicable for both POs and Non POs, maintain the field
here. An example for that field is the company code which can be for POs and
also for Non POs.
/OPT/VIM_4RAPP_DATA
This structure is used to capture data that is specific for Non PO approvals. If a
field is applicable to Non PO approvals, maintain the field here.
/OPT/VIM_BL_1RIDX_DATA
This structure is used to capture index data which may or may not be used in
subsequent processes. If you want to create a field that is specific to index
documents, extend this structure.
• Developer authorization
• Knowledge of SAP database tables and structures
The validation is called in change mode for all DP dashboard actions with the
exception of the exit type functions located in the DP dashboard toolbar. These exit
type functions are used for special processing that does not allow reading the
current screen data.
Notes
• Actions performed in the plug-in toolbar, typically in the right panel, result
in the validation call. However, you cannot stop the corresponding actions
by passing the error message type back from the user exit, because of
technical limitations.
• If you would like to skip validation on plug-in toolbar actions, or on any
other actions, you can implement a check of the OK code in your user exit.
The example source code at the end of this section shows how to do this.
To activate and perform the data validation, you must first create a function module
with the following interface:
*" IMPORTING
*" VALUE(INDEX_DATA) TYPE /OPT/VIM_1HEAD
*" VALUE(INDEX_DATA2) TYPE /OPT/VIM_2HEAD
*" VALUE(OK_CODE) TYPE SY-UCOMM
*" VALUE(PROC_OPT) TYPE /OPT/VIM_1RACTION
*" TABLES
*" INDEX_ITEMS STRUCTURE /OPT/CIDX_ITEMS
*" INDEX_WTAX STRUCTURE /OPT/CIDX_EWHTAX
*" RETURN STRUCTURE BAPIRET2
The function module logic receives, in addition to the document data, the active OK
code and the selected process option (if there are any). It is supposed to return an
internal table with messages. All messages are shown in a dialog box. If any error
messages of type A, E, or X are returned, the screen processing is stopped when the
dialog box is closed.
To activate the user exit, you must create the following Z-constant entry with the
value equal to the function module name, in the /PTGWFI/Z_CONST table:
Product code
005
Constant
DP_VALIDATE_EXIT
Description
DP indexing screen - validation exit
Value
User exit function module name
lv_mesg = ok_code.
CALL FUNCTION 'BALW_BAPIRETURN_GET2'
EXPORTING
type = 'W'
cl = '00'
number = '398'
par1 = lv_mesg
IMPORTING
return = ls_return.
APPEND ls_return TO return.
ENDFUNCTION.
3. Configure the fields RBWWR, RBMNG, and KZMEK as input fields at item level for the
PO Reference tab only.
4. Configure the business rule Check for Reduction Invoice and BDC IDs 200
and 202 for auto posting or background posting of the reduction invoice.
1. Select the correction ID (KZMEK) as Vendor Error. Reduce Invoice from the list
in the line item column Correctn ID (Correction ID).
2. Press ENTER.
The original amount and quantity is copied into the fields Invoice Amount FC
(RBWWR) and Inv.doc.qty (Invoice document quantity; RBMNG).
3. Change the amount and quantity in the original amounts and quantity fields.
3. Set field CON_LIST to Input to display the Contract list button in the Basic Data
tab of the indexing screen.
Note: To avoid that the Contract list button is displayed for Non PO
invoices, set the field CON_LIST in document type NPO_75 to Hide .
For contract-related screen fields added in the VIM indexing screen, maintain
meaningful labels.
3. In the Field Selection dialog box, select the following filters: Field Name,
Language Key and click .
For line item fields, continue with Step 5 on page 313.
4. In the Maintain index screen header field labels screen, customize the header
field label, using the following parameters:
Field Name
Enter CON_LIST
Language
Enter EN.
Label
Enter Contract list.
5. In the Maintain index screen line item field labels screen, customize the line
item field labels, using the following parameters:
Field Name
Enter CONTRACT_NO and CONTRACT_ITM
Language
Enter EN.
Data element
Enter EVRTN (for CONTRACT_NO)
Enter EVRTP (for CONTRACT_ITM)
Label
Enter Contract No (for CONTRACT_NO).
Enter Contract Item (for CONTRACT_ITM).
For posting DP documents with Contract Reference tab in MIRO, use BDC 501 for
online posting.
2. Configure Process Option 5002 (Post Invoice) with BDC configuration ID 501.
Product Code
002
Constant
CONTRACT_POSTING
Description
Process option for online contract posting
Constant Value
5002
While posting contract invoices in the MIRO transaction BDC for Contract reference,
selected line items accounting data coming from the VIM screen must be captured
during items proposal. You can achieve this through an enhancement implemented
in the MIRO transaction.
*$*$-End: (1)-----------------------------------------------$*$*
Primarily, invoices can be parked for some further processing. This includes, for
example, waiting for approval, or changing some customizing like vendor data, or
tax data. The invoice will be posted in a later step.
Main concepts
Parking reasons
Roles
– Actions
– Referrals (for collaboration)
• Actions can base on transactions or class methods or workflow tasks.
BDC IDs
• BDC IDs build a powerful infrastructure for prepopulating data into SAP
transactions without programming.
• BDC IDs are optimized for both dialog processing and background
processing.
• BDC IDs can be used to set dynamic Parameter IDs.
• BDC IDs can be used to configure new user collaboration actions.
• BDC IDs eliminate the need to code parameterized transactions.
• BDC IDs can be used to configure BDC success messages.
Main steps The following are the main steps involved in implementing process scenarios in the
PO parking process:
1. Identify the various parking reasons that are required for the realization of the
process scenarios.
2. Identify the subscreen to be called during the document parking process.
3. Identify the roll out criteria.
4. Identify the various roles and configure the roles in the appropriate process
types.
5. Identify and configure the process options according to the swimlanes.
6. Configure global customization setting as per customer requirements.
The starting point for any configuration is a set of process flow swimlanes. The
following swimlane is an example of such a process as implemented by the PO
invoice parking workflow:
The following sections describe the main steps of the PO parking process
configuration:
Option Type
Select the option type:
Action
The system executes an SAP transaction code defined against this
action.
Authorization
This option type is relevant only if the option selected is a PO blocked
scenario. It allows the user to complete the line level workflow and the
target role to run the transaction code defined against the authorization
option.
Referral
The work item is forwarded to the target role defined in the user
process options configuration.
Approve/Reject
The Approve/Reject option type has more relevance in the Invoice
Approval process as these are predefined options.
BDC Action
Similar to the Action option type, but the transaction/execution has
more flexibility to be configured in the BDC ID defined here.
Workflow Task
Triggers a custom (sub) workflow when the user selects the option.
Note: Some of the following parameters are only available for certain
option types.
Option ID
Enter a 5 digit numeric ID that represents the option.
Description
Enter a description.
Option Short Text
Enter the description that is shown on the button in the user dashboard for
this option.
BDC Configuration Id
Select the BDC ID that will be called when the user selects the option for
execution. This field is applicable only if the option type is BDC Action.
Task
Enter the (sub) workflow/task to be triggered when the user selects the
option. The task must be compatible to OpenText workflow task.
Transaction Code
Define a transaction code to be called when the user executes the option.
This is only relevant if the option type is Action or Authorization.
Check Autopost
Define if the system shall try to post a parked document in background
after successful execution of the option:
Comments Required
Select this check box to force the user to maintain comments once this
option is executed.
Example: If an option deletes the SAP document, a confirmation from the user to
really perform the action makes sense.
Confirm Completion
Select this check box to achieve that the user will be prompted to confirm
successful completion of the option.
Override
Select this check box to achieve that the user will be able to select any SAP
user in the system as the user(s) that will receive the work item when it is
referred, and not just the users the system proposes after running the role
resolution process. This parameter is applicable only in the Referral
option type.
Validate Override User
Select a function module that is used to validate the users that the current
user overrides.
Tip: The standard SAP authorizations for transactions are checked for the
underlying transactions in a user process option.
Block Reason
Select block reason. 9 is the system defined block reason for PO parked
invoices.
From Actor
Select the role that sent the work item.
To Actor
Select the role that receives the work item after successfully processing the
option.
Option Type
Select the type of process option (Action, Referral, BDC Action, Approve,
Reject, etc., see “Configuring process options” on page 317)
Option ID
Select the ID of the process option.
Condition FM
Example: If you would like to show the option “Change Purchase Info Record”
only if the Purchase Order has a Purchase Info Record (PIR), you can define a
custom function to verify the existence of the PIR and issue an error if there is no
PIR.
• If an error is issued in the function module, the option will not be
available to the user.
• For the interface of the condition function module, see function
module /OPT/BL_CONDFM_INFOPROVIDER.
In this step, you configure the valid parking reasons. Each parking reason represents
a process scenario as represented in a swimlane diagram.
Description
Enter a description for the parking reason.
Active Indicator
Select this check box to achieve that the user can select the parking reason
during parking of a PO invoice.
Approval Required
Select this check box to achieve that the parking reason will be considered
for the Invoice Approval process. For details on the Invoice Approval
process in VIM, see “Invoice Approval“ on page 387.
Subscreen Program/Screen Number
Select a subscreen that can be configured to capture additional information
from the user when the user chooses a particular parking reason.
Autopost
Select this check box to achieve that the system tries to post the parked
invoice after the routing is complete.
Posting Actor
Define the role responsible for posting the invoice and also responsible for
handling errors if the posting in background fails.
Initial Actor
Define the role who receives the first work item in the process when the
current parking reason is selected.
Example: If a PO invoice is parked for “Currency Mismatch”, the initial role that
needs to look at the invoice is the BUYER to correct the PO. Maintain BUYER as initial
actor.
Initial Actor FM
You can define a custom function module to determine the initial actor.
Available Options
Define the options that are available for the role on the dashboard during
PO parked invoice process for the current parking reason. Separate the
options by semicolon. The option format is AXXXX where A is the option type
and XXXX is the 4 digit value representing the option ID.
The system uses these values in conjunction with the user process options
defined in “Configuring user process options” on page 321 to determine
which options show up for the role’s dashboard.
Initial Approver
Define the role of the initial approver if the invoice document is sent for
approval.
Delay Function
• Define the custom function module that can be used to restrict the
immediate triggering of the PO parking process even if the user selected
the current parking reason when the invoice is parked.
Example: The PO is parked for “Credit Memo Required” and you know that
Credit Memo is on its way and will not show up for the next two days. You
might then want to send the work item to the AP's inbox not before two days.
For this purpose, you can define a custom function to restrict the triggering of
the work item for the user for the next two days.
• For the interface of the delay function module, see function module /
OPT/BL_P_DELAYFM_SRM.
Important
Take care when you change the global configuration parameters. Changes can
affect the functionality of the process.
3. In the WebFlow Constant Table, under Product Code PIR, double-click the
Constant PO_BASED_INV_TCODE.
Example: After you have selected a particular parking reason, you want a particular
subscreen to appear as shown in the following screenshot.
Note: We strongly recommend that you copy the program and subscreen
because the common part /PTGWFI/WLIX_COMMON_PART is required to
communicate to the main program.
2. To access the configuration for PRKPROG and PRKSCREEN, run the /OPT/
VIM_IMG207 transaction.
Alternatively, navigate to OpenText Vendor Invoice Management Invoice
Solution > PO Based Invoice Configuration > Parked Invoice Processing
Configuration > Technical Configuration > Dashboard Screen Customization
> Screen Exits.
3. Configure PRKPROG and PRKSCREEN, using the following parameters:
Constant: PRKPROG
Usage
Subscreen program for parked invoice dashboard header subscreen. To
provide additional data on the invoice dashboard, you can define your
custom screen here.
Default Value
/PTGWFI/PRK_SUBSCREEN01
Constant: PRKSCREEN
Usage
Subscreen number for parked invoice dashboard header subscreen. To
provide additional data on the invoice dashboard, you can define your
custom screen here.
Default Value
9901
2. Configure the order in which the options will appear in the user’s dashboard,
using the following parameters:
Description
Enter a description of the option order.
Constant Value
Value for the option order. Default value: 10ATR
Individual values
1
Approvals
0
Rejects
A
Actions
T
Authorizations
R
Referrals
Example: If you want all actions to show up first, maintain A10TR. The options will
be shown in order actions, approvals, rejections, authorizations and referrals.
This custom (sub)workflow can do some actions that are not delivered in the VIM
standard process. For example, it can notify an agent that a PO invoice is parked and
waiting to be further processed. The (sub)workflow can also update some
monitoring custom tables.
Constant PRK_PSS_BIND_FM1
Usage
This function module is used to manipulate the workflow container
during inward binding (task container to workflow container). This
manipulation facilitates many features such as populating Analytics
with custom data etc.
Default value
/PTGWFI/PRK_TMP_BIND_EXT_FM
Constant PRK_PSS_BIND_FM2
Usage
This function module is used to manipulate the workflow container
during outward binding (workflow container to task container). This
manipulation facilitates the user to capture process information and
populate with additional information.
Default value
/ORS/000007_LIX_PSS_BIND_O
Example: If the custom data is added to VIM tables and it should be displayed in the
Dashboard in some way, the data must be managed (manipulated) in such method exits.
Constant Value
This value is used to manage document data before calling the dashboard.
Default value – None
Constant Value
This value is used to manage document data after calling the dashboard.
Default value – None
This custom (sub)workflow can do some additional action that is not delivered in
the VIM standard process, for example to notify an agent that the process is
completed, or to update some VIM/custom tables with corresponding data.
Constant Value
If you want to call a custom subworkflow after completing the PO Parked
Invoice Document process, you can define a workflow template/task here.
Default value – None
Constant Value
Constant Value
Constant Value
3. In the WebFlow Constant Table, under Product Code LIX, double-click the
Constant DASHBOARD_IMAGE_AUTO.
3. Look for Product Code LIX and Constant USR_EXIT_GET_DATA_FM and double-
click the line.
Constant Value
Enter a function module to be used to activate the parking of PO invoice
documents.
Default value:
Blank.
Baseline does not offer parking.
Optional value:
/PTGWFI/PRK_M_GET_PARK_DATA_N
This is the standard parking implementation function module.
• Company code
• Document date
• Vendor reference number
• Currency
• Vendor number
You can insert the function module in the corresponding Z constants or you can
create an own logic on basis of this function module.
For the creation of a PO invoice, maintain table /PTGWFI/Z_CONST, using the SM30
transaction. In Product Code LIX, Constant CREATE_PO_BDC_FM, enter Constant
Value /PTGWFI/VIM_CRE_PO_INV_PREF.
Main concepts
Blocking reasons
Roles
– Actions
– Referrals (for collaboration)
• Actions can base on transactions or class methods or workflow tasks.
• Options and option types can effect the processing logic.
• Options and option types can also effect the user experience.
• Options and option types can make the workflow engine rerun the rules on
the most current metadata to effect the process flow.
• Options and option types can be configured to change the document status.
BDC IDs
• BDC IDs build a powerful infrastructure for pre-populating data into SAP
transactions without programming.
• BDC IDs are optimized for both dialog processing and background
processing.
• BDC IDs can be used to set dynamic Parameter IDs.
• BDC IDs can be used to configure new user collaboration actions.
• BDC IDs eliminate the need to code parameterized transactions.
• BDC IDs can be used to configure BDC success messages.
Main steps The following are the main steps involved in implementing process scenarios in the
blocked PO invoice process configuration:
1. Identify the various blocking reasons that are required for the realization of the
process scenarios.
2. Identify the roll out criteria.
3. Identify the various roles and configure the roles in the appropriate process
types.
4. Identify and configure the process options according to the swimlanes.
5. Configure global customization setting as per customer requirements.
The starting point for any configuration is a set of process flow swimlanes. The
following swimlane is an example of such a process swimlane, as implemented by
the blocked PO invoice processing workflow:
• Define user process options for all the roles in the process.
• Delimit available options for the role that is responsible for the first work item
created by each blocking reason. This is done in an individual blocking reason
definition.
Tip: The standard SAP authorizations for transactions are checked for the
underlying transactions in a user process option.
BlockReason
Select the blocking reason. If the invoice is blocked, the SAP invoice sets this
blocking reason.
From Actor
Select the role that sent the work item. Only this role will have the process
option on it's dashboard.
To Actor
Select the role who receives the work item after successfully processing the
option.
Option Type
Select the type of process option (Action, Referral, BDC Action, Approve,
Reject, etc., see “Configuring process options” on page 317)
Option ID
Select the ID of the process option.
Condition FM
Block Reason
Click and select the blocking reason from the list.
Description
Enter a description defining the blocking reason.
Delay FM
• Define the custom function module that can be used to restrict the
immediate triggering of the PO blocking process even if the user
selected the current blocking reason when the invoice is blocked.
Example: The PO is blocked for “Quantity Discrepancy” and you know that
additional quantities required to remove the blocking reason automatically are
on their way and will not show up for the next two days. You might then want
to send the work item to the AP's inbox not before two days. For this purpose,
you can define a custom function to restrict the triggering of the work item for
the user for the next two days.
• For the interface of the delay function module, see function module /
OPT/BL_P_DELAYFM_SRM.
Initial Actor
Define the role who receives the first work item in the process when the
current blocking reason is selected.
Example: If a PO invoice is blocked for “Price discrepancies”, the initial role that
needs to look at the invoice is the BUYER to correct the PO. Maintain BUYER as initial
actor.
Initial Actor FM
• You can define a custom function module to determine the initial actor.
Object Type
This parameter is obsolete.
Event
This parameter is obsolete.
Reference table
This parameter is obsolete.
Reference field
This parameter is obsolete.
Important
Take care when you change the global configuration parameters. Changes can
affect the functionality of the process.
Note: We strongly recommend that you copy the program and sub screen
because the common part /PTGWFI/WLIX_COMMON_PART is required to
communicate to the main program.
2. To access the configuration for LIXPROG and LIXSCREEN, run the /OPT/VIM_
IMG301 transaction.
Alternatively, navigate to OpenText Vendor Invoice Management Invoice
Solution > PO Based Invoice Configuration > Blocked Process Configuration
> Technical Configuration > Dashboard Screen Customization > Line Level
Dashboard Screen > Screen Exit.
Constant: LIXPROG
Usage
Subscreen program for blocked invoice dashboard header subscreen. To
provide additional data on the invoice dashboard, you can define your
custom screen here.
Default Value
/PTGWFI/M_LIX_SUBSCREEN02
Constant: LIXSCREEN
Usage
Subscreen number for blocked invoice dashboard header subscreen. To
provide additional data on the invoice dashboard, you can define your
custom screen here.
Default Value
9902
Currency A purchase order and the corresponding blocked invoice might have been created or
conversion posted using different currency keys. Therefore, it was often difficult to compare the
amounts displayed in the header section of the blocked line item dashboard due to
the different currency keys. VIM provides a solution that allows different settings
regarding the initial and also a completely flexible currency conversion: the constant
LIXSCREEN_CURR_CONV, available for the product code LIX in table /PTGWFI/Z_
CONST (transaction SM30).
• The first character controls which initial default currency conversion method is
used when the blocked line item dashboard is executed.
• The second character controls whether a currency conversion button is displayed
on the screen. Such a button allows flexibly changing the displayed currency at
any time.
I
Use the invoice currency for initial currency conversion. The posting date of the
invoice is taken as conversion date.
P
Use the purchase order currency for initial currency conversion. The creation
date of the purchase order is taken as conversion date.
L
Use the local currency (based on the invoice) for initial currency conversion. The
current system date is taken as conversion date.
N
No initial currency conversion takes place.
1
Display the currency conversion button on the screen. The current system date is
always taken as conversion date.
0
Do not display the currency conversion button on the screen.
The default configuration is N0. This means, no initial currency conversion takes
place, and the button for flexible currency conversion is not displayed.
The constant allows different flexible combinations, for example P1: Initial currency
conversion uses the purchase order currency; and additionally the flexible
conversion button is activated. This approach should offer maximum flexibility
when using the blocked line item dashboard.
Note: We strongly recommend that you copy the program and sub screen
because the common part /PTGWFI/WLIXDB_COMMON_PART is required to
communicate to the main program.
2. To access the configuration for LIXDBPROG and LIXDBSCREEN, run the /OPT/
VIM_IMG303 transaction.
Constant: LIXDBPROG
Usage
Sub screen program for blocked invoice dashboard header sub screen.
To provide additional data on the invoice dashboard, you can define
your custom screen here.
Default Value
/PTGWFI/M_LIXDB_SUBSCREEN02
Constant: LIXDBSCREEN
Usage
Sub screen number for blocked invoice dashboard header sub screen.
To provide additional data on the invoice dashboard, you can define
your custom screen here.
Default Value
9902
2. Configure the order in which the options will appear in the user’s dashboard,
using the following parameters:
Description
Enter a description of the option order.
Constant Value
Value for the option order. Default value: 10ATR
Individual values
1
Approvals
0
Rejects
A
Actions
T
Authorizations
R
Referrals
Example: If you want all actions to show up first, maintain A10TR. The options will
be shown in order actions, approvals, rejections, authorizations and referrals.
Using such exits, you can manipulate the workflow container of the process or
populate VIM tables with custom data. The function modules maintained here are
called in the function module /PTGWFI/BIR_F_PSS_BINDING.
Constant PSS_BIND_EXIT_FM1
Usage
This function module is used to manipulate the workflow container
during inward binding (task container to workflow container). This
manipulation facilitates many features such as populating analytics
with custom data etc.
Default value
None
Constant PSS_BIND_EXIT_FM2
Usage
This function module is used to manipulate the workflow container
during outward binding (workflow container to task container). This
manipulation facilitates the user to capture process information and
populate with additional information.
Default value
None
Example: Some custom data is added to VIM tables and should be displayed in the
dashboard. Therefore, this data must be managed (manipulated) in such method exits. These
exits are called in method SELECTPROCESSBIRV2 of the object type /OPT/VIM_BIR.
2. Configure the post dashboard method exit, using the following parameters:
Constant Value
This value is used to manage document data after calling the dashboard.
Default value
/PTGWFI/LIX_BK_TMP_PST_EXT
Using such exits, you can manipulate the workflow container during inward and
outward binding. If maintained, the custom functions are called in the function
module /PTGWFI/LIX_F_DB_BINDING.
Constant DB_BIND_EXIT_FM1
Usage
This function module is used to manipulate the workflow container
during inward binding (task container to workflow container). This
manipulation facilitates many features such as populating analytics
with custom data etc.
Default value
None
Constant DB_BIND_EXIT_FM2
Usage
This function module is used to manipulate the workflow container
during outward binding (workflow container to task container). This
manipulation facilitates the user to capture process information and
populate with additional information.
Default value
None
2. Configure the send back functionality exit, using the following parameters:
Constant DB_SNDBACK_EXIT
Usage
This function module is used to capture option information from the
dashboard step when the work item is sent back successfully in the
header level dashboard.
Default value
None
Interface
The interface of the function module is found in function module /
PTGWFI/LIX_TMP_DB_SBK_EXIT.
Constant IMAGE_DISP_FM
Constant Value
Enter a function module. This function module can be used to display
an SAP ArchiveLink image associated to the PO invoice document.
Default value
/PTGWFI/LIX_F_TMP_DISP_IMG
Interface
For the interface of the image display function module, see function
module /PTGWFI/LIX_F_TMP_DISP_IMG.
3. In the WebFlow Constant Table, under Product Code LIX, double-click the
Constant DASHBOARD_IMAGE_AUTO.
VIM provides a function module for this scenario. See “Configuring populating
screens for re-enter options” on page 340 for details.
Vendor Invoice Management (VIM) provides functionality for managing parked Non
PO FI invoices (FV60 transaction) and exceptions therein.
The main processing concept involved in managing parked Non PO invoices is the
concept of “parking reasons”. Parking reasons define the overall processing of the
invoice as required by the process swimlane.
Main concepts
Parking reasons
Roles
– Actions
– Referrals (for collaboration)
• Actions can base on transactions or class methods or workflow tasks.
• Options and option types can effect the processing logic.
• Options and option types can also effect the user experience.
• Options and option types can make the workflow engine rerun the rules on
the most current metadata to effect the process flow.
• Options and option types can be configured to change the document status.
BDC IDs
• BDC IDs build a powerful infrastructure for pre-populating data into SAP
transactions without programming.
• BDC IDs are optimized for both dialog processing and background
processing.
• BDC IDs can be used to set dynamic parameter IDs.
• BDC IDs can be used to configure new user collaboration actions.
• BDC IDs eliminate the need to code parameterized transactions.
• BDC IDs can be used to configure BDC success messages.
Main steps The following are the main steps involved in implementing process scenarios in the
Non PO parking process:
1. Identify the various parking reasons that are required for the realization of the
process scenarios.
2. Identify the sub screen to be called during the document parking process.
3. Identify the roll out criteria.
4. Identify the various roles and configure the roles in the appropriate process
types.
5. Identify and configure the process options according to the swimlanes.
6. Configure global customization setting as per customer requirements.
The starting point for any configuration is a set of process flow swimlanes. The
following swimlane is an example of such a process as implemented by the Non PO
invoice parking workflow:
The following sections describe the main steps of the Non PO parking process
configuration.
In this step, you define the valid parking reasons in the VIM Non PO parking
process. Each parking reason represents a process scenario as represented in a
swimlane diagram.
Description
Enter a description for the parking reason.
Active Indicator
Select this check box to achieve that the user can select the parking reason
during parking of a Non PO invoice.
Subscreen Program/Screen Number
Select a sub screen that can be configured to capture additional information
from the user when the user chooses a particular parking reason.
Approval Required
Select this check box to achieve that the parking reason is flagged for
approval and that the Invoice Approval process is triggered.
Autopost
Select this check box to achieve that the system automatically posts the
invoice after Invoice Approval is completed.
Initial Actor
Define the role who receives the first work item once this document is
parked for the current parking reason.
Example: If a Non PO invoice is parked for “Approval Required”, the initial role
that needs to look at the invoice is the APPROVER. If the Approval Required check
box is selected, the initial role will be CODER.
Initial Actor FM
You can define a custom function module to determine the initial actor.
For the interface of the function module, see function module /OPT/BL_Q_
INIT_ACT_FM.
Delay Function
• Define the custom function module that can be used to restrict the
immediate triggering of the Non PO parking process even if the user
selected the current parking reason when the invoice is parked.
• Example: The Non PO invoice is parked for “Approval Required” and you
want to delay the approval for 2 days. You might then want to send the work
item to the AP's inbox not before two days. For this purpose, you can define a
custom function to restrict the triggering of the work item for the user for the
next two days.
• For the interface of the delay function module, see function module /
OPT/BL_P_DELAYFM_SRM.
Initial Approver
Define the role of the initial approver if the invoice document is sent for
approval.
Posting Actor
Define the role responsible for posting the invoice and also responsible for
handling errors if the posting in background fails.
Available Options
Define the options that are available for the role on the dashboard during
Non PO parking process for the current parking reason. Separate the
options by semicolon. The option format is AXXXX where A is the option type
and XXXX is the 4 digit value representing the option ID.
The system uses these values in conjunction with the user process options
defined in “Configuring user process options” on page 371 to determine
which options show up for the role’s dashboard.
Tip: The standard SAP authorizations for transactions are checked for the
underlying transactions in a user process option.
BlockReason
Select block reason. V is the system defined block reason for Non PO parked
invoices.
From Actor
Select the role that sent the work item.
To Actor
Select the role who receives the work item after successfully processing the
option.
Option Type
Select the type of process option (Action, Referral, BDC Action, Approve,
Reject, etc., see “Configuring process options” on page 317)
Option ID
Select the ID of the process option.
Condition FM
Important
Take care when you change the global configuration parameters. Changes can
affect the functionality of the process.
3. In the WebFlow Constant Table, under Product Code PIR, double-click the
Constant NONPO_INV_TCODE.
Example: After you have selected a particular parking reason, you want a particular
subscreen to appear as shown in the following screenshot.
Note: We strongly recommend that you copy the program and subscreen
because the common part /PTGWFI/WLIX_COMMON_PART is required to
communicate to the main program.
2. To access the configuration for PIRPROG and PIRSCREEN, run the /OPT/VIM_
IMG224 transaction.
Alternatively, navigate to OpenText Vendor Invoice Management Invoice
Solution > Non PO Based Invoice Configuration > Parked Invoice Processing
Configuration > Technical Configuration > Dashboard Screen Customization
> Dashboard Screen Exits.
Constant: PIRPROG
Usage
Subscreen program for Non PO parked invoice dashboard header
subscreen. To provide additional data on the invoice dashboard, you
can define your custom screen here.
Default Value
/PTGWFI/PIR_SUBSCREEN01
Constant: PIRSCREEN
Usage
Subscreen number for Non PO parked invoice dashboard header
subscreen. To provide additional data on the invoice dashboard, you
can define your custom screen here.
Default Value
9901
This custom (sub)workflow can do some actions that are not delivered in the VIM
standard process. For example, it can notify an agent that a Non PO invoice is
parked and waiting to be further processed. The (sub)workflow can also update
some monitoring custom tables.
Constant PSS_BIND_EXIT_FM1
Usage
This function module is used to manipulate the workflow container
during inward binding (task container to workflow container). This
manipulation facilitates many features such as populating analytics
with custom data etc.
Default value
None
Constant PSS_BIND_EXIT_FM2
Usage
This function module is used to manipulate the workflow container
during outward binding (workflow container to task container). This
Example: If the custom data is added to VIM tables and it should be displayed in the
Dashboard in some way, the data must be managed (manipulated) in such method exits.
2. Configure the pre PSS method exit, using the following parameters:
Constant Value
This value is used to manage document data before calling the dashboard.
Default value
None
Example: Custom data is added to VIM tables and it is displayed in the dashboard. This
custom data can be changed in the dashboard. After the dashboard is quit, the data must be
saved. This can be done in the post PSS method exit.
2. Configure the post PSS method exit, using the following parameters:
Constant Value
This value is used to manage document data after calling the dashboard.
Default value
None
This custom (sub)workflow can do some additional action that is not delivered in
the VIM standard process, for example to notify an agent that the process is
completed, or to update some VIM/custom tables with corresponding data.
Constant Value
If you want to call a custom subworkflow after completing the Non PO
parking process, you can define a workflow template / task here.
Default value
None
Constant Value
Enter a function module. This function module can be used to post a
document automatically using a custom function. If the function module
configured here raises an exception, the document will not be posted.
Default value
None
Interface
For the interface of the function module, see function module /PTGWFI/
PIR_F_TMP_PRE_AUTOPOST.
Constant Value
Enter a function module. This function module can be used to post process
data after an invoice document is posted.
Default value
None
Interface
For the interface of the function module, see function module /PTGWFI/
PIR_F_TMP_POST_EXIT_FM.
Constant Value
Enter a function module. This function module can be used to display an
SAP ArchiveLink image associated to the Non PO invoice document.
Default value
/PTGWFI/BIR_F_TMP_DISP_IMG
Interface
For the interface of the function module, see function module /PTGWFI/
BIR_F_TMP_DISP_IMG.
The copy function module should be remote enabled.
Constant Value
You can use this value to call any workflow parallel to the Non PO parking
workflow.
Default value
None
3. Look for Product Code PIR and Constant USR_EXIT_GET_DATA_FM and double-
click the line.
Constant Value
Enter a function module to be used to activate the parking of PO invoice
documents.
Default value:
Blank.
Baseline does not offer parking.
Optional value:
/PTGWFI/PIR_F_GET_PARK_DATA_N
This is the standard parking implementation function module.
• Company code
• Document date
• Vendor reference number
• Currency
• Vendor number
You can insert the function module in the corresponding Z constants or you can
create an own logic on basis of this function module.
For the creation of a Non PO invoice, maintain table /PTGWFI/Z_CONST, using the
SM30 transaction. In Product Code PIR, Constant CREATE_BDC_FM, enter Constant
Value /PTGWFI/VIM_CRE_NPO_INV_PREF.
Invoice Approval
Invoice Approval (IAP) is the component of VIM that handles the approval
processes for both Non-PO based and PO based invoices.
13.1 Overview
Level-based approvals can be done as line-based (sequential or parallel flow) and
header-based approvals. For details about level-based approval, see “Configuring
approval flow settings” on page 406.
• Sequential approval
• Parallel approval
• Approval buffer
Supported Approvals can be handled at the DP processing stage, after the DP invoice is
invoice types converted in to an SAP parked document, or after the invoice is posted.
DP approval
For DP-document-based approval, the process type for DP approval needs to be
configured in the system. For more information, see “Configuring the process
type” on page 390.
Parked approval
In case of parked document approval, the invoice has to be parked with an
appropriate parking reason before an approval process can start. Depending on
the parking reason configuration, an approval workflow starts. For more
information, see “Configuring the parking reason” on page 390.
Posted approval
For posted approval, depending on the configuration for this type of approval,
the approval process will be started after the document is posted either in
background or manually with some payment block. For more information, see
“Configuring posted approval” on page 393.
Approval in The approval workflow supports approvals inside SAP GUI, and outside of SAP
SAP GUI, web, GUI, if the optional OpenText Approval Portal or Mobile Approval Portal is
and mobile
implemented.
Approving invoices in the Approval Portal or in the Mobile Approval Portal does
not require an SAP user ID. Users can be authenticated through the SAP NetWeaver
Portal or the Windows domain instead. However, you must ensure, like with any
other solution, that the indirect usage of SAP data is properly licensed.
The Approval Portal provides a concise and user-friendly web interface for
approving invoices. The interface is designed to deliver the right amount of
information to enable approvers to make a quick decision.
With the Mobile Approval Portal, you can use mobile devices like an iPad, an
iPhone, an Android smartphone, or a Blackberry device for approval purposes. In
the Mobile Approval Portal, coding is not available.
People involved There are several people (roles) that are involved in the IAP process. The actual
in the IAP names might be different, but the activities are the same.
process
Coder
The person who is responsible for entering accounting data. The coder can be
both an SAP user and/or a web user if Approval Portal is implemented.
Goods or Service Requester (Requisitioner)
The person who requested the goods or the service.
Approver
The person who is responsible for approving the invoices. The approver can be
an SAP user or a web user if Approval Portal or Mobile Approval Portal is
implemented.
AP Processor
A member of the Accounts Payable (AP) department who deals with invoices.
The roles that are part of this process are different from the standard roles described
in “Roles“ on page 43. Because the functional requirements are different for IAP
roles compared to other exception processes, a separate role infrastructure is
required. For more information, see “Roles in the IAP process” on page 445.
Workflow
Trigger for the The way the IAP process is triggered depends on the kind of invoice document.
IAP process
End of the IAP There are several activities that mark the end of the IAP process:
process
• The invoice is finally approved and posted.
• The invoice is deleted or posted (only for parked invoices).
• The invoice is completely rejected.
• Approval is recalled. The process goes back to DP or parking workflow.
Configuration This section outlines all the aspects of implementation and configuration of the IAP
outline of the component of VIM.
IAP process
Note: You can perform most of the configurations using the VIM Customizing
IMG with the /OPT/SPRO transaction code.
The following screenshot shows the standard process type configuration delivered
for the DP IAP process.
To configure the parking reason for PO invoices, run the /n/OPT/SPRO transaction
and navigate to OpenText Vendor Invoice Management Invoice Solution > PO
Based Invoice Configuration > Parked Invoice Processing Configuration > Park
Reason Maintenance > Parking Reason Definition Maintenance. For details, see
“Configuring parking reasons” on page 322
To configure the parking reason for Non PO invoices, run the /n/OPT/SPRO
transaction and navigate to OpenText Vendor Invoice Management Invoice
Solution > Non PO Based Invoice Configuration > Parked Invoice Processing
Configuration > Park Reason Maintenance > Parking Reason Maintenance.
For the Non PO IAP process, the following dialog box serves to capture the
requester information:
If you need to capture custom logic or customer data during the parking process to
initiate the approval workflow, you have to replace the above screen with a custom
screen. For details, refer to “Configuring parking reasons (Non PO parking process)”
on page 367.
2. Configure the trigger points for the approval workflow, using the following
parameters:
BLOCKRSN
Benefit Besides the PO blocking scenarios, the VIM process ends with the creation of a
posted document. The posted approval processing enables you to post a Non PO or
PO invoice as fast as possible with an individual blocking reason. Then you can
approve the document with the approval workflow after the document creation.
Invoices do not need to go into a long approval process and then are posted finally.
With posted approval, they are posted before any approval process is started.
Workflow The posted approval subworkflow is available for blocked posted documents that
are processed within the DP process. Stand-alone parked or posted documents are
not supported. You can trigger the subworkflow in one of the following ways:
For the posted PO approval scenario, either the existing blocking workflows are
triggered or the approval process is started depending on the posted approval
configuration.
With the final approval of the posted document, the individual payment block is
removed.
Automated In combination with the automatic processing of the posted approval, the coding
coding step can be completely skipped.
Configuration The whole configuration for the posted approval is integrated in the VIM Invoice
aspects Configuration tree: Navigate to OpenText Vendor Invoice Management Invoice
Solution > Invoice Approval Configuration > Approval Workflow.
To configure the posted approval process, the following steps are necessary:
2. Configure event linkage for posted approval trigger and configure the event
queue processing job using transaction SWEQADM (mandatory)
3. Define dynamic determination for the auto processing:
Note: This step is optional: If you configure to use the determination for
the automatic posted approval activation type, then you have to process
this step. If you activate it always or by custom function module, you do
not need to process this customizing.
3. Configure the Posted Approval Settings (PAS), using the following parameters:
Process Type
Baseline delivers the process type 149 for PO documents and the process
type 249 for Non PO documents. A posted document that is rejected in the
approval process will be processed within the DP workflow with this
process type. For this process type, baseline delivers the following process
options:
2020
Re-Submit for Approval
2021
Submit for one step Approval
2022
Remove payment block and complete DP
2023
Keep payment block and complete DP
Automatic processing
For Non PO documents
In the DP process, a document can be submitted for approval (manually
or automatically with exception “Approval required”). In this case, the
Payment Block
This field is available if posted approval is activated.
Enter the payment block that is used to post the document in the
automatic processing.
Posted Approval Finder
Enter the exit function to activate the automatic processing (interface
check function /OPT/AAFS_DETERMINE_PAS).
Manual processing
For Non PO and PO documents, the configuration of the manual processing
defines that the posted approval process is triggered for manually posted
documents with the configured payment blocks.
Activation type
Constant Value
Enter Constant Values for payment blocks: Possible payment blocks for
which the posted approval is relevant to be triggered. Maintain the
standard Payment blocks of table T008. Separate them by comma.
Reject processing
Approval restart options
Rejected invoices are processed within DP processing with the
configured process type. This refers to the baseline process options
Submit for one step Approval and Resubmit for Approval for the
baseline Posted Approval process types. The document is submitted
again for approval processing. For these options, you can configure the
following individual settings.
Comments Required
Select this check box to determine that a comment is required
within the Resubmit for Approval screen. This comment is used in
the approval process. It is not logged for the process option, which
can also be activated in the process option configuration.
Appr. Search Option
For one step approval, define the search and check functionality for
the selected approver. Possible entries:
Search all User COA
You can select all users from the COA that are configured for
approval.
Search only legitimate Approver COA
You can select users from the COA that are configured for
approval and where also the configured COA fields correspond
to the invoice data (Company Code / Cost Center, ...).
Reject by Requester
An automatic processed DP document for posted approval is directly
sent to the assigned approver of the COA during the approval process.
In this scenario, the coding and requester step is already executed.
When the approver rejects the document, it is sent to the previous
approver. With posted approval, the requester is not always the first
approver. It may happen that the requester does not receive the rejected
document.
Select this check box to determine that the document is finally sent to
the requester when the approver rejects the document before the
approval workflow ends.
Processing Exits
You might want to individually trigger the posted approval process and to
keep the DP workflow alive for the posted document. Therefore, you can
maintain custom functions. The payment block, which will be removed in
the final approval step, can be processed individually, as well.
Exit remove block
Enter an exit function to be executed after the final approver approves
the document. With standard configuration, the header payment block
on the posted document is removed. The document will be paid no
matter if there are any blocks on the PO document like price or
quantity.
The interface of the exit function has to be compatible with the
function /OPT/AAFS_CHANGE_BLOCKING_NPO for Non PO documents
and /OPT/AAFS_CHANGE_BLOCKING_PO for PO documents.
Exit trigger approval
Integrate an own logic for the posted approval to trigger the processing
according to your end conditions.
All other configurations to trigger the process manually or
automatically are not taken into account (maintained within /OPT/AT_
PAS). Only the own logic within the exit function is used. The interface
of the exit function has to be compatible with the function /OPT/AAFS_
SAMPLE_EXIT_TRIGGER.
Exit confirmation
Integrate an own logic for the posted approval to keep the DP process
alive according to your start conditions. All other configurations to keep
the process alive according to the manual or automatic blocking are not
taken into account (maintained within /OPT/AT_PAS). Only the own
logic within the exit function is used. The interface of the exit function
has to be compatible with the function /OPT/AAFS_SAMPLE_EXIT_
CONFIRM.
Run the SWETYPV transaction and activate the event linkage for the posted approval.
Object Type
/ORS/INVAP
Event
POSTED
Linkage Activated
Selected
Enable Event Queue
Selected.
You must maintain the event queuing and configure a job (transaction SWEQADM).
Non PO For Non PO documents, the event is raised in the BTE exit 1050 and exit 1030 within
exit function /OPT/BTE_IF_00001050 and /OPT/BTE_IF_00001030. The
corresponding BTE has to be activated. Check transaction FIBF > Settings > P/S
Modules -> …of a partner.
PO For PO documents, the event is raised in the event receiver of function /OPT/BL_PO_
BLK_RECEIVER, which is triggered in the event linkage for object BUS2081 and event
POSTED. Check transaction SWETYPV and see “Event linkages” on page 89.
Note: This step is optional: If you configure to use the determination for the
automatic posted approval activation type, then you have to process this step.
If you activate it always or by custom function module, you do not need to
process this customizing.
Determination Type
Enter PAS (Posted Approval Settings)
The determination type is defined in table /OPT/AT_DETTYPE. The type PAS
is delivered within the posted approval baseline configuration.
Field Type
Available values are Header or Item. For the determination, only header
fields are relevant.
Field Name
Select the corresponding field of the /OPT/VIM_1HEAD or /OPT/VIM_1ITEM
table.
Sequence
Define the processing sequence of the determination.
Search Help Name
Configure the search help that will be used in the data determination
configuration.
Allow Ranges
Select this check box to allow ranges in the data determination
configuration.
To define a multi level approval process, you have to consider the following aspects:
The subsequent approvers (only for Non PO invoices) are determined when the
current approver approves the invoice. The system determines the next approver
according to the settings in the COA. In the level based approval, the approver is
determined by:
If the current approver rejects the invoice, the invoice is sent to the previous
approver or to the initial coder, or the complete approval flow is cancelled. This
depends on the configuration of the rejecting process.
All approvers who approve the invoice are stored in the approval stack. So, in case
the current approver rejects the invoice, the system knows the last approver. If the
first approver rejects the invoice, the invoice is sent back to the AP department.
Notes
• Implementation note
When you enter the first approver at the parking reason screen or indexing
screen, and you are using search help, OpenText recommends using the
combination of last name, first name and email address. If the combination
fails to identify one user, the system may suggest a list of matching users.
• Technical note
The initial approver is usually stored in the parking monitor table (/PTGWFI/
F_PIRMTR) and retrieved by the /ORS/APPROVER-> NEW method.
The subsequent approvers (only for Non PO invoices) are determined when the
current approver approves the invoice. The system determines the next approver
according to the settings in the COA. In the level based approval, the approver is
determined by:
If the current approver rejects the invoice, the invoice is sent to the previous
approver or to the initial coder, or the complete approval flow is cancelled. This
depends on the configuration of the rejecting process.
All approvers who approved the invoice are stored in the approval stack so that in
case the current approver rejects the invoice, the system knows who the last
approver was. If the first approver rejects the invoice, the invoice is sent back to the
AP department.
Technical Notes
• You can configure who receives the work item after the first approver rejects
the invoice. You perform this configuration in the parking reason table /
PTGWFI/F_PRKRSN for a non-PO invoice or /PTGWFI/M_PRKRSN for a PO
invoice. See “Configuring the parking reason” on page 390.
• The approval is considered completed if the current approver has sufficient
authorization for the invoice amount and cost elements.
• You can redefine determination conditions using an extension.
Technical note
Important
For PO document types, level-based approval cannot be used. Still, only the
“old” simple approval is supported.
To configure an approval with more than one step for PO document types, a custom
extension is required.
Level based approvals can be done header based or line based (sequential or parallel
flow). Levels are defined against approval limits. A pack is defined as a group of
lines that are assigned to an approver and that this approver can approve; this
means, the approver has the corresponding authorizations of the cost elements.
To use the level based approval, you must configure approval flow settings (AFS).
These settings are divided into the following parts:
Note: This action is optional: If you configure to use the determination for
the mapping activation type, you must perform this action. If you activate it
always or by custom function module, you do not need to perform this
customizing.
Important
OpenText recommends that you do not change the settings of the AFS ID if
there are still open approval processes that were started with this AFS ID.
Note: You can access the field configuration for the invoice detail page for
a selected AFS ID, from here: Select an AFS ID, and, in the Dialog
Structure, double-click Maintain Invoice Detail Fields or Maintain
Coding Fields Mapping. For more information, see “Configuring fields
for the invoice detail page” on page 429.
The AFS ID represents a template for an approval flow. To use an AFS ID, it
must be mapped against a VIM document type. For more information, see
“Maintaining the approval flow settings mapping” on page 412.
AFS ID
Unique ID for the global approval settings
Important
To keep your system manageable, do not create too many AFS IDs.
Preferably, use the detail configuration to set up the AFS settings.
Approval Flow
Explanation
Detail description of the AFS
AFS Type
Select one of the following AFS types:
Process Classes
Approval Limit
Amount Base
Select Gross Amount or Net Amount. If the AFS Type is Header, approvals
are always based on gross amount.
COA Currency
Select Fixed Currency (Define the currency in the Currency field.) or
Company Code Default Currency.
Conversion Date
Select the conversion date for currency conversion. Possible values: Current
System Date, Date on the Vendor Invoice, Date per Function Module.
Conversion FM
If you have selected Date per Function Module in the Conversion Date
field, enter the function module to determine the currency conversion date.
Template: /OPT/DETERMINE_CONVERSION_DATE
Automation Processing
Fallback User FM
Enter a function module to determine a fallback user. A fall back user will
always be available in the user search dialogs (next coder, next requester, or
next approver) if no user can be found in the COA. The purpose of the fall
back user is to send the invoice to a user who takes care to correct the COA
settings. Therefore, you must set up the fallback user with the user details in
the COA.
Template: /OPT/FALLBACK_USER_TEMPLATE
Automatic Forward
Select this check box to let the system automatically choose the next user
within one approval level. It is not possible to change this user.
Note: Automatic Forward is not considered for the Approval Portal.
Coder Processing
Coder Determination
Coders can be defined for each document type. Select one of the following
options:
By Requester
Each requester has an associated coder.
By Company Code
Each company code has an associated coder.
Both Requester and Company Code
The coder is determined by both requester and company code.
Use Requester
The coder is the requester.
Coder Determination FM
You can customize the coding functionality by defining your own function
module. See “Approval flow settings function modules” on page 414.
Template: /OPT/DETERMINE_CODER_TEMPLATE
Use SAP field seq.
Select this check box to use the customized Approval Portal item field
sequence also for the SAP GUI approval screens.
Requester Determ.
Determine the first requester after the coding step. Select one of the
following values from the list:
Determine Requester by COA
The first requester is determined by the maintained data from the COA.
Use Requester from Invoice
The first requester is determined by the email address on the invoice.
Important
You can configure the requester determination using the same COA
logic as used to determine coders (except the first coder) and
Rejection Processing
Rejection FM
Enter a custom function module to customize rejection. See “Approval flow
settings function modules” on page 414.
Template: /OPT/OPTION_REJECT_TEMPLATE
Additional Settings
In this area you maintain additional settings that affect the approval logic.
2. In the Mapping for Level Based Approval Settings screen, perform the
mapping, using the following parameters:
DP Document Type
Enter a specific DP document type. Alternatively, leave the field empty to
use the AFS ID maintained in this line for all DP document types that are
not configured in the Mapping for Level Based Approval Settings screen.
Activation Type
Select one of the following values from the list:
Inactive
Level based approval is inactive.
Activate by Constant
Level based approval is activated with corresponding AFS ID. You
must maintain the AFS ID field.
Activate by Determination
Level based approval is active, based on the Level Based Approval
Flow Determination Procedure. For more information, see “Maintaining
the level based approval flow determination” on page 413.
Activate by Custom Function
Level based approval is active, based on a custom function module. You
must maintain the FM to determine AFS field.
Template: /OPT/DETERMINE_AFS_TEMPLATE
Fields Determination
You can use the fields determination to filter the determination based on the
fields defined in the field determination. With baseline, the following fields are
supported for the AFS determination type: Company Code (BUKRS) and Vendor
(LIFNR)
To access the fields determination, run the /OPT/SPRO transaction and navigate
to OpenText Vendor Invoice Management Invoice Solution > Invoice
Approval Configuration > Approval Workflow > Setup Approval Chain >
Approval Flow Strategy Determination Procedure > Determination - Fields.
Determination Type
Enter AFS (Approval Flow Settings).
The determination type AFS is defined in the /OPT/AT_DETTYPE table.
Note: You can perform some customizing on the production system,
where clients are normally set to “No changes allowed”. For this
customizing activity, no transport request is created.
As a prerequisite, you must select the Edit Allowed check box in the /
OPT/AT_DETTYPE table for the corresponding transaction codes.
Field Type
Available values are Header or Item. For the determination, only header
fields are relevant.
Field Name
Select the corresponding field of the /OPT/VIM_1HEAD or /OPT/VIM_1ITEM
table.
Sequence
Define the processing sequence of the determination.
Search Help Name
Configure the search help that will be used in the data determination
configuration.
Allow Ranges
Select this check box to allow ranges in the data determination
configuration.
Data Determination
You can use this interface to enter data for the fields you determined in the
fields determination.
To access the data determination, run the /OPT/SPRO transaction and navigate to
OpenText Vendor Invoice Management Invoice Solution > Invoice Approval
Configuration > Approval Workflow > Setup Approval Chain > Approval
Flow Strategy Determination Procedure > Approval Flow Strategy
Determination - Data.
For each combination of index fields (Company Code and Vendor), you must
configure the corresponding AFS ID.
AFS Determina- This function module returns the found AFS ID. Level based approval is used,
tion Function which means header, sequential, or parallel approval.
Module
For the AFS Determination Function Module, you can use template /OPT/
DETERMINE_AFS_TEMPLATE.
Currency This function module returns the date for currency conversion. Based on the invoice
Conversion details, you can define a date that will be used for conversion.
Function
Module
For the Currency Conversion Function Module, you can use template /OPT/
DETERMINE_CONVERSION_DATE.
Reject Function This function module returns the rejection option. Possible values are 1, 2, 3, 4.
Module These values are the only affected.
For the Reject Function Module, you can use template /OPT/OPTION_REJECT_
TEMPLATE.
Coder Determi- This function module returns coder or requester. Based on the coder details, it will
nation Function find the initial coder. If coder is equal to requester, it will consider the requester as
Module
the initial coder.
For the Coder Determination Function Module, you can use template /OPT/
DETERMINE_CODER_TEMPLATE.
ExpType
Select a unique identifier (two characters).
Description
Enter a description of the expense type.
Approval Req
Activate by typing X if the expense type requires an Invoice Approval
process.
Technical note
Table /ORS/EXPENSE_DEC stores the description and the language and table /
ORS/EXPENSE_TYP stores Approval Req and ExpType.
Value
This value determines how the rejection reason reacts when taking action in
the coding/approval process. The first value denotes the rejection reason,
the second value denotes the rejection comments. Value 1 is mandatory and
value 0 is not mandatory. Possible values:
1;0
Rejection reason is mandatory.
0;1
Rejection comments are mandatory.
1;1
Both rejection reason and rejection comments are mandatory.
The default value is 0;1.
3. In the Buttons Configuration, perform the following setting (to update the /
OPT/BUTTON table): For Function code Reject, select the Comments Required
check box. For more information about the buttons configuration, see
“Configuring buttons” on page 438.
1. Run the SM30 transaction to maintain table /PTGWFI/Z_CONST, and locate the
record with Product Code IAP and Constant EXT_DATA_CLASS.
2. Use the constant to configure baseline class /ORS/EXT_DATA. If you want to use
the rejection reason to select from a drop-down on the rejection confirmation
screen, you must implement a custom logic within a method in class /ORS/EXT_
DATA.
3. Implement your own subclass of /ORS/EXT_DATA and maintain this in the EXT_
DATA_CLASS constant.
Important
Take care when you change the global customization parameters. Changes can
affect the functionality of the process.
2. Define the resubmit for approval action codes, using the following parameter:
Constant Value
Maintain action codes, separated by comma.
If you want to enable the functionality to submit for approval again after a DP based
approval has been rejected, perform the following steps:
3. Configure the DP process option, as shown in the screenshot above. For further
information, see “Configuring DP process options” on page 247.
4. Make sure the same DP process option (as above) is maintained also in the Z
constant Entries table, see screenshot below.
The DP process option should be configured as user option for the Approval
related Process Type.
2. Define the supported currency and language, using the following parameters:
Constant LANGUAGE
Determines which languages are supported in the Approval Portal. You can
maintain multiple languages by using a comma as separator.
Default Value: E,D
Constant SUPPORTED_CURRENCY
Determines which currencies are supported in the Approval Portal. You can
maintain multiple currencies by using a comma as separator.
Default Value: USD,DEM
The “sender” is the user who has sent the inquiry to another user (recipient).
The “recipient” is the user who provides additional information on the approval
invoice.
2. Locate the record with Product Code IAP and Constant REFERRAL_WAIT_TIME.
Note: When introducing the Forward feature, Refer was renamed to Inquiry
to avoid confusion on end user side.
3. Enter the Constant Value. It indicates the number of days to wait for the
recipient to provide information.
After that period, the work item is rerouted to the sender's inbox from the
Resubmission folder of the sender's SAP Business Workplace.
1. To add a new global CALC_TAX_ON_NET constant for product IAP, run the /n/
OPT/VIM_IMG424 transaction.
Alternatively, run the /n/OPT/SPRO transaction, and navigate to OpenText
Vendor Invoice Management Invoice Solution > Invoice Approval
Configuration > Technical General > Invoice Approval Configuration.
Value Description
X Central setting (for all document types)
G/L account amounts are to be entered net.
<blank> Central setting (for all document types)
G/L account amounts are to be entered gross.
D Individual setting for document types
Each document type can be set individually.
Technical note
The OpenText delivered code includes a popup to suggest the correct company
code for the line if the cross company coding is active and the cost center or
internal order entered in the line item does not match the company code in the
header. This feature is supported in the Approval Portal and the SAP GUI.
If the coding is done in the SAP GUI, the popup window to suggest the correct
company code is generated by a function module defined in the Z constant
POPUP_COMPANY_CODE. The OpenText default delivered function module for
this constant is /ORS/000007_POPUP_COMPANY_CODE.
2. Enter table /ORS/APPR_GL_CFG. Locate the field BUKRS and double-click. If the
field BUKRS is not displayed, add a new field.
You can configure the notification email to include some invoice information, such
as vendor name, invoice reference number, or invoice amount. The following is an
example of a notification email:
The approval email notification depends on the user configuration. You configure
users in the COA or in the Approval Portal, on the Personalization page. For more
information, see “User Details View” on page 57 (COA) and Section 7.15
“Personalizing your views of the Approval Portal” in OpenText Vendor Invoice
Management for SAP Solutions - User Guide for Invoice Solution (VIME-UGD).
You can use the /PTGWFI/CP_SENDEMAIL function module to generate and send
emails to VIM users. Using this function module, you cannot add dynamic data
while sending emails to VIM users. However, you can use the Z constant EXT_MAIL_
BODY of product code 005, introduced with VIM 7.5 SP9 and VIM 16.3.3, to add
dynamic data. You can use the Z constant to encapsulate logic to include your
custom code. The value to activate the Z constant is /OPT/C_EXT_MAIL_BODY_
HANDLER.
Note: To send email notification, you can also use VIM Notifications. In this
case, the email is sent without the configuration in the COA or on the
Personalization page. For more information, see “Using VIM Notifications“
on page 979.
The Business object method Get_Approver_List calls the ABAP class method
sendemail of the ABAP class that implements the user mapping class. The name of
this ABAP class is configured in table /PTGWFI/Z_CONST under the entry IAP, 0,
USERMAP_CLASS. Baseline VIM uses class /OPT/CL_IAP_USERMAP_BL.
Call Sequence:
/ORS/INVAP-> Get_Approver_List
/OPT/CL_IAP_USERMAP_BL-> sendemail
/PTGWFI/CP_SENDMAIL
3. Change the configuration in table /PTGWFI/Z_CONST: Insert the new ABAP class
instead of /OPT/CL_IAP_USERMAP_BL.
7. Make sure that at least one additional SAP GUI session is available.
When the background task for retrieving approvers is called, a debug session
will open.
• ApprovalStatus
• CompanyCode
• Currency
• DocumentNumber
• DueDate
• FiscalYear
• GrossInvoiceAmount
• InvoiceAmount
• InvoiceDate
• InvoiceObjectKey
• InvoiceObjectType
• ObjectType
• StatusPosted
• Vendor
• VendorInvocieNumber
• VendorName
Other option
Overwrite the sendemail method. See “To overwrite email sending with a
customer specific email function:“ on page 424.
Email format
The email notification can be sent in different formats. The format is configured
in Z Constant (product code 005) REM_MAIL_DOCTYPE. Default value is RAW.
This email format is used globally for all kind of email notification: Reminder
notification, Approval notification, and SRM notification.
The notification emails can be sent in HTML format with readable formatting
and invoice data presented in the form of HTML tables. To enable this
functionality, you must set the constant 005 / REM_MAIL_DOCTYPE to HTM. In the /
OPT/VIM_8CX50 transaction, you must configure the Email Type to be Internet
Email.
Language limitation
When the email is built, the text stored in the SO10 transaction is retrieved with
language taken from sy-langu.
The workflow language is determined, when the approval workflow is started.
This can be the logon language of the user who scanned the invoice or the logon
language of the last user who processed the invoice in the DP workflow.
Important
If no text can be found for the current value of sy-langu, then no email is
sent.
Therefore the text should be maintained in all languages that are typically used
for logon. The text is retrieved in function module /PTGWFI/CP_SENDMAIL in the
following way:
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = TEXT_ID
LANGUAGE = SY-LANGU
NAME = TEXT_NAME
OBJECT = 'TEXT'
IMPORTING
HEADER = HEADER
TABLES
LINES = TEXT_LINES
EXCEPTIONS
2. Enter the Text name, select Text ID ST (Standard text) and click Create.
Depending on the application and the scenario (PO / NPO and DP / PARKED /
POSTED), fields can be configured to be changed on the screen if the user has the
corresponding authority (coding).
List of coding You find a list of all fields that are provided for coding in structure /ORS/INVOICE_
fields ACCT_DATA. From baseline, only a subset of the fields is supported to be posted in
background using BAPI or in dialog using BDC IDs. If you want to use an
unsupported field, you must extend the relevant BDC IDs or implement the BAPI
exit.
For use in Invoice Approval, you can configure extended fields that are no baseline
fields. For more information, see Section 19.6.4 “Changing BDC IDs” in OpenText
Vendor Invoice Management for SAP Solutions - Scenario Guide for Invoice Solution
(VIME-CCS).
The following sections describe the configuration you need to perform for the fields.
The configuration is necessary to show the invoice detail fields when an invoice is
processed from the invoice inbox list and also when an invoice is selected from the
Process by me list.
For the coding fields, you must also configure all fields separately. This
configuration separates display functionality and the functionality to read and store
data back in the invoice line items, independent of the field status on the screen.
To configure fields for approval, you must perform both configurations, for the
invoice detail page as well as for the coding fields.
Notes
• All configuration for item fields is available for SAP GUI Approval,
Approval Portal, Mobile Approval Portal, and VIM Approve Invoices Fiori
app (Approve Invoices app) (device specific).
• For the Approval Portal, the INVOICE_DOC_ITEM field is mandatory for line
items in the Cost Assignment section of any invoice (both PO and Non PO).
• All configuration for header fields is available for Approval Portal, Mobile
Approval Portal, and Approve Invoices app (device specific). Status for
coding fields, custom fields (CUSTOM_FIELD*) and special fields like
expense type and VAT amount can be changed to be editable.
3. Configure the relevant header and item attributes field, using the following
parameters:
Field name
Unique name of the field
Page
Select the page where the field is displayed: Invoice Detail Page
Field Type
Select Header Field or Item Field.
Invoice Type
Select All Invoices, PO based invoices, or Non PO based invoices.
Device name
Select SAP GUI, Web Approval Portal, Mobile Approval Portal, Fiori
Approval Desktop, Fiori Approval Tablet, or Fiori Approval
Smartphone.
AFS ID
Select the relevant AFS ID.
Reference Field
Enter a standard data element and press the ENTER key. For example, the
ShortFieldLabel and the Long Field Label are populated. The Label fields
are visible in the Portal.
Field Status
Select the status of the field: Display, Input, Hide, or Required (not
available for line item fields).
Most of the settings will be available for Approval Portal, Mobile Approval
Portal, and the Approve Invoices app (device specific).
The Mobile Approval Portal and the Approve Invoices app provide only
display functionality. Also, header fields on all other devices will be
displayed only.
SAP GUI provides the possibility to change the status for coding fields.
Header fields are always shown on the SAP GUI screen and cannot be
hidden.
On the Approve Invoices app, header and item fields are only displayed if
the corresponding values are set (not empty). This can also be a single
value.
List Sequence
Configure the sequence of the field in the page, only for Approval Portal,
Mobile Approval Portal, and the Approve Invoices app (device specific), for
header and item fields.
List Display Length
Configure the display length of the field in the page, only for Approval
Portal, Mobile Approval Portal, and the Approve Invoices app (device
specific), for header and item fields.
Detail Sequence
Configure the sequence for the item fields (only for Approval Portal and
Mobile Approval Portal) which are shown in the additional accounting
entry screen.
Detail Display Length
Configure the display length for the item fields (only for Approval Portal
and Mobile Approval Portal) which are shown in the additional accounting
entry screen.
COBL Sequence
Only available for PO invoices: Configure the sequence of the field in the
Account Assignment area in the Detail Page sequence.
COBL Display Length
Only available for PO invoices: Configure the length of the field to be
displayed in the Account Assignment area in the Detail Page sequence.
No. of Characters
Configure the number of characters for the value in the field.
Data Type
Configure the data type of the field (string, char, or int). Select a data type
from the list.
Search Help Name
Enter the search help name for the field. For details, see “Configuring
search help for web and SAP GUI approval screen fields” on page 443.
Note: This is only relevant for Approval Portal and for SAP GUI. It is
not relevant for Mobile Approval Portal and for approval-related Fiori
apps (VIM Approve Invoices Fiori app and VIM Enter Cost
Assignment Simple Fiori app).
Search Help Parameter
Enter the search help parameter for the field. For details, see “Configuring
search help for web and SAP GUI approval screen fields” on page 443.
Note: This is only relevant for Approval Portal and for SAP GUI. It is
not relevant for Mobile Approval Portal and for approval-related Fiori
apps (VIM Approve Invoices Fiori app and VIM Enter Cost
Assignment Simple Fiori app).
Configuring You may want to read and store coding information that is not shown on the screen.
coding Therefore, you must configure all coding fields. This configuration also determines
which SAP field (DP and parked line item field) is mapped to each coding field
(used in the approval screen).
Note: Fields that are not configured or that are not active will not be saved in
the line items.
Active
Select this check box to activate the configuration. Even if BAPI Field name,
BSEG Field name and BDC Field name are maintained, the Active check
box must be checked.
Approval Portal: Web Approval Portal supports the following types of custom fields.
Supported
custom fields • Static custom fields
• Dynamic custom fields
You define the following static custom fields in the /OPT/FIELDS_V table.
You define the following dynamic custom fields in the /OPT/FIELDS_V table.
To configure the fields that must appear in the node list for Approval Portal
and Approve Invoices Fiori app:
The configurations made with AFS ID 0 become default for all document types.
They have higher priority than other relevant AFS ID (non-zero) configuration.
For the Approval Portal, users can personalize the list fields according to their
needs. This is possible on the Approval Portal Personalize page. The personalized
fields are then used in the inbox and the Processed by me list.
If no personalized preferences exist, the global default invoice list fields are
configured at the following location: Run the /n/OPT/SPRO transaction and navigate
to OpenText Vendor Invoice Management Invoice Solution > Invoice Approval
Configuration > User Experience > Invoice List Configuration > Default Invoice
List.
Note: All configuration for list fields is available for the Approval Portal, the
Mobile Approval Portal, and the VIM Approve Invoices Fiori app (Approve
Invoices app). All fields can only be display fields.
3. Configure the relevant header and item attributes field using the following
parameters:
Field name
Unique name of the field
Page
Select the page where the field is displayed: Invoice List Pages
Field Type
Select Header Field.
Invoice Type
Select All Invoices, PO based invoices, or Non PO based invoices.
Device name
Select Web Approval Portal, Mobile Approval Portal, Fiori Approval
Desktop, Fiori Approval Tablet, or Fiori Approval Smartphone (not
supported for SAP GUI).
Reference Field
Enter a standard data element and press the ENTER key. For example, the
ShortFieldLabel and the Long Field Label are populated. The Label fields
are visible in the Portal.
Field Status
Select the status of the field: Display
List Sequence
Configure the sequence of the field in the list
List Display Length
Configure the display length of the field.
No. of Characters
Configure the number of characters for the value in the field.
Data Type
Configure the data type of the field (string, char, or int). Select a data type
from the list.
3. In the WebFlow Constant Table, under Product Code IAP, navigate to the
following constants:
• EXIT_INVOICE_ACTION
• EXIT_INVOICE_DETAIL
• EXIT_INVOICE_LIST
4. If you want to configure exit function modules for invoice action, invoice detail,
invoice list, and Processed By Me list, maintain your function module in the
respective Constant Value.
The default template function modules are:
• /OPT/OAP_EXIT_ACTION
• /OPT/OAP_EXIT_DETAIL
• /OPT/OAP_EXIT_LIST
Notes
If you add buttons to the Invoice List page of the Approval Portal, you must select
Button Type List.
Notes
Function code
Function code that is used to process the invoice
Page
Select the page where the button is displayed: Invoice List or Invoice
Detail Page
Invoice Type
Select All Invoices, PO based invoices, or Non PO based invoices.
Button Type
Select where the buttons are considered on the page: Header level, Item
level, or List level.
Device name
Select Web Approval Portal or Mobile Approval Portal.
SAP GUI, Fiori Approval Desktop, Fiori Approval Tablet, and Fiori
Approval Smartphone are not supported for invoice list buttons. However,
they are supported for detail page buttons.
Text
Enter the text for the button to be displayed in the portal.
Quick Info
Enter the tool tip for the button.
Button Code
Select Standard Button or Custom Button.
Standard Button
Baseline buttons are covered in this category.
Custom Button
You can define own buttons and achieve custom functionality.
User Type
Select the user to which this button is applicable: Approver, Coder, or
Everyone.
Reason Required
Select this check box to require a reason on the confirmation screen from the
user when they click the button.
Comments Required
Select this check box to require a comment on the confirmation screen from
the user when they click the button.
Log Activation
See “Custom button logging” on page 442.
Handling Function
The Handling Function determines the RFC function that is called when
the user clicks the button in the approval screen or the Approval Portal.
Enter the function module to handle the button. Create a custom function
module by copying the sample function module /OPT/BUTTON_FM.
For buttons on the invoice list page of the Approval Portal (Button Type
List), use the sample function module /OPT/BUTTON_FM_LIST. You can use
the handling function module to call a dynamic URL.
URL
Enter the static URL to be displayed after the button is clicked.
URL Function
Enter the function module to get the URL dynamically. Create a custom
function module by copying the sample function module /OPT/BUTTON_
URL_FM.
Notes
• This field is not relevant for buttons on the invoice list page (Button
Type List).
• Either Handling Function or URL and URL Function will work;
you must decide for one of them, you cannot use both.
3. Configure the button. The parameters are the same as for the Invoice List
buttons. See “To configure buttons for the Invoice List:“ on page 438
Modifying data VIM provides a feature to change the accounting data and header data for custom
for custom buttons. The feature can save the changed header data and item data.
buttons
The feature only works if the following conditions apply:
• Change header data or item data or both and also delete the line items.
• Copy the selected line and add as the last line item.
To maintain custom buttons, you must maintain the data in the view /OPT/BUTTONV
or use the transactions /n/OPT/OAP_DETL_BUTTON or /n/OPT/OAP_LIST_BUTTON.
Custom button VIM supports logging for custom buttons in the SAP GUI approval screen and on
logging the Approval Portal. You can customize the log comments.
To activate the custom button logging and to customize the log comments, run the /
n/OPT/OAP_DETL_BUTTON transaction for the detail screen, or run /n/OPT/OAP_
LIST_BUTTON for the list screen.
For a detailed description of all parameters in these two transactions, see “To
configure buttons for the Invoice List:“ on page 438.
The relevant parameters for the custom button logging are the following:
Log Activation
To activate the custom button logging, select this check box.
By default, the custom button logging is inactive when you install VIM. You
must activate it for all the custom buttons as needed.
For the Approval Portal, the custom button logic is there but the Approval
Portal still needs to write the logic to display the customized custom button log.
Note: In the Approval Portal, custom buttons are not handled except the
URL functionality.
Log Act. Txt.
Log Activation Text
Enter customized log content as free text.
If you leave this field empty and logging is active, the default text is displayed in
the log.
Note: For other languages, you must maintain the log activation text in
your required logon languages. If this text is missing in any logon
language, you will see the default text.
13.5.13 Configuring search help for web and SAP GUI approval
screen fields
You can configure search help for web and SAP GUI approval screen fields to give
users input help for these fields.
3. Configure the search help, using the following parameters (at the bottom of the
screen):
Notes
GL_ACCOUNT
Search help name = SAKO_CORE
SearchHelpParam = SAKNR
COST_CENTER
Search help name = TRAC_KOSTL
SearchHelpParam = KOSTL
COMPANY_CODE
Search help name = H_T001
SearchHelpParam = BUKRS
MATERIAL
Search help name = H_WERKS_MATNR_E
SearchHelpParam = MATNR
INTERNAL_ORDER
Search help name = ORDEA
SearchHelpParam = AUFNR
TAX_CODE
Search help name = SH_T007A
SearchHelpParam = MWSKZ
NETWORK_NO
Search help name = AUKOB
SearchHelpParam = AUFNR
WBS_ELEMENT
Search help name = PRPMA
SearchHelpParam = POSID
When the invoice is parked for approval, it is sent to the coder first. The following
coder definitions are possible:
By requester
Each requester has an associated coder.
By company
Each company code has an associated coder.
Both
The coder is determined by both requester and company code.
Use requester
The coder is the requester.
Configuration The configuration for level based approval is done in the approval flow settings
(AFS). For more information, see “Configuring approval flow settings” on page 406.
The following sections describe user map maintenance and Chart of Authority
(COA) maintenance. For a detailed description, see “Maintaining Chart of
Authority” on page 55.
The definition table for approver persona attributes is /OPT/BL_AP_CONF, which can
be maintained by the SM30 transaction.
Alternatively navigate to OpenText VIM - Invoice Solution > SAP menu > Roles >
Coder/Approver Options Configuration.
The following check boxes for the approver persona are available:
Approval Flag
Select this check box always.
Approver access rights – Approve or reject an invoice; enter comments.
Coding Flag
Select this check box to achieve that the approver is able to enter accounting
data.
In level based approval, the accounting information can only be entered either in
the coding level (level 0) or in the requester level (level 1). If the requester is
maintained as coder, the requester is able to enter and change the accounting
information. In this case, there is no coding level.
Note: In the approval levels (level 2 and higher), coding is not supported.
You might want to remove the following buttons from the Approve Invoice
screen, both in the SAP GUI and in the Approval Portal:
Note: The Coding Display check box only takes effect in the SAP GUI
approval.
The log event is written to the approval log file /ORS/APPL_LOG, whenever the
invoice is approved and an override approver has been entered.
The event is shown in the approval log:
The entry does not show directly who executed the override action. To find this
out, look at the corresponding action entry, which has the same time stamp.
Coding delegation
If the current coder/approver does not have all the knowledge to provide the
correct coding, the current coder/approver may delegate to another coder. To do
so, the approver persona needs to have the CODING_DELEGATE check box
selected.
Substitution
The approver or coder can set up personal substitutes to temporarily take over
their responsibility. The substitute can be defined by one of the following ways:
• If the optional Web IAP is implemented: From the approval web page, open
the User Preference page and open the Substitution section.
• From the SAP inbox, add substitute from the SAP menu.
Substitution features
You can control these options using the Substitutes inherit COA check box
in the Approval Flow Settings for the respective AFS ID; see “Configuring
approval flow settings” on page 406.
• The invoices belonging to the original approver will be added to the
substitute's invoice list.
• When the substitute approves an invoice that is not originally sent to the
substitute, the action will be logged as XXX approves the invoice on behalf
of YYY.
• The original approver can place limitations when setting up the substitute.
Normally, the names are searched by the Name Search method /ORS/
000007_NAME_SEARCH of the usermap class. The method can be customized
to include a logic that restricts the list of legible substitutes to those with
equal or higher authority of the original approver.
• To restrict the substitution to only VIM workflow tasks, currently only one
substitution profile can be maintained for all VIM workflows. The
substitution profile can be created using a standard SAP method and
assigned to VIM workflow tasks.
Reassign
When an employee is not supposed to approve invoices anymore, the
administrator can use the Reassign utility to reassign the work item to others.
The Reassign utility may “recall” the invoice back to the AP department. Once
recalled, the approval workflow is terminated. The AP department may
resubmit the invoice for approval. For more details, see Section 5.2 “Reassigning
work items belonging to another user” in OpenText Vendor Invoice Management
for SAP Solutions - Administration Guide (VIME-AGD).
To do this, you can implement a custom logic in the method NEXT_ALT, which is
introduced in VIM 7.5 SP6 (VIM 7.0 SP10).
1. To access the Approval Flow Settings screen, run the /OPT/SPRO transaction
and navigate to OpenText Vendor Invoice Management Invoice Solution >
Invoice Approval Configuration > Approval Workflow > Setup Approval
Chain > Approval Flow Settings.
2. In the Approval Flow Settings screen, customize the AFS ID.
For more information, see “Configuring approval flow settings” on page 406.
3. Set the AFS type to H – Header Based Approval.
4. Use the following baseline process classes:
Approver class: /OPT/CL_A_LEVEL_BASED_APPROVAL
Usermap class: /OPT/CL_IAP_USERMAP_BL
NPO invoice class: /ORS/NON_PO_INVOICE_NEW
PO invoice class: /ORS/PO_INVOICE_NEW
5. To access the Mapping for Approval Flow Settings screen, run the /OPT/SPRO
transaction and navigate to OpenText Vendor Invoice Management Invoice
Solution > Invoice Approval Configuration > Approval Workflow > Setup
Approval Chain > Mapping for Approval Flow Settings.
6. To map your customized AFS ID to the wanted VIM Document Type, add the
AFS ID in the mapping configuration.
For more information, see “Maintaining the approval flow settings mapping”
on page 412.
7. To determine the user that gets assigned the approval work item, configure the
COA, Approval Category column. For more information, see Approval
Category on page 63.
If an invoice can be sent to multiple approvers, the found approvers are displayed as
a list on the approval confirmation screen. This is possible only when transitioning
to the next level. Therefore only the last approver (or coder) in each level is shown
the list with multiple approvers.
Note: The approvers cannot be overridden in this case, unlike in the case of
sequential approval.
At the Approval level, you can forward an invoice only to an approver that can
approve at least all the line items assigned to the current approver, according to the
COA settings.
If an invoice is rejected at the Approval level, all other parallel work items are
cancelled. The invoice is routed according to the AFS settings, for example One Step
Back. For details, see Rejection Processing on page 411.
In case of the option One Step Back, the invoice returns to the previous approval
level.
VIM Analytics In the Processes tab of the VIM Analytics report, the invoices that are currently sent
to multiple parallel approvers are displayed with one line for each agent.
In the Unified Dashboard approval log dialog box, the text Multiple approvers
exist is displayed instead of the approver name. A button to display the approvers
list is placed next to this text.
An invoice gets approved at levels 1 (requester) and 2 (approver), and then gets
rejected at the approver level 3, going back to the requester level.
VIM provides the approval buffer. If the approval buffer is active and the line items
have not been changed, the following approval at requester level leads to the invoice
being sent to the approver at level 3, bypassing level 2.
You can enable the approval buffer for individual AFS IDs. For more information,
see “Configuring approval flow settings” on page 406.
Conditions With the approval buffer enabled, approval of a specific line item is skipped in the
level if the following conditions apply:
Final approval The final approval is not considered. Final approval steps must be repeated.
Approval flow The approval buffer functionality is implemented only for approver levels (2 and
higher). Both sequential and parallel line-based approval flows are supported.
Header-based approval flow is not supported.
Line item All accounting information fields are considered when comparing line items against
information their earlier state.
Substitution When using substitution during the approval, some line items might be approved
not by their originally assigned approvers but by their substitutes. The check,
whether the last approver of the line item is still allowed to approve it, is done with
the actual approver, that means with the substitute.
Logging The approval steps simulated through the approval buffer are shown in the
extended approval log for the last dialog approval step that is executed. In the
extended approval log, the name of the approver who approved the lines earlier are
shown for simulated steps. The simulated steps are not shown in the standard
approval log.
You can enable the skipping logic for individual AFS IDs. For more information, see
“Configuring approval flow settings” on page 406.
The following diagram illustrates how skipping of COA levels works. In the
example, there are no approvers maintained in the COA at level 2, but there are
approvers maintained at level 3. The invoice skips level 2 and is directly sent to the
approver at level 3.
Restrictions The functionality of skipping the COA levels is implemented only for approver
levels (2 and higher). Both sequential and parallel line-based approval flows are
supported. Header-based approval flow is not supported.
Logging The approval steps simulated by skipping the COA levels are shown in the extended
approval log for the last dialog approval step that is executed. In the extended
approval log, no approver is shown for simulated steps. The simulated steps are not
shown in the standard approval log.
The skipping logic is only active when an invoice proceeds from one approval level
to the next one. Only at this point, the system decides whether skipping is possible.
If COA is changed after that and some approvers are removed, so that no approvers
can be found for some lines at the current level, skipping to the next level will not be
attempted. In this case, the last valid approver gets an error message that the next
approver cannot be found.
The decision to skip is taken one level below the first level where the COA is not
maintained completely. Therefore, it is important to ensure that, at the level where
the approval workflow begins, no skips are required. It is no problem if invoices are
going through coder or requester step. But you might use posted approvals or
autocoding, which is followed by an approval workflow starting directly at the
approval level, that is level 2. In this case, make sure that the first approver level has
the COA completely maintained because there is no “previous level” where the skip
decision can be made. If the level approvers cannot be found for all lines, an error
message will be displayed even when skips are active.
Note: The same invoice might be rejected and might pass through the
approvals once again. In this case, the skipping logic is active at the level
before the last one, and the error does not happen.
Within baseline delivery, down payment approval follows header based approval.
Coding and coding delegation is not possible, irrespective of the coder configuration
in the AFS settings.
1. Down payment approval starts at approval level 2 directly. The requester who is
maintained in the invoice is considered as first approver.
2. After the requester approves at level two, the invoice moves on to higher levels
based on the invoice amount. The next approvers are determined based on COA.
3. If the requester is not authorized to approve at level 2 due to COA, the invoice is
forwarded to the next approver at level 2 based on COA. From there, it moves
on to higher levels based on the invoice amount.
Note: Approval data in COA must be maintained for expense type DW (Down
Payment). Approval limits for level 0 and 1 must as well be maintained with
nominal amounts in COA.
1. Run the SM30 transaction to maintain table /PTGWFI/Z_CONST, and locate the
record with Product Code IAP and Constant NPO_INV_CLASS. Enter Constant
Value /ORS/NON_PO_INVOICE_NEW.
7. Test /ORS/COMPANY_CODE.
1. If you want to modify the validation code for Company_Code, create your object
and implement it:
Run the SM30 transaction and change the BAdI name from Company_Code to
ZCompany_Code (for example).
2. Click the BADI Implement button and create a new BAdI, called Z_COMPANY_
CODE (for example).
5. In Defined filters, select ZCOMPANY_CODE from the drop down list and save.
The BAdI /ORS/VALIDATION CHECK_FIELD does not check for all invoice lines.
This means, the loop exits after validating the first line item. You need to pass
the parameter ACCT_DATA by reference instead of passing it by value. See the
following step.
7. In the /ORS/IF_EX_VALIDATION interface, clear the Pass Data check box for
parameter ACCT_DATA and regenerate the BAdI.
9. Test Z_COMPANY_CODE.
Field
BAdI
G/L Account
/ORS/CL_IM_GL_ACCOUNT
Internal Order
/ORS/CL_IM_INTERNAL_ORDER
Item Text
/ORS/CL_IM_ITEM_TEXT
Material
/ORS/CL_IM_MATERIAL
Plant
/ORS/CL_IM_PLANT
Profit center
/ORS/CL_IM_PROFIT_CENTER
Tax Code
/ORS/CL_IM_TAX_CODE
Trading Partner
/ORS/CL_IM_TRADING_PARTNER
Unit
/ORS/CL_IM_UNIT
Valuation Type
/ORS/CL_IM_VALUATION_TYPE
WBS Element
/ORS/CL_IM_WBS_ELEMENT
You can enable or disable this check with a specific Z constant, product code IAP,
constant SKIP_BAPICHECK, description If set to 'X', BAPI check will not be
processed in Coding / Approval.
Message Class
Enter the name of the message class that contains the message to be
excluded.
Message ID
Enter the number of the message to be excluded.
Active
Select this check box to activate the exclusion of the message in the approval
validation.
2. In the Maintain Profitability Segment Fields screen, enter the Company Code
and click Get Fields.
3. To activate the profitability segment functionality for the given Company Code,
perform the following settings:
Limitations
EXIT_ADD_FIELDS
While displaying the fields in the portal: can add or delete extra fields to or from
the existing list of fields based on any conditions
EXIT_BDC_BG
If any issue occurs during posting the data in the background mode with the
profitability segment data, the user can modify the profitability segment data
according to their needs.
EXIT_DATA_CHG
Can overwrite the data of the profitability segment before displaying the pop up
EXIT_DEL_VALID
Can add custom validations for portal before deleting profitability segment data
EXIT_MSG_CHG
Can add custom validations on the profitability segment number. Or can modify
or delete the existing messages according to your needs.
EXIT_READ_VALID
Can add custom validations for portal before displaying the pop up
EXIT_STOR_VALID
Can add custom validations for portal before saving the profitability segment
data
IM_CALL_SYS
Importing parameter. It provides information from which system the error
message is coming. The value should be either SAP or WEB (Portal).
IM_MSG_AREA
Importing parameter. It provides the exact location from where the message is
coming. Possible values are 1, 2, 3, or 4.
1
The message is coming from the portal when validating the existing
profitability segment number. This validation has been performed in the
function module /ORS/000007_PROFIT_SEGMENT.
2
The message is coming from SAP when validating the existing profitability
segment. The validation has been performed in the function module /ORS/
VIM_SAVE_PSEG.
3
The message is coming either from SAP or WEB (Portal) when validating the
newly created profitability segment number. The validation has been
performed in the function module /ORS/VIM_SAVE_PSEG.
4
The message is coming from SAP during posting time when validating the
existing profitability segment number.
EX_EXIT
Exporting parameter. Use this parameter if the user wants to exit without
further processing. The values should be either <blank> or X. X means exit
without further processing.
CH_MESSAGE
Changing parameter. It imports the actual message into the function module.
According to your requirements, you can modify or delete the existing messages
and you can add your own custom messages.
CH_PAOBJNR
Changing parameter. It imports the problematic profitability segment number.
According to your requirements, you can modify the profitability segment
number.
Each step in the approval flow leaves log records, which can be viewed later, for
example for audit purposes. Basic information, for example who approved or
rejected an invoice and when, is being logged for the approval flow.
VIM supports advanced logging for level based approvals, allowing you to see the
accounting data at each step. This can help in reconstructing the accounting data
change history and explaining why the invoice was sent to a particular approver and
was (or was not) approved.
The advanced logging is available from the display of basic logging, for the steps or
actions that can affect the approval flow. The changes of accounting data, approvals
and rejections are recorded; entering the comments is not. For more information, see
“Using the extended approval log” on page 476.
Basic log The basic approval log can be shown from the following locations:
locations
• VIM Invoice Workplace, DP dashboard, and DP document display: History
pane, Approval History
• Approval dashboard:
Extended log The extended log can be shown only in SAP GUI screens, wherever basic log is
locations shown. An additional column Display item details shows the Display item details
button for steps where the extended log is available.
• PDF History Log. For more information, see “Using the PDF history log for
Invoice Approval” on page 477.
To display the Invoice Processed By <Username> table, enter the Approver and
optional additional search criteria, and click in the application toolbar.
The columns displayed in the result list are retrieved from the fields that are
maintained in the user preferences for the corresponding user. See “User Details
View” on page 57. The invoice list fields are reused.
3. Select the Add to screen check box for the search field name. All other fields are
currently not in use.
In the following example, three invoice lines were approved by the user at level 1
(requester level).
If implementing the optional Approval Portal, the Approval Portal uses the
following infrastructure for displaying the images from the web browser during the
IAP process.
1. Clicking the View Invoice Image link in the Approval Portal will call SAP ERP
with the following function module:
FUNCTION /ORS/000007_IMAGE_DISP_URL or /ORS/000007_IMAGE_DISP_JPEG
2. This function module will in turn call a configurable function module that is
defined in the OpenText /PTGWFI/Z_CONST table, Product Code IAP. The
constant for Image Display JPEG is IMAGE_DIS_JPG_FM. The constant for Image
Display URL is IMAGE_DIS_URL_FM.
3. The data that is passed to this pluggable module is:
6. In the OpenText delivered base function module, the standard SAP function
module ARCHIVELINK_URL_GENERATE is called with the appropriate information
(Archive ID and Archive_Document_ID).
7. If the archiving system is setup as an http Content Server, the standard SAP
function module will generate the appropriate URL which can be used to
display the image in a browser window.
8. It is possible to replace the function module ARCHIVELINK_URL_GENERATE with a
Z-function module and incorporate any logic as deemed fit based on customer
requirements.
Example: By modifying/extending the method NEXT, you can implement your own logic to
determine the approvers in the approval process.
With the new level based approval flow, you must configure the class on document
type level in Approval Flow Settings (AFS); see “Configuring approval flow
settings” on page 406.
Constant Value
Maintain the custom approval class. This class should conform to the /ORS/
APPROVER class (sub type).
With the new level based approval flow, you must configure the class on document
type level in Approval Flow Settings (AFS); see “Configuring approval flow
settings” on page 406.
The Z constants mentioned in this section are used when no AFS ID is found for the
respective DP document type in the approval AFS ID mapping. A typical example
for this in a baseline configuration is a PO invoice.
2. Define the custom invoice class (exit), using the following parameter:
Constant Value
Define the custom invoice class. This class must be a subtype of /ORS/NON_
PO_INVOICE.
You can use this class to extend the following methods:
VALIDATEACCTDATA
Validates the accounting data of invoices.
PROCESS_RETURN_MSG
Formats the return message from SAP ERP to something meaningful
that can be displayed on the web.
GET_NO_CODING_MSG
Returns a message if there is no coding information on the invoice.
CHECK_COBL
Is used to validate the coding block data on the invoice.
CONVERT_STD_FIELD
Converts the value of a field from input format to output format.
GET_FIELD_STATUS_GRP
Sets the display parameters (Optional, Required, Hidden) for invoice
fields while coding.
3. Define the custom invoice class (exit), using the following parameter:
Constant Value
Define the custom invoice class. This class must be a subtype of /ORS/PO_
INVOICE_NEW.
VALIDATEACCTDATA
Validates the accounting data of invoices.
CONVERT_TO_RSEG_FORMAT
Converts the value of a field from input format to output format.
With the new level based approval flow, you must configure the class on document
type level in Approval Flow Settings (AFS); see “Configuring approval flow
settings” on page 406.
Constant Value
You can use this custom class to modify or extend the standard usermap
functionality. Methods of class /OPT/CL_IAP_USERMAP_BL can be extended.
2. Locate the record with Product Code IAP and Constant BULK_VALIDATE_EXIT.
VIM provides the following apps that are based on the Fiori Task App, which is
based on SAP Fiori®:
• VIM Confirm Quantity and Price Fiori app (Confirm Quantity and Price app)
• VIM Resolve Invoice Exceptions Fiori app (Resolve Invoice Exceptions app)
• VIM Enter Cost Assignment Simple Fiori app (Enter Cost Assignment Simple
app)
• VIM Enter Cost Assignment Advanced Fiori app (Enter Cost Assignment
Advanced app)
• VIM Approve Invoices Fiori app (Approve Invoices app)
• VIM Approve Invoices (bulk mode) Fiori app (Approve Invoices (bulk mode)
app)
• VIM My Approved Invoices Fiori app (My Approved Invoices app)
• VIM Vendor Invoices Report Fiori app (Vendor Invoices Report app)
This chapter provides a general overview on these apps and describes the necessary
configuration to use each of them.
For information about user authorization of the apps, see Section 5 “Authorization
objects of the Fiori Task Apps” in OpenText Vendor Invoice Management for SAP
Solutions - Security Guide (VIME-GSM) and Section 8.14 “Fiori Task Apps” in
OpenText Vendor Invoice Management for SAP Solutions - Security Guide (VIME-GSM).
• Name
• SAP Fiori roles
Notes
– VIM Fiori apps require SAP license users to be available in both back end
and front end servers, based on SAP deployments.
– For the VIM Fiori apps, the following sections provide information to
which roles of the SAP Fiori App Library (https://
fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer) these apps
fit. The VIM Fiori apps are not part of the core SAP Fiori App Library.
They are delivered only as part of VIM.
• App details and VIM roles: explanation with reference to VIM roles and use cases
• Key features: most important features. Details how to use the app and app
features are described in OpenText Vendor Invoice Management for SAP Solutions -
User Guide for Invoice Solution (VIME-UGD).
• Limitations (if relevant)
Note: For information about semantic object navigation, see Section 9.2.1
“Semantic object navigation with the Fiori Task App” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD). For the link type Semantic object navigation, the following
prerequisites apply:
• Employee – Requisitioner
• Display only the items that require confirmation (no GR/IV), have potential
payment blocks (GR/IV) or are posted with price or quantity payment blocks
(posted PO invoices)
Limitations
• Lightweight GR covered.
• Only price and quantity discrepancies are supported for both DP and
blocked invoice process.
• In case of blocked PO invoice, all line level work items must be assigned to
the same agent (as one of the group of agents).
Note: This app requires simulation support of SAP MM-LIV BAPI provided
with the SAP note 1694508 or corresponding SAP support package.
• Employee - Procurement
• Purchaser
• Warehouse Clerk
• Other roles depending on configuration and requirements
Notes
Limitations
Complex invoices are not supported. This includes the following:
• credit memo
• mix of credit/debit lines
• more than one cost object type
• balance issue
Complex invoices are routed to the Approve Invoices app. You can distinguish
them by the remark Approve coding completed by <user>. See comments in
History. above the headline.
Alternatively, the remark can read: Coding cannot be completed in Fiori.
Please continue in SAP GUI.
• Employee - Procurement
Limitations
• Invoice processed through Enter Cost Assignment Advanced app may not be
processed completely in the Approval Portal, same as locking mechanism.
• For optimal UI experience, 8 item fields need to be configured.
• Profit Segment is not supported.
• Custom buttons are not supported.
The following table shows the differences between the Enter Cost Assignment
Simple app and the Enter Cost Assignment Advanced app:
Enter Cost Assignment Simple app Enter Cost Assignment Advanced app
DP Non-PO coding is supported. DP Non-PO and parked Non-PO coding is
supported.
Simple coding is supported. Simple and complex coding is supported.
Referral invoices are not allowed. Referral invoices are allowed.
Substitution invoices are allowed based on Substitution invoices are allowed.
complex invoices of the substitute.
• Employee - Procurement
• Manager - Procurement
Key features
Limitations
• The Certify message (see “Configuring the Certify message” on page 427) is
not automatically displayed in the Approve Invoices app.
• Custom buttons are not supported in the Approve Invoices app and other
Fiori apps.
• Search helps (see “Configuring search help for web and SAP GUI approval
screen fields” on page 443) are not automatically displayed in the Approve
Invoices app.
• In the Approve Invoices app, multiple backend support is not possible
within a single tile. But you can achieve it by configuring different tiles for
each system. On each system running the Foundation component, an entry
with LOCAL as logical system must exist. For this entry, you do not need to
maintain an RFC destination. This applies to all VIM Fiori apps. For
information how to setup a multiple backend system with Multi Origin
Composition, see Section 11.3 “Setting up a multiple backend system” in
• Manager - Procurement
• Click the Multi Select button to select multiple invoices for approval that are
ready for only approval and that are assigned to your inbox by the
VIM approval workflow logic.
• You can also perform Approve or Reject actions on the invoices from the
Invoice List using Direct Approve and Direct Reject icons that are assigned to
your inbox by the VIM approval workflow logic.
• You can also perform Approve, Reject and other actions on the invoice by
navigating to the detail perspective shown in the Approve Invoices app.
Typical users are higher level managers in an organization, for example cost
center owners, project managers, managers of organizational units, and
Enterprise VP.
This role is called approver in VIM. Approval is mostly relevant for Non-PO
invoices. In case of PO invoices, the approval has been done for the
PO. Approvers check the details of a Non-PO invoice and approve or reject
according to company spending rules (approval level compared to invoice
amount). Rejection can be necessary in cases where the invoice is not correct or
the account assignment needs to be changed (for example incorrect cost center).
Key features
Limitations
• Invoices that are not eligible for Approve or Reject are shown with a
clickable Information icon. The Information dialog is shown with a relevant
message. You can perform relevant actions by navigating to the Invoice
Detail page by clicking the field Reference Number.
• Consider performance issues when selecting more invoices for bulk
approval.
• The Approve Invoices (bulk mode) app is supported only in the desktop
version, not for tablet and mobile phone.
• The Comments Mandatory check is not applied to Bulk Approve. By default,
comments are optional.
• Only the Bulk Approve action is supported. Make sure that the Approval
COA configuration for approvers is enabled with Bulk Approval Category
“A - Approval” or “B - Approval and Reject”.
Name
• Employee - Procurement
• Manager - Procurement
• Invoice approved
• Attachment deleted
• Invoice rejected
• New attachment
• Invoice forwarded
• Comment entered
The My Approved Invoices app can be used for all roles involved in the
approval process, like requester, coder, and approver.
Key features
• Search, sort or filter invoices with own interaction within the approval
process
• Employee - Procurement
• Manager - Procurement
• Accounts Payable Manager
• Search, sort, or filter invoices with own interaction within the approval
process
• Display the image of the invoice and its attachments
• Access invoice information
• Display of process and approval history of the invoice
• Display of comments entered by the users
Limitations
• Search, sort, and filter fields provided in the baseline are only supported for
now.
• Known issues can be tracked in Release Notes.
The general setup is described in Section 10.1.1 “Integrating Fiori Task App into
Fiori Launchpad” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD). Import the mentioned transport or
configure the tiles.
The tiles are also delivered with transports, which are stored in the file
VendorInvoiceManagement-LaunchpadContent.zip for on-premise scenarios.
The following Fiori tile catalogs are delivered. You can assign them to the related
role used in the corresponding business scenario.
/OTBCWUI/PS30_VIM
Vendor Invoice Management
/OTBCWUI/PS30_VIM_BULKAPPR
Vendor Invoice Management – Bulk Approvals
/OTBCWUI/PS34_VIM
Vendor Invoice Management - Supplier Self Service
/OTBCWUI/PS34_VIM_ACC
Vendor Invoice Management - Supplier Accountant Perspective
Parameters for When setting up tiles for VIM, you need to know specific parameters for each Fiori
manual configu- Task App. They are listed in the following table:
ration
Note: To support PO invoice simulation used by this app, implement the SAP
Note 1694508 in the SAP ERP system, unless already present.
It is also activated after the finish of the Fiori app step to let the AP role
verify the information passed from the Fiori app and decide on the next
steps.
417 - Quantity/Price Confirmation Required (PO)
The actual Fiori app step. A dialog work item for this step is also visible in
the SAP GUI inbox, but the dashboard has only the Rerun rules option
configured in standard VIM, because it is supposed to be processed from the
app. The process type has a special workflow type, which is the criteria for
work item selection by the app:
Use the process types in the following sequence: 425, 418, 417, 418. OpenText
recommends that you keep the group as close to the approval and posting as
possible, to ensure that the DP document has validated and complete data and
the posting simulation can be performed.
DP process options
The standard process option 2051, Send to FIORI app Confirm invoice
quantity and price, is used in the process type 418 to send the document to the
Fiori app if automatic start is not used. This process option is delivered in a BC
set.
You must maintain the settings separately for price discrepancies (Payment in the
column ID) and quantity discrepancies (Delivery in the column ID). It is possible to
maintain settings depending on the company code (ranges are allowed).
Note: The app does not perform checks of the configuration. If you choose to
use company code based configuration, you must make sure that there are no
overlapping settings.
If blocked workflow is active and will be processed with the app, the dropdown
entries must have process option type and ID maintained but this is not required or
used by DP process.
CC from / CC to
Company code from/to. Maintain the required company code(s). This field is
optional.
ID
Click Payment for price discrepancy option or Delivery for quantity
discrepancy option.
Counter
Provide a counter for the option.
Note: The value must be greater than one (1). Within the ID (Delivery or
Payment) the counter has to be unique.
Active
Select this check box to activate the dropdown option value.
Add. value
Additional value. Select true if selection of the dropdown has to enable the
additional quantity field. In the standard configuration, this is used for the
option Wrong quantity, when the GR quantity to be posted needs to be
provided. Currently this functionality is limited to the quantity field.
Description
Option text shown on the Fiori screen.
Note: On the menu, click Goto > Translation to provide translations for
selected options.
Long field label
Enter text for the optional quantity field. For more information, see Add. value
on page 499.
GR options
Selecting specific dropdown values for quantity discrepancy can result in
posting of a goods receipt. The quantity of the GR is calculated depending on
the data (“delta value”) and the selected GR option:
Comment mandatory
Select this check box to make a comment in the confirmation dialog box
mandatory.
Option Type
Enter the option type of the standard process option of the blocked workflow.
Currently, only Authorization must be entered for the dropdown entries used
in the blocked workflow for quantity discrepancy.
Option ID
Enter the option ID of the standard process option of the blocked workflow. This
must be one of the Authorization options. The option ID associated with the
dropdown will be shown in the process log of the blocked invoice workflow.
If an item is accessed from the inbox, a staging entry is created and after that the
dropdown values are created. You need to clean drafts using the /OTX/PS35_DROP_
ALL_DRAFTS program to reflect the changes.
2. Select the check boxes Drop all existing drafts and Do you really want to
delete?
4. Access the Fiori app and check whether delivery dropdown values are
displayed.
2. Select the work object type PS35_VIM_MPOEX and double-click Master List -
Data Binding in the Dialog Structure.
3. Perform the required changes. The following screenshot shows the standard
configuration:
1. Run the SM30 transaction (table maintenance) and enter the view /OTX/PF62_V_
OH.
2. In the dialog box that opens, enter the work object type PS35_VIM_MPOEX.
3. Configure the header fields. The following screenshot shows the vendor
number added to the standard display of the vendor name:
2. In the customizing nodes that are shown, navigate to OpenText Vendor Invoice
Management Foundation - Web Services - Deprecated Activities > Items >
Item Header Details.
3. Add or modify the records with the work object type PS35_VIM_MPOEX. The
following screenshot shows the vendor name added to the standard display:
You can configure, based on the document company code, whether the document
will be sent into the app immediately.
To do this, run the /n/OPT/SPRO transaction and navigate to Fiori Configuration >
Confirm Quantity and Price > Confirm Quantity and Price Customizing for Start.
In the standard configuration, no settings for automatic start of the Fiori app step are
delivered. An example entry for company code 1000 is shown in the following
screenshot:
The frequency of the job runs depends on the business needs. It must be run more
frequently to make the header level work items start faster after finishing the line
level steps in the SAP GUI dashboard or with the Fiori app.
Process step handling with the Resolve Invoice Exceptions app supports the
following:
You also may perform the following project-specific implementations. But be aware
that OpenText Customer Support will not support them beyond regular product
support.
Known issues Generic refer to any user is not possible, refer is based on role assignment.
and restrictions
Note: Example customizing for a sample set of process types and the role Info
Provider is delivered in the BC set of the VIM Foundation (/OTX/
PS03_VIM_003). You can add other process types to the customizing if needed.
For more information, see “Assigning process options” on page 514.
The following example takes up the info provider scenario. This means, the AP
processor needs additional information to process an invoice.
5. As the selected user, check the comments and the invoice data.
6. To send the invoice back to AP, click Send to AP and provide a comment.
14.4.2 Architecture
The Resolve Invoice Exceptions app offers the VIM Fiori integration framework to
handle VIM exceptions in the Resolve Invoice Exceptions app. The VIM Fiori
integration framework supports custom scenarios based on Fiori.
You configure the interface to the Resolve Invoice Exceptions app by a solution-
specific web handler implementation. The web handler class calls RFC modules to
support multiple backend scenarios. Within the RFC modules, a process controller
class is called to provide data, solution specific customizing and control action
handling.
Actions in Fiori are based on the VIM process options. For each process option, you
must implement a class to provide the needed functionality. In the delivered process
option classes, an interface is called. This interface controls the actual VIM
workflows.
To define work object types for the Resolve Invoice Exceptions app:
3. Configure the work object type details, especially the ones in the following list.
Note: For general information about work object type definitions, see
Section 8.1.1 “Defining work object types” in OpenText Vendor Invoice
Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
Handler class
/OTX/PF03_CL_DATA_HANDLER_DYN
Selection Exit
/OTX/PS31_CL_CHANGE_SELECT
You can use the selection exit to change the selection of the work list. In the
delivered solution, it restricts the work list according to authorizations and
to the configured process options and roles.
Display Structure
/OTX/PS31_S_DISP
The display structure defines the available field in the work list.
To configure the web handler for the Resolve Invoice Exceptions app:
2. In the Work Object Type Overview screen, assign the PS31_VIM_WEB work
object type to the /OTX/PS31_CL_VIM_WEB_HANDLER class.
Note: For custom projects, you can redefine the delivered /OTX/PS31_CL_
VIM_WEB_HANDLER class.
For details about Web Services customizing and defining a web handler class,
see Section 9.5 “Work object type” in OpenText Vendor Invoice Management for
SAP Solutions - Configuration Guide for Foundation (BOCPE-CGD).
2. On the Nodes Overview screen, mark a node and double-click Master List -
Data Binding in the Dialog Structure.
3. Define the display options for the work item list. For more information, see
Section 9.6.2.3 “Configuring the data binding for the master list” in OpenText
Vendor Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD).
Workflow Type
Determine the type of the workflow.
Currently, the delivered solution supports only the DP workflow (Document
Process Workflow). For other workflow types, you must perform customer
specific project implementations.
Process options You must define a process option in the standard VIM customizing to have it
in standard VIM available in this customizing. The following settings are taken from the VIM
definition:
Comments required
Set comments as mandatory.
For details about defining process options, see “Configuring DP process options”
on page 247.
Additional Additional settings that are relevant for the Fiori UI are defined in the solution
settings for Fiori specific /OTX/PS31_V_OD01 customizing view.
2. In the VIM Fiori - DP Process Option Definition Overview screen, define Fiori
process options, using the following parameters.
Option ID
Enter the Fiori enabled option ID.
Web Icon
Enter the icon of the button that is shown in the Fiori screen.
UI 5 Button Type
Select the style of the button from the list.
Process Option Class
Define the actual actions that are taken after performing an action.
The following process option classes are delivered:
/OTX/PS31_CL_OPTION_SUBMIT_DP
This class provides Submit functionality. After submitting, the VIM
business rules are evaluated. You can use the class in custom scenarios
that provide Edit functionality.
/OTX/PS31_CL_OPTION_FORWARD
This class provides Forward functionality. Forwarding sends the
current work item to another VIM role or user. You can use this class
for process options of type Refer.
Process Type
VIM process type
Responsible Party
VIM role
Note: You can define general settings by leaving Responsible Party
empty. For performance reasons, OpenText recommends this only on
test environments. For productive use, OpenText recommends a full
specification of relevant combinations of roles and process types.
Option ID
Process option ID
Sequence
Display sequence of the process options
• Header fields
• Header detail fields
• Item fields
3. In the Dialog Structure, navigate to Attribute List View > Attribute View
Settings > Attributes.
Note: For more information, see Section 9.7.1 “Configuring the attribute
list view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Field Name
Provide the field name.
Position
Enter the position number to define the sequence of the attributes.
Display Type
Configure the way the attribute is displayed. The following values are
available:
Value description
Select this check box to display a description behind the value field.
Link type
Define the type of the link for semantic object navigation. Possible values:
• No link
Link parameter
This field contains the JSON with the link parameters for semantic
navigation.
Description
Enter a meaningful description of the attribute.
2. Mark the Workobject type PS31_VIM_WEB and mark the Perspective view ID
PS31_EXCEPTIONS_ALR_FLEX.
3. In the Dialog Structure, navigate to Table View > Header View > Columns.
Note: For more information, see Section 9.7.2 “Configuring the table
view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Field Name
Provide field name.
Filter Mode
In the list, click No filter option.
Position
Define the sequence of the columns.
Description
Enter a meaningful description of the column.
Editable
To allow the field to be edited, select this check box.
Required
To make the field required, select this check box.
Action ID
N/A
Column type
Click the column type to define the display behavior of the columns.
Display Type
Click Standard field (default) or the preferred option.
Width
Enter the width of the column in em.
Copy Value
To specify that the value of the column is transferred to a new row at copy
action, select this check box.
3. In the Dialog Structure, navigate to Perspective > Table View > Header View.
Notes
The VIM Enter Cost Assignment Simple Fiori app (Enter Cost Assignment Simple
app) (based on SAP Fiori®) runs as a solution integration for VIM. It is an optional
component and handles coding processes for Non-PO based invoices within the
Fiori Task App.
This section describes the customizing of the Enter Cost Assignment Simple app.
Handling coding processes with the Enter Cost Assignment Simple app is also
referred to as Simple Coding.
To prevent processing of the same invoice by multiple users, VIM provides the Z
constant IAP / LOCK_DURATION in the /PTGWFI/Z_CONST table. This constant sets the
life time of the invoice lock. Standard value is 1800 seconds.
In the Foundation component, the life time of the lock is defined in General Settings.
For more information, see Section 3.1.1 “Configuring locking” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD). If you use the Enter Cost Assignment Simple app, you must adjust the lock
setting in the Foundation component to the same value as in the Invoice Solution.
Important
The Enter Cost Assignment Simple app does not support multiple backend or
multiple system setups. Only one backend system can be used in the context of
one launchpad tile or app inbox. To provide users with access to several
systems, you must create a separate launchpad tile for each system and specify
the logical system of the backend accordingly. Each of those systems must be
either a satellite system in terms of multiple backend customizing of the
Foundation component and the Invoice Solution or an independent single
system not used in any multiple backend configuration.
Important
If you have not installed Web Viewer or Brava! View, OpenText recommends,
as a general advice, that you create PDF files from scanning and use the PDF
viewer that is installed on your computer for displaying invoice images.
For more information, see Section 9.4.1 “Configuring basic settings” in OpenText
Vendor Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD).
Note: You can customize the settings described in this section in the
Foundation component configuration.
You can change the initial sort order of the invoices that appear on the inbox list.
Default value is set to invoice due date in ascending sort order. If you want to
change the initial sort order, perform the following steps.
3. In the Order by screen, remove the existing entry and/or add another entry with
a different priority, using the following parameters:
Priority
Enter the priority of the initial sort order, starting with 1 (highest priority).
Table Name
Optional: Enter name of the invoice structure.
Field Name
Enter the field name that should be used for initial sort order. The field
must be part of the display structure that has been customized in work
object type PS32_PRC_VIM_SCO.
Asc./Desc.
Select Ascending or Descending sort order.
For more information, see Section 8.3.1.2 “Defining the order” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
You can sort inbox items also within the Enter Cost Assignment Simple app. If a
user selects a field from the sorting list, a new sort will be performed. The selected
field entry is added to the fields that have been customized for initial sort order. In
this case, the newly added field is set to the highest sorting priority.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
3. Perform the required changes in the Dialog Structure for Search fields, Sort
fields, and Filter fields:
1
Document header data
2
Cost assignment data
Cost assignment data cannot be customized. It depends on the selected template and
the split switch.
1. Run the SM30 transaction (table maintenance) and enter the view /OTX/PF62_V_
OH.
2. In the dialog box that opens, enter the work object type PS32_PRC_VIM_SCO.
3. Configure the header fields. The following screenshot shows the vendor
number added to the standard display of the vendor name:
Note: Title, 1st Attribute, 2nd Attribute, and 2nd Status are usable. 1st
status is overwritten in code.
2. In the customizing nodes that are shown, navigate to OpenText Vendor Invoice
Management Foundation - Web Services - Deprecated Activities > Items >
Item Header Details.
3. Add or modify the records with the work object type PS32_PRC_VIM_SCO. The
following screenshot shows the vendor name added to the standard display:
• You can configure the app to prohibit confirming the invoice if coding data is
incomplete.
• You can set the G/L Account field to read-only.
CC from, CC to
Enter the company code or company code range.
GL read only
• Select this check box to set the G/L Account field to read-only in case of
a non-multiple GL.
• If you clear the check box, the G/L Account field is editable in case of a
non-multiple GL.
Error if incomplete
• Select this check box to achieve the following behavior if the coding is
incomplete:
An error message Coding not complete is displayed with just an OK
button. The user must complete the coding before the Confirm button is
available.
• Clear this check box to achieve the following behavior if the coding is
incomplete:
A warning is displayed in the CONFIRM dialog box.
Active Indicator
To set the customizing to active, select this check box.
Custom<n>-Name
Enter COMMENT_AT_REJECT if a comment is mandatory for the Decline
action.
Selected?
Select true for COMMENT_AT_REJECT if a comment is mandatory for the
Decline action.
• Cost Center
• Internal Order
• Profit Center
• WBS Element
Template ID
Enter a unique template ID. Do not use blanks in the template ID.
Sequence
Enter 1. For multiline templates, increase the number for each line of the
template.
Active Indicator
To set the template to active, select this check box.
Flag gen.
Generic flag (SAP cost object type). Clear this check box. Select it for the
generic cost objects.
Pref. Set
Preferred setting. For multiline templates: select either Amount or Percent.
Percent
For multiline templates: enter percentage for cost object.
Cost Center, Order, Profit Center, WBS element, Function name, Cost Obj.
Define the cost object by filling one of these fields. Select a value.
Function name is meant for future use: name of Z function. The function
module must use the same interface parameters as function module /OTX/
PS32_SCO_EXIT_TMPL_EXMP.
Cost Obj.: Cost Object. Select a type; for example COST_CENTER.
Additionally, configure Cost Obj. Value: Cost Object Value. Enter a value,
for example 1000.
Template Short Text
Enter a short text for the template, which will be used in the assignment
screens. For more information, see “Assigning Enter Cost Assignment
Simple templates to users” on page 527.
No change
For future use
Hide val.
For future use
3. After creating an Enter Cost Assignment Simple template, assign it to users. For
more information, see “Assigning Enter Cost Assignment Simple templates to
users” on page 527.
Example 14-1: Templates for the Enter Cost Assignment Simple app
2. In the Settings for Enter Cost Assignment Simple Coding Check screen,
configure check settings, using the If set to X, clear all supported coding
fields before saving parameter with one of the following values:
X
Clear all supported coding fields before saving.
<Empty>
Clear only the fields used by the previous template before saving.
Note: The current version supports only assignments to the object type User.
CC from
Company Code from. If yo want to set a restriction, enter the lower value of
the range.
CC to
Company Code to. If you want to set a restriction, enter the upper value of
the range.
Template ID
Select a template ID from the list.
Obj. Type
Object type. Select User from the list or leave empty for all users.
Agent ID
Enter the SAP user ID or leave empty for all users.
Template Name
Enter the template name. It is displayed on the Fiori Task App screen.
Templ. Prio
Template Priority. If a user has assigned more than one template, define the
priority.
Active Indicator
To set the assignment to active, select this check box.
Template Short Text
Template short text entered in the template definition. For more
information, see “Customizing templates for the Enter Cost Assignment
Simple app” on page 525.
For user SCODER1, the templates are displayed on the Fiori Task App screen
with descending priority:
• Cost Center
• Internal Order
• Profit Center
• WBS Element
2. In the Settings for Enter Cost Assignment Simple Coding Check screen,
configure check settings, using the following parameters.
Check handling
• S: stronger check
• <FM>: Function module name
Important
If coding values are missing or wrong, the next approver most probably
cannot be determined. The next approver is determined by the COA.
Note: With the default support of parked Non-PO documents, the key
definition of the Enter Cost Assignment Advanced app is changed
from INVOICE_KEY to DP_DOCID.
If multiple key field definitions are selected, clear the INVOICE_KEY field and
only select the DP_DOCID field.
This section describes the customizing of the Enter Cost Assignment Advanced app.
Handling coding processes with the Enter Cost Assignment Advanced app is also
referred to as Advanced Coding.
Prerequisite The Enter Cost Assignment Advanced app uses the button configuration of the
Approval Portal. If you do not use the Approval Portal, refer to “Configuring
buttons” on page 438.
Note: While initial load of the Enter Cost Assignment Advanced app in Fiori
Launchpad and navigating to the invoice details page, there is a delay in
loading the details. Subsequent processing of invoices and details in the same
browser is fast.
You can change the initial sort order of the invoices that appear on the inbox list. The
default value is set to the invoice receipt date in descending sort order. If you want
to change the initial sort order, perform the following steps.
3. In the Order by screen, remove the existing entry and add another entry (or
entries) with a different priority, using the following parameters:
Priority
Enter the priority of the initial sort order, starting with 1 (highest priority).
Table Name
Optional: Enter name of the invoice structure.
Field Name
Enter the field name that should be used for initial sort order. The field
must be part of the display structure that has been customized in work
object type PS37_PRC_VIM_ECO.
Asc./Desc.
Select Ascending or Descending sort order.
You can sort inbox items also within the Enter Cost Assignment Advanced app. If a
user selects a field from the sorting list, a new sort will be performed. The selected
field entry is added to the fields that have been customized for initial sort order. In
this case, the newly added field is set to the highest sorting priority.
If a default sort is triggered, sorting is performed on the initial order entries. If the
sort direction Ascending or Descending differs from the customized entry, the sort
direction of the field entry with the highest priority gets overwritten by the chosen
sort direction.
All fields that can be displayed in the Enter Cost Assignment Advanced app can be
customized within VIM customizing tables and views. Default settings are delivered
within the baseline of the Enter Cost Assignment Advanced app. The Enter Cost
Assignment Advanced app is using the settings stored with the device name “Fiori
Approval Desktop” for customizing of Desktop.
Note: If you have problems while loading the Inbox, and the Device type
is Hybrid Devices or other device types, OpenText recommends that you
select All Devices.
Field Name
Enter the field name.
Position
Specify the position of the field.
Width
Specify the width for the display.
Type
Specify the display type of the field.
Position
Define the order of the values, in which they are sorted and displayed.
Search
The Object ID field is always added as the last field.
Sort
The Default field is always displayed as the first field.
Filter
Check the No multi (No multi-select) check box to limit the filter selection
to one value.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting,
and filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions
- Configuration Guide for Foundation (BOCPE-CGD).
• Header fields
• Header detail fields
• Line item fields
3. Navigate to Attribute List View > Attribute View Settings > Attributes.
Note: For more information about this customization, see Section 9.7.1
“Configuring the attribute list view” in OpenText Vendor Invoice
Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
Field Name
Provide the field name.
Position
Enter the position number to define the sequence of the attributes.
Display Type
Configure the way the attribute is displayed. The following values are
available:
• Display a switch.
Value description
Select this check box to display a description behind the value field.
Update on change
Select this check box to configure that any value changes get updated.
Editable
Select this check box to allow the field to be edited.
Required
Select this check box to make the field required.
Search Help ID
Provide the Search Help ID, the unique ID of the search help that
corresponds with the field.
Help variant
If the Search Help ID is provided, select F4 help with input field from
the list.
Used Help Field
Define the field in the help structure whose value should be written to the
attribute view field. You only need to specify this if the field name in the
help structure is not equal to the field name in the attribute view.
Link type
Define the type of the link for semantic object navigation. Possible values:
• No link
• Semantic object navigation
Link parameter
This field contains the JSON with the link parameters for semantic
navigation.
Description
Enter a meaningful description of the attribute.
Note: For more information about this customization, see Section 9.7.2
“Configuring the table view” in OpenText Vendor Invoice Management for
SAP Solutions - Configuration Guide for Foundation (BOCPE-CGD).
Field Name
Provide field name.
Filter Mode
In the list, click No filter option.
Position
Define the sequence of the columns.
Description
Enter a meaningful description of the column.
Editable
To allow the field to be edited, select this check box.
Required
To make the field required, select this check box.
Action ID
N/A
Column Type
Click the column type to define the display behavior of the columns.
Display Type
Click Standard field (default) or the preferred option.
Width
Enter the width of the column in em.
Copy Value
To specify that the value of the column is transferred to a new row at copy
action, select this check box.
Update on change
To configure that any value changes get updated, select this check box.
Search help Id
Provide the Search Help ID, the unique ID of the search help that
corresponds with the column.
Used Help Field
Define the field in the help structure whose value should be written to the
attribute view field. You only need to specify this if the field name in the
help structure is not equal to the field name in the attribute view.
Help variant
If the Search Help ID is provided, click F4 help with input field in the
list.
Notes
Used Help
Field Name Search Help ID
Field
COSTCENTER PS32_COST_CENTER KOSTL
DEBIT_CREDIT PS37_DBT_CRD
TAXCODE PS301_TAX_CODE MWSKZ
GLACCOUNT PS32_GL_ACCOUNT SAKNR
Used Help
Field Name Search Help ID
Field
WBSELEMENT PS32_WBS_ELEMENT POSID
INTERNALORDER PS32_INTERNAL_ORDER AUFNR
3. In the Dialog Structure, navigate to Perspective > Table View > Header View.
Notes
• If the number of line items is more than 20, you must enable pagination.
Note: To remove the smart coding button, delete the entry of the PS37_
COD_PROPOSAL row action.
Important
If you have not installed Web Viewer or Brava! View, OpenText recommends,
as a general advice, that you create PDF files from scanning and use the PDF
viewer that is installed on your computer for displaying invoice images.
For more information, see Section 9.4.1 “Configuring basic settings” in OpenText
Vendor Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD).
You can start the application process on a specific target system when using one
central system for document registration.
As a prerequisite, the central system running the Foundation component must have
at least one entry customized as logical system (default entry is set to LOCAL).
Multiple-system With special regard to this setup, you can also enable the Enter Cost Assignment
access Advanced app for multiple-system access.
All VIM systems that you want to enable for multiple-system access must have a
valid logical systems entry customized on the central system running the
Foundation component.
Also a valid ABAP connection must be set up using trusted RFC. You must add new
entries having logical system and RFC destination to the logical systems table within
the general customizing of the Foundation component.
Notes
• All VIM systems that will be enabled for multiple-system access must have
at least installed VIM 7.5 SP8 in combination with the appropriate support
packages of Business Center (now known as VIM Foundation) components.
For more information, see Section 13.1.2 “VIM component compatibility and
support package information” in OpenText Vendor Invoice Management for
SAP Solutions - Installation Guide (VIME-IGD).
• The customizing of the fields that are displayed in the Inbox and Header
section are taken from the first valid system entry which is maintained in the
logical systems list.
It is also possible to launch the Enter Cost Assignment Advanced app directly. To do
this, browse the following relative URL:
/sap/bc/ui5_ui5/otbcwui/pf07_bc_ui_03/index.html?nodeId=PS37_VIM_ECO_
INV&wobjType=PS37_PRC_VIM_ECO&workplaceId=WP_INBOX&letterBox=
false&appMode=FS&system=<SID>
For more information, see Section 10.1.1 “Integrating Fiori Task App into Fiori
Launchpad” in OpenText Vendor Invoice Management for SAP Solutions - Configuration
Guide for Foundation (BOCPE-CGD).
The following table is cleaned when the program is run for the invoice key:
Note: The new version of the Enter Cost Assignment Advanced app, shipped
with VIM 7.6, introduces a new key field DP_DOCID and removes the field
INVOICE_KEY. When clicking Save, Split, or Coding proposal, an issue Object
could not be found occurs because the DP_DOCID field is not updated in
staging table /OTX/PS37_OBJKEY.
The line items and configured columns visible on the UI are downloaded to the
Downloads folder on your computer as an export.xlsx file. The first row of the
downloaded Excel file contains technical field names of the columns. Beginning with
the second row, the coding line items data is displayed.
3. In the Dialog Structure, navigate to Perspective > Table View > Header View.
Export enabled
Select this check box to configure that all columns visible for the user can be
downloaded to an Excel file, using a Download button. The extension of the
file is *.xlsx. By hiding columns, users can restrict the downloaded
columns.
Export Fieldname
Select this check box to get technical field names for columns along with
their values that can be downloaded to an Excel file, using a Download
button.
Note: Starting with VIM 7.5 SP10, the download coding feature is enabled
by default. Its default settings are delivered within the baseline of the
Enter Cost Assignment Advanced app. OpenText recommends that you
do not change these settings unless the download coding feature is
disabled. To disable the feature, both the Export enabled and Export
Fieldname check boxes must be cleared.
The first column always remains CUSTOM_FIELD9, which indicates whether line item
coding is completed or not. Possible values are activity-individual, activity-2,
or <blank> with the following meaning:
activity-individual
Line item is available for coding.
activity-2
Line item coding is completed and not available for editing, though line item can
be edited in Excel.
<blank>
Line item coding is not relevant for the coder based on cost center.
Users can copy the line items with CUSTOM_FIELD9 value activity-individual for
coding as these line items are editable.
OpenText advises against copying the line items with CUSTOM_FIELD9 value
activity-2 for coding because the line item coding is completed and manipulating
these line items gives different results.
The Cod flag check box in the app and the technical field name CUSTOM_FIELD9 in
the Excel file represent whether coding is completed for the line item or not. In the
example, the CUSTOM_FIELD9 value is activity-individual, which indicates that
all line items are editable and the user can copy / delete / modify the existing line
item columns.
The amount should be split across COSTCENTER 17101101. The user needs to be
careful because modifying the cell field values directly applies the excel cell
value formatting options.
If the cell value is modified with a different format, apply the proper cell value
formatting of the other line item.
If the cell values format is not in proper format after coding, there is no Excel
validation in the Enter Cost Assignment Advanced app. The user must handle
business exceptions with invalid data.
When the coding is completed, save the file as *.csv format and keep the file
ready to upload using the upload feature on the Invoice detail page in the app.
Make sure the entries in the csv file are separated by semicolons. To check this,
open the file in a text editor. If separators are commas, change the setting in the
Control Panel > Change date, time or number formats > Additional settings >
Numbers tab > List separator: comma to semicolon.
14.7.2.2 Coding with editable line items and line items whose coding is
completed
As an example, the following line items are downloaded to an Excel file:
After this coding has been downloaded, the Excel file looks like the following:
For line item 1 and line item 2, CUSTOM_FIELD9 has values activity-individual
and activity-2.
• activity-individual indicates that the line item is available for coding and
users can copy the line item.
• activity-2 indicates that the line item coding is completed and not available for
coding though the line item is editable.
In the example , for line item 1, the ITEMAMOUNT field needs to be split equally.
Copy the Excel row 3 and paste it after row 4. Row 4 is created. Now change the
ITEMAMOUNT field for row 3 and row 4 equally, as shown in the following screenshot:
When the coding is completed, save the file as *.csv format and keep the file ready
to upload using the upload feature on the Invoice detail page in the app.
Note: Make sure the entries in the csv file are separated by semicolons. To
check this, open the file in a text editor. If separators are commas, change the
setting in the Control Panel > Change date, time or number formats >
Additional settings > Numbers tab > List separator: comma to semicolon.
To upload the *.csv file, click Upload Coding . The updated coding in Excel
replaces the coding in the Line Item section of Invoice Details in the Enter Cost
Assignment Advanced App.
When upload coding is saved, the existing line item data is overridden with the
invoice line item data of the Excel file.
To save the uploaded coding data, click Save before proceeding with the confirm
action. Otherwise, data is lost, and the previous coding data is processed on further
actions.
Notes
• Starting with VIM 7.5 SP10, the upload coding feature is by default
enabled and its default settings are delivered within the baseline of the
Enter Cost Assignment Advanced app. To disable this feature, the
UPLOADCODING action ID entry must be removed.
Action ID
Provide the ID for the action: UPLOADCODING.
Action order
Define the order of actions. The action with the lowest number is displayed
on the left.
Action type
In the list, click the Save & Action Dialog option.
Perspective ID
Enter the perspective ID: PS37_UPLOAD_DLG.
Link parameter
N/A
Web Icon
Enter the icon that is displayed on the action button: upload.
UI 5 button type
Select the style of the button from the list: Default type (no special
styling).
Perspective view ID
Enter this parameter to set the location of the action: PF31_DEFAULT_ITEM_
TOP_ACTIONS
Action text
Enter the text that is displayed on the button: Upload coding
Tooltip
Enter the tooltip that is shown for the button: Upload coding
Bulk action
N/A
Transport type
N/A
• Before download coding, the Save action must be performed to update the
Cod Flg check box values, after copy or split operations have been
performed on the coding data in the Enter Cost Assignment Advanced app.
• The Cost Center field manipulation in Excel must be done after the format of
the cells has been changed to Text. Otherwise the data is treated as date
format and 2-2100 is converted to Feb-00. The coding agent must take care
of data input formats before uploading the coding.
• After the coding upload, the Save action must be performed, before
performing any actions in the Enter Cost Assignment Advanced app.
• If the Line Items data is corrupted with invalid data after coding upload, run
the /OTX/PS37_DROP_ALL_DRAFTS report to delete the drafts and to restore
the original data.
CUSTOM_FIELD9 contains values, either false or true, with the following meaning:
false
Line item is available for coding.
true
Line item coding is completed and not available for editing, though line item can
be edited in Excel.
Note: For this customization, follow the steps described in “To customize item
fields:“ on page 537
Field Name
Enter the custom field name: CUSTOM_FIELD9.
Filter Mode
In the list, click No filter option.
Position
Define the sequence of the columns.
Description
Enter a meaningful description of the column: Cod Flg
Editable
To make the field read-only, clear this check box.
Required
To make the field required, select this check box.
Action ID
N/A
Column Type
Click the column type to define the display behavior of the columns: Default
Display Type
In the list, click Display as checkbox.
Width
Enter the width of the column in em.
Copy Value
To specify that the value of the column is transferred to a new row at copy
action, select this check box.
Update on change
N/A
Search help Id
N/A
User Help Field
N/A
Help variant
N/A
Notes
• Starting with VIM 7.5 SP10, the Cod Flg check box (CUSTOM_FIELD9 item
field) is by default mandatory and non-editable for the upload coding
feature. Its respective configurations are delivered within the baseline of the
Enter Cost Assignment Advanced app. OpenText advises against changing
default settings.
• If the coding agent wants to code only using the app without the upload
coding feature, remove the field from the customization.
The Approve Invoices app is based on the processes and handling described in
“Invoice Approval“ on page 387.
Starting with VIM 7.6 and 20.4, the Approve Invoices app UI is updated with new
Foundation component features.
2. On the Nodes Overview screen, change the Perspective ID for an item to PS03_
VIM_APPR_03 for Node ID PS03_VIM_APR_INV.
You can change the initial sort order of the invoices that appear on the inbox list.
Default value is set to invoice due date in ascending sort order. If you want to
change the initial sort order, perform the following steps.
3. In the Order by screen, remove the existing entry and add another entry (or
entries) with a different priority, using the following parameters:
Priority
Enter the priority of the initial sort order, starting with 1 (highest priority).
Table Name
Optional: Enter name of the invoice structure.
Field Name
Enter the field name that should be used for initial sort order. The field
must be part of the display structure that has been customized in work
object type PS03_PRC_VIM_APR.
Asc./Desc.
Select Ascending or Descending sort order.
For more information, see Section 8.3.1.2 “Defining the order” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
You can sort inbox items also within the Approve Invoices app. If a user selects a
field from the sorting list, a new sort will be performed. The selected field entry is
added to the fields that have been customized for initial sort order. In this case, the
newly added field is set to the highest sorting priority.
If a Default sort is triggered, a sorting on the initial order entries will be performed.
If the sort direction Ascending or Descending differs from the customized entry, the
sort direction of the field entry with the highest priority gets overwritten by the
chosen sort direction.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Important
If you have not installed Web Viewer or Brava! View, OpenText recommends,
as a general advice, that you create PDF files from scanning and use the PDF
viewer that is installed on your computer for displaying invoice images.
For more information, see Section 9.4.1 “Configuring basic settings” in OpenText
Vendor Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD).
You can start the application process on a specific target system when using one
central system for document registration.
As a prerequisite, the central system running the Foundation component must have
at least one entry customized as logical system (default entry is set to LOCAL).
Multiple-system With special regard to this setup, you can also enable the Approve Invoices app for
access multiple-system access.
All VIM systems that you want to enable for multiple-system access must have a
valid logical systems entry customized on the central system running the
Foundation component.
Also a valid ABAP connection must be set up using trusted RFC. You must add new
entries having logical system and RFC destination to the logical systems table within
the general customizing of the Foundation component.
Notes
• All VIM systems that will be enabled for multiple-system access must have
at least installed VIM 7.0 SP9 or VIM 7.5 SP5 in combination with the
appropriate Support Packages of Business Center (now known as VIM
Foundation) components. For more information, see Section 13.1.2 “VIM
component compatibility and support package information” in OpenText
Vendor Invoice Management for SAP Solutions - Installation Guide (VIME-IGD).
• The customizing of the fields that are displayed in the Inbox and Header
section are taken from the first valid system entry which is maintained in the
logical systems list.
All fields that can be displayed in the Approve Invoices app can be customized
within VIM customizing tables and views. Default settings are delivered within the
baseline of the Approve Invoices app and can be changed as described in “Invoice
Approval“ on page 387. The Approve Invoices app is using the settings stored with
device name “Fiori Approval Desktop” for customizing of Desktop, and “Fiori
Approval Tablet” for customizing of Tablet, and “Fiori Approval Smartphone” for
customizing of Smartphone devices.
For more information, see “Configuring invoice list fields” on page 435.
The following fields are initially set on inbox list items and cannot be changed by
customizing:
• INVOICE_AMT
• CURRENCY
• INV_STATUS
The first entry within the sequence sort order will be shown as highlighted title field
in each list item. The title field cannot be one of the fields mentioned above.
Other fields will be shown underneath the title field. These fields cannot be one of
the fields mentioned above. A maximum of two other fields are supported to be
shown together with the title field, depending on the sort order of the sequence
settings. All fields in the inbox list are shown without any leading description text
by default.
• Header fields
• Header detail fields
• Item fields
3. In the Dialog Structure, navigate to Attribute List View > Attribute View
Settings > Attributes.
Note: For more information, see Section 9.7.1 “Configuring the attribute
list view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Field Name
Provide the field name.
Position
Enter the position number to define the sequence of the attributes.
Display Type
Configure the way the attribute is displayed. The following values are
available:
Value description
Select this check box to display a description behind the value field.
Link type
Define the type of the link for semantic object navigation. Possible values:
• No link
• Semantic object navigation
Link parameter
This field contains the JSON with the link parameters for semantic
navigation.
Description
Enter a meaningful description of the attribute.
3. In the Dialog Structure, navigate to Table View > Header View > Columns.
Note: For more information, see Section 9.7.2 “Configuring the table
view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Field Name
Provide field name.
Filter Mode
In the list, click No filter option.
Position
Define the sequence of the columns.
Description
Enter a meaningful description of the column.
Editable
To allow the field to be edited, select this check box.
Required
To make the field required, select this check box.
Action ID
N/A
Column type
Click the column type to define the display behavior of the columns.
Display Type
Click Standard field (default) or the preferred option.
Width
Enter the width of the column in em.
Copy Value
To specify that the value of the column is transferred to a new row at copy
action, select this check box.
3. In the Dialog Structure, navigate to Perspective > Table View > Header View.
Notes
By default, bulk processing is activated for the Approve Invoices app and is
available for the Approval action only. If bulk processing is set to active, a specific
button is available in the inbox header. When a user clicks the button, the view
switches to bulk processing. The user can then mark all invoices for bulk processing,
except invoices with status Inquiry.
3. Select the Bulk actions active check box at the bottom of the screen.
Note: If the setting is activated, invoices that are already sent for inquiry
are shown in the Inbox with status Pending.
You can activate special node handling by setting the Exit for node entry in the
customizing of the Node ID. This is part of the PS03_PRC_VIM_APR work object type.
Field validation
To be shown on the UI, fields must be part of the header display structure
that has been customized in the PS03_PRC_VIM_APR work object type.
Field description
The description text of the fields that are shown on the UI are taken from
the customized list of VIM Invoice Approval fields. If the specific field is
part of the Invoice Header field configuration, the text is taken from the
table parameter Long Field Label. If no customizing exists for the specific
field entry, the component field name of the display structure is set by
default. For more information, see “Configuring invoice list fields”
on page 435.
It is also possible to launch the Approve Invoices app directly. To do this, browse
the following relative URL:
/sap/bc/ui5_ui5/otbcwui/pf07_bc_ui_03/index.html?nodeId=PS03_VIM_APR_
INV&wobjType=PS03_PRC_VIM_APR&workplaceId=WP_INBOX&system=<SID>
For more information, see Section 10.1.1 “Integrating Fiori Task App into Fiori
Launchpad” in OpenText Vendor Invoice Management for SAP Solutions - Configuration
Guide for Foundation (BOCPE-CGD).
The Approve Invoices (bulk mode) app is based on the processes and handling
described in “Invoice Approval“ on page 387.
For more information, see “Incoming document processing“ on page 115 and “Apps
based on the Fiori Task App“ on page 483.
You can change the initial sort order of the invoices that appear on the inbox list.
Default value is set to invoice due date in ascending sort order. If you want to
change the initial sort order, perform the following steps.
3. In the Order by screen, remove the existing entry and add another entry (or
entries) with a different priority, using the following parameters:
Priority
Enter the priority of the initial sort order, starting with 1 (highest priority).
Table Name
Optional: Enter name of the invoice structure.
Field Name
Enter the field name that should be used for initial sort order. The field
must be part of the display structure that has been customized in work
object type PS03_VIM_BULKAPR.
Asc./Desc.
Select Ascending or Descending sort order.
For more information, see Section 8.3.1.2 “Defining the order” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
You can sort inbox items also within the Approve Invoices (bulk mode) app. If a
user selects a field from the sorting list, a new sort will be performed. The selected
field entry is added to the fields that have been customized for initial sort order. In
this case, the newly added field is set to the highest sorting priority.
If a Default sort is triggered, a sorting on the initial order entries will be performed.
If the sort direction Ascending or Descending differs from the customized entry, the
sort direction of the field entry with the highest priority gets overwritten by the
chosen sort direction.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Important
If you have not installed Web Viewer or Brava! View, OpenText recommends,
as a general advice, that you create PDF files from scanning and use the PDF
viewer that is installed on your computer for displaying invoice images.
For more information, see Section 9.4.1 “Configuring basic settings” in OpenText
Vendor Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD).
You can start the application process on a specific target system when using one
central system for document registration.
As a prerequisite, the central system running the Foundation component must have
at least one entry customized as logical system (default entry is set to LOCAL).
Multiple-system With special regard to this setup, you can also enable the Approve Invoices (bulk
access mode) app for multiple-system access.
All VIM systems that you want to enable for multiple-system access must have a
valid logical systems entry customized on the central system running the
Foundation component.
Also a valid ABAP connection must be set up using trusted RFC. You must add new
entries having logical system and RFC destination to the logical systems table within
the general customizing of the Foundation component.
Notes
• All VIM systems that will be enabled for multiple-system access must have
at least installed VIM 7.0 SP9 or VIM 7.5 SP5 in combination with the
appropriate support packages of Business Center (now known as VIM
Foundation) components. For more information, see Section 13.1.1 “Selecting
and downloading the required components for different scenarios” in
OpenText Vendor Invoice Management for SAP Solutions - Installation Guide
(VIME-IGD).
• The customizing of the fields that are displayed in the Inbox and Header
section are taken from the first valid system entry which is maintained in the
logical systems list.
All fields that can be displayed in the Approve Invoices (bulk mode) app can be
customized within VIM customizing tables and views. Default settings are delivered
within the baseline of the Approve Invoices (bulk mode) app and can be changed as
described in “Invoice Approval“ on page 387. The Approve Invoices (bulk mode)
app is using the settings stored with device name “Fiori Approval Desktop” for
customizing of Desktop.
Note: If you have problems while loading the Inbox, and the Device type
is Hybrid Devices or other device types, OpenText recommends that you
select All Devices.
Field Name
Enter the field name.
Position
Specify the position of the field.
Width
Specify the width for the display.
Type
Specify the display type of the field.
• Header fields
• Header detail fields
• Item fields
Note: For more information, see Section 9.7.1 “Configuring the attribute
list view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Field Name
Provide the field name.
Position
Enter the position number to define the sequence of the attributes.
Display Type
Configure the way the attribute is displayed. The following values are
available:
Value description
Select this check box to display a description behind the value field.
Link type
Define the type of the link for semantic object navigation. Possible values:
• No link
• Semantic object navigation
Link parameter
This field contains the JSON with the link parameters for semantic
navigation.
Description
Enter a meaningful description of the attribute.
2. Mark the Workobject type PS03_VIM_BULKAPR and mark the Perspective view
ID PS03_INVOICE_BULKAPPROVALS_ALR_FLEX.
3. In the Dialog Structure, navigate to Table View > Header View > Columns.
Note: For more information, see Section 9.7.2 “Configuring the table
view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Field Name
Provide field name.
Filter Mode
In the list, click No filter option.
Position
Define the sequence of the columns.
Description
Enter a meaningful description of the column.
Editable
To allow the field to be edited, select this check box.
Required
To make the field required, select this check box.
Action ID
N/A
Column type
Click the column type to define the display behavior of the columns.
Display Type
Click Standard field (default) or the preferred option.
Width
Enter the width of the column in em.
Copy Value
To specify that the value of the column is transferred to a new row at copy
action, select this check box.
3. In the Dialog Structure, navigate to Perspective > Table View > Header View.
Notes
By default, bulk processing is activated for the Approve Invoices app and is
available for the Approval action only. If bulk processing is set to active, a specific
button is available in the inbox header. When a user clicks the button, the view
switches to bulk processing. The user can then mark all invoices for bulk processing,
except invoices with status Inquiry.
4. To display all inquired invoices with wait for feedback in the user’s Inbox, select
the Show Pending check box.
To avoid displaying invoices that are waiting in the Inbox, clear the Show
Pending check box.
Note: If the setting is activated, invoices that are already sent for inquiry
are shown in the Inbox with status Pending.
You can activate special node handling by setting the Exit for node entry in the
customizing of the Node ID. This is part of the PS03_VIM_BULKAPR work object type.
2. To apply some enhanced logic on the sort, search, and filter functionality, set
the Exit for node entry to default (handler class name /OTX/PS03_CL_VIM_WEB_
NODE).
Field validation
To be shown on the UI, fields must be part of the header display structure
that has been customized in the PS03_VIM_BULKAPR work object type.
Field description
The description text of the fields that are shown on the UI are taken from
the customized list of VIM Invoice Approval fields. If the specific field is
part of the Invoice Header field configuration, the text is taken from the
table parameter Long Field Label. If no customizing exists for the specific
field entry, the component field name of the display structure is set by
default. For more information, see “Configuring invoice list fields”
on page 435.
It is also possible to launch the Approve Invoices (bulk mode) app directly. To do
this, browse the following relative URL:
/sap/bc/ui5_ui5/otbcwui/pf07_bc_ui_03/index.html?nodeId=PS03_VIM_
BULKAPR_INV&wobjType=PS03_VIM_BULKAPR&workplaceId=WP_INBOX&letterBox=
false&appMode=FS&system=<SID>
For more information, see Section 10.1.1 “Integrating Fiori Task App into Fiori
Launchpad” in OpenText Vendor Invoice Management for SAP Solutions - Configuration
Guide for Foundation (BOCPE-CGD).
You can change the initial sort order of the invoices that appear on the result list. By
default, the list is sorted descending by document date. If you want to change the
initial sort order, perform the following steps.
3. In the Order by screen, add a new entry and enter the following parameters:
Priority
Enter the priority of the initial sort order, starting with 1 (highest priority).
Table Name
Optional: Enter name of the invoice structure.
Field Name
Enter the field name that should be used for initial sort order. The field
must be part of the display structure /OTX/PS03_S_VIM_MY_HEAD_DIS.
Asc. /Desc.
Select Ascending or Descending sort order.
For more information, see Section 8.3.1.2 “Defining the order” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
You can sort the result list also within the My Approved Invoices app. When a user
selects a field from the sorting list, a new sort is performed. The selected field entry
is added to the fields that have been customized for initial sort order. In this case, the
newly added field is set to the highest sorting priority.
Important
If you have not installed Web Viewer or Brava! View, OpenText recommends,
as a general advice, that you create PDF files from scanning and use the PDF
viewer that is installed on your computer for displaying invoice images.
For more information, see Section 9.4.1 “Configuring basic settings” in OpenText
Vendor Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD).
Default settings for displayed fields are delivered with a BC set. If you change the
default settings, consider that these changes will be overwritten if you activate the
relevant BC set after a manual change.
Field Name
Enter the field name.
Position
Specify the position of the field.
Width
Specify the width for the display.
Type
Specify the display type of the field.
For details regarding full screen list customizations, see Section 9.6.2.4
“Customizing a full screen list” in OpenText Vendor Invoice Management for SAP
Solutions - Configuration Guide for Foundation (BOCPE-CGD).
3. In the Search fields Overview, Sort fields Overview, or Filter fields Overview
screen, enter the respective fields that you want to use for a text search, for
sorting, or for filtering in Field Name. Use the following fields:
Position
Define the order of the values, in which they are sorted and displayed.
Search
The Object ID field is always added as the last field.
Sort
The Default field is always displayed as the first field.
Filter
Select the No multi (No multi-select) check box to limit the filter selection to
one value.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting,
and filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions
- Configuration Guide for Foundation (BOCPE-CGD).
• Header fields
3. Navigate to Attribute List View > Attribute View Settings > Attributes
Notes
Field Name
Provide the field name.
Position
Enter the position number to define the sequence of the attributes.
Display Type
Configure the way the attribute is displayed. The following values are
available:
Value description
Select this check box to display a description behind the value field.
Update on change
Select this check box to configure that any value changes get updated.
Editable
Select this check box to allow the field to be edited.
Required
Select this check box to make the field required.
Search Help ID
Provide the Search Help ID, the unique ID of the search help that
corresponds with the field.
Help variant
If the Search Help ID is provided, select F4 help with input field from the
list.
Used Help Field
Define the field in the help structure whose value should be written to the
attribute view field. You only need to specify this if the field name in the
help structure is not equal to the field name in the attribute view.
Link type
Define the type of the link for semantic object navigation. Possible values:
• No link
• Semantic object navigation
Link parameter
This field contains the JSON with the link parameters for semantic
navigation.
Description
Enter a meaningful description of the attribute.
Notes
Field Name
Provide field name.
Filter Mode
In the list, click the No filter option.
Position
Define the sequence of the columns.
Description
Enter a meaningful description of the column.
Editable
To allow the field to be edited, select this check box.
Required
To make the field required, select this check box.
Action ID
N/A
Column type
Click the column type to define the display behavior of the columns.
Display Type
Click Standard field (default) or the preferred option.
Width
Enter the width of the column in em.
Copy Value
To specify that the value of the column is transferred to a new row at copy
action, select this check box.
Update on change
To configure that any value changes get updated, select this check box.
Search help Id
Provide the Search Help ID, the unique ID of the search help that
corresponds with the column.
Used Help Field
Define the field in the help structure whose value should be written to the
attribute view field. You only need to specify this if the field name in the
help structure is not equal to the field name in the attribute view.
Help variant
If the Search Help ID is provided, click the F4 help with input field in the
list.
Notes
• Selecting Paging is Active provides a fixed set 20, 50, 100 widget within the
line items section, used as maximum number of line items visible on that
page.
• If the number of line items is more than the selected size of 20 or 50 or 100,
pagination numbers will be visible, useful to navigate between all available
line items.
• If the number of line items is more than 20, you must enable pagination.
Notes
• For more information, see Section 9.7.2 “Configuring the table view” in
OpenText Vendor Invoice Management for SAP Solutions - Configuration
Guide for Foundation (BOCPE-CGD).
• In the current version, the fields provided in the baseline are supported.
• If the number of process history items is more than 20, you must enable
pagination: For more information, see “To enable pagination for line
items:“ on page 584. Provide the Perspective view ID PS03_MYHISTORY_
ADV_LINE_ITEMS.
This section describes the customizing of the Vendor Invoices Report app.
You can change the initial sort order of the invoices that appear on the inbox list. The
default value is set to Due date in Descending sort order. If you want to change the
initial sort order, perform the following steps.
3. In the Order by screen, remove the existing entry and add another entry (or
entries) with a different priority, using the following parameters:
Priority
Enter the priority of the initial sort order, starting with 1 (highest priority).
Table Name
Optional: Enter name of the invoice structure.
Field Name
Enter the field name that should be used for initial sort order. The field
must be part of the display structure that has been customized in work
object type PS311_VIM_VANREP.
Asc. /Desc.
Select Ascending or Descending sort order.
For more information, see Section 8.3.1.2 “Defining the order” in OpenText Vendor
Invoice Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
You can sort inbox items also within the Vendor Invoices Report app. If a user
selects a field from the sorting list, a new sort is performed. The selected field entry
is added to the fields that have been customized for initial sort order. In this case, the
newly added field is set to the highest sorting priority.
If a Default sort is triggered, a sorting on the initial order entries will be performed.
If the sort direction Ascending or Descending differs from the customized entry, the
sort direction of the field entry with the highest priority gets overwritten by the
chosen sort direction.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
All fields that can be displayed in the Vendor Invoices Report app can be
customized within VIM customizing tables and views. Default settings are delivered
within the baseline of the Vendor Invoices Report app. The Vendor Invoices Report
app is using the settings stored with the device name Fiori Approval Desktop for
customizing of the desktop.
Note: If you have problems while loading the Inbox, and the Device type
is Hybrid Devices or other device types, OpenText recommends that you
select All Devices.
Field Name
Enter the field name.
Position
Specify the position of the field.
Width
Specify the width for the display.
Type
Specify the display type of the field.
3. Perform the required changes in the Dialog Structure for Search fields, Sort
fields, and Filter fields:
Position
Define the order of the values, in which they are sorted and displayed.
Search
The Object ID field is always added as the last field.
Sort
The Default field is always displayed as the first field.
Filter
Check the No multi (No multi-select) check box to limit the filter selection
to one value.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting,
and filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions
- Configuration Guide for Foundation (BOCPE-CGD).
• Header fields
• Header detail fields
• Line item fields
• Process History fields
• Approval History fields
Note: For more information about this customization, see Section 9.7.1
“Configuring the attribute list view” in OpenText Vendor Invoice
Management for SAP Solutions - Configuration Guide for Foundation (BOCPE-
CGD).
Field Name
Provide the field name.
Position
Enter the position number to define the sequence of the attributes.
Display Type
Configure the way the attribute is displayed. The following values are
available:
Value description
Select this check box to display a description behind the value field.
Update on change
Select this check box to configure that any value changes get updated.
Editable
Select this check box to allow the field to be edited.
Required
Select this check box to make the field required.
Search Help ID
Provide the Search Help ID, the unique ID of the search help that
corresponds with the field.
Help variant
If the Search Help ID is provided, select F4 help with input field from
the list.
Used Help Field
Define the field in the help structure whose value should be written to the
attribute view field. You only need to specify this if the field name in the
help structure is not equal to the field name in the attribute view.
Link type
Define the type of the link for semantic object navigation. Possible values:
• No link
• Semantic object navigation
Link parameter
This field contains the JSON with the link parameters for semantic
navigation.
Description
Enter a meaningful description of the attribute.
Note: For more information, see Section 9.7.2 “Configuring the table
view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Field Name
Provide field name.
Filter Mode
In the list, click No filter option.
Position
Define the sequence of the columns.
Description
Enter a meaningful description of the column.
Editable
To allow the field to be edited, select this check box.
Required
To make the field required, select this check box.
Action ID
N/A
Column type
Click the column type to define the display behavior of the columns.
Display Type
Click Standard field (default) or the preferred option.
Width
Enter the width of the column in em.
Copy Value
To specify that the value of the column is transferred to a new row at copy
action, select this check box.
Update on change
To configure that any value changes get updated, select this check box.
Search help Id
Provide the Search Help ID, the unique ID of the search help that
corresponds with the column.
Used Help Field
Define the field in the help structure whose value should be written to the
attribute view field. You only need to specify this if the field name in the
help structure is not equal to the field name in the attribute view.
Help variant
If the Search Help ID is provided, click F4 help with input field in the
list.
Notes
4. Add another entry (or entries) using the parameters, as given in “To customize
item fields:“ on page 590
Note: For more information, see Section 9.7.2 “Configuring the table
view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Notes
4. Add another entry (or entries) using the parameters, as given in “To customize
item fields:“ on page 590
Note: For more information, see Section 9.7.2 “Configuring the table
view” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Notes
Important
If you have not installed Web Viewer or Brava! View, OpenText recommends,
as a general advice, that you create PDF files from scanning and use the PDF
viewer that is installed on your computer for displaying invoice images.
For more information, see Section 9.4.1 “Configuring basic settings” in OpenText
Vendor Invoice Management for SAP Solutions - Configuration Guide for Foundation
(BOCPE-CGD).
You can start the application process on a specific target system when using one
central system for document registration.
As a prerequisite, the central system running the Foundation component must have
at least one entry customized as logical system (default entry is set to LOCAL).
Multiple-system With special regard to this setup, you can also enable the Vendor Invoices Report
access app for multiple-system access.
All VIM systems that you want to enable for multiple-system access must have a
valid logical systems entry customized on the central system running the
Foundation component.
Also a valid ABAP connection must be set up using trusted RFC. You must add new
entries having logical system and RFC destination to the logical systems table within
the general customizing of the Foundation component.
Notes
• All VIM systems that will be enabled for multiple-system access must have
at least installed VIM 7.0 SP9 or VIM 7.5 SP5 in combination with the
appropriate support packages of Business Center (now known as VIM
Foundation) components. For more information, see Section 13.1.1 “Selecting
and downloading the required components for different scenarios” in
OpenText Vendor Invoice Management for SAP Solutions - Installation Guide
(VIME-IGD).
• The customizing of the fields that are displayed in the Inbox and Header
section are taken from the first valid system entry which is maintained in the
logical systems list.
You can also launch the Vendor Invoices Report app directly. To do this, browse the
following relative URL:
/sap/bc/ui5_ui5/otbcwui/pf07_bc_ui_03/index.html?nodeId=PS311_PRC_
VIM_VANREP&wobjType=PS311_VIM_VANREP&workplaceId=WP_INBOX&letterBox=
false&appMode=FS&system=<SID>
For more information, see Section 10.1.1 “Integrating Fiori Task App into Fiori
Launchpad” in OpenText Vendor Invoice Management for SAP Solutions - Configuration
Guide for Foundation (BOCPE-CGD).
14.11.5.1 Navigating from other SAP apps with given PO number into the
Vendor Invoices Report app
To access a PO of SAP apps using the Vendor Invoices Report app, configure an
additional filter Purchasing Document Number. To configure the filter, refer the
steps from “Customizing sort, filter, and search fields” on page 587 and add the
EBELN field as shown in the following screenshot:
The value of the Purchasing Document number can be passed as a parameter in the
following URL to see a list of invoices in the Vendor Invoices Report app:
/sap/bc/ui5_ui5/otbcwui/pf07_bc_ui_03/index.html?nodeId=PS311_PRC_
VIM_VANREP&wobjType=PS311_VIM_VANREP&workplaceId=WP_INBOX&letterBox=
false&appMode=FS&system=<SID>&filter=EBELN%20eq%20<PDN>
14.12 Troubleshooting
This section covers possible problems with VIM Fiori apps and their solution.
Solution Apply SAP Note 2319491 - “How to clean up the cache after applying changes that
affect SAP Fiori apps”.
What steps can be configured to get the VIM Fiori apps running faster?
With the performance changes introduced in VIM 7.6 SPS1 / VIM 20.4 SPS1, the
Fiori apps loading time has been improved. No specific configuration is
required.
Where to check the configuration if the invoice image is not displayed?
If the invoice image is not displayed, check the browser console logs for any
specific errors displayed.
Possible error could be that the image URL is displayed with http whereas the
Fiori URL is running on https. You need to check the archive server settings to
enable https for the image URL. You can make use of OpenText Imaging Web
Viewer running on https or use proxy server to render the URL in https.
How long does it take to install and configure one of the VIM Fiori apps?
It is like every other SAP AddOn: Install it, activate the BC sets, and activate the
services as described in OpenText Vendor Invoice Management for SAP Solutions -
Installation Guide (VIME-IGD). For more information, see OpenText Vendor Invoice
Management for SAP Solutions - Installation Guide (VIME-IGD).
Are there any specific steps required for the installation?
Check the latest version of the Installation Guide. There is a step by step
description for the AddOn installation in Section 10.1.3 “Installation steps” in
OpenText Vendor Invoice Management for SAP Solutions - Installation Guide (VIME-
IGD), a description how to activate the services in Section 10 “Installing” in
OpenText Vendor Invoice Management for SAP Solutions - Installation Guide (VIME-
IGD), and a description about the deployment options in Section 11.4 “Setup
Fiori” in OpenText Vendor Invoice Management for SAP Solutions - Installation Guide
(VIME-IGD).
Notes
• For details about SAP GUI for HTML, see the SAP documentation.
• SAP GUI for HTML has some limitations compared to native SAP GUI: For
general limitations of SAP GUI for HTML, see SAP note 314568 - SAP GUI
for HTML functionality / Limitations / Sp. Behaviour: https://
launchpad.support.sap.com/#/notes/314568
Prerequisites The following versions are needed for the SAP GUI for HTML Fiori apps to run:
For SAP ECC, the RFC destination is by default provided as System Alias in the pre-
configured tiles. But the System Alias needs to be updated with an HTTP or HTTPS
destination.
Note: To create the HTTP destination, the trust connection needs to be built for
the Gateway and Front End Systems. A proper SSL certificate must be in place
as well.
2. For HTTP:
For HTTPS, see Step 5 on page 600.
Create a new destination with Connection Type HTTP Connection to ABAP
System in the SAP Front End Server.
4. In the Target Host, provide the host name of the SAP Back End Server and enter
the Service No. 8000 to denote the HTTP connection.
5. For HTTPS:
Create a new destination with Connection Type HTTP Connection to ABAP
System in the SAP Front End Server.
7. In the Target Host, provide the host name of the SAP Back End Server and enter
the Service No. 8443 to denote the HTTPS connection.
Note: The VIM Analytics SAP GUI for HTML Fiori app works fine with the
SAP UI version 1.60 or later.
Compared with the VIM Analytics screen, there are some UI differences in the VIM
Analytics SAP GUI for HTML Fiori app:
You might want to manually create a VIM Analytics SAP GUI for HTML Fiori app
of your own. To do so, perform the following steps:
To manually create a VIM Analytics SAP GUI for HTML Fiori app:
4. Enter the appropriate Application Alias for the application created in Step 3
on page 601.
9. Map the static tile with the semantic object created in Step 5 on page 602, and
then set the action to DISPLAY.
11. In the target mapping, map the semantic object created in Step 5 on page 602,
and then set the action to DISPLAY.
13. For the Application Type, enter SAP Fiori App using LPD_CUST.
15. Login to the front end server, and then create a role. Assign the catalog created
in Step 7 on page 602 to this role.
16. Assign the role to all VIM Analytics SAP GUI for HTML Fiori app users.
2. In the target mapping of the tile, specify the corresponding HTTP alias name:
Note: The VIM Invoice Workplace SAP GUI for HTML Fiori app works fine
with the SAP UI version 1.60 or later.
Compared with the VIM Invoice Workplace screen, there are some UI differences in
the VIM Invoice Workplace SAP GUI for HTML Fiori app:
You might want to manually create a VIM Invoice Workplace SAP GUI for HTML
Fiori app of your own. To do so, perform the following steps:
To manually create a VIM Invoice Workplace SAP GUI for HTML Fiori app:
15. Login to the front end server, and then create a role. Assign the catalog created
in Step 7 on page 603 to this role.
16. Assign the role to all VIM Invoice Workplace SAP GUI for HTML Fiori app
users.
2. In the target mapping of the tile, specify the corresponding HTTP alias name:
The new VIM Analytics (VAN) replaces the “old” VAN, which was in use in VIM
prior to version 7.5.
For documentation of the “old” VAN, see the VIM 7.0 documentation.
Important
The new VAN is not designed and supported for processing in background.
VAN gives users a clear data report on their open and completed invoices as well as
the VIM workflows. VAN also includes DP documents and workflows. VAN allows
you to track the documents routed through SAP workflows by VIM or even without
any VIM process.
Note: If you want to track documents without any VIM process in the new
VAN, you must maintain the constants DOCTYPE_NPO and DOCTYPE_PO, product
code 005, of the WebFlow Constant Table /PTGWFI/Z_CONST.
VAN has been completely reworked for VIM 7.5. Here are some of the new features:
• The new VAN is highly optimized for SAP® HANA database systems to support
queries on mass data very quickly.
• The new VAN is based on a completely redesigned data base schema to ensure
high data quality and improved performance.
• The new VAN comes with a central place of configuration in the VIM
configuration tree. The baseline is delivered with default settings for the new
VIM Analytics.
• With VIM 7.5 SP4 and later, the new VAN is enabled to extract data from
multiple backend systems.
Note: VAN does not read data of work items that are treated with data
archiving.
VAN presents the data report results in the SAP List Viewer (ALV).
You can use VAN to check the current document status, the current agent and
exception reason of a particular invoice. Besides the result list, there are further
views available that provide detail information about a selected invoice:
• Process View
This view displays open and completed VIM processes together with the current
workflow status, the current agent and exception reason of this particular
process.
• Image View
This view displays the scanned, linked images.
• Line Item View
This view displays the invoice line items.
• History View
This view displays the VIM process history.
• Comments View
This view displays the comments that have been added during the VIM process
and during the approval process.
The new VAN supports all kind of database systems. On a SAP system with SAP
NetWeaver Application Server ABAP 7.40 SP05 or higher, you have the choice
between the following types of data selection:
You can start VAN by the /OPT/VIM_VA2 transaction, or following OpenText VIM -
Invoice Solution > SAP menu > Reports > VIM Analytics (New).
For more details to the role-specific transaction codes, see Section 3 “VIM Analytics:
Getting data reports” in OpenText Vendor Invoice Management for SAP Solutions -
Reference Guide for Invoice Solution (VIME-RGD).
Starting with VIM 7.5 SP6 (VIM 7.0 SP10), Net Amount and Tax Code fields are
displayed in the VAN result list.
Net Amount
In the DP indexing screen, the Net Amount field is updated with the following
formula:
Net amount = gross amount – tax amount
For any changes in gross or tax amount, the net amount is recalculated with this
formula and updated in the Net Amount field. After the correct net amount has
been updated in the DP document, the same amount is pulled in the new VAN
for reporting purposes.
Tax Code
The tax code is displayed in the VAN result list. The tax code on output is based
on the following rule:
If the tax code exists in the header, the tax code is considered. Otherwise, the tax
code from the line items is considered. If line items have multiple tax codes, an
asterisk (*) is displayed.
As the administrator, you may also run this report for chosen documents in case of
any data inconsistency in the database tables that the new VAN is working with.
/OPT/VR_ After upgrading from VIM 6.0, the due date fields in /OPT/VIM_1HEAD are filled for
ANALYTICS_ old (pre-upgrade) work items during the normal work process. If you want to
750_UPD_1H
automatically fill these fields during the upgrade process, you can use the migration
report /OPT/VR_ANALYTICS_750_UPD_1H.
These tables are filled consistently during the runtime of the work item.
Initialization mode
When upgrading from a lower VIM version (6.0), the mentioned tables need to
be filled initially for old instances. The new VIM Analytics will not show any
values if the /OPT/VIM_2HEAD table is not filled. You must run this migration
report mode accordingly.
Update mode
As the administrator, run this report mode for chosen document IDs to correct
data in the mentioned tables.
Running in dialog
For more information, see “Using the selection screen” on page 609.
Running in background
Document selection
Document-ID
Mandatory field: enter the Document IDs.
Select Charge
The processing in the report is done by charges. You can maintain the number of
processed documents before committing (COMMIT). In normal cases, leave this
number on the standard setting. For optimization, you can set this parameter
differently.
Update properties
Test run
Select this check box to achieve that the report will not update any values in the
database tables. You can use this mode for runtime measurement before
planning the actual productive run or to check what updates would be done in
detail.
16.1.2.3 Output
The /OPT/VR_ANALYTICS_750_INIT report output differs if Display calculation
results is selected or not.
Display The report shows a protocol about successful or unsuccessful execution. You can
calculation access the protocol in the Job Spool when running in the background.
results not
selected
Display
The report calculates all values within the selection range and displays them in
calculation intervals according to the Select Charge setting. On the main screen, you can
results selected analyze the tables for these intervals by pressing the respective buttons. Click Go to
next interval to start the calculation of the next interval.
Table view The table view shows a list of all values already present in the database and
compares them to the calculated value. The first line is representing the current
value in the database, the second line the calculated value.
You can assign a specific user profile using the /OPT/VVA2_CUST_PROF user
parameter.
Profile
Define the profile with a unique ID.
Customizing Profile Description
Enter a description for the profile.
All UI-related settings are taken into account if you run the new VAN for the first
time or if you decide to reset the UI layout to the general default settings.
4. Configure the general profile settings, using the parameters described in the
following subsections.
Customizing Profile
Predefined customizing profile, for which the settings are valid.
16.2.2.1 Application
Logo Name
Enter the object name of any corporate branding logo image. If you leave the
field empty, no logo image is displayed in the new VAN.
Default value: /OPT/VIM_LLECMLOGOFS
Note: VIM provides the global feature to control whether logo images
should be displayed using the DASHBOARD_NO_LOGO constant, product code
005 of the WebFlow Constant Table /PTGWFI/Z_CONST. If you want to use
this feature, do not change the Logo Name parameter.
Application Class
Enter the application ABAP class that contains the VAN application logic.
Default value: /OPT/CL_V_VA2_APPLICATION
Factory Class
Enter the factory ABAP class that creates the object instances for the new VAN,
for example the object instances for the data providers.
Default value: /OPT/CL_V_VA2_OBJECT_FACTORY
UI Class
Enter the UI controller ABAP class that contains the VAN UI specific logic.
Default value: /OPT/CL_V_VA2_UI_CONTROLLER
Data Class
Enter the data provider ABAP class that contains the VAN data load logic.
Default value: /OPT/CL_V_VA2_DATA_PROVIDER
User Class
Enter the VAN user ABAP class that contains the logic to read and save user-
specific profile settings.
Default value: /OPT/CL_V_VA2_USER
Selection Mode
On a SAP system with SAP NetWeaver AS ABAP 7.40 SP 05 or higher, you can
decide whether you want to run VAN with ABAP CDS views or without. ABAP
CDS views are database independent, with some exceptions if the databases do
not yet cover all the functionalities, for example views with parameters. On SAP
NetWeaver AS ABAP versions lower than 7.40 SP 05, VAN will always run
without ABAP CDS views.
Select Selection Mode Use ABAP CDS Views to specify that the data selection is
using ABAP CDS views.
Select Selection Mode Use no views to specify that the data selection is not
using ABAP CDS views, but using standard DDIC tables and DDIC views
instead.
• On other database systems, start with Use no views and check whether
the runtime is sufficient. If it is not, you can switch to Use ABAP CDS
Views and the other way round seamlessly.
Reuse Buttons
The old VAN provides the feature to add function buttons to the ALV toolbar.
Table /OPT/VIM_FCODE contains all function buttons available in the document
view of the old VAN report.
The new VAN provides the feature to add action buttons to the result list, to the
process view, and to the line item view. Regarding the result list, you can decide
whether you want to reuse all the action buttons already defined for the old
VAN or whether you want to configure the action buttons independent from the
old VAN.
The parameter Reuse Buttons allows to configure whether the action buttons
already defined for the old VAN shall be reused for the result list of the new
VAN.
Select this check box to specify that the custom buttons configured for the old
VAN shall be reused for the new VAN.
Clear this check box to specify that the custom buttons assigned to the VAN
customizing profile shall be used instead of reusing the custom buttons of the
old VAN.
Default value: <cleared>
Classical ALV
In the context of SAP HANA, SAP has provided a new version of the SAP List
Viewer, the SAP List Viewer with Integrated Data Access (IDA ALV). The IDA ALV
introduces some major database feature improvements compared to the classical
ALV.
Example:
• Database paging: The result will be selected from the database in pages - there is no
need to transfer the full result set to the application server any more.
• Operations like aggregation, sorting and filtering in the ALV grid will be pushed
down to the database layer.
The IDA ALV can be used not only on a SAP HANA database system but on all
other database systems as well.
With the Classical ALV check box, you configure which version of the SAP List
Viewer you want to use for the result list.
Select this check box to specify that the classical ALV is used for the result list.
Not yet supported:Clear this check box to specify that the IDA ALV is used for the
result list.
Note: This setting influences the result list only. For all details views, the
classical ALV is used.
Size Ratio %
Enter the size of the result list in percent of the detail pane. If you do not enter a
value, the system automatically uses a standard value of 50%.
Example: A value of 60 means that 60% of the width of the window are reserved for the
result list and 40% of the width are reserved for the detail pane.
Default value: 50
Plug-In Type
Enter a predefined plug-in type to get all mapped plug-in definitions that are
available as buttons in the detail pane toolbar.
Default value: VIM_VA2 - VIM Analytics
Plug-In ID
Enter the plug-in that is initially loaded in the detail pane. If you do not enter a
value, the system automatically uses a standard value of 21 (Display Workflow
Processes).
Default value: 21 - Display Workflow Processes
• The input parameters of the ABAP CDS views: Fields of the VAN selection
screen are assigned to input parameters of the ABAP CDS views, restricting the
data to be selected.
• The output parameters of the ABAP CDS views: Fields of the ABAP CDS views
are assigned to fields of the ABAP table containing the selection result.
Selection Mode
Select Use ABAP CDS Views if the field mapping is relevant for the data
selection with ABAP CDS views.
Not yet supported: Select Use no views if the field mapping is relevant for the
data selection without ABAP CDS views, that means for the selection with
standard DDIC tables and views.
View
Enter the type of view that the field mapping is related to.
Not supported for ABAP CDS views:Line Item View and Process View.
Note: Header View corresponds to the result list.
Select Output Field if you want to define the mapping for an ABAP CDS
view field to a field of the ABAP table containing the selection results. This
means that the selected value is assigned to the respective field in the result
table.
Application Field Name
For an input field, enter the name of the parameter or select-option on the
VAN selection screen. Cut off the first two letters, for example cut of the P_
of parameters and S_ of select-options.
Example: For selection-option S_LIFNR, enter LIFNR.
For an output field, enter the name of the field in the ABAP result table.
This means a field name of structure /OPT/VVA2_CDS_DOC_HDR_ST.
The user selects vendors on the VAN selection screen to get all invoices of these
vendors. The select-option for vendors is S_LIFNR. The ABAP CDS view for the
result list has an input parameter LIFNR_I to limit the selection of document
headers regarding vendors.
The user chooses to display the vendor of an invoice in the result list. The
ABAP CDS view for document headers selects the vendor into the output field
LIFNR_O. The ABAP table containing the selection results is based on the /OPT/
VVA2_CDS_DOC_HDR_ST structure. The LIFNR field of this structure represents
the vendor.
If you want to integrate OpenText™ Extended ECM for SAP® Solutions into VAN as
a custom button that opens a separate window, see the respective Notes in the
following sections.
View
Select the type of view that the button is relevant for.
Note: Header View corresponds to the result list.
Button ID
Enter a unique numeric button ID that defines the action button.
Button Type
Select the button type used to generate the button during runtime. Select
one of the following button types:
Single action
All buttons defined as single actions are generated as separate buttons
in the button toolbar.
Separator
This setting allows you to insert standard SAP separator lines to group
the generated buttons from a visual point of view.
Button Text
Enter the button text, which is displayed as text label for the generated
button during runtime.
Quickinfo
Enter quick info text, which is displayed for the button during runtime.
Icon name
Assign an icon to the generated button or use the button exit to assign the
icon dynamically.
Button Exit
Enter an exit function module that dynamically performs the following
actions:
Note: You can configure whether custom buttons configured for the old VAN
shall be reused for the new VAN (see “Action Buttons” on page 616). If the
custom buttons of the old VAN are reused, the assignment of action buttons
described in this section is ignored during runtime.
Customizing Profile
Predefined customizing profile for which the button assignment settings are
valid.
View
Select the type of view that the action button shall be assigned to.
Button ID
Enter the ID of the button that shall perform a button action.
Button Text
Button text, which is displayed as text label for the generated button during
runtime.
With layout variants, you define the fields to be read in the result list, the process
view and the line item view. By ensuring that your layout variants contain only
those fields that are needed by your users, you can positively influence the runtime
of VAN.
Besides hiding or displaying columns, layout variants allow you to change the
sequence of the displayed columns or to change the sort order.
VAN delivers some preconfigured layout variants for the ALV grid of the result list,
the process view and the line item view to ensure that only a limited set of fields is
selected:
Result List
Process View
list, the process view and the line item view. Of course it is always possible for the
user to define user-specific layout variants.
• Use the standard SAP function Change layout in the ALV grid control.
To open the layout context menu, click the right portion of the Select layout
button .
For detailed information about the layout features, see the SAP Help.
You can start or run VAN on the central system or on any of the satellite system as
defined in the SLD. In VIM 7.5 SP4, the following new reports are introduced for
this:
• Maintain the SLD in all satellite systems, with a logical system entry for each
remaining satellite system besides central and own systems. Assign a proper
RFC for Dialog Comm for all other satellite systems and central system. For
more information, see Section 4.4.1 “Maintaining the SLD” in OpenText Vendor
Invoice Management for SAP Solutions - Scenario Guide for Invoice Solution (VIME-
CCS).
• To use the remote enabled VAN, OpenText recommends trusted RFCs for Dialog
Comm.
• For further information, see Section 4.4 “Working with the System Landscape
Directory (SLD)” in OpenText Vendor Invoice Management for SAP Solutions -
Scenario Guide for Invoice Solution (VIME-CCS).
For a description how to start VAN for single and multiple remote systems, see
Section 3.1 “Starting remote enabled VAN” in OpenText Vendor Invoice Management
for SAP Solutions - Reference Guide for Invoice Solution (VIME-RGD).
Notes
• If you have custom settings for buttons and plugins that the local database
reads, it must be adjusted to read from the selected satellite system (with an
RFC).
Ensure that select-options start with S_ and parameters start with P_.
Example implementation:
Note: Always read the instructions mentioned in the coding of the classes very
carefully before implementing enhancement points.
3. Add a new class attribute similar to the existing attributes starting with MR_ as
implicit enhancement. This new class attribute represents a range table for the
new selection criteria. Use type RSELOPTION or any range type appropriate to
your selection criteria.
Note: Always read the instructions mentioned in the coding of the classes very
carefully before implementing enhancement points.
To enhance the data selection when not using ABAP CDS views:
Note: There are three enhancement points available at different points of time
in the process to filter for custom selection ranges. It may have negative effects
on the runtime when using an inappropriate enhancement point for filtering.
The more restrictive selection criteria is, the more you should use it for filtering
at the beginning of the filter process.
The other way round, if you have to select all VIM documents (technically, all
records of /OPT/VIM_1HEAD) before you can judge whether a document fulfills
the selection criteria or not, you should use the enhancement point at the end
of the filter process.
16.5.1.3 Defining field mapping (only when using ABAP CDS views)
The input of the additional selection field needs to be passed to the appropriate
input parameter of the ABAP CDS views. Define an additional field mapping from
the selection field to the ABAP CDS views field in VIM customizing:
For more details, see “Defining field mapping (only when using ABAP CDS views)”
on page 617.
In addition, the VAN selection screen offers more than 80 selection fields. Not all of
these selection fields may be required for all user groups. To keep the selection
screen as clearly as possible, you can use variant-specific attributes. Variant-specific
attributes enable you to hide individual fields, for example, or to write-protect data.
Furthermore, you can store the selection values defined for a selection option as a
separate selection variable. Changes made to the variable then affect all of the
variants in which it is used.
For detailed information about variants on the selection screen, see the SAP help.
4. Add the customer fields that you want to add into the structure fields and
provide related data elements. The data element will provide the field label, for
example the column heading.
5. Save and activate the append structure and put it into a transport request.
6. By default, the new custom fields are not yet displayed in the result list. To get
the custom fields displayed, launch VIM Analytics and change the layout
variant for the result list. For details, see “Layout variants” on page 623.
1. Repeat the steps in “To add fields to the output structure of the result list:“
on page 629 for structure /OPT/VVA2_OUT_LINE_ITEM_ST.
2. By default, the new custom fields are not yet displayed in the line item view. To
get the custom fields displayed, launch VIM Analytics and change the layout
variant for the line item view. For details, see “Layout variants” on page 623.
1. Repeat the steps in “To add fields to the output structure of the result list:“
on page 629 for structure /OPT/VVA2_OUT_WORK_ITEM_ST.
2. By default the new custom fields are not yet displayed in the process view. To
get the custom fields displayed, launch VIM Analytics and change the layout
variant for the process view. For details, see “Layout variants” on page 623.
How to populate custom fields in the result list depends on whether you use ABAP
CDS views or not. In contrast to this, for the line item view and the process view,
there is no difference how to populate custom fields no matter if ABAP CDS views
are used or not.
Populating or changing field content in the result list with ABAP CDS views –
You may need to read additional fields from the database to populate the field
content in the result list. Depending on the database tables that are concerned, there
are two alternatives how to select these additional fields:
• The ABAP CDS views read data from several database tables already. You want
to read an additional field.
Example: The CDS views select data from database table /OPT/VIM_1HEAD already. You
want to select an additional field from database table /OPT/VIM_1HEAD.
See “To select additional fields by enhancing the ABAP CDS views:“
on page 631
• You need to read data from database tables that are not included in the ABAP
CDS views.
Example: You want to get an additional descriptive text from a text table.
See “To select additional fields by selecting data from additional database tables:
“ on page 632
1. Enhance the appropriate ABAP CDS views by the additional output fields you
need to read.
The data records selected by the ABAP CDS views are read into a local table lt_
result of structure /OPT/VVA2_CDS_DOC_HDR_ST.
3. Pass the additional fields that are read from the ABAP CDS views to the local
table lt_result of structure /OPT/VVA2_CDS_DOC_HDR_ST. In Step 1, you have
added fields to the structure of local table lt_result. Now define the field
mapping between the ABAP CDS view fields and the fields of the result table:
For more details, see “Defining field mapping (only when using ABAP CDS
views)” on page 617.
4. In some cases, it may not be enough to just select one field from the ABAP CDS
views per output field but it may be required to select some more fields from
the ABAP CDS views. In this case, you may need to implement enhancement
point /OPT/EP_VIM_VA2_DATA_PROV_ADDF of enhancement spot /OPT/ES_VIM_
VA2_DATA_PROV_BE_C to add some more fields to be selected.
Repeat Step 1 to Step 3 for these additional fields.
Now you have done everything to get data read from the ABAP CDS views into
the local table lt_result. This local table is used to populate the custom output
fields in the result table rt_out_doc_hdr of structure /OPT/VVA2_OUT_DOC_
HDR_ST in a next step. By default all data records of local table lt_result are
moved to the final result table rt_out_doc_hdr by using the move-
corresponding statement. Sometimes this may not be sufficient and you may
need to implement some custom logic.
To populate or change field content in the result list without ABAP CDS views:
ENDIF.
ENDLOOP.
VIM Analytics allows you to add hot spots to additional fields in the following
output tables: result list, process view, line item view. This includes fields of the
VIM standard as well as custom fields. In a first step, you enable the hot spot for the
field. In a second step, you implement the function behind this hot spot.
Several fields in the result list and in the process view of the VIM Analytics provide
hot spot functionality to jump to detail information related to the field.
VIM Analytics allows you to change the logic behind hot spots for fields in the result
list, the line item view and the process view. You can not only change the program
logic but you can also add program logic to fields for which you have added a new
hot spot (see “Enabling hot spot functionality for fields in output tables”
on page 635).
To add custom logic to a hot spot for a field in the result list:
To add custom logic to a hot spot for a field in the line item view:
To add custom logic to a hot spot for a field in the process view:
• Number of days before the due date for cash discount 1 to set a yellow discount
light.
• Number of days before the due date for cash discount 1 to set a red discount
light.
The settings for the discount light apply for the discount light that is integrated in
the process output list of VIM Invoice Workplace. The settings also apply for the
discount light icon that is integrated in the result list of VAN.
For more details and all the steps needed to specify the discount light settings, see
“Specifying discount light settings” on page 694.
The selection screen comes with more than 80 different selection fields. The selection
criteria that are used in companies most frequently vary very much. So there cannot
be a general recommendation which database indexes would be the best in your
company.
Analyze the most frequent and time critical queries, for example by using the ST05
transaction. Then create extension indexes on /OPT/VIM_1HEAD and further tables
depending on your company’s most common selection requirements.
In Section 3.5 “VIM Analytics and mass data” in OpenText Vendor Invoice Management
for SAP Solutions - Reference Guide for Invoice Solution (VIME-RGD), you find further
recommendations for the end user how to ensure a fast data selection in VIM
Analytics.
Additionally, adjust the layout variants for the result list of VIM Analytics to restrict
the number of output columns to those columns that are needed for the daily
business. For more details, see “Layout variants” on page 623.
Note: If your SAP system is on SAP NetWeaver AS ABAP 7.40 SP05 or higher,
you have the choice to use the new VIM Analytics report with ABAP CDS
Views or without. This configuration of the Selection Mode may have a high
impact on the run time of the new VIM Analytics report. It varies from system
to system which configuration is the best. But based on extensive mass data
For more details about the configuration of the Selection Mode, see “Data
Selection” on page 614.
However, these are general recommendations only. Your system might react
differently from OpenText's test systems. This is why OpenText strongly
recommends that you test the setting for the Selection Mode on your system
and set it accordingly. You can switch the setting whenever needed.
Limitation
During PO proposal, the system does not populate both GL account and cost
center for multiple account assignments. Therefore, they are not reported in the
DP line view of the Current Liability Report. However, for single account
assignment, both GL account and cost center will appear in the DP line view.
To get a meaningful output list of the Current Liability Report, with additional fields
on DP line view and SAP lines view, you can perform the following customization.
5. Redefine the EXTEND_LINE_VIEW method of the newly created subclass with the
logic to read data for additional fields and fill the report using changing
parameter OUTTABLE.
In this method, you can set custom field attributes by field catalog using the
changing parameter FIELDCAT.
6. Finally run the SM30 transaction and add the new entry to the Z constant table /
PTGWFI/Z_CONST with the following values:
17.1 Introduction
Within companies, the processing of invoices varies according to legal or specific
company-based settings. VIM supports flexible processing by defining individual
invoice characteristics.
With respect to invoice processing, there are various business and regulatory rules
that need to be applied. These rules differ from region to region. VIM provides a
flexible infrastructure for implementing these rules. This empowers customers to
fine tune these rules to be in line with their interpretation of legal rules and for
optimizing their business processes.
Tax related
Specific pieces of information relating to Value Added Tax (VAT) and other
taxation rules that need to be followed. SAP ERP implements the various tax
rules in the standard software and has a flexible infrastructure to link with tax
software like Vortex and Taxware. VIM by itself does not duplicate any of these
pieces of functionality. VIM provides a way to implement certain metadata-
based business rules that can be implemented before the invoice data is entered
in to the SAP ERP transactions.
Core infrastructure
Infrastructure that supports the ability to model and realize different business
process flows depending on the characteristic specific rules.
Baseline content
Out-of-box content that includes common implementation of business rules
specific to the various regions. VIM provides a baseline that is based on country
as a characteristic. However, you can customize this if required.
You can use a document type to combine all global settings to process an invoice
within a company. Therefore a document type is a global invoice processing
template. You can configure detailed settings according to specific invoice attributes
within invoice characteristic settings. You can also maintain settings in different
determination procedures, for example approval determination or additional cost
determination.
Obsolete The document types have an attribute to configure a “country code”. The “country
setting code” provides a mechanism for an implementer to configure country-specific
processes. This is obsolete with VIM 7.0 and higher because the country-specific
settings have been replaced by the characteristic-specific settings, which are
specified by the document type determination.
If you still use a fixed country in the document type, and the characteristic is also
configured, the country of the document type is used for the characteristic
processing. Therefore no other characteristic like the country is allowed.
Domestic
Invoices raised by vendors in the same country.
Intra-Community
Invoices raised by vendors in the European Union (EU) to companies in the EU.
Applicable only to EU countries.
Triangulation
Invoices raised by vendors in the EU to companies in the EU for a delivery of
goods or services originating in another EU country. In this case, both the
vendor and the company are in different EU countries. Applicable only to EU
countries.
Import
Invoice raised by vendors outside the company’s country.
Domestic Material
Invoices raised by vendors in India where the Purchase Order is a Material PO.
Applicable only to India.
Domestic Service
Invoices raised by vendors in India where the Purchase Order is a Service PO.
Applicable only to India.
Import Material
Invoices raised by vendors outside India where the Purchase Order is a
Standard PO. Applicable only to India.
Import Service
Invoices raised by vendors outside India where the Purchase Order is a Service
PO. Applicable only to India.
Non VAT
Invoices without VAT amount. Applicable only to China.
VAT Common
Invoices with VAT provided but the VAT amount is not deductible. Applicable
only to China.
VAT Special
Invoices with VAT provided and the VAT amount is deductible. Applicable
only to China.
These global templates cover the basic configuration, and in combination with the
country-specific invoice characteristic enable global companies to process invoices.
The following table lists the document types that are delivered as a part of VIM
baseline version.
Each document type has a defined set of business rules. These business rules
determine the DP Exception to be raised in case of missing or invalid data on the DP
indexing screen.
The DP indexing screen is different for each document type. Based on the document
type, the respective Indexing screen is displayed. The screen configuration for each
document type is a part of the document type configuration.
Besides the global configuration of the document types, the detailed characteristic
configuration provides, in the baseline delivery, settings for all countries. Specific
countries and a global country template are delivered to support all requirements
from the process point of view.
You should copy the baseline document types to “own” document types.
The business rule run can be configured to run different for customer specific
groups. There is no preconfiguration. Some vendors could be grouped as white list
vendors. For this group, the business rules would not all be carried out.
2. Decide which checks (business rules) shall be carried out in which sequence:
Adjust the document processes in the Document Type Definition. For more
information, see “Defining the process type determination sequence”
on page 177.
3. Decide which groups shall be used to have a strict or relaxed business rule run.
For more information, see “Business Rule Framework” on page 232.
Besides the global document type, the invoice characteristic is determined and
defined in the determination engine. Within the baseline, VIM delivers the country
for characteristic. This section describes how to define an own invoice characteristic
and how to use the determination based on the invoice characteristic.
Note: You must only change the settings in this section, if you want to enhance
the baseline implementation by using an own characteristic.
You can change the sequence of the procedures, and you can introduce
additional procedures. Because the procedures are performed in alphabetical
order according to their procedure name, you must insert new procedures in
their correct position. The maintained procedures are checked from top to
bottom, and the first matching document type will be chosen.
5. Characteristic customizing
To maintain the characteristic settings, double-click Characteristics Field.
Field Name
Specify the characteristic field. Each characteristic setting depends on that
field. In the baseline, LAND1 is delivered to replicate countries for all
characteristics. If this value changes, all characteristic settings have to be
checked and changed.
Search Help Name
Enter a search help to simplify the characteristics mapping.
Text table, Short tx fld n (Short text field name)
Enter the field name of the short text in the configured text table. The short
text is used in the characteristics customizing.
Exit FM
Enter a function module to determine the specified characteristic. In the
baseline, the country is read from the delivered company code.
Note: You must only change the settings in this section if you want to enhance
the baseline implementation.
You can use category groups to restrict the number of invoice categories per
characteristic. Category groups are a bundle of different categories.
When defining the business rules for a particular characteristic, you can configure
them by category group. You can define a business rule for all the categories in that
group in one line of configuration.
For a list of invoice categories that are supported for VIM, see “Invoice categories”
on page 645.
Prerequisites
2. Maintain the invoice categories for each invoice category group. One invoice
category can be assigned to multiple category groups.
Prerequisites
2. Map your invoice category groups to the characteristics that are supported in
your system.
1. To configure or to see what is configured for the baseline version for the
characteristic specific settings for document types, run the /N/OPT/SPRO
transaction to access VIM Invoice Configuration and navigate to OpenText
Vendor Invoice Management Invoice Solution > Document Processing
Posting date
This attribute determines the date to be used as the Posting date when
creating a SAP Invoice Document from a DP document. This configuration
will be applicable to all the invoices posted to SAP ERP for the
characteristic.
Select one of the following values:
• Scan Date
• Manual Entry
• Provided Externally
Conversion Date
This attribute determines the date to be used while converting the invoice
amount from foreign currency to company code or local currency.
Select one of the following values:
The following check boxes are indicators for credit memo check:
Trg.sp.G/L ind.
This attribute sets the target special G/L indicator when creating an SAP
Down Payment Request from a DP document. This configuration is only
Note: For a description of possible scenarios for the baseline date, see
“Baseline date determination scenarios” on page 658.
Baseline Date FM
To apply custom logic for the baseline date determination, you can write
your own function module. If you enter a custom function module in this
field, the value for Det. Baseline Date is not considered anymore. However,
you can use the value in the custom function module.
Exit FM
Enter an exit function module to modify the indexing screen fields, for
example /OPT/VIM_SCREEN_EXIT_FM.
Cat. from external
This check box is only relevant for Russia and Brazil, where the invoice
category should not be changed when starting VIM.
Select this check box to indicate that the invoice category comes from a
channel and is not changed when starting VIM.
The Det. Baseline Date is set to Document Date in the customizing. In the indexing
screen, the baseline date is automatically populated as document date. See the
following screenshot.
All other options, such as Manual Entry, Current System Date, SAP Logic and so
on, are overwritten by Document Date.
Note: Manual Entry is not compatible with this option because baseline date
becomes non-editable.
The selected Det. Baseline Date option is overwritten by SAP logic. However, in the
indexing screen, manual entry is allowed to be selected.
SAP logic includes the possibility to set a baseline date according to the payment
terms. If the payment terms are configured to use the Entry date (in the OBB8
transaction), this is interpreted as the document creation date in VIM.
If there are no payment terms maintained in the vendor master for the vendor, then
the baseline date is blank, and the user can select any of the baseline determination
options. See the following screenshot:
Note: In case of auto posting of PO invoices ensure that the payment term is
maintained for the vendor.
When Custom Logic is configured for baseline date determination, the option to
maintain Manual entry for baseline date is available.
When changing to any option other than manual entry, the custom logic is run.
As a part of the baseline version, each document type has a different screen attached
with it. Screen configuration is a part of the document type configuration. Based on
the business requirements for each characteristic, respective header and item screens
are attached to the document type.
The baseline document types contain a standard subset of screen fields. These
settings are specified in more detail for each characteristic. For example, the ISR
field for Switzerland is only specified for baseline characteristic CH.
Globally, you configure fields for one document type. For more information, see
“Configuring the index header” on page 185. For country level, you configure the
fields on characteristic level, as described in detail in “To configure characteristic
specific screen fields:“ on page 661.
The indexing screen displayed is generated at runtime, based on the document type
and characteristic being processed.
1. To configure or to see what is configured for the baseline version for the screen
fields, run the /N/OPT/SPRO transaction to access VIM Invoice Configuration
and navigate to OpenText Vendor Invoice Management Invoice Solution >
Document Processing Configuration > Document Type Configuration >
Characteristic Specific Document Type Configuration.
The screenshot displays the various attributes that can be modified for a screen
field. The configuration also allows you to configure screens per role or per
invoice type.
3. Input
Select this option to show the field as an input field.
Required
Select this option to make the field mandatory at runtime.
Display Only
Select this option to only display the field.
Hide
Select this option to hide the field on the screen.
4. To configure the attributes for the item screen, double-click Index Item
Configuration in the Dialog Structure.
The attributes are the same as for the index header.
2. Configure the process types for the characteristic, using the following
parameters:
Process Type
Process type number.
Description
Description of the process type.
InvoiceTyp
Select the invoice type that is applicable to the process type in this country.
The following values are available:
• All invoices
• PO based invoices
• Non PO based invoices
• Not applicable
Ignore Sim
Select this check box to specify that the process type will be ignored for
Simple Invoices.
Cat. Group
Select the invoice category group to which the process type is applicable.
For information about categories, see “Invoice categories” on page 645.
You can configure a process type that is used globally in document types to be
processed on characteristic base. Therefore, follow the description in “Defining the
process type” on page 265. In the Process Type Definition Details screen, select the
Characteristic Check check box.
17.4 Z constants
For some characteristic-specific configurations, you need to maintain Z constants. To
access Z constants, run the SM30 transaction with the /PTGWFI/Z_CONST table.
AFTCS_PROCESS_TYPES
Usage
This Z constant defines the process types that are relevant for the Anti Forge Tax
Control System (AFTCS) file upload/download program. The /OPT/VR_AFTCS_
FILE program only downloads the data of those invoices that are in process
types defined in this Z constant.
You can maintain multiple process types (as in baseline) with each process type
separated by a comma.
Product code
005
Baseline
141, 241
DETERMINE_INV_CAT
Usage
VIM baseline provides several invoice categories. You can also create your own
invoice categories. However, the system will not determine the custom invoice
category. You must write your own function module to determine the custom
invoice category. You must define this custom function module in this Z
constant.
Product code
005
Baseline implementation
/OPT/VIM_TEMPLATE_DET_INV_CAT
VIM Invoice Workplace is intended as a tool for VIM super users, for example the
AP processor. However, also occasional users can work with it. VIM Invoice
Workplace allows you to display lists of your work items based on criteria that you
have specified. You also can display work items of other users and of your team as a
whole.
The registration tables need to be filled for existing items so the tabs Inbox, Pending
and Closed are filled correctly. Therefore, a migration report is available with VIM
7.5 SP2.
/OPT/CT_PMC_RG00
Contains information about work items in the inbox
/OPT/CT_PMC_RG01
Contains information about work items in the inbox
/OPT/CT_PMC_RG02
Contains information about work items in My Pending
/OPT/CT_PMC_RG03
Contains information about work items in finished items
These tables are filled consistently during the runtime of the work item.
Initialization mode
When upgrading from a lower VIM version (6.0), the mentioned tables need to
be filled initially for old instances. The VIM Invoice Workplace will not show
any work items if these tables are not filled. You must run the migration report
accordingly.
Update mode
As the administrator, run this report mode for chosen document IDs to correct
data in the mentioned tables.
Prerequisite The report is based on data contained in /OPT/VIM_1PROC. This table is initially
filled by the VIM Analytics migration report, which is documented in “Reports for
one-time data upload and for consistency check of documents” on page 607.
Document selection
Document-ID
Mandatory field: enter the Document IDs.
Select Charge
The processing in the report is done by charges. You can maintain the number of
processed documents before committing (COMMIT). In normal cases, leave this
number on the standard setting. For optimization, you can set this parameter
differently.
Update properties
Test Run
Select this check box to achieve that the report will not update any values in the
database tables. You can use this mode for runtime measurement before
planning the actual productive run.
18.1.2.2 Output
The report output differs if Display calculation results is selected or not.
Display The report shows a protocol about successful or unsuccessful execution. You can
calculation access the protocol in the Job Spool when running in the background.
results not
selected
Display
The report calculates all values within the selection range and displays them in
calculation intervals according to the Select Charge setting. On the main screen, you can
results selected analyze the tables for these intervals by pressing the respective buttons. Click Go to
next interval to start the calculation of the next interval.
Table view The table view shows a list of all values already present in the database and
compares them to the calculated value. The first line is representing the current
value in the database, the second line the calculated value.
Note: As long as you do not configure the SLD, an error message is displayed
when starting or refreshing the VIM Invoice Workplace.
You can assign a specific user profile using the /OPT/CPMC_CUST_PROF user
parameter.
To define a profile:
Customizing Profile
Define the profile with a unique ID.
Customizing Profile Description
Enter a description for the profile.
All UI-related settings are taken into account if you run the VIM Invoice Workplace
for the first time or if you decide to reset the UI layout to the general default settings.
The general default profile (DEFAULT) included within the baseline delivery assumes
a minimum screen resolution of 1600 x 900 for all UI-related settings.
3. Configure the general profile settings using the parameters described in the
following sections:
Customizing Profile
Predefined customizing profile for which the settings are valid.
Work View
Select the work view that is initially loaded when starting the VIM Invoice
Workplace. If you do not provide a value, the system automatically starts the
personal work view.
Discount Function
Enter the exit function module to determine the discount light indicator
behavior within the process output list of the VIM Invoice Workplace.
Default value: /OPT/C_PMC_DATA_SET_DISC_LIGHT
Exit template function: /OPT/C_PMC_EXIT_TEMPL_DISCOUNT
Plug-In Type
Enter a predefined plug-in type in order to get all mapped plug-in definitions,
which are available as buttons in the detail pane toolbar.
Plug-In ID
Enter the plug-in that is initially loaded in the detail pane.
As soon as you assign the empty dummy selection pane subscreen 1003 as the
horizontal selection tab subscreen, you only need to maintain the Left field
selection subscreen area values because the screen does not offer any subscreen
area separation.
Field selection subscreens for vertical selection tabs
The Tab<x> Vertical fields allow replacing the vertical field selection subscreens
for each selection tab.
Reset Selection Criteria Function Module
Enter a function module to reset the selection criteria on the currently active
selection pane tab.
Default value: /OPT/C_PMC_SEL_OPTIONS_RESET
Synchronize Selection Criteria Function Module
Enter a function module to synchronize the selection criteria between the
horizontal and vertical selection pane subscreens.
Default value: /OPT/C_PMC_SEL_OPTIONS_SYNC
Lock Selection Screen Function Module
Enter a function module to lock the selection screen input for an active selection
screen tab.
Default value: /OPT/C_PMC_SEL_PANE_LOCK_GET
A
All Systems
Include Substitution
Select this check box to achieve that the output process list also shows work
items for active or adopted substitutions in the personal inbox view, and that the
field Substitution for: contains the original work item receiver.
Note: The output sequence of the list fields delivered by the DEFAULT baseline
customizing profile is used as a standard configuration. Each individual user
can change the configuration using the ALV layout variant functionality.
3. Configure the output list field settings using the following parameters:
Profile
Predefined customizing profile for which the output list field settings are
valid.
Sel. Tab
Selection tab for which the corresponding output list field settings are valid.
Possible values: Inbox, Pending, Completed.
Component name
Field name of the output list field: Select any field that is available in the
output list field reference structure /OPT/CPMC_OUTPUT_PROCESS_ST, using
the input search help.
You can select several standard fields and additionally custom fields and
manual classification:
Custom fields
• CUSTOM_FIELD4
• CUSTOM_FIELD5
• CUSTOM_FIELD6
• CUSTOM_FIELD7
• CUSTOM_FIELD8
• CUSTOM_FIELD9
• CUSTOM_FIELD0
MAN_CLASSIFICATION
Manual classification.
Only for custom development: You can use this field to add customer
specific classifications. You can implement a custom logic to fill this
field during runtime.
Out. Key
Output key: Select this check box to mark the output list field as ALV
output key column. All fields marked as output key fields are fixed when
using the horizontal scroll bar in the process output list.
Out. Seq.
Output sequence: Define the sequence of the field within the output list.
Out. Stat.
Output status: To define the status of the output field, select Display or
Hide.
Col. width
Output width: Enter the fixed column width for an output field. If you do
not enter a value, the system activates the automatic ALV grid control
column optimization for the output field.
Out. Style
Output style: Define the output style of an output field, for example, if it is
displayed as an Icon or as a Hyperlink.
Out. Icon
Output icon: Enter the icon symbol that is displayed if you selected the
Icon or Executable Icon field output style.
Icon Info
Icon quick info: Select this check box to display an icon quick info for the
output icon.
Icon Exit Function Module
Enter an exit function module to dynamically set the output icon symbol
and the corresponding icon quick info during runtime. Exit template
function: /OPT/C_PMC_EXIT_TEMPL_ICON.
Before Action Execute Function
Enter an exit function module that allows performing the following special
functionality:
Auth. Grp.
Action authority group: Assign a predefined action authority group to an
output list field action. The action authority group is used to check whether
the corresponding user is allowed to perform the action or not.
Profile
Predefined customizing profile for which the button assignment settings are
valid.
Button ID
Predefined button ID to perform a button action.
But. Seq.
Button Sequence: Define the sequence in which the assigned action buttons
are generated within the VIM Invoice Workplace process output list toolbar.
Auth. Grp.
Action authority group: Assign a predefined action authority group to an
action button. The action authority group is used to check whether the
corresponding user is allowed to perform the action or not.
Button ID
Unique numeric button ID that defines an action button.
Button Text
Enter the button text, which is displayed as text label for the generated
button during runtime.
Quickinfo
Enter quickinfo text, which is displayed for the button during runtime.
Butt. Type
Enter the button type used to generate the button during runtime. Select
one of the following button types:
Bulk action
All buttons defined as bulk actions are generated within a special
toolbar button menu called Choose Bulk Action.
Single action
All buttons defined as single actions are generated as separate buttons
in the VIM Invoice Workplace process output list button toolbar.
Separator
This setting allows you to insert standard SAP separator lines to group
the generated buttons from a visual point of view.
Notes
• Buttons that are defined as single actions can only be performed for
exactly one marked line in the VIM Invoice Workplace process
output list. A bulk action can be performed for one or multiple lines
marked by the Bulk Action check box.
• Starting with VIM 7.5 SP7, the Forward action in the VIM Invoice
Workplace, both single and bulk, writes an entry into the process
history log for all non-approval work items.
Icon name
Assign an icon to the generated button or use the button exit to assign the
icon dynamically.
Button Exit
Enter an exit function module that dynamically skips the creation of a
button during runtime. Exit function template: /OPT/C_PMC_EXIT_TEMPL_
BUTTON
Action Function
Enter an exit function module that runs the logic of the selected action in the
corresponding backend system. Exit template function: /OPT/C_PMC_EXIT_
TEMPL_ACT_EXE.
Active
Select this check box to set the button definition to active.
Button actions
These actions are defined as single or bulk action buttons within the process
output list button toolbar.
All action-related authority checks are performed based on action authority groups.
An action authority group allows grouping of multiple similar actions for the
authority check instead of performing the authority check based on each defined
action separately. This concept simplifies the maintenance of the corresponding
authorizations. If you want to perform an authority check directly for each action,
you must set up a 1:1 relationship between action authority groups and defined
actions.
If you do not want to perform an authority check for a selected action, do not assign
an authority group to the action in the action button assignment or the output field
action setting.
If you have set the global VIM authorization check to inactive using the AUTH_CHECK_
ACTIVE constant for product code 009 of the web flow constant table /PTGWFI/Z_
CONST, the authority check field is not considered. Therefore, all entered values do
not have any effect.
Auth. Grp.
Action Authority Group: Unique technical name that defines an action
authority group.
Prerequisites To use the scanning function, the following prerequisites must be fulfilled.
• VIM-related document types (document types assigned to the VIM object /OPT/
V1001) are configured according to OAWD customizing.
• The available document types are filtered by the VIM object in SOA0.
• Using an authorization check of the S_WFAR_OBJ authorization object, you can
further restrict available document types.
To scan an invoice:
The Scan Document dialog box displays the following fields in the upper right
area.
Doc. type
Document Type. Long text for the ArchiveLink document type
Scan User
Current user
2. In the Scan Document dialog box, double-click the document type in the tree.
On the right, the following objects are displayed. Their functionality is like in
SAP standard.
• Archive Document and Mass Archiving buttons for single and mass
archiving
• Drag & Drop area
3. To archive, click one of the archiving buttons.
The behavior (scan using Enterprise Scan, upload from file system) is
determined by the ArchiveLink customizing of the respective document type.
OpenText recommends Mass Archiving only for document types that are
configured for scanning.
Below the Drag & Drop area, the scan results are displayed.
4. Click Show details for more information on workitem IDs and docIDs.
• Document types
• Number of subtrees
• Nodes
• Tree settings
• Object types
• Display logo
• Call of popup
Example implementation
Example coding provided in method ON_BUTTON_CUST1_CLICK: refresh
automatic batch ID to open a new batch of scanned invoices.
Example coding provided in method ON_BUTTON_CUST2_CLICK: user enters a
note manually (to use as batch ID or handling advice).
INITIALIZE_NOTE
This method is called when opening the scanning dialog box and when
changing the document type selection.
SET_NOTE
Set the note to custom value (can be called in custom implementations).
GET_NOTE
This method is called when archiving is started to retrieve a value for the note.
The defined ArchiveLink note can be retrieved in the NOTE field of table /OTX/PF01_
T_1REG.
retrieves the current client (Windows) log-on. Both values are coded to the note
field: <USER>##<GUID>##.
You can replace the existing example implementation by custom coding. The NOTE
field is not used in the product baseline.
Processing hint
Add a manually entered processing hint during scanning. For information how
to add custom information, see “Adding custom fields in the selection screen”
on page 625 (VIM Analytics) or “Maintaining output list field settings”
on page 678 (VIM Invoice Workplace).
Manual batch ID
The scan user can insert a batch ID, which is displayed in VIM data. The batch
ID is used if the physical document needs to be retrieved. The batch ID
represents the number of the archive box that holds the paper invoices. For
information how to add custom information, see “Adding custom fields in the
selection screen” on page 625 (VIM Analytics) or “Maintaining output list field
settings” on page 678 (VIM Invoice Workplace).
Automatic batch ID
Make sure that logically depending invoices are scanned and handled together.
An example is to combine several invoice documents to one DP workflow
during the inbound process. You can use custom buttons to reset the
automatically created batch ID (this means start batch and close batch).
For information how to add custom modules to Inbound processing, see “VIM
Foundation configuration” on page 117.
Note: If you use the VIM Invoice Workplace smart selection in a multiple
backend environment, make sure to keep the smart selection definition
identical on all involved systems.
Selection Criteria
Enter a unique alphanumeric ID or any other 10 character string that
technically defines a set of selection criteria.
Description
Enter a meaningful text that describes the selection criteria. The text is
available in the VIM Invoice Workplace selection criteria list of the smart
selection pane.
Criteria Type
This setting controls the way how the corresponding selection criteria logic
is executed in order to determine the check result.
Select one of the following criteria types:
Static check
Selection criteria checks are based on index data and executed every
time the index data is changed during runtime.
Time based check
Selection criteria checks are based on dynamic time bound dimensions
and therefore can only be executed by the additional criteria check
program /OPT/CR_PMC_BS_CHECK.
Criteria Class
Enter the ABAP class that contains the check logic for the defined selection
criteria. To redefine the available check methods, every entered class must
be inherited from the abstract class definition /OPT/CL_C_PMC_BS.
Active
Select this check box to activate the defined selection criteria and its
dependent restrictions.
If the Active check box is not selected, the selection criteria is not considered
during the selection criteria check and also not available in the VIM Invoice
Workplace smart selection pane.
Restriction
Enter a unique alphanumeric ID or any other 10 character string that
technically defines a selection restriction.
Description
Enter a meaningful text that describes a selection restriction. The text is
available in the VIM Invoice Workplace selection restriction list of the smart
selection pane.
Constant Value
Enter any additional information that can be helpful during the selection
criteria and restriction check. You can freely choose the additional
information, independent from any data format.
Work View
Select the work view for which a selection criteria should be available.
Possible values: Personal, Team, Other user, All.
Selection Tab
Select the selection pane for which a selection criteria should be available.
Possible values: Inbox, Pending, Completed.
Preview Active
Select this check box to achieve that a special selected hits preview of the
potential selection result is displayed for each selection criteria and
restriction. If no dependent restrictions are defined for a selection criteria,
the preview counter is shown on criteria level only. If there are dependent
restrictions, the selected hits preview is shown on restriction level.
Note: The determination of the selected hits preview counter values
consumes a lot of performance. Use it carefully. Therefore, no selected
hits preview is activated in the baseline delivery for the VIM Invoice
Workplace All work view mode.
Personal Team
Maintained by each user directly in the VIM Invoice Workplace team
configuration dialog.
General Team
Generally maintained by an administrator. Users cannot change the general
team in the VIM Invoice Workplace team configuration dialog box.
The general team definition describes the team with a unique ID and the
corresponding description.
2. In the General Team Definition Overview screen, define general teams using
the following parameters:.
Team ID
Unique ID for the general team definition.
Description
Enter a description for the defined general team.
2. In the General Team Definition Overview screen, select a line and double-click
Team Member Assignment.
Team ID
Unique ID for the general team definition.
OT
Organizational Object Type: This field contains a one or two character code
that represents different types of objects, for example US for user or S for
position.
Agent ID
Corresponding organizational object ID, depending on the selected
organizational object type.
Active
Select this check box to set the member assignment to active.
• Number of days before the due date for cash discount 1 to set a yellow discount
indicator light.
• Number of days before the due date for cash discount 1 to set a red discount
indicator light.
Note: If you do not want to set up the discount indicator light settings for each
company code separately, enter an asterisk (*) in the company code field.
If the number of days before the due date for cash discount 1 is higher than the
specified number of days for the yellow discount indicator light, a green light is
shown. If the corresponding due date for cash discount 1 is reached or is already
overdue, the discount indicator light switches to red.
Note: If you do not want to use the described generic configuration settings
based on the number of days before cash discount 1, do not maintain any
number of days. The following fixed logic for the discount indicator light will
apply automatically:
• Cash discount 1 possible (due date for cash discount 1 >= current date): green
discount indicator light
• Cash discount 2 possible (due date for cash discount 2 >= current date):
yellow discount indicator light
• All possible discounts missed: red discount indicator light
Note: The discount light settings depend on the corresponding SAP ERP
system and therefore no transport of the setting is available.
2. In the VIM Invoice Workplace Disc. light settings Details screen, enter your
company code dependent settings.
Note: If you do not want to specify company code specific settings, enter
an asterisk (*) in the Company Code field.
You can configure the new display column Returning invoice in the VIM Invoice
Workplace profile settings. For more information, see “Customizing profiles for the
VIM Invoice Workplace” on page 671. The configuration must look like in the
following screenshot:
With this configuration, the Returning invoice column is available in the ALV
layout settings in the inbox tab of VIM Invoice Workplace. With the column enabled
in the layout, the returning invoices are displayed with an icon in the Returning
invoice column.
Different end-user screens, for example the VIM Invoice Workplace or the indexing
screen (DP Dashboard) are enabled to use integrated plug-in views to display detail
information for a process.
You can also use plug-in controls in the Invoice Approval Dashboard, the Parked
Dashboard, and the Blocked Dashboard.
2. In the Plug-In Type Definition Overview screen, define the plug-in type, using
the following parameters:
Plug-In Type
Unique ID of a plug-in type to be used within an end-user screen.
Plug-In ID
Unique ID of the plug-in.
Plug-In title
Enter the title of the plug-in, which is displayed on the button in the plug-in
toolbar.
Plug-In description
Enter the tooltip of the plug-in, which is displayed on the button in the
plug-in toolbar.
Plug-In Sequence
Define the order of the buttons for the plug-in.
Plug-In class
To process the corresponding logic for the plug-in, enter the class to be
called during runtime. To integrate custom logic to retrieve data for existing
Note: To create a new plug-in, you must create your own plug-in class
with superclass /OPT/CL_C_PMC_UI_PLUGIN.
Plug-In Icon
Enter the icon of the plug-in, which is displayed on the button in the plug-in
toolbar.
PI Active
Select this check box to activate the plug-in on the screen.
Plug-In Type
Unique ID of the plug-in type definition.
Plug-In ID
Unique ID of the plug-in definition.
• Indexing screen
• VIM Invoice Workplace
• VIM Analytics
You can also integrate Extended ECM for SAP Solutions into VIM Analytics as a
custom button that opens a separate window. For more information, see “Defining
and assigning action buttons” on page 620.
Extended ECM for SAP Solutions allows displaying content that is stored in the
OpenText™ Content Server in the SAP GUI. You also can upload content from the
SAP GUI to the Content Server.
Extended ECM for SAP Solutions can be configured for several business objects.
That means, the solution is open for custom solutions. An example integration for
vendor workspaces is delivered with baseline. You can include custom scenarios
based on other business objects. For more information, see “Implementing custom
solutions for the plug-in framework” on page 701.
Prerequisites
• Extended ECM for SAP Solutions is installed, at least version 10.5 Service Pack 1.
• Extended ECM for SAP Solutions is customized, as described in OpenText
Extended ECM for SAP Solutions - Customizing Guide (ERLK-CGD).
• Workspaces can be created for business objects using the standard Extended
ECM for SAP Solutions GOS menu integration.
1. Define the plug-in ID. See the description in “Defining the plug-in ID”
on page 698.
In Plug-In class, enter the class for the respective VIM tool:
Indexing screen
/OPT/CL_C_IDX_UI_PLUGIN_XECM or your own custom class
VIM Analytics
/OPT/CL_C_VA2_UI_PLUGIN_XECM or your own custom class
2. Assign plug-in IDs to plug-in types. See the description in “Assigning the plug-
in IDs to plug-in types” on page 699.
The plug-in types for the respective VIM tools are the following:
Indexing screen
VIM_IDX
VIM Analytics
VIM_VA2
4. Create a new entry to assign the plug-in ID to an extended ECM business object.
Plug-In ID
Enter the ID created in Step 1 on page 700.
Object Type
Enter the business object that should be shown in this plug-in. This business
object must be configured in Extended ECM for SAP Solutions. In the
example screnshot: LFA1 for vendor workspace.
H/L
Define the origin of the object key: Header (/OPT/VIM_1HEAD) or Line (first
line of /OPT/VIM_1ITEM).
Reference field
Specify the field in the header or line item table that contains the object key
for the business object. In the example screenshot: /OPT/VIM_1HEAD-LIFNR
contains the object key for the vendor.
These classes can handle all Object Types whose object key is directly available in
tables /OPT/VIM_1HEAD or in the first selected line in /OPT/VIM_1ITEM. By using
customizing table /OPT/CT_XECM_PMC, the relevant fields can be customized directly.
Please see the customizing for vendor workspaces in “Customizing the integration
of Extended ECM for SAP Solutions” on page 699 as a reference.
For more complex scenarios, where additional selects are necessary, you can define
custom classes. For each workspace type, a new implementation is needed. The
following procedure describes the implementation of a subclass of /OPT/CL_C_IDX_
UI_PLUGIN_XECM as a reference. You can implement the other classes accordingly.
Custom implementations for indexing screen and VIM Analytics (new) can be
created accordingly, as well.
3. Implement custom coding to get the relevant object key. Return the object key in
the RV_OBJ_ID parameter.
5. Return the SAP Object type for the Extended ECM for SAP Solutions scenario in
the RV_SAP_OBJECT parameter.
You can copy this module to a custom implementation. Select the respective Object
Key and SAP Object for the actual scenario. The customizing to activate the button is
described in “Defining and assigning action buttons” on page 620.
You can copy this module to a custom implementation to define criteria when the
workspace button is displayed or not.
You can use plug-in controls in the Invoice Approval Dashboard, the Parked
Dashboard, and the Blocked Dashboard. You must perform the following
configuration of the dashboards’ customizing profiles.
• Customizing Profile
• Customizing Profile Description
3. Double-click Profile Settings in Dialog Structure.
4. In the Profile Settings: Details screen, maintain the settings of the customizing
profile, using the following parameters:
Customizing Profile
Customizing profile defined in Step 2.
Application Class
Enter the application class.
The logic of the plug-in integration is located in the dashboard application
class. All relevant attributes and methods of the global application class are
delivered in a baseline dashboard application. You can enhance the class by
redefining components of the class within a custom class, which can be
maintained instead of the baseline class.
Default value: /OPT/CL_C_DBP_APPLICATION
User Class
Enter the user class.
Enter the dashboard user ABAP class, which contains logic to read and save
user-specific profile settings.
Default value: /OPT/CL_C_DBP_USER
Plug-In Type
Enter the plug-in type, defined in “Defining the plug-in type” on page 697.
Default value: VIM_DBP
Plug-In ID
Enter the plug-in ID, defined in “Defining the plug-in ID” on page 698.
Plug-In Side
Select the location where the plug-in is displayed, right side or left side.
Default value: Right justified
Cont. Pane % Vt.
Content pane size ratio vertical in %: Enter the default plug-in size, in
percentage form, of the dashboard screen.
Show Plug-In
Select this check box to display the plug-in.
For the dashboard plug-in, the following product codes are relevant:
BIR
PO parking
IAP
Invoice Approval
LIX
PO blocking, both for header and item dashboard
PIR
Non PO parking
The user parameters, synchronous to the product codes, are the following:
• /OPT/CBIR_CUST_PROF
• /OPT/CIAP_CUST_PROF
• /OPT/CLIX_CUST_PROF
• /OPT/CPIR_CUST_PROF
This part describes the basic, but optional customizing. This customizing must be
done for optional VIM features, such as the integration of the Return to Vendor
(RTV) function.
Smart coding, a component for coding Non PO invoices, enables you to streamline
the process by helping the user to correctly allocate the cost objects using a
recommender step with best predictions or by fully automating the coding in the
background, based on a minimum confidence level.
Prior to smart coding, users needed to manually assign the cost objects to Non PO
invoices. This activity frequently required time-consuming research, for example by
inspection of old invoices posted to the same vendor, asking a colleague, or, worst-
case, guessing by doing an extensive search in the help menu of the field.
The cost assignment proposals are valid for Classic Mode VIM.
The system can use historical data to propose values for the cost assignment of
invoices without purchase order. The following models are available:
Basic model
Based on the combination of company code and supplier, a statistic regarding
the occurrences of the most common used GL accounts, cost centers, and WBS
elements is built. The system is proposing the cost assignments that were most
often used for a given combination of company code and supplier.
Machine learning (PAL) based model: (VIM 20.4 only)
The system proposes GL accounts, cost centers, and WBS elements based on
various input data using a machine learning based classification algorithm, so-
called decision trees.
Minimum requirement for this model is an installation of VIM 20.4 on an SAP S/
4HANA 1610 system with at least HANA 2.0 SPS 3 with installed PAL library.
This model is not available on any VIM 7.6 installation, regardless of the
underlying database. For VIM 7.6 installations, use the basic model or use the
RFC scenario to train on a separate VIM 20.4 installation. For more information,
see “2-step approach in an RFC scenario” on page 719.
For more information, see Section 17 “Smart coding” in OpenText Vendor Invoice
Management for SAP Solutions - Scenario Guide for Invoice Solution (VIME-CCS)
21.1 Training
The following transactions are provided to collect statistics:
This transaction is used for training the models and filling the statistic tables. It is
divided into the following stages:
Data selection
Relevant historical invoice data can be selected from the following sources:
• Posted invoices available in the SAP Standard Ledger tables BKPF and BSEG.
• Historical process data of VIM Classic (tables /OPT/VIM_1HEAD and /OPT/
VIM_1ITEM).
Preprocessing
The selected data is preprocessed, relevant lines containing cost center and WBS
element assignments are filtered and stored in statistic tables.
Training
The chosen model, basic or PAL based, is trained.
The following parameters are available in the sections Data Selection and
Model:
Data Selection
Options
• Use ledger data: SAP ledger table BSEG is used to collect information of
posted invoices.
• Use VIM data: VIM Classic process data is used to collect information of
posted invoices.
Notes
purchase order based invoices, the system is using only the data
from the invoices without purchase order.
• Use custom selection: You can use this option to call a custom selection
(only visible if the corresponding BADI was implemented). For more
information, see “Custom extensions” on page 722.
• Select options for common business data: Ledger, Vendor, Company
Code, FI Document Numbers, Document Date and Document Types are
provided.
• Load preprocessed data: Load already prepared training data if the
training is done in a staged approach or in an RFC scenario. When
loading preprocessed data, the source system of the data needs to be
provided. In a single system scenario, the system’s logical system is pre-
filled. This only needs to be changed if a model for another system
should be trained. In this case, the source system needs to be set to the
respective logical system.
For information about the “2-step approach in an RFC scenario” and the
“2-Step approach”, see “Choosing the training approach” on page 718.
Model
Options
Note: Training the basic model is a mandatory first step, also for
training the PAL based model.
• Train PAL decision tree model: Training the PAL based model. Only
possible on a VIM 20.4 system where the requirements are met. For more
information, see Machine learning (PAL) based model: (VIM 20.4 only)
on page 713.
• Save preprocessed data only: The selection and preprocessing steps are
executed and saved to a table, either on the local system or on a remote
training system. If the remote scenario is used, an RFC destination to this
system has to be entered.
• Clear existing data: If this check box is selected, the existing collection of
preprocessed training data is deleted. Otherwise it will add the new data
to the existing collection.
Tip: With this option, a set of training data can be prepared step by
step, for example to collect input from specialists of different
company codes.
The system will not check for already existing data in the data
collection. Therefore it is possible to use the same invoice data to
build up a big set of training data, for example for performance
testing. For productive models, a duplication of training data is
normally not needed but mostly not harmful.
Output
Based on the model, the report returns different protocols.
Note: Displayed counts are line item based, not invoice based.
Basic Model
This model returns a statistic of processed invoice lines per company code
and vendor.
PAL Model
This model returns the first 100 decision rules returned by the PAL
algorithm.
This transaction deletes the coding statistic tables used for the basic model. You can
select the following options:
• Source System: Select the source system of the data which should be deleted.
• Delete Basic Model: Deletes the table containing the basic model.
• Delete Coding Table: Deletes the cost assignment information.
• Delete Feature Table: Deletes collected training data. See option Save
preprocessed data only in Model on page 715.
This transaction displays the 10 most frequent cost assignments based on the
collected statistics for each company code and vendor (Basic Model).
21.1.4 Authorization
To access the training reports, the authorization for the transaction code and a
general VIM Foundation Authorization Object (J_6NPF_ADM) must be granted.
Additionally, the training reports are restricted to allow only authorized data for
selection. The following authorizations are considered during selection:
On SAP ERP
• The basic model can be trained for each company code separately.
• The PAL model requires that all data is processed at once, to generate a model
that is valid for all company codes and vendors. Therefore it is possible to
separate selecting data from training the final model. For more information, see
“2-Step approach: selection and preprocessing, separate training” on page 718.
To find the optimal strategy for training, OpenText recommends the following
approach:
Notes
• When training a PAL based model, all training data sets need to be loaded at
once in the PAL algorithm. This is done on HANA level by using a global
temporary table to limit the memory load on the application server.
Nevertheless, an evaluation of the memory load on HANA may be useful
when handling high volume scenarios.
• The PAL based model uses the State Enabled Real Time Scoring of the PAL
library and loads the trained model into the HANA memory for faster
inference.
2. Optional Run the training report for training the PAL based model.
4. Optional Run the training report for training the PAL based model.
This scenario is only recommended, if the local system does not meet the minimum
requirements for the PAL based scenario (especially VIM 7.6 installations).
A separate training system is needed with a VIM 20.4 installation, fulfilling the
minimum requirements for the PAL based scenario.
2. Train the basic model on the source system, see local approaches for details.
5. Run the training report for training the basic model on the training system.
6. Run the training report for training the PAL based model.
• Using the posted invoices from the last year provides a good starting point. If the
number of invoices exceeds the optimal training set size, look for further
restrictions as discussed in this section.
• Do not use too old data. Cost assignments may have changed in the meantime.
• The used models do not need very high amounts of examples for similar data.
For vendors with a high invoice volume but a very stable cost assignment,
restrict the numbers of used invoices, for example by using a smaller time frame
or restrict the document number range.
• For vendors with a very low invoice volume, it may be necessary to extend the
selection range to get a valid prediction. The algorithms may return a very high
confidence if there are very few training examples.
Example: For Vendor A, one invoice was used for training. The algorithm will return a
100% confidence for the cost assignment. Therefore, the dialog options will return also the
number of training samples for a given vendor to allow users to decide about the validity
of the prediction.
• For vendors with a lot of different cost assignments, the confidence levels for
each prediction will naturally be very low. If these vendors also have a high
volume of invoices, it may be an option to exclude these vendors from the
training set. A common example are invoices posted as CPD or with a one-time
vendor account.
21.3 Prediction
Cost assignment proposals are offered in several modules. Refer to the respective
chapters of this guide for further information:
Predictions can be done either based on the basic model or the PAL based model.
For configuration, perform the following steps:
To configure predictions:
Config ID
Enter settings for Classic VIM (OTEXVIM).
Model ID
Enter Basic Model (STATDT) or PAL Based Model (PALDT). If you want to
use custom models for proposals, you can enter a new entry for a new
custom Model ID here.
Note: On VIM 7.6, the proposal based on PAL can be used in the
remote scenario described in “2-step approach in an RFC scenario”
on page 719.
Sequence
Choose the sequence in which the implementations are called. Only
relevant if you want to call multiple models, for example for custom
implementations.
Proposal Class
Enter the implementation of the Proposal Logic. The standard delivers two
classes:
Training
You can use extension points in the training report to adjust the delivered
default models. You can change the logic for selection, preprocessing, and
training. The following scenarios are possible:
Proposals
Customizing option to change or add custom logic for cost assignment
proposals. Custom proposal implementations can rely on a custom training or
can also be independent from any training step. The following scenarios are
possible:
• Calling an adjusted default model with, for example, different input features
• Calling a custom proposal logic without training, for example selecting and
displaying the x last used cost assignments from the current user
• Calling the prediction of an external machine learning service
• BAdI /OTX/PS302_BADI_TRAINING
• BAdI /OTX/PS302_BADI_MODEL
BAdI /OTX/ You can use this BAdI to change the default selection and preprocessing and to
PS302_BADI_ inject custom code into any standard class.
TRAINING
GET_SELECTOR
Returns a custom selection class. The custom class needs to implement the
interface /OTX/PS302_IF_SELECTOR. It is possible to redefine the default
implementations or create a new class. The custom class needs to be instantiated
in this method and returned in parameter RH_INSTANCE.
If a custom implementation is active, a new parameter Custom Selection will
be available in the training report. If this option is chosen, the custom
implementation will be called.
GET_PREPROCESSOR
Returns a custom preprocessing class. The custom class needs to implement the
interface /OTX/PS302_IF_PREPROCESSOR. You can redefine the default
implementations or create a new class. The custom class needs to be instantiated
in this method and returned in parameter RH_INSTANCE.
A custom implementation will replace the default implementation.
INJECT_CUSTOM_CODE
You can use this method to replace any default class used in the report, by using
code injection. Each default class is instantiated via a static GET_INSTANCE
method which returns an instance of the default class. By using the static SET_
INSTANCE method of the default classes, it is possible to replace the default class
with a custom class.
BAdI /OTX/ With this BAdI, you can call custom models. Based on filter MODEL_ID, different
PS302_BADI_ implementations are possible.
MODEL
The training report offers a parameter Custom Model. If you choose this option, you
must provide a MODEL_ID. This is used as a filter for the BAdI implementation. The
custom model ID can be entered in the selection screen of the training report. The
custom model class is called.
Method GET_MODEL: Returns a custom model class. The custom class needs to
implement the interface /OTX/PS302_IF_MODEL. You can redefine the default
implementations or create a new class. The custom class needs to be instantiated in
this method and returned in parameter RH_INSTANCE.
For general information about the configuration of logic modules, see “Processing
logic modules” on page 222.
The following parameters are relevant for configuring the enrichment logic module:
After the coding proposal data is trained correctly for the combination of company
code and vendor, due to the historic cost information data, “n” lines of proposal
items are possible.
If you want to use a smart coding cost proposal for a combination of company code
and vendor using a model, you must configure a model. For more information, see
“Prediction” on page 720.
Smart coding line item proposal automation can also be coupled but only after
configuring auto-coding lines. If the DP line item is fully auto-coded with cost
information, the smart coding proposal logic in the logic module class will ignore
that line item in smart coding line item proposal.
Smart coding proposal will automatically propose cost information (GL account and
Cost Center) in DP line items.
Non PO auto coding is given priority over smart coding proposal: The logic module
class skips the smart coding item proposal.
For multiple lines proposal, the line amount is allocated to the first line only. The
coding user has to adjust it to other applicable lines. See the following screenshot:
Smart-coding line proposal items are displayed in the Smartcoding items Proposal
screen: This is a display screen with a top 10 list of cost proposal lines for the
combination of company code and vendor. The user has an option to select a line to
copy it into the indexing screen.
The following important cost fields are available in the Smartcoding items Proposal
screen:
Confidence
Calculated percentage value of the proposed cost assignments.
G/L Account
G/L account field value for list of proposed cost assignments
Cost Center
Cost center field value for list of proposed cost assignments
WBS element
WBS element field value for list of proposed cost assignments
Tax code
Tax code value for list of proposed cost assignments
All other fields are optional for smart coding items proposal in the Smartcoding
items Proposal screen. The user can hide them using the table control variant
setting.
To view the smart coding button (Smtcoding) at line item level, you must configure
the necessary document types:
For more information, see “Configuring the index item fields” on page 187.
For more information, see “Configuring approval flow settings” on page 406.
When the Skip Coding check box is selected, it is not possible to change the smart
coding proposed lines manually in foreground because the coding level is skipped.
For the smart coding logic module, the Z constant SMART_CODE_LM_PROCID for
product code 005 is introduced to validate the field input in the AFS ID
configuration transaction.
Description
Smart coding logic module Process ID
Constant Value
N_SPEC_005
Standard VIM configuration includes extended withholding tax in the tax folder of
the indexing screen. This applies to company codes and vendors that are relevant to
extended withholding tax.
Indexing screen users can change extended withholding tax code, base amount, and
amount. The data is transmitted to posting.
You can configure that the extended withholding tax data is no longer available on
the indexing screen and posting retrieves the withholding tax data from the vendor
master.
The following configuration actions are available for extended withholding tax.
If you do not want to hide withholding tax for all vendors, you can create a custom
function module that limits the hiding and put it into another constant.
Note: You can use the following VIM custom function module example as
a base for copying: /OPT/VIM_WT_LIMIT_HIDE.
3. Enter Constant Value <your custom function module name> and save.
Note: You can use the following VIM custom function module example as
a base for copying: /OPT/VIM_WT_BAPI_TRANS.
To configure that the withholding tax net amount is calculated from gross and
tax instead of using the header net amount:
2. Do not enter a Constant Value (which means “do not transfer”) but save.
1. Check for existing process type 289 (NPO) / 415 (PO) in the document type
processing. If it does not exist, create it.
3. Select a country.
• The withholding tax base amount flags Inherit base and Base amount reduction
are not supported.
• Accumulation is not supported.
• Minimum or maximum amounts are not supported.
• Cash discount is not supported.
• Control data is not supported.
• Central invoice is not supported.
Limitation of exemption
The Return to Vendor (RTV) function allows you to inform the vendor by email that
the invoice is being returned. It also terminates the DP workflow. The vendor is
informed by an email, which is generated based on a template that the VIM user
selects. The email lists the reasons for the return. It may contain additional
comments and a signature. It may have the invoice image or additional images
attached. VIM users may select several different return reasons that are maintained
in VIM customizing. You may change the content of the email by implementing
your custom coding in new enhancement spots.
When the user clicks the Return to Vendor process option in the DP dashboard, a
new screen opens where all RTV-related information must be entered.
When the RTV function is performed successfully, the generated email is sent using
standard SAP functionality (SAPConnect). The DP document status is set to
obsolete, the DP workflow is finished, and the email is archived. Return reasons are
stored along with the DP step comments. Comments are mandatory.
Whereas the return reason and comments are stored in the DP document, and the
document status is changed to obsolete, the obsolete reason is not provided for the
document, which could be confusing later. Therefore, VIM 7.5 SP6 introduces the Z
constant RTV_OBSOLETE_REASON (product code 005). With this Z constant, you can
specify which obsolete reason, a two-character value, is assigned to such documents.
The following sections describe the activities that are necessary to configure the RTV
function.
Starting with VIM 7.5 SP6, the system client role is checked before sending the email.
Only in productive clients, the send request is processed “immediately”. In other
client roles, the send request is processed with the SAP standard asynchronous send
procedure.
Note: Do not use the Comments required setting with RTV. The comments are
mandatory for RTV regardless of this setting, and they must be entered on the
RTV screen and not in the DP dashboard. If you select the Comments required
check box in the process option customizing, you will introduce an
unnecessary processing step.
If multiple languages will be used with RTV, each return reason description has to
be translated into the required languages. To translate, select GoTo > Translation in
the table maintenance dialog box.
Product Code
005
Constant
RTV_TEMPLATE_PREFIX
Description
Prefix for standard texts used for Return to Vendor
Constant Value
/OPT/VIM_RTV
Standard texts used in the RTV process option can contain variables for fields of
the /OPT/VIM_1HEAD table. You must define the variables in the text as <1HEAD-
<FIELDNAME>>.
Product Code
005
Constant
RTV_GET_EMAIL
Description
User exit / function to retrieve email for Return to Vendor
Constant Value
<Name of the function module>
• Importing
pi_header TYPE /opt/vim_1head
• Changing
pc_email TYPE adr6-smtp_addr
Note: OpenText delivers a sample standard text for the vendor signature in
English: /OPT/VIM_SIGNATURE_RTV
In the standard text, you can insert variables. They will be enriched from the SAP
user address data at runtime. The following variables are available:
PAI-Module: USER_COMMAND_0001
In the USER_COMMAND_0001 PAI-Module, you may want to implement your own
email processing within the /OPT/ES_VIM_RTV_PROCESS_BFD enhancement
section.
• The VIM Supplier Self Service Fiori app allows user based access. The Supplier
Registration app provides an automated process for suppliers to register into the
Supplier Invoices app, where suppliers can keep track of their invoices’ status.
The Supplier Accountant app provides an interface to the Supplier Care
Executives to view the status of all supplier’s invoices.
• The lean variant provides anonymous access to the Supplier Self Service – no
user account required. The user can only search for a single invoice by entering
required search criteria. If mandatory search criteria matches the invoice data in
the backend system, specific invoice status information is shown on the web
page.
Note: You should have the lean variant or the Fiori app on your system. You
cannot use both on the same installation.
Supplier Self Service lean variant is enabled for multiple deployment options:
Most of the customization is common for both deployments. So, the customization is
differentiated wherever it is applicable. If you plan to use the On-Premise
deployment, skip “Customizing the HANA Cloud Server (option)” on page 753.
This chapter describes the customization that is necessary to use Supplier Self
Service.
You must configure your SAP NetWeaver Gateway system to allow the server
applications to retrieve the data requested by the web client. You must perform
additional configuration steps as described in this chapter. As a prerequisite, the
SAP NetWeaver Gateway 2.0 add-ons must be installed on top of an existing SAP
Business Suite or an application platform, as described in Section 19 “Vendor
Invoice Management component for SAP NetWeaver Gateway installation” in
OpenText Vendor Invoice Management for SAP Solutions - Installation Guide (VIME-
IGD).
You find more detailed information in the SAP NetWeaver Online Configuration
Guide.
Note: You can use only RFC destinations of connection type 3 (Connection
to ABAP System).
3. On the Technical Settings tab, add Target Host and System Number of the
SAP business system.
4. Force remote logon on the target system: Therefore, on the Logon & Security
tab, manage specific Client, User, and Password information. This setting is
mandatory.
Note: Only a user administrator can create and assign roles to users. Details
about different SAP user administrator types are available in the SAP
NetWeaver Library documentation.
2. In the Role Maintenance screen, enter the role already set up in the system and
assigned to the existing user. (For a new role, set up the role first.)
3. Specify the required SAP NetWeaver Gateway authorizations for this new role.
On the Authorizations tab, click Change Authorization Data.
4. From the list of template roles, select /IWFND/RT_GW_USER and click Adopt
reference. If the list of templates does not appear, click Edit > Insert
Authorization(s) > From template.
• Full authorization
b. Add authorization object S_USER_GRP
• Activity: Display
• User group in user master maintenance: Full authorization
6. Generate the profile and save your settings for the role.
1. To directly include user IDs in the Change Roles screen, on the User tab, add
the user ID in the User ID field and press ENTER.
Alternatively, run the SU01 transaction and add the role explicitly to the user on
the Display Users screen. Therefore you have to enter or select the role name on
the Roles tab.
• /OPT/VIM_3S_CONFIGURE
• /OPT/VIM_3S_DATA_LEAN
For every service entry, you must select the ICF Node OData and click Activate
ICF Node.
The traffic light in front of the service switches to green.
2. In the Assign SAP System Aliases to OData Service screen, configure a new
entry for every OData service, using the following parameters:
User Role
Enter or select the user role you want to assign to the system alias. Leave
this field blank to assign the system alias independent from roles.
Default System
Select this check box to set the system as default system.
2. In the Assign Data Provider to Data Model screen, configure a new entry for
every OData service, using the following parameters:
Model Identifier
Enter or select the ID of the model the data provider is used for.
Type
Select (Adaption) Data Provider (default setting).
Software Version
Enter or select software version DEFAULT (because there is only one data
provider set to a model).
Class/Interface
Enter or select ABAP class /IWFND/CL_ODC_COE_RT_MANAGER.
Description
Optional: Enter explanatory text.
Note: If the activation of services fails, use the SICF transaction to activate
services manually.
2. Navigate to the following path: default_host > sap > bc > ui5_ui5.
5. When opt is created, right-click the opt service and create a new sub-element
VIM_3S_PREM.
To bypass authorization issues for the service path, provide logon data to the
following service paths with authorized user.
1. Run the SICF transaction, and navigate to the following path: /default_host/
sap/opu/odata/.
1. Run the SICF transaction, and navigate to the following path: /default_host/
sap/bc/bsp/.
1. Run the SICF transaction, and navigate to the following path: /default_host/
sap/bc/ui5_ui5/.
Note: You need an SAP account for accessing the HANA Cloud. For more
information, see https://help.hana.ondemand.com/help/frameset.htm?
8ed4a705efa0431b910056c0acdbf377.html.
Europe
https://account.hana.ondemand.com/cockpit
United States
https://account.us1.hana.ondemand.com/cockpit
To get an overview of the current status of the application, select Dashboard in the
Content pane. This provides key information in a summarized form and allows you
initiating actions, such as starting, stopping, and undeploying applications.
Use the Destinations editor in the SAP HANA Business Technology Platform
Cockpit to configure HTTP destinations. They connect the Supplier Self Service web
application to the Internet or make it consume an on-premise backend system via
HTTP(S).
2. Click Create New and set up a new destination as described in the following:
Name
Enter destination name vimodataservice. This name is used by the
Supplier Self Service application to refer to remote connections.
Description
Optional: Enter a description.
Type
Select HTTP. The HTTP protocol is used for both Internet and on-premise
connections. Additionally, you must specify the destination URL, select the
ProxyType, and then the Authentication type.
URL
Enter the URL of the virtual host for connecting the Cloud connector. Make
sure that you specify the URL exactly as it is specified in the System
Mapping of the Cloud connector.
ProxyType
Select the Proxy Type of the Cloud connector. Default setting: OnPremise
CloudConnectorVersion
Select the version of your Cloud connector from the list.
Note: To use the Connectivity service 2.x and the Cloud connector 2.x
version, you must specify the property for HTTP destinations to 2.
Authentication
Select BasicAuthentication. You must enter User ID and Password.
If you need more information about the SAP HANA Business Technology Platform
configuration, see the online documentation: https://help.hana.ondemand.com/help/
frameset.htm?e47748b5bb571014afedc70595804f3e.html.
2. Login to the Cloud connector, for User Name and Password, enter
Administrator and manage (case sensitive).
Note: When you log in for the first time, you must change the password
before you continue.
1. Make sure the Landscape Host field specifies the SAP HANA Business
Technology Platform landscape that you should use.
2. For Account Name and User Name (user/password), enter the values you
obtained when you registered your account on the SAP HANA Business
Technology Platform.
The green icon next to Landscape Host and HTTPS Proxy indicates that they both
are valid and work properly. In case of a time-out or a connectivity issue, the icon is
respectively yellow (warning) or red (error), and a tooltip displays the cause of the
problem.
2. Configure the Cloud connector for HTTP, using the following parameters:
Virtual Host
Specify the host name exactly as it is specified as the URL property in the
HTTP destination configuration in SAP HANA Cloud.
The virtual host can be a fake name. If you leave the Internal Host
parameters blank, the Cloud connector will try to forward the request to the
network address specified by the virtual host and port. In this case, this
address needs to be real.
Virtual Port
Specify the virtual port.
This basically allows you to distinguish between different entry points of
your backend system, for example, HTTP/80 and HTTPS/443, and have
different sets of access control settings for them. For example, some non-
critical resources may be accessed by HTTP, while some other critical
resources are to be called using HTTPS only.
Internal Host
Specify the actual host under which the target system can be reached within
the intranet. The internal host must be an existing network address that can
be resolved on the intranet.
Internal Port
Specify the actual port under which the target system can be reached within
the intranet.
Protocol
Specify the protocol.
The Cloud connector can use HTTP or HTTPS for the connection to the
backend system.
This means, even if the HTTP destination on SAP HANA Cloud side
specifies http:// in its URL, you can select HTTPS. Therefore, you are
ensured that the entire connection from the on-demand application to the
actual backend system (provided through the SSL tunnel) is SSL-encrypted.
The only prerequisite is that the backend system supports HTTPS on that
port.
If you specify HTTPS and there is a “system certificate” imported in the
Cloud connector, the latter attempts to use that certificate for performing a
client-certificate-based login to the backend system. If there is no system
certificate imported, the Cloud connector opens an HTTPS connection
without client certificate.
For more information, see the online documentation about “Installation of a
System Certificate for Mutual Authentication”: https://
help.hana.ondemand.com/help/frameset.htm?
3f974eae3cba4dafa274ec59f69daba6.html
Back-end Type
Select SAP NetWeaver Gateway.
This is important mainly for metering information: tunnel connections to
any kind of SAP system are free of charge, while using the tunnel for
connecting to a non-SAP system costs a fee.
3. After saving the hostname mapping, use the Check button to trigger a ping
from the Cloud connector to the Internal host. This option allows you to make
sure that the Cloud connector can access the Internal system. It also allows you
to catch basic issues like spelling mistakes or firewall problems between the
Cloud connector and the Internal host. In case the ping to the Internal host fails,
the Cloud connector displays a red exclamation mark icon.
1. In the Resources tab of the Access Control, select the line corresponding to the
backend system.
2. In the Add Resource dialog box, in URL Path, enter the specific URL path that
you want to allow to be invoked: /sap/opu/odate/opt.
3. Select the Enabled check box to specify that the resource shall initially be
enabled.
The Cloud connector checks that the path part of the URL is exactly as specified in
the configuration. If it is not, the request is denied.
Note: The URL check does not include a possible question mark (?) that may
denote the start of optional CGI-style query parameters.
For more information about the SAP HANA Cloud connector configuration, see the
online documentation: https://help.hana.ondemand.com/help/frameset.htm?
e7d4927dbb571014af7ef6ebd6cc3511.html.
Baseline: /OPT/VIM_3S_GET_DATA_LEAN
b. Click Display.
The invoice details are displayed, including Invoice Status, Payment
Details, and PO / DN Reference.
In the upper right corner, the processing status of the invoice is
displayed: In Process, Paid, Partially Paid, Received, or Rejected.
Fallback Language
Enter the default language. If a user has no language customized or if there
is no translation for the specified language, the default language is taken.
Network
Enter the external supplier network ID to process the status mapping.
Baseline: 3S
The following additional settings can be used for the full variant to integrate a
notification option in the user self registration process for vendors. In baseline
delivery, the notification sends an SAP mail to the administrator who is
responsible for the onboarding process of the users. The email contains the
corresponding information of the user who registers for the application.
Notification Text
Enter a text object for the notification email context. You can maintain text
objects using the SO10 transaction. The first line of the text stored in SO10 is
used as the subject line of the email.
Language
Enter the language for the notification mail.
Netw
Enter a two-digit identifier for the external supplier network.
Default value: 3S
Supplier Network
Enter the name of the external supplier network.
Default value: Supplier Self Service
Class Name
Enter the name of the class containing the processing logic for the external
supplier network.
Default value: /OPT/CL_E_SUPPLIER_NETW_3S
Notes
3. To define the status known in Supplier Self Service, select the entry for Supplier
Self Service and double-click Define External Status in the Dialog Structure.
4. In the Define External Status screen, maintain entries for all status codes
known in Supplier Self Service, using the following parameters:
ExtStatID
External Invoice Status
Enter a two-digit, artificial key for the status of the external supplier
network.
Example: IP for the external status inprocess.
External Status
External Invoice Status as known by the Network
Enter the invoice status as known by the external supplier network.
Example: inprocess
Note: Ensure that the status code in the field External Status is exactly
the status code that is delivered by Supplier Self Service. Pay attention
to lower and upper case.
External Status Description Long
Enter a description for the invoice status of the external supplier network.
Example: In process
5. To map the process status of a VIM invoice to the status codes that are known in
Supplier Self Service, double-click Assign External Status to VIM Document
Status in the Dialog Structure.
The process status of a VIM invoice is a combination of the VIM document
status, the SAP document status and the previous status determined by the
external supplier network. A combination of these three status codes determines
the new external status code.
Document Status
Enter the VIM document status.
Example: 00 (Created)
SAP Status
The status of the SAP invoice is not relevant for the Supplier Self Service
component.
PrevStat
Previous External Invoice Status
Enter the artificial key for this previous external invoice status.
Supplier Self Service determines an invoice status for posted invoices: PA for
paid, PP for partially paid.
ExtStatID
External Invoice Status
Enter the artificial key for the new status that should be given to Supplier
Self Service.
Table
Source table for the displayed field
Field name
Name of the displayed field. The name cannot be extended dynamically.
Field Description
Enter text that is shown on the user interface.
Output Length
Enter the length of the field on the user interface.
2. In the Supplier Self Service - Field Configuration per User screen, define fields
that are shown in the user interface dependent on the user, using the following
parameters:
UserID
User for whom the settings are applied
Table
Source table for the displayed field. As defined in the field definition; see
“Defining fields” on page 765.
Field name
Name of the displayed field. The name cannot be extended dynamically. As
defined in the field definition; see “Defining fields” on page 765.
Field Status
Specify the status of the field in the user interface: Click Display or Hide in
the list.
2. In the Supplier Self Service - Output Texts screen, define texts for headers,
using the following parameters:
Property
User interface related value. It cannot be changed or extended.
Description
Enter text that will be shown in user dependent language.
Logical System
On the satellite system, configure your logical system. On a central system
within a multiple backend scenario for the Supplier Self Service application,
you must configure all mappings of all relevant systems where data is
collected, or the corresponding aggregation group of Central Reporting
needs to create related entries. For more information, see Section 7.1.8
“Scheduling batch jobs for Supplier Self Service” in OpenText Vendor Invoice
Management for SAP Solutions - Administration Guide (VIME-AGD).
Company Code ID
Unique company code ID
Additional Information
Enter additional text that is shown on the user interface for this company
code, for example the address.
2. In the Supplier Self Service - Company Codes Mapping screen, map company
codes, using the following parameters.
Logical System
On the satellite system, configure your logical system. On a central system
within a multiple backend scenario for the Supplier Self Service application,
you must configure all mappings of all relevant systems where data is
collected, or the corresponding aggregation group of Central Reporting
needs to create related entries. For more information, see Section 7.1.8
“Scheduling batch jobs for Supplier Self Service” in OpenText Vendor Invoice
Management for SAP Solutions - Administration Guide (VIME-AGD).
Company Code
Company code from the master data
Company Code ID
Your defined company code ID
• Supplier definition
• Supplier mapping
Logical System
On the satellite system, configure your logical system. On a central system
within a multiple backend scenario for the Supplier Self Service application,
you must configure all mappings of all relevant systems where data is
collected, or the corresponding aggregation group of Central Reporting
needs to create related entries. For more information, see Section 7.1.8
“Scheduling batch jobs for Supplier Self Service” in OpenText Vendor Invoice
Management for SAP Solutions - Administration Guide (VIME-AGD).
Supplier ID
Unique supplier ID
Name
Enter text that is shown on the user interface for this supplier.
Email Address
Enter the email address of the supplier.
Active
Select this check box to activate the supplier for the Supplier Self Service
component.
2. In the Supplier Self Service - Supplier Mapping screen, map suppliers, using
the following parameters.
Logical System
On the satellite system, configure your logical system. On a central system
within a multiple backend scenario for the Supplier Self Service application,
you must configure all mappings of all relevant systems where data is
collected, or the corresponding aggregation group of Central Reporting
needs to create related entries. For more information, see Section 7.1.8
“Scheduling batch jobs for Supplier Self Service” in OpenText Vendor Invoice
Management for SAP Solutions - Administration Guide (VIME-AGD).
Vendor
Vendor from the master data
Supplier ID
Your defined supplier ID
You must configure all the allowed Gateway-related and application parameters to
run the Supplier Self Service On-Premise solution smoothly on supported browsers.
APPNAME
Application Name in read-only-mode. You cannot modify it. This is an
optional field, meant for future usage of the product.
PROTOCOL
SAP NetWeaver Gateway Hosted Server Protocol. Enter HTTP or HTTPS.
HOST
SAP NetWeaver Gateway host. Enter a valid host with domain.
PORT
SAP NetWeaver Gateway port. Enter a valid port.
LEANACTIVE
Enter default value TRUE.
HEADERIMGPATH
Enter default value RESOURCES/HEADERBAR_VENDOR_INVOICE_MANAGEMENT.
PNG.
Note: You can customize this header image. Replace it with a valid
PNG file under the MIMES > resources path of the BSP application,
which is available in the SAP Gateway server.
SHOWHEADER
Enter default value TRUE.
SHOWFOOTER
Enter default value TRUE.
You choose the vendor for deletion and click Delete in the application menu.
The deletion of the vendor implies the deletion of vendor data that is used in the
Supplier Self Service configuration, customization, and the invoice data stored in
Supplier Self Service tables.
The following tables are cleaned when the program is run for a vendor:
• /OPT/WT_3S_SLREG
• /OPT/WT_3S_SUPPL
• /OPT/WT_3S_SUPPM
• /OPT/WT_3S_USER
• /OPT/WT_3S_MAP
• /OPT/WT_3S
• /OPT/WT_3S_PYMNT
• /OPT/WT_3S_VALUE
The program provides built-in checks to ensure that only VIM specific data is
modified or deleted. The program also provides a specific authorization check. The
authorization object is J_6NIM_CA6.
OpenText Vendor Invoice Management for SAP Solutions - Reference Guide for Invoice
Solution (VIME-RGD).
the customer to buy additional user licenses. This needs to be discussed between
the customer and their SAP contacts.
Q: If the supplier forgets their password, how does it get changed? Is the customer
responsible for this?
A: The supplier can change the password on the Fiori Launchpad login screen.
The SAP Fiori standard security mechanism of changing passwords applies.
Q: Are changes made on documents outside VIM (FB02) reflected in Supplier Self
Service?
A: As long as documents are available in Supplier Self Service tables, documents
are displayed.
Q: Can suppliers reach out to Accounts Payable using Supplier Self Service if
they have further questions?
A: No.
Q: Is there a report that provides the list of suppliers that failed the registration
process?
A: No, but the resend registration email report is available.
Q: Can Supplier Self Service accommodate suppliers with multiple email address
set up in the vendor master data?
A: Yes , suppliers can maintain different email addresses with company codes in
Vendor Master data.
Q: The registration URL is too general that anyone with access to the link can
create a new profile. Are there any restrictions on the registration process to
protect the privacy of the supplier?
A: Yes. Supplier Self Service is validating email domains given by the user
against supplier email domain. So supplier and supplier users can only register.
In general, the registration email is up to the supplier to forward restricted
users.
Q: What triggers the status paid? Is it the payment date? Is the value date
considered?
A: It is the paid date.
Q: What is the retention period of invoices? Can suppliers view historically data
in Supplier Self Service?
A: No retention period. Yes, there are reports that help to clean specific vendors
and documents.
Q: Can the customer, by clearing document, add an option to search for payment
application purposes of the supplier?
A: No.
Q: Can the customer modify the registration email to include instruction on how
to use Supplier Self Service and FAQs?
A: This is not possible in baseline but it is possible by customizing.
Q: Can the customer include instruction steps in Supplier Self Service per status
(next step if the invoice status says In progress)?
A: This is not possible in baseline but it is possible by customizing, using some
comment field.
Q: For admin access, can the customer include the action owner for the unpaid
invoices?
A: This is not possible in baseline but it is possible by customizing.
Q: For the admin, can the customer add a link to VIM in Supplier Self Service?
A: This is not possible in baseline but it is possible by customizing.
Q: What kind of interface can Supplier Self Service provide (email to helpdesk,
suppliers)?
A: Supplier Self Service can provide email to suppliers or supplier users.
Q: From what specific field in vendor master data does Supplier Self Service get
the email address? Is it from General Data, Company Code Data or Purchasing
Data?
A: The supplier email address is picked based on LFA1 and ADR6 table join
ADDRNUMBER=ADRNR for initial email registration.
Q: At what point does the supplier receive an email for registration? Is it after
saving the document in VIM or by clicking the Apply Business Rules button?
A: A process type 426 is created for Supplier Self Service Registration. It is
configurable and executed during Business Rules validation.
Q: Does every Vendor User ID need to exist in both frontend and backend
servers?
A: Yes, this is required. Because the User Self Service registration process is an
automated process, it takes care of creating users in backend and frontend
servers.
You might want to skip the User Self Service registration step and integrate the
Supplier Self Service Fiori apps with the SUS portal or any Vendor Portal,
authenticate using SSO mechanism. In that case, you need a manual step of user
creation in both backend and frontend server. You also need to map users to
Vendor and Company Code to read specific vendor details.
If Vendor users also want to access the Supplier Self Service Fiori apps, the same
manual step is required.
VIM provides the following Fiori apps as part of Supplier Self Service Fiori apps:
Prerequisites The following components are required to run the Supplier Self Service apps:
• VIM package
• Supplier Self Service solution (/OTX/PS34)
Starting with VIM 7.5 SP8 and VIM 16.3.2, Supplier Self Service Fiori apps are
supported both on premises and on cloud.
Fiori Launchpad content transports are delivered for preconfigured tiles. For more
information, see “Integrating VIM Fiori apps into Fiori launchpad” on page 496.
https://knowledge.opentext.com/knowledge/llisapi.dll/Open/72179700
/OTBCWUI/PS30_VIM
Solution for Approval Management, Enter Cost Assignment, Confirm Quantity
and Price, Exceptions, and My Approved Invoices
/OTBCWUI/PS30_VIM_BULKAPPR
Solution for Approve Invoices (bulk mode)
/OTBCWUI/PS34_VIM_ACC
Solution for Supplier Self Service accountant perspective
/OTBCWUI/PS34_VIM
Solution for Supplier Self Service supplier perspective
For more details, see Section 11.4.3.1 “On premise” in OpenText Vendor Invoice
Management for SAP Solutions - Installation Guide (VIME-IGD).
For more details and further information about the Fiori Launchpad, see http://
scn.sap.com/docs/DOC-53178.
When creating tiles for the Launchpad, there are three different ways how you can
link an application. For a UI5 application that is delivered as component, only the
“Target Mapping SAP UI5 Fiori App” mechanism is recommended.
Direct Link
The tile is directly referring to a relative or absolute URL.
Step 1 on page 779 to Step 4 on page 781 of “To create a Fiori Launchpad tile:“
on page 779 are not required because pre-configured tiles are provided as part of
the post installation transport vendorinvoicemanagementlaunchpadcontent.zip.
If you want to change the semantic object, follow the steps in “To create a Fiori
Launchpad tile:“ on page 779.
Because the Fiori Task App is delivered as a UI5 component, the tile creation
description is referring to “Target Mapping SAP UI5 Fiori App”.
Note: For Supplier Self Service apps, two catalogs are necessary. Create a
catalog for the Supplier Invoices app. And create another catalog for the
Supplier Accountant app. You can assign any appropriate Title and ID.
Make sure that the ID is unique.
If you plan to enroll the Fiori Launchpad configuration to another Fiori
server, ensure that a customizing request is specified, using the Settings
button.
Note: Create a catalog for the Supplier Invoices app. Create another
catalog for the Supplier Accountant app. You can assign any appropriate
Title and ID. Make sure that the ID is unique.
In the Launchpad Designer, you must create one target mapping to the Fiori
Task App.
a. In the Intent area, choose the Semantic Object you have created in Step 1
on page 779 and specify an Action.
You can freely define the action. You must remember it when creating the
tiles. For that string, no value help is provided.
b. In the Target area, click SAP UI5 Fiori App for the Source of Navigation
Target.
c. Enter the parameters exactly as follows.
Title
<A title of your choice>
URL
/sap/bc/ui5_ui5/otbcwui/pf07_bc_ui_03
Component
ot.approve.requests03
Note: You must use the semantic object created in Step 1 on page 779
whereas the rest of the configuration will remain same for both
Supplier Invoices app and Supplier Accountant app.
4. Create tiles.
After you have defined the target mapping, you can create the required tiles.
Create a tile for the Supplier Invoices app in its respective catalog. Create
another tile for the Supplier Accountant app in its respective catalog.
General
Title
<A title of your choice>
Subtitle
<A subtitle of your choice>
Icon
<An icon of your choice>
Example: sap-icon://Fiori2/F0021
Dynamic data
Service URL
There is no need to maintain a Service URL.
Navigation
Semantic Object
Enter the object that you have created in Step 1 on page 779.
Action
Enter the action that you have defined in Step 3 on page 780.
Parameters
Supplier Invoices app
Parameters have the following syntax for the Supplier Invoices
app:
workplaceId=SUP_INBOX&system=<BACKEND_SYSTEM>&appMode=
FS
where<BACKEND_SYSTEM> is the system alias of the backend
system.
Example: If the system alias of the backend system for the Supplier
Invoices app is TWRCLNT800, then parameters are the following:
workplaceId=SUP_INBOX&system=TWRCLNT800&appMode=FS
Notes
The SAP user account that is used on the SAP Fiori UI / Gateway system requires the
following:
The SAP user account that is used on the SAP ERP system requires the following:
• The role that is created for the SAP Fiori catalog (see To assign a catalog to a role:
on page 783) should be assigned to the Template User, which is maintained in
SAP Front End and Gateway systems.
• Additionally, the User Authorizations mentioned in this section should be
maintained in a role and that role should be assigned to Template User of SAP
Front End and SAP ERP systems.
Note: For details about the Template User, see “User Self Service roles and
authorizations” on page 804.
• The role that is created for the Supplier Accountant app should be assigned to
the user.
• Additionally, the User Authorizations mentioned in this section should be
maintained in a role and that role should be assigned to the user.
Note: The SAP user must have the identical user name on the SAP ERP and the
SAP Gateway system.
Limitations
3. For Process Type 426, select the Active check box, and save your changes.
Users, Roles, and Authorizations for User Self Service – Create the following types
of users:
• Service User
• Admin User
• Reference User
Service User
The Service User is used by anonymous users to create requests to create users,
or to reset the password for the users created.
The Service User is an Internet user created both in the SAP Gateway hub, and
in the SAP Business Suite System with the IWBEP add-on.
1. Create a user of type Service, for example gwusssrv, with the /IWFND/RT_
GW_USR role template.
2. To your newly created Service User, assign roles for creating, and unlocking
users, as well as changing passwords for users, in SAP NetWeaver AS
ABAP.
To set up the Service User in the SAP Business Suite with IW_BEP add-on:
Admin User
The Admin User is required in the SAP Gateway with the IW_BEP add-on for the
following actions:
To setup the Admin User in the SAP Business Suite system with IW_BEP
add-on:
Reference User
Create Reference Users in both SAP Gateway hub and SAP Business Suite
System with IW_BEP add-on.
Reference Users are used as a reference to create named users in SAP
NetWeaver AS ABAP.
3. Maintain the user profile, using the roles tab in the User Management tool
(SU01) in SAP NetWeaver AS ABAP.
4. Assign the set of roles that are required for the users to be created out of the
Reference User.
5. Enable changing the password, using the roles in the User Management tool
in SAP NetWeaver AS ABAP.
To set up the Reference User in the SAP Business Suite system with
IW_BEP add-on:
3. Maintain the user profile, using the roles tab in the User Management tool
(SU01) in SAP NetWeaver AS ABAP.
Note: For more details, see the SAP Gateway Foundation Security Guide:
“Security Aspects of User Self Service”
26.3.2.2 Configuring the SAP Business Suite system for User Self Service
This section describes the settings on the SAP Business Suite system that are
required for User Self Service.
9. On the Logon & Security tab, Logon area, enter the SAP system’s Client
number.
10. Select the Current User check box.
11. Click Yes for Trusted System and save your settings.
1. Run the SPRO transaction, open the SAP Reference IMG and navigate to SAP
NetWeaver > SAP Gateway Service Enablement > Backend OData
Channel > User Self Service Setup > Maintain RFC Destinations for User
Replication.
2. Click the activity icon.
Note: The implementation type must be IWBEPUM if you want to use the
default User Self Service solution from SAP Gateway.
Create a type 3 RFC destination with the name IWBEP_UM_BGRFC for the
inbound queue:
6. Click the Special Options tab and click Classic with bgRFC in the Transfer
Protocol list.
The following inbound destination configuration is required for executing the user
creation and user maintenance process in asynchronous mode.
Note: For more details, see SAP Gateway Foundation Developer Guide:
“Configuring SAP Business Suite System for User Self Service”.
4. In the RFC Destination field, enter a name, for example <XX>_TRUST, where
<XX> refers to the SAP Business Suite system.
7. On the Technical Settings tab, in Load Balancing, click the relevant option
according to your system’s settings.
8. In the Target Host field, enter the (message) server name of the SAP Business
Suite system.
9. In the Instance No. field, enter the SAP NetWeaver system number, for example
00.
4. Click Continue.
5. On the log-on screen that is displayed, log on with the User with the
authorization object S_RFCACL.
4. In the RFC Destination field, enter a name, for example <XX>_TRUST, where
<XX> refers to the SAP Gateway system.
5. In the Connection Type field, enter 3.
6. In the Description 1 field, enter an explanatory text and click Save.
7. On the Technical Settings tab, in Load Balancing, click the relevant option
according to your system’s settings.
8. In the Target Host field, enter the (message) server name of the SAP Business
Suite system.
9. In the System Number field, enter the SAP NetWeaver system number, for
example 00.
10. Save your settings.
4. In the RFC Destination field, enter a name, for example <XX>CLNT800, where
<XX> refers to the SAP Business Suite system.
7. On the Technical Settings tab, in Load Balancing, click the relevant option
according to your system’s settings.
8. In the Target Host field, enter the (message) server name of the SAP Business
Suite system.
9. In the System Number field, enter the SAP NetWeaver system number, for
example 00.
10. On the Logon & Security tab, enter the SAP system’s client number.
11. On the Logon & Security tab, activate the current user.
12. For the Trust Relationship, activate Yes and save your settings.
26.3.2.4 Configuring the SAP Gateway system for User Self Service
The following procedures refer to the SAP NetWeaver system, where the SAP
Gateway component is installed, for User Self Service.
f. Enter the Service User name in the User field and a password in the
Password field. For more information, see “Security aspects of User Self
Service” on page 788. This ensures that the service /IWBEP/
USERREQUESTMANAGEMENT is always executed in the service user context.
h. Click the Service Data tab and then click GUI Configuration.
3. Add the System Alias with the destination (<XX>CLNT800) created in “To create
the destination for the trusted connection for communication between SAP
Gateway system and SAP Business Suite system:“ on page 799.
f. Enter the Service User name in the User field and a password in the
Password field. For more information, see “Security aspects of User Self
Service” on page 788.
6. Add the System Alias with the destination (<XX>CLNT800) created in “To create
the destination for the trusted connection for communication between SAP
Gateway system and SAP Business Suite system:“ on page 799.
For more details, check the steps described in SAP Gateway Foundation Developer
Guide: “Configuring SAP NetWeaver System for User Self Service”.
26.3.2.5 Performing User Self Service IMG activities in the SAP Business
Suite System
User Self Service specific configuration tasks are included in the SAP Gateway
Implementation Guide (IMG), which is available in the system.
To access these IMG activities, run the SPRO transaction, open the SAP Reference
IMG and navigate to: SAP NetWeaver > SAP Gateway Service
Enablement > Backend OData Channel > User Self Service Setup.
2. Maintain Number Range Interval for User Self Service (mandatory): Use this
activity to maintain the number range for generating the users in the SAP
system.
Note: No. must be 01 and the interval From number must be greater than
0.
4. Maintain User Category (mandatory): Maintain the list of user categories for
your application using this activity.
Version
Enter the version. By default, enter 1.
Namespace
Enter /OTX/ for PS33_USREGSRV_SRV and /IWBEP/ for
USERREQUESTMANAGEMENT.
User Category
Enter 1.
Reference User Name
Enter the Reference User created in “Security aspects of User Self Service”
on page 788.
5. Define Handler for User Management Notification: This is an activity for the
BAdI /IWBEP/BD_MGW_UM_NOTIFICATION to notify about the user creation.
3. To resend the email report, enter the company code in the COMPCODE field or
specific vendors in the VENDOR field.
Template User roles and authorizations are copied to supplier users created during
the Registration process.
For required roles and authorizations that need to be applied for the Template User,
see “User authorization” on page 786.
5. Enter the User ID of the Template User in this constant, Value field.
Notes
• The Template User must be available in both SAP Gateway and SAP
ERP / SAP Business Suite systems.
• The Template User must have all the roles and authorizations required
for the Supplier Invoices app.
Application Name
Enter /OTBCWUI/PS31_3S_USREG.
Protocol
Enter HTTP or HTTPS.
Gateway Host
Enter the fully qualified name of the Gateway Host.
Gateway Port
Enter the port number.
Active
Enter TRUE.
Show Hdr
Show Header. Enter TRUE.
Show Fo...
Show Footer. Enter TRUE.
Note: The configuration for Company Codes, Suppliers, and Users is filled
automatically during the User Registration process.
To configure log in to Fiori Launchpad with alias name (SAP Gateway system):
3. On the Define Services screen, in Hierarchy Type, enter SERVICE and click .
4. Navigate to /default_host/sap/bc/ui2/flp.
8. Navigate to /default_host/sap/bc/ui5_ui5/ui2/ushell.
Key features
Foundation The VIM Supplier Invoices Fiori app, based on SAP Fiori, is an optional component.
component It provides a Fiori Task App that enables suppliers to keep track of their invoices’
configuration
status. It also shows additional information like payment status and SAP documents
linked to the invoice, for example Purchase Order number and Delivery Note
number.
For more information, see “Apps based on the Fiori Task App“ on page 483.
You can customize the settings described in this section in the Foundation
component configuration.
PS34_VIM_S3_INV_O
Node for the All tab (fetch all supplier invoices)
PS34_VIM_S3_INV_M
Node for the This Month tab (fetch invoices prior to 30 days)
PS34_VIM_S3_INV_Q
Node for the This Quarter tab (fetch invoices prior to 120 days)
PS34_VIM_S3_INV_Y
Node for the This Year tab (fetch invoices prior to 365 days)
3. To customize the order of the nodes, edit the values in the Node pos. (Node
position) column.
For more information, see Section 9.6.3 “Assigning nodes to work centers” in
OpenText Vendor Invoice Management for SAP Solutions - Configuration Guide for
Foundation (BOCPE-CGD).
2. Mark the Node ID of the tab for which you want to configure the sort field.
Example: Mark Node ID PS34_VIM_S3_INV_O to configure sorting for the All tab.
3. Add the sort field from the list of supported sort fields, using the following
parameters:
Field Name
Enter the technical name of the field.
Position
Enter a numeral. The display order of the sort fields is based on this field.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
2. Mark the Node ID of the tab for which you want to configure the search field.
Example: Mark the PS34_VIM_S3_INV_O Node ID to configure searching for the All
tab.
3. Add the search field from the list of supported search fields using the following
parameters:
Field Name
Enter the technical name of the field.
Position
Enter a numeral. The display order of the search fields is based on this field.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
2. Mark the Node ID of the tab for which you want to configure the filter field.
Example: Mark the PS34_VIM_S3_INV_O Node ID to configure filtering for the All tab.
3. Add the filter field from the list of supported filter fields using the following
parameters:
Field Name
Enter the technical name of the field.
Position
Enter a numeral. The display order of the filter fields is based on this field.
No multi
This check box is not used in this version.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
Then double-click Full Screen List - Data Binding in the Dialog Structure.
Field Name
Enter the technical name of the field.
Note: The following fields are supported:
• XBLNR
• STATUS_TXT
• BLDAT
• PYMNT_TERMS
• DOCID
• GROSS_AMOUNT
• WAERS
• NAVLINK.
Other fields are not supported to configure the full screen list - data
binding.
Width (CSS)
Enter the width of the field in percent.
For more information about these settings, see “Configuring company code settings”
on page 767.
For more information about these settings, see “Configuring the supplier settings”
on page 769.
6. Delete the entries of this user from this table and save your changes.
After deletion of entries in the Supplier Self Service tables, remove the role created
for the Supplier Invoices app from the roles of the user for which you want to
deactivate the Supplier Invoices app.
Remove all the roles given to this user in the context of the Supplier Invoices app
from this user.
• Supplier
• Supplier Care Executive
For more information, see “Apps based on the Fiori Task App“ on page 483.
3. Add the sort field from the list of supported sort fields, using the following
parameters:
Field Name
Enter the technical name of the field.
Note: Only the BLDAT field is supported for the sorting.
Position
Enter a numeral. The display order of the sort fields is based on this field.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
3. Add the search field from the list of supported search fields using the following
parameters:
Field Name
Enter the technical name of the field.
Note: Supported search fields are BUKRS, DOCID, GROSS_AMOUNT, and
XBLNR. For other fields, search is not supported.
Position
Enter a numeral. The display order of the search fields is based on this field.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
2. Mark the PS34_VIM_S3_INV Node ID, and double-click Filter fields in the
Dialog Structure.
3. Add the filter field from the list of supported filter fields using the following
parameters:
Field Name
Enter the technical name of the field.
Note: Supported filter fields are BLDAT, LIFNR, and STATUS_TXT. For
other fields, filtering is not supported. Multi-selection within filters is
not supported.
Position
Enter a numeral. The display order of the filter fields is based on this field.
No multi
This check box is not used in this version.
For more information, see Section 9.6.2.1 “Adding fields for searching, sorting, and
filtering to a node” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
2. Mark the PS34_VIM_S3_INV Node ID and double-click Full Screen List - Data
Binding in the Dialog Structure.
Field Name
Enter the technical name of the field.
• XBLNR
• STATUS_TXT
• BLDAT
• PYMNT_TERMS
• DOCID
• GROSS_AMOUNT
• WAERS
• NAVLINK.
Other fields are not supported to configure the full screen list - data
binding.
Width (CSS)
Enter the width of the field in percent.
3. Delete entries that are not mentioned in the screenshot. Otherwise the
document date filter does not work as expected.
For more information about these settings, see “Configuring company code settings”
on page 767.
For more information about these settings, see “Configuring the supplier settings”
on page 769.
User ID
Enter the user ID.
E-Mail Address
Enter the email address of the user.
Language
Enter EN.
Note: Other languages are not supported.
LogSystem
Enter SAP logical system details
Supplier ID
Enter the Supplier ID of the supplier that you want to link to this user.
Name
Enter the name of the supplier that you want to link to this user.
UserID
Enter the user ID of the accountant.
CompCodeID
Enter the Company Code ID of the company code that you want to link to
this user.
Department
No need to fill this information.
After deletion of entries in the Supplier Self Service tables, remove the role created
for the Supplier Accountant app from the roles of the user for which you want to
deactivate the Supplier Accountant app.
Remove all the roles given to this user in the context of the Supplier Accountant app
from this user.
2. On the 3S Fiori Registration App URLs screen, configure the application, using
the following parameters:
Application Type
Two application types are available. Select from the list:
• 3S Registration On-Cloud
• 3S Confirmation On-Cloud
Application URL
Example: HTTPS://OTUSRREGUIV5-A9E96CFA0.DISPATCHER.HANA.
ONDEMAND.COM
• For the 3S Confirmation On-Cloud URL, configure the URL that is
derived from the Portal Service of the Fiori Launchpad site. For more
information, see “Integrating VIM Fiori apps into Fiori launchpad”
on page 496.
Example: HTTPS://FLPNWC-A9E96CFA0.DISPATCHER.HANA.ONDEMAND.
COM/SITES?SITEID=5CE0A2AA-2B38-4667-BA93-4E5FC23AF02B
The SAP Ariba Network is a global business commerce network, where companies
can collaborate with any other when buying, selling, or managing cash. Apart from
Ariba Network, SAP Ariba offers other enterprise applications for different business
processes.
VIM can be integrated with the Ariba Network on the buyer side. Currently,
integration with other applications is not supported.
In the Ariba Network buyer scenario, suppliers create invoices in the Ariba
Network. The invoices are sent to the SAP ERP (SAP S/4HANA) system of the
buyer. The buyer processes all incoming invoices in VIM. Besides local invoice
channels (email or scan or OCR), the buyer is connected with the Ariba Network and
receives invoices of his suppliers from this channel.
Note: Both Ariba Cloud Integration CI-9 and Ariba Network Integration for
SAP Business Suite will be retired by SAP at the end of 2021. OpenText will
cease the support of integration in those scenarios by the same time, with Ariba
Cloud Integration Gateway remaining the only supported scenario.
VIM integration The standard business application (IDOC integration or Ariba SAP add-on
integration) posts or parks the invoices automatically on the SAP ERP (SAP S/
4HANA) back end system without the possibility to handle exceptions within a
workflow. With the integration of VIM, the DP workflow starts and VIM is the
single point of access for all invoices. VIM processes exceptions, both for invoices
received electronically or by paper. VIM controls the process for the automated
reconciliation and posting.
Invoice status During the invoice process, the Ariba Network retrieves status information of the
invoice process in the SAP ERP (SAP S/4HANA) system. The Ariba Network
updates the invoice status on the network. This enables vendors to see the
processing status of their invoices on the Ariba Network. For details of updating the
invoice status on the Ariba Network for VIM, see “Outbound processing
(StatusUpdate)” on page 838.
– Transfer of invoices posted directly in SAP ERP (SAP S/4HANA) for vendors
integrated into the Ariba Network. OpenText provides a BADI
implementation to prevent duplicates when using standard SAP CC invoice
integration.
You find details about installation and configuration of the SAP add-on Ariba
Network Integration for SAP Business Suite 1.0 on the SAP Service Marketplace. For
relevant prerequisites, see Section 22 “Vendor Invoice Management ARIBA
Integration component installation” in OpenText Vendor Invoice Management for SAP
Solutions - Installation Guide (VIME-IGD).
You can use the Inbound Configuration to handle incoming document processing.
For more information about how to configure document registration for custom
registration and document handler, see Section 4.4.2.5 “Customizing a custom
registration type” in OpenText Vendor Invoice Management for SAP Solutions -
Configuration Guide for Foundation (BOCPE-CGD).
To activate the Ariba processing for the Inbound Configuration, you must activate
the BC_INBOUND Z constant.
1. Run the SPRO transaction and navigate to Integration with Other mySAP.com
Components > SAP Business Suite Integration Component for Ariba >
Application Specific Settings > SAP ERP Integration Component for Ariba >
Business Add-Ins (BAdIs) > BAdI: Inbound Mapping.
3. To maintain the inbound processing for the corresponding network, run the /
OPT/SPRO transaction and navigate to Document Processing Configuration >
General Configuration > Incoming Document Processing > Maintain
Processing for Supplier Network.
1. Processing of inbound cXML messages and storing them in form of key and
value according to the Ariba specific mapping. For more information, see
“Mapping fields (Ariba specific mapping)” on page 829).
2. Inbound component processing with Ariba specific mapping. At this step,
invoice attachments are archived, and a VIM DP document and corresponding
DP workflow is created. See also “Mapping VIM fields” on page 831.
To process the inbound cXML messages in case of direct connectivity, the program
ARBFND_FETCH_CXML_MESSAGES must be scheduled to run periodically (ARBFND_
Refer to Section 2.2 “Batch jobs for Inbound Configuration” in OpenText Vendor
Invoice Management for SAP Solutions - Administration Guide (VIME-AGD) for
monitoring and background job information.
The mapping is conceptually similar to the IDoc mapping. It points to the specific
fields in the input structure, allowing to choose the starting point in the structure
and, in case a list of values is provided, search for specific lines of internal tables by
the use of qualifiers.
Not all cXML fields can be mapped by creating new configuration entries, only.
Unlike IDocs, which have a table-like two-dimensional structure, cXML is
transformed internally into an ABAP structure with many levels of nesting. If the
nesting involves internal tables, OpenText mapping allows to perform table lookups
using qualifiers.
However, only one level of such lookups is possible. It is not possible to handle
tables inside of tables. The standard mapping logic will simply extract the first line
of each table when traversing a path that is not specified by a qualifier. For such
cases, you can use a function module mapping.
In the baseline configuration, OpenText delivers several function modules. You can
use them as an example of how to implement logic for any project specific fields.
Path Type
Select the path type:
Header
The mapping path to the field begins at request-invoice_detail_request
of the structure ARBERP_XINVC_S_CXML.
Service item
The mapping path to the field begins at request-invoice_detail_
request-invoice_detail_order-invoice_detail_service_item.
Field path
Enter the field path. This setting denotes the further path to the field, starting
where the shortcut set in path type ends. The path is traversed step by step to
find the fields. If there is any internal table used in the path, either its first line is
read, or the qualifier is used to find the line. You can use qualifiers only if the
table is the last element of the path.
Qualifier Field Name
Enter the field name that is used to search lines of internal tables. If the value # is
entered, the qualifier value must be numeric, containing the index of the table
line to read.
Qualifier Field Value
Enter the value that will be searched for in the field set in the Qualifier Field
Name to find the needed table line. It can contain a line index if # is used instead
of the qualifier field name.
Field Name
Enter the name of the source field to map.
Document Field Name
Enter the name of the target field to map.
Note: This is not yet the name of DP document fields but the field name to
be used as a source field in the second (VIM fields) mapping.
Field Mapping Type
Select V for the value to be assigned without any conversions. Alternatively, you
can use a function module (mapping type = M).
Value
Enter the name of the function module to be called for field value conversion.
For header fields, the function module /OPT/VIM_ARB_TEMPLATE_2 provides an
interface template.
The selection of the main invoice document is controlled by the external profile
settings in the channel settings for the ARIBA channel. There must be exactly one
entry provided in the external profiles list. If this entry has set the PDF document
class, the PDF file is chosen as the main document. If the XML document class is set,
the cXML message itself is saved as an XML file and is used as the main document.
The archiving document type for the main document is set according to the value in
the external profile.
The archiving document type for other documents is read from the VIM constant
table, the constant 005/ADDL_DOCS_AR_OBJECT.
Notes
In the following example, the invoice PDF file is set as the main invoice document.
This setting is delivered as standard configuration:
Application log The first (ARIBA specific) mapping is run by the program ARBFND_FETCH_CXML_
MESSAGES / ARBFND_FETCH_CXML_MESSAGES_NEW (for direct connectivity, or by the PI
in case of mediated connectivity) . You can verify the results of the processing in the
application log, transaction SLG1, to be started with object ARIBA_INTEGRATION.
Error types In case of non-recoverable errors, like missing configuration, the processing aborts at
this step. If you are using custom mapping functions, return a message of type A in
the messages return table to abort the processing. Messages of type E (error) do not
stop the processing but allow the errors to be verified on later DP processing steps.
In case of non-fatal errors happening during the data mapping, the processing will
continue. The error messages are stored for later review in the DP process.
Process type To be able to review the messages, enable the new DP process type 403. This process
403 type should be normally configured to be one of the first processes checked for
relevant DP document types. For process type determination, use the function
module /OPT/VIM_DETERMINE_PROC_IDHERR.
When using the process type 403, you must add the process option 2025 (Confirm
errors) to the options list for relevant roles. This new option allows to confirm the
errors in the document mapping and lets the DP processing continue to run. For
details about process type and process option configuration, see “Defining the
process type determination sequence” on page 177 and “Configuring DP process
options” on page 247.
When the DP workflow stops on the process type 403, you can use the Display
Errors button in the DP dashboard to review the errors happened during the data
mapping.
Note: The program will process only the invoices that are already in the DP
process.
Payload ID
Enter the payload ID of the original invoice cXML message
Document ID
Enter the DP document ID
Registration ID
Enter the Inbound registration ID of VIM Foundation.
Reversal Reason
Enter the default reversal reason to use when cancelling SAP documents.
If you do not provide a value, the program uses the reversal reason 01
(Reversal in current period). If 01 is not maintained in the SAP ERP
(SAP S/4HANA) system, it will try to use reversal reason 03 (Actual
reversal in current period).
The cancellation program tries to cancel documents and stop workflows regardless
whether other steps succeed. If any step fails while other steps succeed (for example
document is obsolete but workflow could not be stopped by some reason), the failed
steps will be retried on the next program run.
2. Decide which condition types will be used for shipping and handling.
Configure this accordingly for qualifiers FREIGHT and HANDLING in the
customizing for additional cost mapping.
The customizing area for this configuration is: OpenText Vendor Invoice
Management Invoice Solution > Document Processing Configuration >
General Configuration > Incoming Document Processing > Maintain
Handling of Additional Costs > Planned Costs - Mapping of Qualifiers to
Condition Types
For more information, see “Maintaining additional cost handling” on page 294.
27.1.1.9 Alternatively mapping tax codes and tax jurisdiction codes for
PO invoices
The initial release of the Ariba Network integration component provided tax code
mapping that uses standard SAP Ariba mapping of tax categories to tax codes. As an
alternative, you can use VIM’s own tax code determination using the tax rate sent
from Ariba Network.
To complement these mappings, VIM now provides an alternative mapping with the
mapping function module /OPT/VIM_ARB_MWSKZ_PO. This function module delivers
the tax code from the corresponding purchase order item. This mapping change
needs to be performed manually, it is not delivered in a BC set.
In addition, VIM provides a new mapping for tax jurisdiction codes, with the
function module /OPT/VIM_ARB_TXJCD. This function module delivers the tax
jurisdiction code from the corresponding purchase order item. You also need to add
the respective mapping in the VIM fields mapping for Ariba. You can activate these
mapping changes with a BC set or perform them manually.
Note: The Ariba mapping for tax jurisdiction codes uses the CXML source field
tax description. If you need to map the real value of tax description for your
purposes, use another field for tax jurisdiction code.
1. Run the SPRO transaction and navigate to Integration with Other mySAP.com
Components > SAP Business Suite Integration Component for Ariba >
Application Specific Settings > SAP ERP Integration Component for Ariba >
Business Add-Ins (BAdIs) > BAdI: Outbound Mapping.
2. In the BAdI Implementations dialog box, make sure that the BAdI
implementation /OPT/EH_E_ARB_BADI_OUTB_MAP is activated.
3. To maintain the outbound processing for the corresponding network, run the /
OPT/SPRO transaction and navigate to Document Processing Configuration >
General Configuration > Incoming Document Processing > Maintain
Processing for Supplier Network.
4. In the Define Supplier Networks screen, make sure that the outbound
processing default class /OPT/CL_E_ARB_OUTBOUND is configured correctly for
network AN.
Ariba Cloud Integration adapter is supported by SAP until December 31, 2023. On
SAP S/4HANA, only releases up to 1709 are supported. OpenText can support this
integration option until the mentioned date and only on releases supported by SAP.
OpenText recommends that you plan the transition to Ariba Cloud Integration
Gateway in the near future.
Notes
For the PI adapter, VIM provides an integration white paper which describes the
different integration options. The white paper is available for integration partners on
My Support: https://knowledge.opentext.com/knowledge/cs.dll/Overview/38761889.
Processing
Invoice in process
Reconciled
Invoice posted successfully
Paid
Invoice partially/fully paid
Canceled
Invoice canceled
Rejected
Invoice not posted from IDoc
The standard function of the Ariba Network Adapter only tracks the status of
invoices after posting. With the integration of VIM, tracking must also cover
documents that have not yet been posted but are processed inside DP or a parking
workflow. Therefore, VIM delivers functionality to add VIM specific status
information to the status retrieval of the Ariba Network or Ariba CI Adapter. This
includes a configuration to map the process status of a VIM invoice to the status
codes that are known in the Ariba Network. It also includes a program include to be
called in a customer exit of the Ariba Network Adapter. For Ariba CI Adapter,
OpenText provides a BAdI implementation that is called by the status update
program to add VIM based status information.
Note: Currently only versions 12s2 and 11s2 of the Ariba Network Adapter are
supported. For integration based on Ariba CI adapter, version CI-8 and later is
supported.
2. In the Define Supplier Networks screen, maintain an entry for the Ariba
Network, using the following parameters:
Netw
Enter a two-digit identifier for the external supplier network.
Default value: AN
Supplier Network
Enter the name of the external supplier network.
Default value: Ariba Network
Class Name
Enter the name of the class containing the processing logic for the external
supplier network.
Default value: /OPT/CL_E_SUPPLIER_NETW_ARIBA
Notes
3. To define the status known in the Ariba Network, select the entry for the Ariba
Network and double-click Define External Status in the Dialog Structure.
4. In the Define External Status screen, maintain entries for all status codes
known in the Ariba Network, using the following parameters:
ExtStatID
External Invoice Status
Enter a two-digit, artificial key for the status of the external supplier
network.
External Status
External Invoice Status as known by the Network
Enter the invoice status as known by the external supplier network.
Example: canceled
Note: Ensure that the status code in the field External Status is exactly
the status code that is delivered by the Ariba Network. Pay attention
to lower and upper case.
External Status Description Long
Enter a description for the invoice status of the external supplier network.
5. To map the process status of a VIM invoice to the status codes that are known in
the Ariba Network, double-click Assign External Status to VIM Document
Status in the Dialog Structure.
can define default settings by using the empty value for the fields
Document Status, SAP Status and PrevStat (see the examples in this
section).
The most specific mapping is chosen first. If no exact match is found, the
next less specific mapping is taken and so on.
6. In the Assign External Status to VIM Document Status screen, maintain status
mappings for the Ariba Network, using the following parameters:
Document Status
Enter the VIM document status.
SAP Status
Enter the status of the SAP invoice (if already existing).
PrevStat
Previous External Invoice Status
Enter the artificial key for this previous external invoice status.
The Ariba Network determines an invoice status for posted invoices.
ExtStatID
External Invoice Status
Enter the artificial key for the new status that should be given to the Ariba
Network.
The Ariba Network has sent an invoice to the SAP ERP (SAP S/4HANA)
system. The invoice was posted with a payment block and is now waiting for
approval in the VIM process (Posted Approval). The Ariba Network Adapter
determines the external status processing (PR) for this invoice. What mapping
record will be taken?
For a posted, paid invoice, the Ariba Network Adapter determines the status
paid. As VIM does not deliver any additional value regarding the status
information, the status should be kept as it is.
Document Status
<empty> (all VIM document statuses)
SAP Status
<empty> (all SAP document statuses)
PrevStat (Previous External Invoice Status)
PD (paid)
The VIM invoice has the status Obsolete. An SAP invoice was not created. The
VIM invoice should be treated as a rejected invoice, that is an invoice that
was not “accepted” by the buyer or the buyer's system.
Document Status
08 (Obsolete)
SAP Status
<empty> (all SAP document statuses)
PrevStat (Previous External Invoice Status)
<empty> (Because the invoice is not yet posted, the Ariba Network Adapter
will not provide a status.)
ExtStatID (External Invoice Status)
RJ (rejected)
VIM knows a big variety of different document statuses. Invoices with status
Obsolete or Confirmed Duplicate should get the Ariba status rejected. All
others should get the Ariba status processing. It is possible to maintain a
default mapping for invoices:
Document Status
<empty> (all VIM document statuses)
SAP Status
<empty> (all SAP document statuses)
PrevStat (Previous External Invoice Status)
<empty> (all Ariba network statuses)
ExtStatID (External Invoice Status)
PR (processing)
Note: Currently only the Ariba Network Adapter with Version 11s2 or 12s2 is
supported.
(for Ariba Network Adapter Version 11s2 on SAP NetWeaver 7.0 and higher)
5. Navigate to the enhancement option at the end of the function module, that is
the enhancement option directly before the ENDFUNCTION instruction.
Because of dependencies on the Ariba CI-8 adapter, OpenText delivers the necessary
ABAP workbench objects as a separate set of transport files. You find the transport
files on My Support: https://knowledge.opentext.com/knowledge/llisapi.dll/Open/
64801445
1. EW3K901050
2. EW3K901080
3. EW3K901083
The delivery of the transports is provided with VIM 7.5 SP5. This scenario is
supported by VIM 7.0 SP3 and VIM 7.5 SP1 and later VIM versions. You can use the
provided transports with the mentioned older VIM versions and SPs.
This BAdI implementation uses the same IDoc mapping configuration as used for
the Network Adapter (11s2 and 12s2). The key difference is the class used in the
configuration:
SAP Ariba Cloud Integration Gateway (CIG) is the recommended integration option
to integrate VIM with Ariba Network.
The minimum VIM release and SP levels are VIM 7.5 SP5 with Business Center
16.0.1, and VIM 16.3 with Business Center 16.3.
Note: Support of freight and handling costs with delivered mapping requires a
minimum of VIM 7.5 SP8 or VIM 16.3.2 with Business Center 16.3.2. You can
still implement this on older versions by using a custom mapping function.
• Inbound Invoice. This includes standard invoice, credit memo and non-PO
invoices sent as IDOCs.
• Inbound Invoice Cancellations sent as a service message CreditMemoMsg.
• Outbound Invoice Status Update
• Both SAP ERP and SAP S/4HANA are supported. SAP Ariba CIG component
ARBCI1 is required. For details on specific SAP Basis, SAP_APPL or S4CORE
versions, see OpenText Vendor Invoice Management for SAP Solutions - Installation
Guide (VIME-IGD), OpenText Vendor Invoice Management for SAP Solutions -
Installation Guide (VIME-IGD), and the respective Release Notes.
Multiple backend scenarios with only a central system being integrated with Ariba
Network are not generally supported. It is possible for incoming invoices arriving
into the central system as IDOCs to be sent as VIM documents into the satellites and
be processed there, however, all other scenarios including the outbound status
updates are not supported in such cases. OpenText recommends that you integrate
each system, including satellites, directly with the Ariba Network through CIG to
ensure complete integration.
For more information on current limitations, see “Known issues” on page 851.
IDocs posted by standard SAP modules and outbound status updates sent back. To
achieve this, you can follow the documentation provided with CIG by SAP. Then
you can proceed to add VIM into the flow.
Note: SAP provides reports integrated into the SPRO transaction, which create
necessary entries in SAP IDoc configuration tables. To connect CIG and VIM,
change the IDoc configuration created by the reports. If the configuration
reports are run again by some reason, you must redo the necessary
configuration for VIM.
The following sections assume that the standard integration is configured to work
without VIM, and they describe the additional steps to perform.
3. In the WE57 transaction, enable the processing of the CIG IDoc type ARBCIG_
INVOIC by the Inbound component handler function module.
To support CIG integration, a new IDoc mapping is needed. The IDoc mappings are
maintained in the Foundation component customizing transaction /OTX/PF00_IMG.
OpenText provides a new IDoc mapping for CIG, delivered with a transport. If you
were following the CIG configuration guide provided by SAP, you likely have
created a new IDoc partner with the name that corresponds to your SAP system
logical system name.
The new standard mapping provided by OpenText does not refer to any specific
partner and therefore it needs to be copied to reflect your specific settings.
2. Find the mapping entries by the name of their development object ARBCIG_
INVOIC.
3. Copy the entries that provide your correct target IDoc partner:
4. If needed, adjust the existing entries or create new ones for other fields.
5. After finishing the mapping configuration, add an entry for your IDOC partner
in the node IDOC Hierarchy Item, with the following values:
Segment type
E1EDP01
Notes
• You can enter the 4-character qualifier values for freight and handling only if
you use Business Center 16.3.2 or a later support package.
• If using your logical system name as the IDoc partner name, you will
normally have to create production and test system mapping entries already
in your development or customizing system and then transport your
settings.
Support of The steps required to support attachments are two additional module entries in the
attachments handler definition used for IDOC processing. The standard VIM IDOC processing
handler is PS03_IDOC. This standard handler can be extended with the new steps
because the image extraction module checks for a specific Ariba CIG segment and
does not affect other IDOCs.
Alternatively, you can configure a separate handler only for Ariba CIG IDOCs.
For inbound invoice scenario based on IDOCs, you can use mapping exit functions
as described in “Available mapping functions” on page 146.
Notes
• The first module is delivered with the patch 01, the second one is
delivered with the standard product.
• The status 40 is originally used in XML processing. OpenText does not
deliver new statuses to keep this delivery independent and reduce
potential conflicts.
3. Make sure to rearrange the sequence numbers to have the correct module
sequence.
The final handler configuration must look like the following screenshot:
The attachments are archived with the archiving document type provided in the Z
constant 005 / ADDL_DOCS_AR_OBJECT. Verify the value of this constant in the SM30
transaction, table /PTGWFI/Z_CONST.
For further details about configuration and running of the Inbound Configuration,
refer to Section 4 “Inbound Configuration” in OpenText Vendor Invoice Management
for SAP Solutions - Configuration Guide for Foundation (BOCPE-CGD).
Company code For IDoc processing based in the Inbound component, OpenText provides an exit
mapping function module /OTX/PS03_EXIT_IDOC_BUKRS, which you can use to determine the
company code. The module is using the standard IDoc company code mapping table
of SAP, T076B. It is mapping the company code name from the IDoc segment field
E1EDKA1-NAME1 with parameter PARVW=“RE” to the company code maintained in
the mapping table. The company code name must be entered in the Ariba Buyer
configuration for the mapping to work.
Selecting When suppliers are sending attachments along with the Ariba invoice, typically as
attachments as PDF files, you might want to use those attachments as main invoice image. A Z
main invoice
image
constant configuration can be used to enable that. To select the file types that you
want to use, set the Z constant 005 / CIG_MAIN_ATTACH to the MIME type. Example
value: application/pdf.
If several files with the same MIME type are attached, only one file can be used as
main, all others are considered as invoice attachments.
Note: Ariba Network might send you an automatically generated PDF file for
each invoice, thus “competing” with other PDF files. However, this can be
switched off in your Ariba Buyer configuration.
Note: The status updates are not sent for incoming invoices that are still being
processed in the Inbound component. This means, from the time of the IDoc
creation until the start of the DP workflow. Typically, it is a short time period
defined by the frequency of the background job that runs the Inbound
component handler, unless the Inbound component processing stops with an
error by some reason.
The status updates are sent by the standard program provided with the CIG
package: ARBCIG_INVOICESTATUS_EXPORT. OpenText provides an implementation
of a BAdI called by that program to add VIM DP documents into the output. Make
sure that the BAdI implementation /OPT/VIM_ARB_CIG_ISU is active in CIG
customizing. Normally it is active after you install the VIM CIG integration
component.
Normally, you do not need to adjust the VIM to Ariba status mapping (contents
of other customizing nodes in the screenshot). If you need to do the changes in
the status mapping, see “Integrating the Ariba SAP NetWeaver Process
Integration adapter” on page 837 for more details.
PO credit memos
Currently the PO number is not being mapped into IDoc.
Non-PO invoices
Currently non-PO invoices sent as a service message FIInvoiceDetailRequest
are not supported. IDOC-based non-PO invoices are supported and can also be
posted as FI invoices depending on the DP process configuration.
SOAP API for Supplier Invoices
Inbound invoices based on the inbound service Supplier Invoice - Create (B2B)
(InvoiceRequest_In) are not supported.
Reporting, analysis and interpretation of business data are crucial to preserve and
enhance the competitive edge of companies. They optimize processes and enable
companies to react quickly and in line with market needs. SAP NetWeaver Business
Warehouse (SAP NetWeaver BW) provides tools and functions that enable
companies to attain these goals. In SAP NetWeaver BW, you can integrate,
transform, and consolidate relevant business information from productive SAP
applications and external data sources. SAP NetWeaver BW provides you with a
high-performance infrastructure that helps you evaluate and interpret data. Decision
makers can make well-founded decisions and identify target-orientated activities on
the basis of the analyzed data.
With VIM 7.0 BW content, OpenText delivers preconfigured reporting and analysis
scenarios for SAP NetWeaver BW that are based on consistent metadata.
The VIM BW content provides the relevant BW objects from extraction to analysis, in
an understandable, consistent model. The VIM BW content therefore provides you
with an efficient and cost-effective way to implement SAP NetWeaver BW for VIM
in your company.
The VIM 7.0 BW content focuses on VIM related process data. The key figures that
are available in the KPI Dashboard are either directly available or can be calculated
in the VIM 7.0 BW content also. This comprises the following key figures:
With VIM 7.0, BW content is delivered for SAP NetWeaver BW 7.0, SAP NetWeaver
BW 7.3, and OLTP systems with ECC 6.0. Technically, the VIM BW content
comprises DataSources together with the following components:
• Extractors
• InfoObjects
• DataStore Objects (DSO)
• InfoCubes
• MultiProviders
• BEx Query Variables
• Transformations
• InfoPackages
• DataTransfer Processes (DTP)
• Process Chains
• InfoObjects
• DataSources
• DataStore Objects (DSOs)
• MultiProviders
The main topic of the LSA is a model with different layers. The model describes the
way of data from the data source to the final data target. You see the data flow in a
tiered way where the data is passing several layers, in which it is transformed,
harmonized, validated and corrected.
The VIM BW content is structured according to the LSA. That means, separate
folders (so called InfoAreas) have been created for VIM to logically group the BW
objects for all layers with physical data storage.
Corporate Memory
The purpose of the Corporate Memory is to save raw data permanently for
history reasons to help recovery if needed.
The VIM 7.0 BW content provides a Write Optimized DataStore Object (DSO) for
every DataSource (master data and transaction data).
The VIM 7.0 BW content provides both a meta process chain that supplies data
to DSOs of the Corporate Memory and a meta process chain that does not
supply data to the Corporate Memory.
• from the Data Acquisition Layer to the Data Propagation Layer and to the
Corporate Memory
Reporting Layer
Data in this layer is provided to serve the requirements of the reports best.
The VIM 7.0 BW content provides standard InfoCubes.
Virtualization Layer
The Virtualization Layer is part of the Reporting Layer. The Virtualization Layer
makes it possible to exchange the physical data models (for example the
InfoCubes) on which the reports are based.
The VIM 7.0 BW content provides MultiProviders based on InfoCubes and on
DataStoreObjects. For more information, see Part IV “SAP NetWeaver Business
Warehouse details” in OpenText Vendor Invoice Management for SAP Solutions -
Reference Guide for Invoice Solution (VIME-RGD).
Figure 28-3 provides an example for the BW objects and their transformations for
master data with the help of the master data amount class.
1. OLTP system(s): Ensure that the following IMG activities of Central Reporting
are maintained properly:
a. On each OLTP VIM system (central and satellite), the VIM exception IDs
have been customized in the OpenText Configuration (/OPT/SPRO):
OpenText Vendor Invoice Management Invoice Solution > Cross
Component Configuration > Central Reporting > Report Table
Maintenance > Exception Definition and Mapping > Exception
Definition Maintenance and Exception Mapping Maintenance. See
“Activating Central Reporting Baseline and maintaining reporting tables”
on page 912.
Note: Time groups and time group ranges can be loaded from a
single OLTP system only. If there are multiple OLTP systems
connected to the SAP NetWeaver BW system, ensure that there is a
leading OLTP system that provides a complete list of all time groups
and time group ranges. This leading OLTP system may correspond to
the central system but this is not mandatory.
e. Check vendor groups and map them to vendors. See “Vendor groups”
on page 883.
Note: Vendor groups can be loaded from a single OLTP system only.
If there are multiple OLTP systems connected to the SAP NetWeaver
Note: Amount classes and amount class ranges can be loaded from a
single OLTP system only. If there are multiple OLTP systems
connected to the SAP NetWeaver BW system, ensure that there is a
leading OLTP system that provides a complete list of all possible
amount classes and amount class ranges. This leading OLTP system
may correspond to the central system but this is not mandatory.
g. Check exception classes and map all existing exception IDs to them. See
“Exception classes” on page 886.
Note: The texts of DP document types and the texts of channels can be
loaded from every OLTP system that is connected to the SAP NetWeaver
BW system.
2. SAP NetWeaver BW system: Ensure that the OLTP source systems have been
assigned to source system IDs in the Data Warehousing Workbench. If this is
not yet the case, maintain source system IDS for the OLTP systems:
b. Click Create.
c. Enter the logical system name and a description. Confirm your entries.
d. In the Source System ID column, enter the ID name for the corresponding
source system.
e. Save your entries.
3. SAP NetWeaver BW system: Ensure that the fiscal year variants are maintained
properly. To maintain the fiscal year variants, use the SAP IMG activity
Maintain fiscal year variant.
Click Replicate Metadata in the context menu of the above VIM application
components in the DataSource tree of the Data Warehousing Workbench.
f. Click Replicate Metadata in the context menu of the VIM DataSources in
the DataSource tree of the Data Warehousing Workbench. Replicate
metadata only for those VIM DataSources that are needed for your
purposes.
Important
OpenText strongly recommends to launch the replication of
DataSources from the lowest level of application components (for
example from the application component /OPT/VIM_MD for VIM
Master Data). Otherwise the replication and activation of DataSources
may take a lot of time.
Notes
Note: The given steps for replicating the metadata describe one possible
way only. Other ways are possible and valid.
For alternative ways and further details about the replication of metadata,
see the SAP documentation regarding the replication of DataSources in
SAP NetWeaver 7.x.
a. Gather the objects for the In Data Flow Before grouping and activate these
objects.
b. Then gather the objects for the In Data Flow Afterwards grouping and
activate these objects.
c. Using the buttons in the right screen area, make the following settings for
gathering dependent objects:
Button Value
Collection Start Manual Collection
Mode
Grouping In Data Flow Before
d. To select the VIM 7.0 Content objects that you want to activate, choose
InfoObjects by InfoAreas or InfoProviders by InfoAreas and then the
OpenText Vendor Invoice Management InfoArea.
e. Select the InfoObjects or InfoProviders that you want to activate from the
VIM scenarios and drag them to the right screen area.
f. Click with the quick info text Gather Dependent Objects. The first
group of objects is listed in the right screen area.
3. Start activation.
In the Active Version Available column, the icon is displayed for any objects
that are already activated and that you do not need to activate again.
a. In the Install column, select all objects that you want to activate. Any
objects for which the active and delivered versions differ can be identified
by the selection mark in the Match (X) or Copy column.
b. In the Match (X) or Copy column, select the objects that you want to
compare.
c. Click Apply > Install.
The Activation begins. As soon as the activation is complete, the data is
loaded automatically.
d. Repeat this procedure from Step 2 on page 862 (Gather Objects for
Activation in Data Flow) using the In Data Flow Afterwards grouping.
1. Select InfoObjects.
The characteristics and key figures of the VIM 7.0 BW content are organized in
InfoObject catalogs assigned to InfoAreas representing the different layers of
the LSA.
Select the InfoObject catalogs of the different LSA layers (Corporate Memory,
Data Propagation Layer, Reporting Layer) with the In Data Flow Before
option.
2. Install DataSources and data flow from source systems to Data Acquisition
Layer:
a. Select the leading OLTP source system and install the DataSources that are
needed for your purposes first with the In Data Flow Before option and
then with the In Data Flow After option. The object name of all VIM
DataSources starts with /OPT/.
First select with the In Data Flow Before option and then with the In Data
Flow After option.
Note: The InfoProviders and the data flow between the InfoProviders are
installed with this step as well.
4. Select the Meta Process Chains that are needed for your purposes with the In
Data Flow Before option. The object names of all the VIM process chains start
with /OPT/. You can use a filter on the object name to search for the VIM
process chains. The VIM BW content provides the following meta process
chains to be used directly or as a template to be adapted to customer needs:
Meta Process Chain for Delta Load of VIM Data w/o Corp. Mem. (technical
name: /OPT/VIM_ALL_01)
This meta process chain is used to upload master data and transaction data
from the leading OLTP system without storing data records in the
Corporate Memory and to further upload the data to the Reporting Layer,
that means to the InfoCubes.
Meta Process Chain for Delta Load of VIM Data with Corp. Mem. (technical
name: /OPT/VIM_ALL_02)
This meta process chain is used to upload master data and transaction data
from the leading OLTP system with additionally storing the data records in
the Corporate Memory and to further upload the data to the Reporting
Layer, that means to the InfoCubes.
Note: Both meta process chains are designed for a single OLTP system
only. If there are multiple OLTP systems connected to the SAP NetWeaver
BW system, the process chains need to be adapted for the non-leading
OLTP systems. In case of a non-leading OLTP system, the process chain
should restrict the master data to be loaded to the following:
3. SAP NetWeaver BW system: Schedule a meta process chain to upload VIM data
to the BW periodically.
5. SAP NetWeaver BW system: The VIM BW content reuses InfoObjects of the SAP
standard content, for example:
Ensure that all BW objects needed for the dataflow from the DataSources to
these InfoObjects are installed from the SAP NetWeaver BW content.
Additionally, ensure that the data for these InfoObjects is loaded. This includes
loading the data for the attributes of the above InfoObjects, for example the
country of a vendor.
The “Key Performance Indicator” Dashboard (KPI Dashboard) is a tool for managers
showing VIM related process data at a glance in graphical charts.
KPI KPIs are used for performance management. Organizations use KPIs to measure
their overall success or the success of a particular activity. For the KPI Dashboard,
the following KPIs have been implemented with several filters:
For information about the user interface of the KPI Dashboard, see “Viewing data in
graphical charts” in OpenText Vendor Invoice Management for SAP Solutions - User
Guide for Invoice Solution (VIME-UGD).
Note: Before running periodic jobs, you must complete all customizing steps
for the KPI Dashboard. See “Customizing settings” on page 878.
The KPI Dashboard architecture overview shows that different levels of data
preparation are necessary to provide correct KPI data.
Level 1a
The VIM logging continuously writes data to special Log Tables and Index Data
Tables in the Central System and the Satellite Systems (if involved). The
activation of the KPI Dashboard BC set starts the logging mechanism.
Level 1b
The KPI Data Collection assembles document and exception data from the
logging and saves them in the KPI Source Tables. A periodic collection job is
required on each involved system to fill the KPI Source Tables.
Level 2
The KPI Aggregation selects data from the KPI Source Tables (in different logical
systems if required), aggregates the data, transforms it and saves the data in the
KPI Target Tables. A periodic aggregation job is required only in the Central
System (or Single System) to fill the KPI Target Tables.
Level 3
The Web Dynpro uses the KPI Target Tables for visualization in the Web
Frontend.
KPI Source Tables and KPI Target Tables can always be refilled from the logging
tables.
Manual run
Run frequency
Ad hoc / on demand
Business background
Ad hoc reporting / short term KPI analysis for a certain period of time
Execution
Manually in dialog or background
Parameter settings
If you want to load just a special period of time for the KPI Dashboard, you can use
the KPI collection report on demand manually. All processes which have been
started and also finished within the chosen process start interval are included in the
resulting collection output and stored to the KPI source data tables. From there, the
KPI aggregation report picks up the data and writes it to the KPI target data tables
as data basis for the Web Frontend.
To run the KPI collection report in test mode, select Test mode. This setting will
display the collected data in an ALV grid before saving the result to the database.
Important
When using this ad hoc type of KPI data supply, you must completely clear the
KPI source and target data tables before. Otherwise, reloading just a special
period of time could probably result in inconsistent overall results and
interrupt the regular delta collection runs in a significant way.
Therefore, the following steps are required to fulfill short term ad hoc KPI
reporting requirements whenever needed:
3. Collect KPI source data for the required special time period using the KPI
collection report /OPT/VR_KPI_COLLECTION
4. Aggregate the collected KPI source data and write it to the KPI target data
tables using the report /OPT/VR_A_AGGREGATION using aggregation group
KPI.
The “Start From” date is the timestamp of the last run. The “Start To” date is
the current timestamp.
Test mode
Same processing, but the data is not written to the database, but shown in an
ALV Grid.
Configure the collection program as a job with a variant for the processing option
Delta mode.
When running the KPI collection in the regular delta mode, the report picks up all
processes which have been started and also finished after the last delta run. The
report stores the result to the KPI source data tables. From there, the KPI
aggregation report picks up the data that has been collected after the last
aggregation run and writes it to the KPI target data tables as data basis for the Web
Frontend.
The following steps are required to fulfill ongoing KPI reporting requirements:
Note: For best performance, OpenText recommends that you select only
the Init source table check box for all KPI entries.
The check boxes may not be combined!
Maintain KPI Settings
Make the KPI related sub function modules available in Maintain KPI Settings.
Run the /n/OPT/SPRO transaction and navigate to OpenText Vendor Invoice
Management Invoice Solution > Cross Component Configuration > Central
Reporting >KPI Dashboard > Maintain KPI Settings.
29.3 Authorizations
The access to the KPI Dashboard is limited to users that have a SAP user on the
central SAP ERP system.
The OpenText standard delivery restricts the user to see only the company code data
that he is authorized to access. The filter Company Code Group displays only
groups that contain at least one authorized company code. So, the ALL filter in
Company Code Group contains only the company code groups that the user is
authorized to access.
You can abolish this restriction and change the setting to: All users can see all
company code data. Therefore, change the value for constant DO_NOT_CHECK_BUKRS
to X. For details, see “Company code authority check” on page 893.
Important
If the company code check for authorization is running, and different users
have different company code authorizations, they will see different KPI
Dashboard filters and data.
Grouping A lot of customizing has to do with the grouping of data. The KPI Dashboard is not
the right tool to display a large range of values; for example, to show 20 different
company codes. The KPI Dashboard rather shows grouped data like company code
groups or vendor groups.
Important
You must define at least one company code group. Otherwise, the Web
Frontend of the KPI Dashboard cannot be viewed.
2. Create groups with a 4 character grouping ID and two descriptive fields (long,
short). Fill both description fields.
If you have between 1 and 20 different company codes that are relevant for the
KPI Dashboard, enter each company code as a company code group and fill the
description fields.
It is also possible to mix new company code groups with company code groups
that are identical with existing company codes.
The Flg: Disp. check box is for future use. It is not relevant now.
Important
If one company code is mapped to different company code groups, the
data displayed on the dashboard is not disjoint.
Important
Do not change the time groups.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Time Group Definition.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Maintain Time Group Ranges.
• On time
• Delayed
Note: The text symbols &1 and &2 in the Short Description will be replaced
during runtime with the Days from and Days to values.
Enter the maximum number of days for time group 1 and time type On time
(representing the invoices processed on time). In the example, all invoices with a
processing time less or equal 5 days are considered to be on time.
Enter the maximum number of days for time group 1 and time type Acceptable
(representing the invoices processed almost on time). In the example, all invoices
with a processing time more than 6 and less or equal 15 days are considered to be
almost on time.
Enter the minimum number of days for time group 1 and time type Delayed
(representing the invoices with delayed processing). In the example, all invoices
with a processing time more than or equal 16 days are considered to be delayed.
Enter the maximum number of days for time group 2 and time type On time
(representing the invoices approved on time). In the example, all invoices with an
approval time less or equal 2 days are considered to be on time.
Enter the maximum number of days for time group 2 and time type Acceptable
(representing the invoices approved almost on time). In the example, all invoices
with an approval time more than 2 and less or equal 4 days are considered to be
almost on time.
Enter the minimum number of days for time group 2 and time type Delayed
(representing the invoices with delayed approval). In the example, all invoices with
an approval time more than or equal 5 days are considered to be delayed.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Vendor Group Definition.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Maintain KPI Constants, constant KPI_VENDOR_CLASS.
<Empty>
Use SAP standard LFM1 mapping (continue with next section)
X
Use KPI Dashboard specific mapping
If you want to use a KPI specific vendor grouping, set the constant value to X,
and fill the vendor mapping table, as shown in the following.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Vendor Mapping.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Amount Class Definition.
The text symbols &1 and &2 will be replaced during runtime with the From amount
and To amount values for the amount classes.
The currency must be identical with the favorite currency in the KPI constants.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Maintain KPI Constants, constant FAVORITE_CURRENCY.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Exception Class Definition.
Note: If you change the texts, do not use special characters for the Short
Description.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Exception Class Mapping.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Maintain KPIs.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Maintain KPI Settings.
Check whether the following entries with Aggregation Group ID KPI and KPI
Group 1 are available:
• /OPT/KAGR_SUB_KPI1
• /OPT/KAGR_SUB_KPI2
• /OPT/KAGR_SUB_KPI3_TO_4
• /OPT/KAGR_SUB_KPI5_TO_6
T
Use the current system date.
P
Use the posting date of the document.
F
Use a fix date for the current year.
If you enter F, it is necessary to enter a value for the constant CURR_CONVERSION_
DAY.
The constant DASHBOARD_HELP_URL contains the link to the KPI Dashboard Help
page. Store the help file in the SAP mime repository and use the whole directory
structure in the URL link.
If the field is empty, the help link is not shown on the web page.
<Empty>
The default help link stored in constant DASHBOARD_HELP_URL is used.
X
The help link URL is changed to language specific setting:
<default help link without file extension> + “_” + sy-langu + <file extension>
Example: /SAP/PUBLIC/BC/UR/DOC/Help_E.html
Keep in mind to store all the language specific help files to the same repository
with restriction of the above naming convention.
Example: http://op60vimd89.optura.local:8000/sap/bc/webdynpro/opt/vim_
kpi_main
This functionality applies for URLs that are up to 80 characters. For URLs with more
than 80 characters, you must maintain the constant value as FM:<CUSTOM FM>, where
FM: indicates that a function module is used, and <CUSTOM FM> indicates your
function module name. As a function module template, use /OPT/DETERMINE_
KPIURL_TEMPLATE.
If the application uses secure http (https) for communication, apply changes as
described in Section 14.2.2 “Setting the connection for the SAP Web Dynpro service”
in OpenText Vendor Invoice Management for SAP Solutions - Installation Guide (VIME-
IGD).
<Empty>
Check for company code authorization.
X
Do not check for company code authorization. Show all data for all users.
Enter the currency in which the amount of all invoices should be displayed. This is a
central constant also used during aggregation.
Important
It is absolutely necessary to enter the value with the YYYYMM notation.
Example: If the year is 2011, and the month is October; enter 201110
<Empty>
The standard SAP vendor grouping of table LFM1 is used.
X
You have to fill the KPI specific customizing vendor mapping. See “Mapping
vendor groups” on page 884.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Maintain URL Parameter.
SAP-CLIENT
Enter the client number of the SAP ERP system where the KPI Dashboard has
been installed and activated.
SAP-EP-THEMEROOT
Enter the path from where the theme of the Web Dynpro application is taken (to
use MIME objects, such as pictures and style sheets for visualization). You can
change the parameter for using custom CI-style guides. Default value: OpenText
SAP-LANGUAGE
Only EN, DE, and FR are allowed at the moment.
SAP-SYSTEM-LOGIN-BASIC_AUTH
If you have sap-system-login-basic_auth=X in the URL, a session cookie is
created. That is the reason why you can still load the application without re-
authentication. If you have the IE Developer Toolbar, you can clear session
cookies and try again. It will ask for credentials then.
SHOW_BANNER
Enter Y to show banner images (default setting). To deactivate banners, set the
value to N.
In the VIM Invoice Configuration (see “Customizing menu” on page 879), open
Maintain Header Text for KPI Download.
Time Range TO
Current month/year
Company Code Group
All
Channel
All
With the user parameter /OPT/VIM_KPI_MONTHS, you can set the KPI Dashboard
Time Range filter From. The value entered represents the number of months that
the KPI Dashboard goes into the past to collect data. The value must be a number
between 1 and 12. Other values are not allowed.
For users without this user parameter, the default value of 8 months is used.
Note: The KPI constant FILTER_START_PERIOD can be set to date that is higher
than the time range calculated as current month/year minus user specific
number of months. In this case, the value FILTER_START_PERIOD is used for
the initial display.
Example: FILTER_START_PERIOD is 201106 and the calculated Time Range FROM value
would be 201103. In this case, the initial display uses 201106.
In the VIM Invoice Configuration, navigate to the menu path OpenText Vendor
Invoice Management Invoice Solution > Document Processing Configuration >
General Configuration > Incoming Document Processing > Maintain Channels.
Make sure that all relevant VIM import channels that you want to see in the KPI
Dashboard are included in the table.
Important
The Web Dynpro application of the KPI Dashboard can display a maximum of
10 channels.
29.5 Troubleshooting
29.5.1 Problems with Excel download
Users might have problems downloading the KPI data from the Dashboard to Excel.
In this case, change the browser’s internet security settings in the Downloads sub
tree as shown in the following screenshot:
In this case, check the settings of the RFC destination IGS_RFC_DEST (TCP/IP
connection) on the backend system. Set the Program ID to IGS.<SID>; where SID is
the System ID of the SAP ERP system.
If the connection is successful, users should be able to access the KPI Dashboard
using the Web Dynpro page.
Automation report
30.1 Overview
The automation report is a tool that provides data about automated and manual
processing steps of VIM documents. For more information, see Section 5 “Using the
Automation Report” in OpenText Vendor Invoice Management for SAP Solutions -
Reference Guide for Invoice Solution (VIME-RGD).
Important
Data for the automation report is based on change documents for object class /
OPT/VIM_IDXDAT, which is a completely new feature with VIM 7.0 SP2.
Therefore, it is not possible to show automation data for documents that have
been processed in older VIM versions.
The VIM program “automation report” allows you to view and export the table
contents.
Run frequency
OpenText recommends that you run this report daily, in delta mode, in the
background.
Processing options
Delta mode
To run the ATM collection report in delta mode, select this check box.
This is the default setting.
To run the ATM collection report in full mode, clear the check box. You
need the full mode only if the data structures have been changed. This
may be the case when a new VIM SP is installed.
Note: Review the Release Notes of the SP to confirm if a full mode
run is necessary.
Test mode
To run the ATM collection report in test mode, select this check box.
This setting will display the collected data in an ALV grid before saving
the result to the database.
• Summary Report (see Section 8 “Using the Summary Report” in OpenText Vendor
Invoice Management for SAP Solutions - Reference Guide for Invoice Solution (VIME-
RGD))
• Central Audit Report (see Section 9 “Using the Central Audit Report” in
OpenText Vendor Invoice Management for SAP Solutions - Reference Guide for Invoice
Solution (VIME-RGD))
• Key Process Analytics Report (see Section 10 “Using the Key Process Analytics
Report” in OpenText Vendor Invoice Management for SAP Solutions - Reference Guide
for Invoice Solution (VIME-RGD))
• Exception Analysis Report (see Section 11 “Using the Exception Analysis Report”
in OpenText Vendor Invoice Management for SAP Solutions - Reference Guide for
Invoice Solution (VIME-RGD))
• Productivity Report (see Section 12 “Using the Productivity Report” in OpenText
Vendor Invoice Management for SAP Solutions - Reference Guide for Invoice Solution
(VIME-RGD))
• Aging Report (see Section 13 “Using the Aging Report” in OpenText Vendor
Invoice Management for SAP Solutions - Reference Guide for Invoice Solution (VIME-
RGD))
Aggregation To ensure good performance for the reports in Central Reporting, the data used for
the reports must be aggregated and saved in Reporting Data Tables. To achieve this
goal, the data is prepared in several different activities:
1. The Collection Report, the User Master Report and the Text Master Report get master
data and transaction data from their original tables and save the data in the
Source Data Tables. See “Scheduling the Collection Report” on page 916 for
details.
2. The Aggregation Report selects data from the Source Data Tables (in different
logical systems, if required), aggregates, transforms and saves the data in the
Reporting Data Tables of the current system. See “Scheduling the Aggregation
Report” on page 921.
3. The reports in Central Reporting are end user reports based on the content of the
Reporting Data Tables.
Configuration To configure Central Reporting, you have to perform the following steps:
steps
1. Maintaining logical systems and System Landscape Directory (SLD)
2. Running the Aggregation Report for the CUST_PREFL group
3. Creating variants of the Aggregation Report for each group
4. Maintaining report tables
5. Activating Central Reporting Baseline
6. Scheduling batch jobs for Central Reporting:
• Collection Report
• User Master Report
• Text Master Report
• Aggregation Report with variants for each aggregation group
Groups Data in Source Data Tables changes during the use of VIM. Therefore, the
aggregation of data to the Reporting Data Tables must run regularly. OpenText
strongly recommends scheduling batch jobs for this purpose. For different tables, the
necessary frequency to update will differ considerably. For example, the SAP
Vendors Table will change much less frequently than the Workitem Agents Table.
For this reason, several default groups, comprising specific tables, are set up for the
aggregation:
Groups beginning with OTH* are used by the Central Audit Report only. The other
groups are used by the other central reports.
CUST_PREFL
Comprises Roles and Exception Mapping. This group is used to prefill the
customizing tables for roles and exceptions (see “Activating Central Reporting
Baseline and maintaining reporting tables” on page 912) to ease customizing.
TRANSACT
Comprises Document Header, Workitem, Workitem Activities, and Workitem
Agents. This group will have to be executed most frequently because its content
is changed most frequently.
MASTER
Comprises Company Codes, Vendors, and Document Types.
USER
Comprises Users and the assignment of users to organizational objects within
SAP Organizational Management.
KPI
Builds up the KPIs which are offered by the KPI Dashboard.
Scheduling the Aggregation Report for the KPI group is only required if you
want to use the KPI Dashboard. See “KPI Dashboard“ on page 867.
OTH_MASTER
Recommended to run once. Depending on how frequently Parking Reasons,
Process Type Definitions and Blocking Reasons are maintained, schedule the job
accordingly.
OTH_DCHEAD
Recommended to run twice a day. The frequency can vary depending on
business needs. Group ID OTH_DCHEAD replicates the data from table /OPT/VT_
DOC_HEAD to the Central System. This table is useful for Central Audit Report
output.
OTH_VMHEAD
Recommended to run twice a day. The frequency can vary depending on
business needs. Group ID OTH_VMHEAD replicates the data from table /OPT/VIM_
1HEAD to the Central System. This data replication is useful for system wide
duplicate check for an incoming invoice.
OTH_AGENT
Recommended to run twice a day. The frequency can vary depending on
business needs. Group ID OTH_AGENT replicates the data from table /OPT/VT_
WI_AGENT to the Central System. This data replication is useful for current agent
display in the Central Audit Report.
Baseline To display the groups that are delivered with Baseline, run the /n/OPT/SPRO
groups transaction and navigate to OpenText Vendor Invoice Management Invoice
Solution > Cross Component Configuration > Central Reporting > Aggregation
Infrastructure > Aggregation report groups.
Note: OpenText strongly recommends that you do not change the Baseline
groups.
Target data To display the Baseline target data tables that will be filled by the Aggregation
tables Report, run the /n/OPT/SPRO transaction and navigate to OpenText Vendor Invoice
Management Invoice Solution > Cross Component Configuration > Central
Reporting > Aggregation Infrastructure > Aggregation report target tables.
Target and source tables are displayed, depending on the Aggregation Group ID.
Note: OpenText strongly recommends that you do not change the Baseline
target data tables.
For details, see Section 4.4 “Working with the System Landscape Directory (SLD)” in
OpenText Vendor Invoice Management for SAP Solutions - Scenario Guide for Invoice
Solution (VIME-CCS).
1. Central system – All satellite systems are maintained with proper RFCs and
classifications. The own logical system for the Central system itself is configured
with classification Central and with RFC destination NONE for system
communication.
2. Satellite system – The Central System logical system name is maintained with
proper RFC and classification. The own logical system for the Satellite system
itself is configured with classification Satellite and with RFC destination NONE
for system communication.
Note: Collection Report, User Master Report, and Text Master Report always
run in all systems involved. The Aggregation Report runs only in the central
system.
Note: Collection Report, User Master Report, Text Master Report, and
Aggregation Report all run in the concerned system.
1. To display the Aggregation report: Back end systems screen, run the /OPT/
VIM_ABE transaction.
Alternatively, navigate to OpenText Vendor Invoice Management Invoice
Solution > Cross Component Configuration > Central Reporting >
Aggregation Infrastructure > Back end systems
Notes
Note: The wrapper function on the logical system returns the source table
content as an XML stream to the central system, because it is not possible
to hand over internal tables as generic types in RFC. If the fields Character
set and Byte order remain blank, the system default will be used. In case
of XML conversion problems during execution of the Aggregation Report,
you can specify the encoding to be used in these fields.
Character set
Enter the character set, for example UTF-8.
Byte order
Enter the byte order, for example 1 if the character set uses big endian byte
ordering.
Note: For character sets and byte orders supported by SAP, see the
SAP documentation.
If you are not sure about the correct settings for your system, try the following:
a. In the related back end system, call the SE37 transaction and execute
function module SYSTEM_CODEPAGE.
Important
If you don’t want to use the default mapping from OpenText supplied baseline
content, use the CUST_PREFL group and run the report. Running the
Aggregation Report for the CUST_PREFL group prefills the customizing for
roles and exceptions.
You must manually map roles and exceptions in Central Reporting; see “Activating
Central Reporting Baseline and maintaining reporting tables” on page 912.
Group ID
Enter the group ID, in this case CUST_PREFL.
Asynchronous selection
Select this check box to have a new task opened for every call of the
selection function. If there are more than 35 Reporting Data Tables, this is
required to avoid overflow of buffer when creating generic subroutines
(used to define structures of internal tables dynamically).
1. Invoke the Aggregation Report screen, see “To run the Aggregation Report for
the CUST_PREFL group:“ on page 910.
2. Enter the Group ID and configure the report for this group, according to your
needs. See Step 3 on page 910.
4. In the ABAP: Save as Variant screen, enter Variant name and Description and
save.
Central VIM Baseline delivers exception mapping and role mapping as part of the BC set
Reporting activation. To access these mappings, run the /n/OPT/SPRO transaction and navigate
Baseline
to OpenText Vendor Invoice Management Invoice Solution > Cross Component
Configuration > Central Reporting > Report Table Maintenance. The mappings
have one key field Logical System that remains empty as the logical system key is
not supplied in the Baseline implementation.
If you want to configure custom user roles, add your settings before activating
Central Reporting Baseline. Maintain the roles manually in the Role Mapping
Maintenance without providing the logical system name as the key.
If you want to configure exceptions of your own, add your settings before activating
Central Reporting Baseline. Maintain exceptions in the Exception Mapping
Maintenance without providing the logical system name as the key.
To associate the mappings with the logical systems in the landscape, activate Central
Reporting Baseline by running the /n/OPT/VIM_SYS_ACTIV transaction. It is a one
time activity on each system involved. Perform it as a part of post installation
activity. If you activate Central Reporting Baseline, it provides default mapping of
role IDs and exception IDs from Baseline.
Maintaining If the baseline mapping of roles and/or exceptions does not suit your needs or if you
reporting tables want to enhance the mapping, some maintenance is required, before you can use the
reports in Central Reporting.
• Role Maintenance: Define the roles to be used in the reports. See “To maintain
roles for Central Reporting:“ on page 912.
• Exception Definition Maintenance: Define the exceptions to be reported. See “To
maintain exceptions for Central Reporting:“ on page 913
• Role Mapping Maintenance: Map roles from all the logical systems that have
been maintained for usage in the Aggregation Report. See “To map roles from
several back end systems:“ on page 914.
• Exception Mapping Maintenance: Map exceptions from all the logical systems
that have been maintained for usage in the Aggregation Report. See “To map
exceptions for several back end systems:“ on page 915.
Reporting > Report Table Maintenance > Role Definition and Mapping > Role
Maintenance.
Once you have run the Aggregation Report for the CUST_PREFL group, the
customizing tables for Role Mapping Maintenance and Exception Mapping
Maintenance are prefilled. To map roles/exceptions from several back end systems,
perform the following steps:
The columns Product Code and Responsible Party have been prefilled
automatically.
2. Assign the Role ID (as defined in “To maintain roles for Central Reporting:“
on page 912) to each responsible party (role) for specific product code.
The columns Exc. Type and Exc.typeID (Exception Type ID) have been prefilled
automatically.
2. Assign the Exc. ID (as defined in “To maintain exceptions for Central Reporting:
“ on page 913) to each Exception Type ID for specific exception type.
Note: For a description of the KPI Collection Report that is needed for the KPI
Dashboard, see “Collection job” on page 870.
The Collection Report collects data from VIM transactional tables and SAP workflow
tables and populates the Source Data tables. The Source Data tables are later
aggregated by the Aggregation Report into Reporting Data tables.
Scheduling You can schedule the Collection Report by running the /OPT/VR_COLLECTION_
REPORT program with appropriate start date and time in all the systems involved.
Cut-off date The only mandatory selection criterion is Creation Date From. You must set this
date. It refers to the cut-off date, the work item creation date. Any invoices that have
been created before this date are not considered in reporting. The (Creation Date) to
field is relevant only for partial load, see “Partial load” on page 917. You can
combine the Creation Date From field with the Creation Time From field. If you
also provide Creation Time From, date and time together decide the cut-off time
period.
With a new installation, use the installation or go-live date for the Creation Date
From. With an upgrade, use the date of upgrading.
Do not maintain selection parameters other than Creation Date From and Creation
Time From (and to for partial load).
Note: However, you can use the parameters Task and ID for testing purposes.
The parameters refer to the workflow dialog task and the work item ID.
Delta and full Once scheduled, this report always runs in delta mode. Only those work items and
mode documents are considered that have changed since the last run. Delta mode is
default and fixed. To change to full mode, you must clean table /OPT/VT_JOB; see
“Troubleshooting: Cleaning up Central Reporting tables” on page 922.
Partial load VIM provides the “partial load” feature for the Collection Report. Without partial
load, the Collection Report only supported full and delta loads, therefore it was not
possible to collect process information only for a special period of time, which can be
done using partial load. Partial load also makes it possible to correct any data
inconsistencies that can occur if at least one Collection Report run has been
performed using wrong selection criteria in the past.
Single processes may still be shown as in process by the Central Reporting tools
but they have already been completed in the meantime. The reason for this could be
that the regular Collection Report delta load (usually scheduled as background job)
only considers work items that have been finished since the last collection run, and
the cut-off date has been set in a too restrictive way; see Example 31-1, “Collection
Report inconsistencies” on page 918.
The partial load feature allows to correct such inconsistencies at any time by
updating all corresponding work items of a certain period of time again.
To run the Collection Report in partial load mode, you use a new selection field
“Work Item Creation Date To” (to) in combination with Creation Date From. If you
provide a value in the to field, the Collection Report runs a “partial load” for the
specified creation date range.
Figure 31-1 on page 917 shows a partial load example for exactly one day.
Note: OpenText recommends that you only run the partial load manually if
really required. Do not schedule the partial load job regularly as a background
job.
Example work item: creation date 3rd of July, completed by posting on 4th of
July
Trying to download the missed work item at a later time will not help anymore
since the date of the last Collection Report run will be enhanced every time
during the regular scheduled job run.
In this example, the Creation Date From is set too restrictive because the
following parameters were ignored:
Assume that the longest work item processing time is 2 weeks and (to make it
simple for this example) a download is triggered only once a day (note that the
recommendation is twice a day or even more often). This means that all work
items that were created 15 days or less ago would have to be downloaded
again to ensure that the correct work item status is uploaded.
Creation Date From of the Collection Report: Current system date minus 2
weeks minus gap between the data loads. In our case this is: 4th of July (current
system date) - 14 days - 1 day (gap between the data loads) = 19th of June
Collection Report run scheduled on 4th of July , with Creation Date From set
to 19th of June
The work item is finished in the meantime and is updated because the
creation date is 3rd July.
You can use the to date (partial load) to correct data inconsistencies that
happened in the past.
Assume that the current system date is 14th of October. Since 4th of October,
the upload is correctly done with a Creation Date From as the current system
date minus 15 days; for details, see Example 31-1, “Collection Report
inconsistencies” on page 918. Before 4th of October, the upload was done with
the current date as Creation Date From.
The work item created on 3rd of July still shows the wrong status.
Collection Report run on 14th of October , with Creation Date From set to 3rd
of July , and to date set to 19th of September
All work items created in the given time frame are updated correctly now.
Partial load may also be an option if the assumed longest work item processing
time was exceeded for a limited period of time in the past (more than 15 days
ago).
Table /OPT/ The last run time of the Collection Report is stored in table /OPT/VT_JOB. At the first
VT_JOB time the Collection Report runs, table /OPT/VT_JOB is empty. Thereafter, the last run
time always gets updated in this table.
Note: If you select Test Mode, the data is not saved to source tables or any
table. Even /OPT/VT_JOB will remain unchanged.
Schedule the User Master Report to run only after a previous run of the Collection
Report because the User Master Report uses the information from the tables filled in
by the Collection Report. So, if the Collection Report has never run, running the User
Master Report will not produce the desired results.
The User Master Report collects additional user information like first name, last
name, and OpenText user ID when new users appear in the system or any changes
happen to users. This information is used, for example, in the Central Audit Report:
You can click a link in the Current Role column to display details of the agents
associated with the role.
The Aggregation Report depends on the results of the Collection Report. Therefore,
schedule the Collection Report, the User Master Report, and the Text Master Report
before the Aggregation Report.
Example: The User Master Report runs every Sunday at 20:00. The Aggregation Report with
group USER should be scheduled afterwards, for example every Sunday at 20:10. If the
Aggregation Report would be scheduled before the User Master Report, for example at 19:00,
it would result in user data that is almost one week old.
Single system In a single system scenario, the Central System is the same as the current system.
Schedule the Aggregation Report with all Group IDs, except the Group IDs that start
with OTH_*.
Multiple In a multiple backend system, schedule the Aggregation Report with all Group IDs,
backend including the Group IDs that start with OTH_*.
You might need to clean up the Central Reporting tables, for example to reload data
after fixing some issues. Whereas VIM Analytics bases on real time VIM tables,
Central Reports base on tables that are not real time. Collection Report, User Master
Report, and Text Master Report pull information from real time VIM tables and
provide data to Source Data Tables. The Aggregation Report selects data from the
Source Data Tables and provides data to the Reporting Data Tables. As Source Data
Tables and Reporting Data Tables are not real time, these tables can be reloaded.
• If you know that there is a special time frame with inconsistencies, you can use
the partial load mode of the report /OPT/VR_COLLECTION_REPORT to correct it.
See “Partial load” on page 917.
• If you cannot identify which inconsistencies occurred, you can use the cleanup
report /OPT/VR_CLEAN_TABLES (see “Cleanup report” on page 922) and reload
all reporting data afterwards again; see “To reload reporting data:“
on page 923.
Cleanup report To run the cleanup report, run the SA38 transaction with program /OPT/VR_CLEAN_
TABLES.
Report Tables
Select this check box to delete Reporting Data Tables.
Important
This will clean up all data in the end user Central Reports.
Source Tables
Select this check box to delete Source Data Tables.
This will not impact the end user Central Reports, except the Central Audit
Report.
Note: If you reload the whole data, consider the corresponding data volume
that needs to be reloaded.
2. If the data volume is extremely high, use the partial load mode of the Collection
Report to reload the data in buckets. For example, always gather three months
of data, starting from the go-live-date until today.
If the data volume is small, run the Collection Report in the regular mode (with
go-live-date as start date). This results in a “full load” for the very first time. All
later runs are considered as “delta loads”.
3. After data is completely reloaded (either by some “partial loads” or just one
“full load”), schedule the Central Reporting reports as described in “Scheduling
the Collection Report” on page 916 and the subsequent sections.
You can define threshold values for an attention status and a critical status. If the
attention value is exceeded in a cell (or falls below it for the First Pass panel), the cell
is highlighted in orange. If the critical value is exceeded in a cell (or falls below it for
the First Pass panel), the cell is highlighted in red.
1. To enter the WebFlow Constant Table where you maintain the constants, run
the /n/OPT/VIM_KPA_CFG transaction.
Alternatively, in the VIM Invoice Configuration, navigate to OpenText
Vendor Invoice Management Invoice Solution > Cross Component
Configuration > Central Reporting > Maintain Constants > Maintain
Constants for Key Process Analytics.
<Value1>;<Value2>;<Value3>;<Value4>;<Value5>;<Value6>
where you must replace all <value> fields with a number, as follows:
• Value 1 and 2 define the lower and upper threshold for the total number of First
Pass PO Invoices.
• Value 3 and 4 define the lower and upper threshold for the total number of First
Pass NPO Invoices.
• Value 5 and 6 define the lower and upper threshold for the total number of all
First Pass Invoices.
If the total number of First Pass invoices is lower than value 1/3/5, the respective cell
is marked red.
If the total number of First Pass invoices is greater or equal than value 1/3/5 but
lower than value 2/4/6, the respective cell is marked orange.
If any of the values is not maintained, the respective check is not done and the cell
will not be colored.
If the total number of First Pass PO Invoices is lower than 10,000, the respective
cell will be marked red.
If the total number of First Pass PO Invoices is greater or equal than 10,000 but
lower than 30,000, the respective cell will be marked orange.
If the total number of First Pass NPO Invoices is lower than 10,000, the
respective cell will be marked red.
If the total number of First Pass NPO Invoices is greater or equal than 10,000
but lower than 30,000, the respective cell will be marked orange.
If the total number of all First Pass Invoices is lower than 20,000, the respective
cell will be marked red.
If the total number of all First Pass Invoices is greater or equal than 20,000 but
lower than 60,000, the respective cell will be marked orange.
The total number of first pass invoices is checked against the thresholds for the
All Invoices line, only.
If the total number of all First Pass Invoices goes below 20,000, the respective
cell will be marked red.
If the total number of all First Pass Invoices is greater or equal than 20,000 but
lower than 60,000, the respective cell will be marked orange.
<Value1>;<Value2>;<Value3>;<Value4>;<Value5>;<Value6>
where you must replace all <value> fields with a percentage quotation, as follows:
• Value 1 and 2 define the lower and upper threshold for the percentage of First
Pass PO Invoices.
• Value 3 and 4 define the lower and upper threshold for the percentage of First
Pass NPO Invoices.
• Value 5 and 6 define the lower and upper threshold for the percentage of all First
Pass Invoices.
If the percentage of First Pass invoices is lower than value 1/3/5, the respective cell is
marked red.
If the percentage of First Pass invoices is greater or equal than value 1/3/5 but lower
than value 2/4/6, the respective cell is marked orange.
If any of the values is not maintained, the respective check is not done and the cell
will not be colored.
<Value1>;<Value2>;<Value3>
where you must replace all <value> fields with data, as follows:
If the amount of Blocked Documents is greater than the lower threshold but smaller
or equal than the upper threshold, the respective cell is marked orange.
If the amount of Blocked Documents exceeds the upper threshold, the respective cell
is marked red.
The currency value must be maintained if you want to use the threshold
functionality. If any of the other values is not maintained, the respective check is not
done and the cell will not be colored.
If the amount of Blocked Documents is greater than 20,000 USD, the respective cell is marked
red. The cell will never be marked orange because the respective value is not maintained.
If the amount of Blocked Documents is greater than 10,000 USD but smaller or
equal than 20,000 USD, the respective cell is marked orange.
If the amount of Blocked Documents is greater than 20,000 USD, the respective
cell is marked red.
<Value1>;<Value2>;<Value3>
where you must replace all <value> fields with data, as follows:
If the amount of Parked Documents is greater than the lower threshold but smaller
or equal than the upper threshold, the respective cell is marked orange.
If the amount of Parked Documents exceeds the upper threshold, the respective cell
is marked red.
The currency value must be maintained if you want to use the threshold
functionality. If any of the other values is not maintained, the respective check is not
done and the cell will not be colored.
Example: A Constant Value of USD;;20000 results in the following:
If the amount of Parked Documents is greater than 20,000 USD, the respective cell is marked
red. The cell will never be marked orange because the respective value is not maintained.
If the amount of Parked Documents is greater than 5,000 USD but smaller or
equal than 15,000 USD, the respective cell is marked orange.
If the amount of Parked Documents exceeds 15,000 USD, the respective cell is
marked red.
<Value1>;<Value2>;<Value3>
where you must replace all <value> fields with data, as follows:
If the amount of Pre-Process Documents is greater than the lower threshold but
smaller or equal than the upper threshold, the respective cell is marked orange.
If the amount of Pre-Process Documents exceeds the upper threshold, the respective
cell is marked red.
The currency value must be maintained if you want to use the threshold
functionality. If any of the other values is not maintained, the respective check is not
done and the cell will not be colored.
If the amount of Pre-Process Documents is greater than 20,000 USD, the respective cell is
marked red. The cell will never be marked orange because the respective value is not
maintained.
If the amount of Pre-Process Documents is greater than 20,000 USD but smaller
or equal than 30,000 USD, the respective cell is marked orange.
If the amount of Pre-Process Documents exceeds 30,000 USD, the respective cell
is marked red.
<Value1>;<Value2>;<Value3>;<Value4>;<Value5>;<Value6>;<Value7>;<Value
8>
where you must replace all <value> fields with a number, as follows:
• Value 1 and 2 define the lower and upper threshold for the total number of
processed PO Invoices.
• Value 3 and 4 define the lower and upper threshold for the total number of PO
Invoices in process.
• Value 5 and 6 define the lower and upper threshold for the total number of
processed NPO Invoices.
• Value 7 and 8 define the lower and upper threshold for the total number of NPO
Invoices in process.
If the number of invoices is greater than the lower threshold but smaller or equal
than the upper threshold, the respective cell is marked orange.
If the number of invoices is greater than the upper threshold, the respective cell is
marked red.
If any of the values is not maintained, the respective check is not done and the cell
will not be colored.
If the total number of PO Invoices in Process is greater than 100,000 but smaller
or equal than 200,000, the respective cell is marked orange.
If the total number of PO Invoices in Process exceeds 200,000, the respective cell
is marked red.
If the total number of NPO Invoices in Process is greater than 150,000 but
smaller or equal than 250,000, the respective cell is marked orange.
If the total number of NPO Invoices in Process exceeds 250,000, the respective
cell is marked red.
<Value1>;<Value2>;<Value3>;<Value4>;<Value5>;<Value6>;<Value7>;<Value
8>
where you must replace all <value> fields with a percentage quotation, as follows:
• Value 1 and 2 define the lower and upper threshold for the percentage of
Processed PO Invoices.
• Value 3 and 4 define the lower and upper threshold for the percentage of PO
Invoices in Process.
• Value 5 and 6 define the lower and upper threshold for the percentage of
Processed NPO Invoices.
• Value 7 and 8 define the lower and upper threshold for the percentage of NPO
Invoices in Process.
If the percentage of invoices is greater than the lower threshold but smaller or equal
than the upper threshold, the respective cell is marked orange.
If the percentage of invoices is greater than the upper threshold, the respective cell is
marked red.
If any of the values is not maintained, the respective check is not done and the cell
will not be colored.
If the percentage of NPO Invoices in Process is greater than 50% but smaller or
equal than 80%, the respective cell is marked orange.
If the percentage of NPO Invoices in Process exceeds 80%, the respective cell is
marked red.
Note: The Summary Report evaluates data from the offline reporting table /
opt/vt_doc_h.
You can configure the report to assign individual document statuses to different
categories and groups.
At the highest level, the summary report distinguishes between invoices and credit
memos. All group IDs created during configuration are applicable to both invoices
and credit memos.
Groups are the highest level unit in the Summary Report. They have one or
more Category IDs assigned to them. In the Report output, groups appear as
headings. Baseline configuration provides the following group IDs:
In process
Invoices that are in VIM processes
Pre Processed
Invoices that are in OCR processing
Processed
Invoices that are posted
Others
Invoices that have statuses, for example Obsolete, or Rescan completed
2. To configure the mapping of Category IDs and text, double-click Category id/
text Configuration in the Dialog Structure panel. Each category is assigned to a
group ID. Baseline configuration provides the following category IDs:
StatusCode
Enter the Status Code for the Category ID. You can assign multiple Status
Codes for each Category ID.
When the Summary Report is run, the program distinguishes the invoice
documents depending on the Status Code. Then, the program categorizes
and displays the Category (text) in the report, as a subsection of the Group.
If the Status Code of a Category is not found in the Summary Report, the
corresponding Category Text is not displayed in the report.
VIM supports the following scenarios for SRM related purchase order invoices:
• Missing goods receipt (GR) for SRM related purchase orders (SRM scenario
“Classic” and “Extended Classic”)
• Quantity discrepancy in invoice for SRM related purchase orders which requires
confirmation in the SRM system (SRM scenario “Classic”)
• Price discrepancy in invoice for SRM related purchase orders which requires
changes in the purchase order located in the SRM system (SRM scenario
“Extended Classic”)
Note: For details about the scenarios, see “Configuring SRM purchase orders”
on page 941.
This chapter describes the activities necessary for configuring the SRM integration.
1. Run the /N/OPT/SPRO transaction and navigate to the menu path OpenText
Vendor Invoice Management Invoice Solution > PO Based Invoice
Configuration > SRM Integration > SRM PO Statuses.
2. Check the values in table EKKO, field STATU, for SRM related purchase orders
and maintain the appropriate statuses in the Constant Value field, separated by
semicolons.
Z constant The Z constant SRM_PO_CHECK for the product code LIX enables you to write custom
SRM_PO_ logic to determine if a particular PO is an SRM PO. You must write the custom logic
CHECK
in a custom function module. This function module is called from the standard
function /OPT/S_DETERMINE_SRM_PO_TYPE. Your custom function module must
have the same interface as the standard function module /OPT/S_DETERMINE_SRM_
PO_TYPE.
To access the respective menu items for this section, run the /N/OPT/SPRO
transaction and navigate to the menu path OpenText Vendor Invoice Management
Invoice Solution > PO Based Invoice Configuration > SRM Integration.
Process type VIM Baseline contains process type 162 for SRM. See “Configuring the process type”
maintenance on page 265 for details on maintaining the process type.
Verify that the following fields are maintained for the SRM process type:
Option to send VIM Baseline contains the option ID 2740 which will enable the AP Processor to
email send an email to the SRM user. You can configure the email text based on the mail
configuration ID maintained in the process option. See “Configuring the SRM mail
infrastructure” on page 948 for details on how to maintain the email text.
Note: The baseline configuration for process option 2740 always uses the send
function /OPT/S_DP_EMAIL_NOTIFICATION. The possibility to set a custom
send function in the configuration for process type 162 (see “Process type
maintenance” on page 942) has no effect on process option 2740.
In the quantity discrepancy scenario, you need to maintain the DP process type for
the Missing goods receipt scenario; see “Missing goods receipt scenario”
on page 942. The SRM process type will be used to determine attributes like the
delay time and get the receiver email ID.
1. Run the SM30 transaction to maintain table /PTGWFI/Z_CONST, and locate the
record with Product Code LIX and Constant SRM_QTY_BLK_PROCTYPE.
2. Enter the SRM Quantity Block process type in the Constant Value field. The
OpenText Baseline value is 162.
The maximum number of days (delay time) will be based on the process type.
The delay time will be calculated as the Maximum Number of retry time
multiplied by the Maximum Retry time limit.
The Email Receiver function module to get the receivers is also derived from the
process type.
2. Enter the mail configuration ID in the Constant Value field and save your
settings. For details on the mail configuration ID, see “Configuring the SRM
mail infrastructure” on page 948.
You must determine the initial actor who will receive the work item after the wait
period completes.
2. Enter the initial actor's role in the Constant Value field and save your settings.
If these conditions apply, an email will be sent to the SRM requester to change the
purchase order. The workflow will be in wait status for the specified time, based on
the configuration. After the time has lapsed or the block has been removed, the work
item will be completed.
The mail configuration ID is used for sending emails out. You can modify the actual
email content, see “Configuring the SRM mail infrastructure” on page 948.
2. Enter the mail configuration ID in the Constant Value field and save your
settings. For details on the mail configuration ID, see “Configuring the SRM
mail infrastructure” on page 948.
You must determine the initial actor who will receive the work item after the wait
period completes.
2. Enter the initial actor's role in the Constant Value field and save your settings.
After the workflow has sent an email to the SRM user, the workflow is in wait
status. You can configure the amount of time for the wait period.
2. Enter the amount of time for the wait period (in minutes) in the Constant Value
field and save your settings.
Note: For the price discrepancy scenario, only the “Extended Classic” SRM
scenario is relevant.
2. Enter EXTENDED_CLASSIC or CLASSIC in the Constant Value field and save your
settings.
Email body and email subject base on the business object type and object key.
Email format The SRM email notification can be sent in different formats. The format is configured
in Z Constant (product code 005) REM_MAIL_DOCTYPE . Default value is RAW. This
email format is used globally for all kind of email notification : Reminder
notification, Approval notification, and SRM notification.
The notification emails can be sent in HTML format with readable formatting and
invoice data presented in the form of HTML tables. To enable this functionality, you
must set the constant 005 / REM_MAIL_DOCTYPE to HTM. In the /OPT/VIM_8CX50
transaction, you must configure the Email Type to be Internet Email.
2. To add a new entry in the Mail config definition overview screen, click New
Entries in the application tool bar.
Object type
Enter the VIM object type. The following values are possible:
/OPT/V1001
Object type for DP
/OPT/LIV
Object type for blocking
Text Block 1
Enter a text object for the email context header, like addressing and
description of the issue. For example, /OPT/VIM_DP_SRM_QTY_HEADER is a
text for the DP email header.
Note: You can maintain text objects using the SO10 transaction.
Text Block 2
Enter a text object for the URL Header; for example, /OPT/VIM_DP_SRM_
QTY_URL_HEAD.
Text Block 3
Enter a text object for the conclusion and/or the address of the email
generating location. For example, /OPT/VIM_DP_SRM_QTY_FOOTER is a text
for the email footer.
I_MAIL_CFG_ID
Mail configuration ID
I_OBJTYPE
Object type
I_OBJKEY
Object key
Exporting parameters
T_URL
Table of URLs
URL
Enter a URL that is used in the mail body, in case the URL generating
function module is not maintained.
Line Item Function Module
Enter the function module that will populate the line item information and
construct the table. For example, the function module /OPT/CNOTIF_GET_
LINE_ITEM_DATA will populate the line item information with the following
parameters:
Importing parameters
I_MAIL_CFG_ID
Mail configuration ID
I_OBJTYPE
Object type
I_OBJKEY
Object key
I_GROUP_BY
Group by (used as SRM PO Requester in baseline)
Exporting parameters
T_LINE
Table parameter, with PO line item information
4. To configure the mail fields which need to be populated in the email content,
double-click Mail field list and description in the Dialog Structure panel.
The list shows all object key fields that can be shown in the email. These fields
derive from the object type defined in Step 3 on page 950.
6. To configure the mail subject line, double-click Mail subject/Title in the Dialog
Structure panel.
Maintain the (language dependent) mail subject. The mail sending function
module will populate the appropriate subject if it is not set while invoking the
mail.
You must enable the email sending program to send invoice images as attachments
with the correct file extension. Therefore, you maintain the attachment extensions
for each archive object type.
In the example, the Image File extension TIF is maintained for the archive
object type /OPT/ICC. For /OPT/ICC, invoice images will be archived and
attached to emails as *.TIF.
At various locations throughout VIM, a PDF log can be created. At the beginning of
the VIM process, it is possible to create PDFs of incoming IDocs. At the end of the
VIM process, it is possible to automatically create a PDF history log.
Note: If any issues occur during the creation of the PDF log, a log message is
written to the application log for the /OPT/VIM object with subobject DP. For
more information about the application log and how to display log messages,
see Section 9.7 “Working with the application log” in OpenText Vendor Invoice
Management for SAP Solutions - Administration Guide (VIME-AGD).
2. In the Define Profiles screen, define the profile, using the following parameters:
PDF Profile
Enter the unique ID of the profile.
Profile Description
Enter the description of the profile.
PDF Log Class
Enter the name of the class containing the logic for creation of the PDF log.
As an example, see the /OPT/CL_C_PDF_LOG class for the PDF history log,
which is delivered with the baseline.
You can enhance the baseline classes for the specific PDF log by redefining
components of the class within a custom class, which you can maintain
instead of the baseline class.
PDF Form Type
Enter the type of the PDF form.
There are different ways to create a PDF file in a SAP ERP system, for
example by creating a local spool request, by using SAP Script, SAP Smart
Forms, or SAP Interactive Forms by Adobe. SAP Smart Forms are included
in the baseline delivery. Currently, Smart Forms is the only available entry
for this field. However, it is also possible to redefine the logic of the PDF log
classes within custom classes to support other techniques, for example SAP
Interactive Forms.
Form Name
Enter the name of the SAP Smart Forms form.
As an example, see the /OPT/C_WORKFLOW_HISTORY01 SAP Smart Form for
the PDF history log, which is delivered with the baseline.
You can copy the SAP Smart Forms of the baseline using the smartforms
transaction and adjust them to your needs. You can maintain the adjusted
Smart Form in the Form Name box instead of the baseline Smart Form.
PDF Language
Select the language to be used for the PDF log. The following values are
available:
Fixed Language
A fixed language key is used for the PDF log. If you enter Fixed
Language, it is necessary to enter a value in the Language box.
Language
If you have selected Fixed Language in the PDF Language field, enter the
language, for example EN, in this box.
PDF Timezone
Select the time zone to be used for time values in the PDF log. The following
values are available:
Fixed Time Zone
A fixed time zone is used for the PDF log. If you enter Fixed Time
Zone, it is necessary to enter a value for the Time Zone box.
Time Zone
If you have selected Fixed Time Zone in the PDF Timezone field, enter the
time zone in this box.
Document type
Enter the archive document type to be used for archiving the PDF log.
Important
The document type must be different from the one used for the
invoice image.
Overwrite
Select this check box to overwrite PDF logs that have already been linked to
the DP document and its SAP invoice with the same archive document type.
Selecting the Overwrite check box deletes the physical PDF log and its links
to the DP document and the SAP invoice.
The PDF history log file is archived and linked to the DP document and its SAP
invoice.
You must specify that the PDF history log will be created at the end of the VIM
process. To enable the creation of the PDF history log, you must assign the profile
for the PDF history log (default profile: HISTORY) to the VIM process “VIM process
is finished”. Without this, the PDF history log will not be created at the end of the
VIM process.
2. In the Define Profiles screen, define the profile. The following parameters are
specific for the PDF history log.
Note: For a description of the profile definition for PDF logs in general,
see “Defining profiles for the PDF log” on page 955.
Form Name
Enter the name of the SAP Smart Forms form.
Baseline delivery includes a Smart Form /OPT/C_WORKFLOW_HISTORY01.
You can copy the Smart Form using the smartforms transaction and adjust
it to your needs. You can maintain this adjusted Smart Form in the Form
Name box instead of the baseline Smart Form.
The baseline Smart Form uses the SAP Smart Style /OPT/C_SF_STYLE01 for
the format options of the Smart Form, for example the font and the font size
of headers or default paragraphs. You can copy the Smart Style using the
smartstyles transaction and adjust it to your needs. Additionally, copy the
Smart Form and maintain your new Smart Style in the Output Options tab
of the Form Attributes screen of the Smart Form.
Default value: /OPT/C_WORKFLOW_HISTORY01
Document type
Enter the archive document type to be used for archiving the PDF history
log.
With baseline delivery, a profile (HISTORY) is delivered, which creates a PDF file
with history information of the VIM process.
To create this PDF history log at the end of the VIM process, you must assign the
profile to the VIM process is finished process step for your company codes. If you
leave Company Code empty, the setting is used for all company codes.
Note: The VIM process is finished process step is triggered only if there is a
DP document workflow running. This is not the case for the old direct posting
and direct parking scenario. If you want to create a PDF history log
nevertheless, use the /OPT/CR_PDF_LOG report. For more information about the
report, see Section 9.6 “Creating a PDF history log file” in OpenText Vendor
Invoice Management for SAP Solutions - Administration Guide (VIME-AGD).
This part describes the configuration of VIM special topics, like VIM Notifications.
information, see the SAP BAPI documentation. This posting function creates an
LIV document in addition to the FI document. That LIV document is not shown
in VIM reporting whereas the FI document is shown everywhere.
Table 34-1: “Scenarios of posting BDCs” on page 966 lists some known scenarios
where the logic differs between the posting BDCs listed in this section. Use this table
as a guide when deciding which BDC ID is suitable for your process.
Additional You might want to use the extended VAT date support for PO invoices and Non PO
transport invoices posted with BDC 42. In this case, you need to import an additional
transport, which contains a BAdI implementation used in the posting. For more
information, see Section 13.2.2.10 “Installing transport for extended VAT date
support” in OpenText Vendor Invoice Management for SAP Solutions - Installation Guide
(VIME-IGD).
The SAP BAdI definition used by this functionality allows only one implementation
to be active. Importing the transport replaces the active standard implementation,
which is linked to the SAP class CL_BADI_EXM_VATDATE_VALUES_SAP. The OpenText
implementation, which becomes active, calls the standard class if a document is not
posted from VIM. If you are using a custom implementation, OpenText recommends
that you activate it again and merge the logic of the OpenText implementation into
it.
In the baseline, the classifier field has already been added to the standard field
mapping for the ICC channel and the technical ICC – VIM interface in general.
Restriction
At the moment, ICC does not recognize down payments out of the box. It
requires additional project specific configurations because there are many
different requirements, which usually vary from automatic classification based
on keywords to manual document separation and scanning.
ICC Invoice Category is mapped to the field INV_CAT. There is a new function
module for field mapping: /OPT/VIM_CONVERT_INV_CAT.
• AP_PROCESSOR
• BUYER
• DUP_CHECK
• INDEXER
• RESCAN
BDC-ID 50
Dialog posting of down payment requests using the F-47 transaction.
BDC-ID 51
Background posting of down payment requests using the F-47 transaction.
Input data is transferred from the DP document into the batch input calls of F-47.
As an exception, fields like posting date and currency translation date are set
according to VIM customizing. The special G/L indicator is set according to the
characteristic specific settings relevant for the document. In VIM baseline, the special
G/L indicator is country specific, that means, a fixed value for special G/L indicator
per country. For more information, see “Characteristic specific settings for document
types” on page 654.
To support the line item tax for down payments, a new line item field ITEM_TAX_
AMOUNT has been created with VIM 7.0 SP1 in the accounting structure /ORS/
INVOICE_ACCT_DATA. The new field is set up in the table /OPT/FIELDS for the device
names WEB and MOB.
Z constant To enable document type specific tax logic, maintain the Z constant IAP - CALC_
CALC_TAX_ TAX_ON_NET in the global constant table /PTGWFI/Z_CONST. For the Constant Value,
ON_NET
enter D. For more information, see “Configuring tax calculation on net amount”
on page 421.
Document type In the document type configuration, clear the Calculate Tax on Net check box.
configuration
VIM provides some tools that help to use the application. The following tools are
available:
2. Enter the relevant information for the role you want to test. For example:
Company Code, Document Number, and Responsible Party.
The result for that role shows the default user maintained for this role:
REQUESTER1.
TS00275253
Approve Invoice
TS00275260
Non-PO Invoice Dashboard
TS00275262
PO Parked Invoice Dashboard
TS00275265
PO Invoice Dashboard (Line Level)
TS00275267
PO Invoice Dashboard (Header WF)
TS00275278
DP Document Dashboard
TS00275283
Reference requested
2. In the Multi Language Workitem Text Maintenance Utility screen, enter the
task ID (TS00275257 in the example) and press the ENTER key.
4. Change the text in the Task Text field and click the Update button.
Important
Actually, these tools are internal tools. Although you can use them, OpenText
does not provide customer support for these test tools.
Transaction /OPT/VIM_7AX1
Non-OCR Scenario
Transaction /OPT/VIM_7AX2
OCR Scenario
Transaction /OPT/VIM_7AX7
OCR Test Utility
The VIM Notifications program (called VIM Reminder in earlier versions) provides a
way to remind users about the invoices waiting in their inbox to be processed. The
program sends email notifications for all overdue invoices and for invoices that have
spent a particular number of days in the user inbox. You can customize the number
of days.
To start the VIM Notifications program, run the /OPT/REMINDER transaction. The
program is typically scheduled as a batch job so that the agents get notifications of
their reminders regularly.
The selection screen allows you to enter search criteria and process options. The
selection screen is divided into the following panels:
• Invoice Information
• Document Process
• Workitem Date Range
• Process Options
• Recipient of Reminder
Tip: Where applicable, use for multiple selection and for search
help.
• Company Code
• Document Number
• Fiscal Year
• Line Item
• Document ID: the number that was generated for the document during
the DP process
• SAP User ID
• OpenText User Id
Note: When adding user IDs as search criteria, the system does not
consider the substitutes for the user, if there are any.
• Document Processing
• PO Block Invoices - Header
• PO Block Invoices – Line
• PO Parked Invoices
• NPO Parked Invoices
• PO Approval Inv. (Parked/DP)
• NPO Approval Inv. (Parked/DP)
• PO Referred Invoices
Mode
Select one of the process modes:
Test
The program generates a list of eligible work items for notification.
The program does not send the notifications. Users can select the
work items to send the notification.
Background
The program sends the notification to users and displays the work
items.
4. Once you finished entering the search criteria and selecting the process options,
click in the application tool bar to display the VIM Notifications List with
the search results.
Send Notification
To send an email or an SAP note to an agent, select the agent in the list and click
the Send Notification button.
SAPconnect
To run the SCOT transaction, click the SAPconnect button.
The SAPconnect Administration (system status) screen is displayed.
SAPconnect allows the connection of external communication components to the
SAP ERP system.
, Sort: Select a report column in the list and click one of these buttons to sort it in
either ascending or descending order.
Find: Click this button to open the Find dialog that allows you to search the list
for any keyword.
Filter: Select a report column in the list and click this button. The Filter criteria
dialog is displayed, allowing you to restrict the criteria in the selected column
without having to rerun the report with new search criteria.
Layout: Click this button to select a saved layout. To change, save or manage
layouts of the list, click the icon next to the Layout button.
Notes
• The following list only covers columns whose meaning is not obvious.
• Some of the column headers might be abbreviated. Expand the column to see
the full text.
• The columns might not be displayed or might not be in the following
sequence. You can add or remove columns, or change the sequence by using
the Layout function, see “ALV grid control” on page 983.
Column Description
Current Agent Current agent who owns items
Process Type Type of the document (DP, PO document, Non PO document…); see the
list in Scenario on page 981.
Sub Process Sub Process Type for each process type, for example Approval
Type Required for Non PO Invoice Approval process type
Document SAP document number
Number
Document ID DP document ID
Vendor Vendor number
Name 1 Vendor name
Inbox Days Number of days the work item lies in the inbox
Before Due Days before the due date of the work item
Due Date Due date of the work item
First name First name of the current agent
Last name Last name of the current agent
Responsible Role that is responsible for the work item
Party
Receiver ID Email address of the current agent
ID Work item ID
Note: You cannot change the Notification Type and the Notification Sub
Type for an existing notification.
3. To add a notification, click the New entries button in the application tool bar.
Notification Type
Select the notification scenario. Possible values:
• Document Processing
• PO Parked Invoices
• PO Blocked Invoices - Line Level
• PO Blocked Invoices - Header Level
• NPO Parked Invoices
• NPO Approval Invoices (Parked/DP)
• PO Approval Invoices (Parked/DP)
• NPO Referred Invoices
• PO Referred Invoices
Example: Notification sub scenarios for the NPO Parked Invoices notification
scenario:
• Approval Required
• Vendor Maintenance
• Vendor Audit Required
• Tax Audit Required
• All Scenarios
Responsible Party
Select the role for the notification. All users assigned to this role will receive
the notification.
Notify Substitutes
Select this check box to have all notifications also sent to substitutes of users
that receive the notification.
Notify Manager, Notification Counter
The notification program enables you to also inform the manager about
approval work items that are too long in the inbox of an approver. This
configuration is available for the Approval and Referred notification types.
Select the Notify Manager check box, to send the notification email in CC to
the related manager, too.
In the Notification Counter field, enter the number of notification mails
that have been sent to a user, before a notification mail is sent to the
manager, too. Therefore only one invoice needs to be over the limit in the
list of invoices which the notification program collects.
For the level based approval, it is also possible to configure the manager
within COA. The manager will only be used for the notification escalation
processing but not for any approval processing logic.
Inbox Days, Days Before Payment Due
Use these two fields to decide if the reminder will be sent. The system
calculates the work item creating date plus the inbox days or the days
before payment is due. If the result is less or equal today's date, then a
reminder will be sent.
Email Type
Select the notification type. At the moment, only Internet Email is
available.
Notification Text
Select the SAP text name to be used for the notification email body.
Notification Receiver Function
Select the function module that determines the email address for the
notification. The interface for this function module is same as for the /OPT/
VIM_NOTIF_EMAIL_ADDRESS function module.
If you select a different function model in this field, VIM Notifications will
run this function module first. If the function module cannot find a valid
email address, VIM Notifications will run the default function module /
OPT/VIM_NOTIF_EMAIL_ADDRESS.
Note: To remove the Approve and Reject buttons from the email body,
maintain the value for the Z constant SIMPLE_EMAIL_APPR of product code IAP
to <empty>. For more information, see Section 18.1.2 “Configuring the Simple
Email Approval” in OpenText Vendor Invoice Management for SAP Solutions -
Scenario Guide for Invoice Solution (VIME-CCS).
Field name
You find the field names in structure /OPT/VIM_S1_REMINDER_MAILBODY.
Each field name represents a column in the generated VIM Notifications
email.
• Czech (CZ)
• German (DE)
• English (EN)
• Spanish (ES)
• French (FR)
• Hungarian (HU)
• Italian (IT)
• Japanese (JA)
• Dutch (NL)
• Polish (PL)
• Portuguese (PT)
• Romanian (RO)
• Russian (RU)
• Slowakian (SK)
Language
For a list of languages that are supported by VIM, see Language
on page 989.
Notes
2. To exclude another user, click the New entries button in the application tool bar
of the Excluded Receivers for Notifications Overview screen.
User Type
Select SAP User Id or OpenText User ID from the list.
User Id
Enter the user ID to be excluded, corresponding to the selected user type.
Disable Notification
Mark this field with X to disable VIM Notifications emails.
Single Notification
Mark this field with X to have VIM Notifications emails sent only once per
work item instead of multiple times during the notification period.
Language Pref
For a list of languages that are supported by VIM, see Language
on page 989.
Note: The preferences are set for the currently logged-in user.
Disable Notification
Select this check box if you want to receive no VIM Notifications emails
regarding the SAP inbox or Web Approval.
Clear the check box to receive VIM Notifications emails.
Single Notification (One Time Reminder)
Select this check box if you want to receive only one VIM Notifications
email for a SAP inbox or Web Approval work item.
Clear the check box to receive VIM Notifications emails more than once,
regarding the same work item.
User Language
For a list of languages that are supported by VIM, see Language
on page 989.
The notification emails can be sent in HTML format with readable formatting and
invoice data presented in the form of HTML tables. To enable this functionality, you
must set the constant 005 / REM_MAIL_DOCTYPE to HTM. In the /OPT/VIM_8CX50
transaction, you must configure the Email Type to be Internet Email.
2. Access the constant corresponding to Product Code 005 and Constant REM_
MAIL_FORMAT_FM.
The default value is None.
In the context of VIM, archiving only considers the VIM data tables of:
• DP invoices
• Reporting data from Central Reporting
• License report data
For a list of tables you can archive data from and a short description of the archiving
process itself, see Section 8.3 “Archiving VIM information” in OpenText Vendor
Invoice Management for SAP Solutions - Administration Guide (VIME-AGD).
• The data size of the VIM tables has increased to an extent that reduces the
performance of the database.
• The old transaction data is not relevant anymore and not accessed regularly.
Important
OpenText recommends archiving data of the VIM tables only, when the data is
not required in everyday tasks and it is not relevant from auditing perspective.
Make absolutely sure that you run license reporting before you archive data.
Otherwise, you might lose data that is needed for license reporting. For more
information, see Section 2.7.3 “Using the OpenText License Audit Report” in
OpenText Vendor Invoice Management for SAP Solutions - Administration Guide
(VIME-AGD).
Notes
• Once the data is archived, all reports and transactions will not be able to
show the data anymore. However, VIM Baseline provides a program to
reload the data into the database: Run the SARA transaction, and enter
archiving object /OPT/DOC. On the Goto menu, click Reload.
• There are no known dependencies on data archiving of standard SAP objects
like invoice documents, workflow logs, archive link entries, and so on.
Note: Starting with VIM 7.5 SP4, the archiving object /OPT/DOC is enhanced to
delete VIM change documents (/OPT/VIM_IDXDAT).
1. Use the standard SAP transaction FILE to create the logical file name. The
logical file name is needed in Step 5.
2. To invoke the View Cluster Maintenance screen, run the AOBJ transaction.
Important
Do not change the Structure Definition of the archiving object; see the
following screenshot. This would cause inconsistency between the
programs and the structure.
5. Assign the logical file name created in Step 1 to the archiving object in the
Logical File Name field.
6. Enter the customizing settings for the archiving object for Archive File Size and
Settings for Delete Program according to your requirements.
Note: You must first archive the DP documents and then archive the reporting
information of the DP documents. If you do not archive the DP documents
first, the data is populated back to the reporting tables again, when the
background jobs scheduled to collect data for the reporting tables are executed.
1. Use the standard SAP transaction FILE to create the logical file name, see Step 5.
2. To invoke the View Cluster Maintenance screen, run the AOBJ transaction.
3. Select Archiving Object /OPT/REP and click .
Important
Do not change the Structure Definition of the archiving object, see the
following screenshot. This would cause inconsistency between the
programs and the structure.
5. Assign the logical file name created in Step 1 to the archiving object in the
Logical File Name field.
6. Enter the customizing settings for the archiving object for Archive File Size and
Settings for Delete Program according to your requirements.
1. Use the standard SAP transaction FILE to create the logical file name. The
logical file name is needed in Step 5.
2. To invoke the View Cluster Maintenance screen, run the AOBJ transaction.
Important
Do not change the Structure Definition of the archiving object; see the
following screenshot. This would cause inconsistency between the
programs and the structure.
5. Assign the logical file name created in Step 1 to the archiving object in the
Logical File Name field.
6. Enter the customizing settings for the archiving object for Archive File Size and
Settings for Delete Program according to your requirements.
Notes
• You can archive license report data only if the timestamp of the data is
older than 5 years.
• The Baseline settings provided are for guidance only.
The process types within a wait step can be monitored. You can execute the
corresponding process types again, or you can finish the wait step manually.
If you use the Rerun non waiting in background option, the following
search fields are not processed for the execution of the program:
3. When you have finished entering the search criteria and selecting the process
options, click in the application tool bar to display either the dialog result list
or to execute the report in background.
The Monitor list shows all entries for the waiting rules according to your selection.
The Monitor list highlights (in green) all process types where the waiting step has
already been finished.
The Monitor list provides access to the business data and the monitoring processing
of the rerun execution like the following:
1
Wait step created
2
An error occurred during rerun execution, for example the terminating event of
the task could not be processed.
6
Process was skipped / reassigned manually.
7
Exception occurred again during rerun processing.
8
Period exceeded and process type was skipped / reassigned.
9
Process type was executed successfully.
Within the list, you can mark one or many entries. For the marked entries, you can
perform the following actions, using the buttons:
VIM supports translating user comments maintained using any online platforms, for
example Google API or SAP Translation Hub. Thereby, users can understand
comments maintained by other business users and process the invoice accordingly.
Example: A user can see a comment in English that a colleague entered in Italian when
referring the invoice. There is no need to use a translator since the translation is integrated in
VIM.
Language
SAP language key
Language Key
Language key for the translation service, for example Google API Language
Key.
3. To activate the translation option, implement the following BAdI to call the web
service:
Enhancement spot
/OTX/PF00_ES_SRV_TRANSLATION
BAdI
/OTX/PF00_BADI_TRANSLATION
GET_AVAILABLE_LANGUAGES
This method returns the allowed target languages for translations. The
language key in the format for the translation service and the corresponding
SAP language key with description are required.
The example class /OTX/PF00_CL_TRANSLATION_FALLB provides a logic to
read the available languages from the language configuration. Copy the
example class during the BAdI implementation.
CALL_TRANSLATION_SERVICE
In this method, implement the call to the external translation service. Call
the web service in the API description of the chosen service provider.
Example: You can use this method to call the Google API from GUI to translate the
user comments.
5. Send the input string (PIV_INPUT) to the external service. Export the translated
string in export parameter PEV_TRANSLATED_STRING. The requested language is
imported in parameter PIV_LANGUAGE.
• If Non PO invoice background posting is performed with BDC ID 34, when all
tax lines are calculated by VIM
Even if Non PO invoices are posted in background using the newer BDC IDs 42 or
2200 that post through MM-IV BAPI, and the tax data is calculated by SAP routines,
the configuration is still needed to display correct balance and validate the data
during the approval process.
Starting with certain releases of SAP ECC, and including all releases of SAP S/
4HANA, correct document posting and simulation requires to explicitly link GL
data lines and calculated tax data lines. This is especially important when taxes are
calculated line by line, a setting that is often used with external tax systems. Make
sure that the constant 005 / USE_ITEM_COUNTER is set to X to ensure that VIM is
providing the links between GL data lines and tax lines.
External tax systems are often set up to use line item data (accounting assignment)
when calculating taxes. To calculate taxes correctly, VIM must send the line item
data to the standard tax calculation modules. This is enabled by setting the Z
constant 005 / USE_ITEMDATA_FOR_TAX to X.
Some external tax systems require an explicit refresh before document posting (see
SAP note 1434921). In case your tax system requires such a refresh, set the Z
constant 005 / EXT_TAX_REFRESH to X.
After Image
Technical option to realize an delta upload from the source systems into the SAP
NetWeaver BW system. A data record loaded as After Image provides the status
of the record after it has been changed, or after data has been added.
Aging Report
Part of the Central Reporting infrastructure. The Aging Report reports about the
aging of documents and work items in the current system.
AP processor
Accounts Payable personnel
Approval Portal
VIM web interface for approving invoices.
Archive system
Computer system that enables storage, management and retrieval of archived
data and documents
ArchiveLink
Service integrated in the SAP NetWeaver Application Server ABAP for linking
archived documents and the application documents entered in the SAP ERP
system
Authorization profiles
The SAP administrator assigns authorizations to the users that determine which
actions a user can perform in the SAP ERP system. These authorizations are
stored in Authorization profiles.
Automation Report
Tool that provides data about automated and manual processing steps of VIM
documents
BAdI
BAPI®
SAP programming interface: Business Application Programming Interface
Baseline
Set of functionality with pre-defined configuration and the starting point to
implement VIM
BasisCube
See: InfoCube
BDC ID
Business Data Communication ID. The BDC ID is used by the system to process
an SAP transaction to create an SAP Document in user context.
Block
Situation where an invoice has a price or quantity variance that prevents invoice
from posting
BTE
Business rules
Rules that describe the operations, definitions and constraints that apply to an
organization
Buyer
Person who is in charge of the PO. This role should have authorization to create
and change the purchase order. This role is also responsible for negotiating and
communicating with vendors.
Central Reporting
Reporting infrastructure that provides several reports that enable you to measure
certain properties of VIM documents and their work items, in order to optimize
working with VIM. Central Reporting comprises the following individual reports:
Aging Report, Central Audit Report, Exception Analysis Report, Key Process Analytics
Report, Productivity Report, and Summary Report.
Characteristic
Type of InfoObject in SAP NetWeaver BW that represents descriptions of fields,
such as Vendor ID, Invoice Number, Unit of Measure, and Posting Date.
COA
Coding
Coding allocates an invoice to G/L account and cost object if required.
Contract agent
Person who can create and modify SAP contracts.
Dashboard
User interface that organizes and presents information in a way that is easy to
read. Users can also perform actions from the dashboard.
DataSource
Set of fields in SAP NetWeaver BW that provide the data for a business unit for
data transfer to the SAP NetWeaver BW system; technically, it contains an extract
structure and an extraction function module.
DocuLink
OpenText™ DocuLink for SAP Solutions enables the archiving, management and
retrieval of SAP CRM or SAP ERP documents from within the SAP infrastructure.
Document type
Type of document such as PO, Non PO, OCR, Non OCR
DP
DSO
DTP
Duplicate analyzer
Person who is responsible to identify duplicate invoices
EDI
Exception
Action that is not part of normal operations or standards
FI
IAP
ICC
IDoc
IE
Indexer
Person responsible for entering index data
Indexing
Process of entering or storing data into the system
InfoArea
Folder in SAP NetWeaver BW to organize InfoCubes, DataStore Objects, InfoObjects,
and InfoObject Catalogs
InfoCube
Self-contained dataset in SAP NetWeaver BW, for example, of a business-oriented
area; an InfoCube is a quantity of relational tables arranged according to the
enhanced star schema: A large fact table in the middle surrounded by several
dimension tables
InfoObject Catalog
Folder structure in SAP NetWeaver BW to organize InfoObjects
InfoObject
Smallest information unit in SAP NetWeaver BW. Key figures and Characteristics
are collectively called InfoObjects.
InfoPackages
Object in SAP NetWeaver BW that specifies when and how to load data from a
given source system to the SAP NetWeaver BW system
InfoProvider
Object in SAP NetWeaver BW for which queries can be created or executed.
InfoProviders are the objects or views that are relevant for reporting.
Information provider
Receiving role for option Refer for Information
Invoice approver
Person who approves invoices
Invoice characteristic
A value specific to each invoice (for example country) that allows flexible
processing in VIM. An invoice characteristic is determined during runtime and
depends on the corresponding index data of the document.
Invoice coder
Person who enters the accounting info on invoices to allocate the cost
Invoice requester
Person who requested goods and services for Non PO invoices
Key Figure
Type of InfoObject in SAP NetWeaver BW that represents numeric values or
quantities, such as Number of Invoices and Gross Invoice Amount.
KPI Dashboard
Tool for managers showing VIM related process data at a glance in graphical
charts.
LIV
MM
MultiProvider
Object in SAP NetWeaver BW that is based on InfoCube(s), DataStore Object(s),
and/or InfoObject(s). A MultiProvider is used as a layer for the creation of end user
queries; the MultiProvider itself does not contain any data; rather, data resides in
the BasisCubes.
Namespace
Name range reserved by SAP for customer objects and SAP objects to make sure
that objects are not overwritten by SAP objects during the import of corrections or
an upgrade
Number range
Array of numbers that can be used for an object in the SAP ERP system
OCR
Park
Situation where an invoice is not posted and is waiting for further processing
PIR
PO
Price variance
Situation where the price on the invoice is different from the price in the purchase
order
Process Chain
Sequence of processes in SAP NetWeaver BW that are scheduled to wait in the
background for an event; used to automate, visualize and monitor the processes.
Process options
Processing options for the user in the dashboard, such as Referral, Authorization,
and Actions
Process type
Process type for a document. The process type determines the initial actor and
various collaboration options available to the various actors during the process
flow.
Productivity Report
Part of the Central Reporting infrastructure. The Productivity Report reports
about the productivity of users/roles and the activities of users/roles.
PSA
Quantity variance
Situation where the quantity on the invoice is different from the quantity in the
purchase order
Receiver
Person who can create and reverse the goods receipt in SAP ERP
Requisitioner
Person who requested goods and services
Roles
Set of predefined roles for the SAP user
Scan operator
Person who scans the invoices into images (may not have a SAP ID)
Service approver
Person who approves a service entry
Service requisitioner
Person who enters a service entry
Summary Report
Part of the Central Reporting infrastructure. The Summary Report provides a
summary of all documents processed through VIM.
Swimlane
Diagram representing a specific VIM process. A swimlane comprises the process
description, roles, user interface and options of the process.
Tax expert
Person who advises on invoices that need tax audit. Normally tax department
personnel.
Transformation (TRF)
Object in SAP NetWeaver BW to connect source objects to data targets; it allows
to consolidate, cleanse and integrate data
TRF
VAN
Vendor maintenance
Person who is responsible for creating and maintaining the vendor master
records
Workflow
SAP Business Workflows can be used to define business processes that are not yet
mapped in the SAP ERP system.