Inbound Configuration
Inbound Configuration
Inbound Configuration
This chapter provides details about the Inbound Configuration. It is part of the
Business Center Foundation.
Each document runs through defined process steps, which are indicated by the
inbound handler process. Each process step comprises several service modules.
These service modules are integrated components of Business Center Inbound that
offers the functionality.
• Registration types define the scenario which is used to import documents. The
import can happen, for example, by email, IDoc or Document Pipeline.
Depending on the registration type, standard SAP customizing is needed, for
example, for ArchiveLink or SMTP.
• Document handlers and service modules route the incoming document through
the incoming documents process. You must customize them to sequentially
process the document, based on the respective document status.
• Business Center Capture automates the capture of paper documents by using
OCR to extract data. Business Center Capture uses SAP ERP as backend to store
and retrieve image information.
Some authorizations are needed to monitor the Inbound Configuration. For more
information, see Example 7-1, “Authorizations necessary to monitor the Inbound
Configuration” on page 185.
2. In the Basic Settings Overview screen, configure settings, using the following
parameters:
Default Language
Enter the default language for error messages and fallback.
To configure channels:
Channel
Technical ID of the channel
Registration Type
Select the type of the registration used for this channel. According to the
registration type, the channel ID is available in the registration
configuration. The following registration types are available: Early
Archiving, Idoc, Mail, Upload, Custom. For more information, see
“Customizing registration types” on page 57.
In the current version, the Registration Type is only used to control the F4-
Help in the registration configuration. It has no further technical impact for
any other component or processing logic.
Description
Enter a description of the channel.
Classification Profile
Technical ID of the classified business scenario
Description
Enter a description of the classification.
Application
Select the target application, which is triggered at the end of the Incoming
Document Framework process for the registered document. The following
target applications are available:
Profile ID (PF)
Enter the profile ID of the corresponding Process Foundation (PF)
configuration used for Process Foundation trigger. For more information,
see “Process Foundation profile” on page 106.
Exit Application
Enter the exit function (see template function /OTX/PF01_UTIL_EXIT_APPL)
to start any business application used for the Custom Processing trigger.
Logical System
Enter the target system where the business application is started.
Classification
Selected classification profile
Doc. Type
Enter document types that you want to assign to the classification.
Category
Select the category of the document type from the list. The following
categories are available:
• Classified
• Unclassified
Basis for the document handler is a status queueing engine. You must plan the /
OTX/PF01_P_IDF_TRIGGER report as a periodic job to trigger the service modules
accordingly. For more information, see “Document handler” on page 343.
Status When a service module finishes its step, it assigns a status to the document. This
status then triggers the next step in the processing sequence.
In Business Center Capture, for example, the status helps to identify documents that
are ready for validation or need to get extracted.
Important
• The delivered status must not be changed. For custom service modules,
use a new status in the corresponding customer namespace and number
range.
• Do not change the delivered customizing entries of BC Sets but create
new profiles and new settings.
• New configuration must have the prefix Z_ or 9xx according to the data
element.
Important
At the last step of the handler process, the target business application is
triggered. The status is set to 99 (Business application / Process
started). After that, the handler is set to the handler end status.
Important
Do not change the delivered status! If you need to configure an own status,
use a number starting with 900. For more information, see “Customizing
Business Center” on page 17.
Status
Enter a unique status number.
Description
Enter a meaningful description.
2. In the Handler Overview screen, configure the document handler, using the
following parameters.
Handler
Technical ID of the document handler
Description
Enter the description of the document handler.
Start Handle
Enter the start status of the document handler process.
The start status identifies the status when the document handler is triggered
and processed.
End Handle
Enter the end status of the document handler process.
The end status identifies the status when the whole document handler
process is finished.
Handle Class
Optional: Enter an exit class that implements the /OTX/PF01_IF_HANDLER
interface. The EXIT_HANDLER_END method allows you to trigger own logic at
the end of the handler processing after the target application is started or in
error case.
To configure a module:
2. In the Handler Overview screen, mark a row and double-click Modules in the
Dialog Structure.
3. In the Modules Overview screen, configure the modules, using the following
parameters.
Module ID
Technical ID of the module
Sequence
Define the sequence how the modules are processed.
Description
Enter the description of the module.
Active
Select this check box to activate the module.
Module Class
Enter the implementation class of the processing logic. Modules must
implement the /OTX/PF01_IF_MODULE interface.
There are possible methods for a custom implementation in the /OTX/
PF01_IF_MODULE interface. For a custom implementation, use a redefinition
of the /OTX/PF01_CL_MODULE_HANDLER class:
PROCESS_MODULE
This method provides logic to process the service module.
The method is called in /OTX/PF01_CL_IDF_TRIGGER within document
handler program /OTX/PF01_P_IDF_TRIGGER
Transformation
Optional: Enter an XSLT transformation program to process an XML
transformation within the module class.
End Status
Enter the status of the module that is set at the end of a module.
The end status must be unique. Do not use status 99. It is reserved for the
business application start.
Start Stat
Enter the start status. You can configure it for modules that must be
triggered only when the start status is set. It is, for example, used in the
communication with Business Center Capture to route documents to the
correct steps, or when steps must be skipped. For example, validation can
be skipped in some cases.
Error Stat
Enter the error status, which is set in error case.
Time limit
Enter the maximum time limit (in seconds) for a module to finish its
processing. If the time limit is reached, the module is set into error status.
The time limit is only taken into account if the document handler is globally
in processing status. Also the No.ofRetry setting is not relevant because the
module is set into error status immediately after the time is reached.
A module waiting for the extraction result of a Business Center Capture
integration should have a time limit of 7200. A module waiting for the
validation result of a Business Center Capture integration should have a
time limit of 3600.
No.ofRetry
Enter the number of retry attempts for a service module in error case. When
the number is reached, the processing handler or document flow is set into
error status.
A module waiting for the extraction or validation result of a Business
Center Capture integration should have a retry of 3.
• Early Archiving
• Inbound IDoc
• Incoming Mail
• Pipeline
• Custom / Others
If you need to configure a custom registration within a completely new incoming
document scenario, you must implement the /OTX/PF01_IF_REGISTRATION
interface. You can use the custom registration type to configure and access
specific settings.
Registration There are possible methods for a custom implementation in the /OTX/
Class PF01_IF_REGISTRATION interface:
REGISTER
This method registers a document in the /OTX/PF01_T_1REG table and sets the
status in the /OTX/PF01_T_STA table.
This method is called in the available registration classes:
All incoming documents are registered within the /OTX/PF01_T_1REG table. The
registration uses a SAP number range object.
Note: You can use any scan client and content repository that are certified by
SAP, for example OpenText Imaging Enterprise Scan and OpenText Archive
Center.
Incoming paper documents are scanned and archived, using the early archiving
registration type.
You must perform the following configuration when the content repository (Archive
Center) is installed and the basic ArchiveLink settings are completed. Depending on
your requirements, the number and attributes of the ArchiveLink settings might be
different.
Notes
• For further details about ArchiveLink, see the SAP documentation.
• For the early archiving registration type, use an ArchiveLink document type
that is assigned to the Inbound Configuration workflow task WS00297300
and object type /OTX/PF01R.
To determine where the scanned document is archived, you must maintain the
Content Repository ID. This is standard ArchiveLink customizing. If you already
have a working ArchiveLink customizing, you can skip this section.
Note: For more details on the parameters, see Section 9.2 “Maintaining
HTTP content repository in the SAP application” in OpenText Archiving
and Document Access for SAP Solutions - Scenario Guide (ER-CCS).
4. Click .
For each document type, you determine the agents that are responsible for the work
item. You also choose which storage scenario is used. The following storage
scenarios are available for Early Archiving:
• Storing for subsequent entry
• Storing for subsequent assignment
• Store and enter
• Store and assign
The scenario “Storing for subsequent entry”, for example, consists of assigning the
document type and processing the work item.
2. In the Default setting: Overview screen, click New Entries in the application
tool bar.
Pr
Enter the presetting folder name.
Long text
Enter a description of the new folder.
4. Click .
Note: If you store the Archive Document Type in the presetting folder during
its creation, you do not have to perform this action. Nevertheless, if you need
to reassign any Archive Document Type to another folder or you need to
assign Archive Document Types to the presetting folder, you can perform this
action. Assigning all relevant Archive Document Types to the presetting folder
is useful for identifying the Archive Document Types easily. For more
information, see “Creating an ArchiveLink document type” on page 60.
Tip: With the Business Center Foundation BC set, the presetting folder /OTX -
Business Center Inbound is already available.
Note: Optionally, you can select an Object Type in the OT column and an
Agent ID for the document type.
5. Click to save your changes.
In this step, you create an ArchiveLink document type, for example /OTX/SO4, and
store it in the presetting folder created before. For more information, see “Creating
the presetting folder for Business Center” on page 59. Then, you assign the
ArchiveLink document type to Early Archiving (Storing for subsequent entry).
After the ArchiveLink document type is maintained, every incoming document that
is associated with the given document type will be stored in a predefined archive
and a customized workflow will start afterwards.
1. To start the Document Type Customizing Wizard, run the OAD5 transaction.
On the Start screen, click Continue.
2. Document type
Doc.type
Enter a name for the new document type. For example, use archive
document type /OTX/SO4 or another document type for your namespace.
Name
Enter a description.
Click Continue in the upcoming screens until you reach the Workflow
document type screen.
4. Document class
Enter Doc. class PDF and click Continue.
Obj. type
/OTX/PF01R
Entry
Task
WS00297300
Click Continue.
To know where to store the incoming document , you must maintain the links, as
described in this section.
Object Type
/OTX/PF01REG
Document type
Enter /OTX/SO4
Link Status
Enter X
Storage system
Enter the Content Repository ID. For more information, see “Creating a
Content Repository ID” on page 58.
Link
Enter TOA01
4. Click .
You can also link the document to the relevant SAP target business object. To do
this, continue as described in this section for any SAP business object that you want
to link to the document. For details about the related settings and the supported
business objects, see the description in the related Solution Accelerator Guides (for
example Sales Order with the related Business Objects for Sales Orders).
For the registration of documents, the ArchiveLink document type is linked to the
document handler, to a channel, and to the classification profile.
Document Type
ArchiveLink document type used for the registration
Channel
Enter the Channel ID used for this registration type. For more information,
see “Configuring channels” on page 50.
Handler
Enter the Handler ID that represents the processing steps of the service
modules for this document. For more information, see “Customizing
incoming documents through the document handler” on page 53.
Classify
Enter the Classification ID of the incoming document. For more
information, see “Creating scenario classifications” on page 51.
Example: The structure of an SAP application document and the structure of the
corresponding EDI message under the UN/EDIFACT standard
Note: For further details about inbound IDoc processing, see the SAP
documentation, for example http://help.sap.de/saphelp_46c/helpdata/en/0b/
2a60ef507d11d18ee90000e8366fc2/content.htm.
In this step, you choose the input type for the IDocs.
Input type
Enter 0 (for Mass processing).
Dialog allowed
If you want to process IDocs in dialog mode, select this check box. With
baseline implementation, the check box is cleared.
4. Click Save .
4.4.2.2.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:
2. In the IDoc: Assignment of FM to Log. Message and IDoc Type view, click
Change .
Function module
/OTX/PF01_UTIL_IDOC_INPUT
Function type
Select Function Module.
Basic type
Enter the basic type, for example ORDERS01.
Message Type
Enter the message type, for example Orders.
Direction
Select Inbound.
Description
Enter a meaningful description.
5. Click Save .
In this step, you create a new process code and assign the inbound function module
to this process code.
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.
Note: You can choose a name for the process code that suits your
needs.
Description
Enter a meaningful description.
Identification
Enter the inbound function module /OTX/PF01_UTIL_IDOC_INPUT.
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 Orders.
8. Click Save .
When data is exchanged between partners, it is important that sender and receiver
define the exact syntax and semantics of the data to be exchanged beforehand. The
partner profile defines the type of data and communication paths of that data
exchange.
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.
2. Select the partner profile under Partner Profiles > Partner Type LS.
Partner No.
ID of the partner profile
Partn. Type
Partner Type: Enter LS for logical system.
Message type
Enter the message type, for example ORDERS.
5. On the Inbound options tab, enter the Process code that you created in
“Creating a new process code” on page 67.
6. Click Save .
4.4.2.2.5 Linking inbound IDoc with document handler, channel, and classification
For the registration of documents, you link the IDoc parameters with the handler
process, a channel, and the classification profile. You also process the relevant field
mapping of the IDoc segments.
Partner Number, Partner Type, Partner Role, Message Type, Message Code,
Message Function, Test
For these parameters, see the SAP documentation: IDoc Interface /
Electronic Data Interchange (BC-SRV-EDI) (http://help.sap.com/
saphelp_46c/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/content.htm?
current_toc=/en/dc/6b8a4943d711d1893e0000e8323c4f/plain.htm&
show_children=true).
Channel
Enter the Channel ID used for this registration type. For more information,
see “Configuring channels” on page 50.
Module Handler
Enter the Handler ID that represents the processing steps of the service
modules for this document. For more information, see “Customizing
incoming documents through the document handler” on page 53.
Classification
Enter the Classification ID of the incoming document. For more
information, see “Creating scenario classifications” on page 51.
Document Type
You can configure a document type that is used to create and archive a
readable PDF out of the IDoc. To create and archive a PDF, you must
implement the Pre Exit Registration.
Each IDoc field can be mapped to a target field. The mapping result is stored in the /
OTX/PF01_T_1EXT table, which collects all extracted data intermediately.
The final mapping of the fields to the target business application is done within the
Data Model Configuration. For more information, see “Data model configuration”
on page 98.
Partner Number, Partner Type, Partner Role, Message Type, Message Code,
Message Function, Test
For these parameters, see the SAP documentation: IDoc Interface /
Electronic Data Interchange (BC-SRV-EDI) (http://help.sap.com/
saphelp_46c/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/content.htm?
current_toc=/en/dc/6b8a4943d711d1893e0000e8323c4f/plain.htm&
show_children=true).
Object Name
Development object name: the IDoc type ORDERS01
Segment Type
Segment type in IDoc type
Field Name
Segment field
IDoc Qualifier
Qualifier of the segment
Qualifier Value
Value of the segment qualifier
Field Type
Select either Header or Item type.
External Field Name
Enter the Intermediate field name.
Field Mapping Type
Select one of the following mapping types from the list:
• Function Module
Value
If you have selected Constant (fixed value), System variable, or
Function Module as the field mapping type, enter the corresponding value.
If you have selected Function Module, you can use the /OTX/
PF01_UTIL_EXIT_IDOC_MAP function module as a template.
1. In the IDoc Mapping Details screen, double-click IDoc Hierarchy Item in the
Dialog Structure.
2. In the IDoc Hierarchy Item Details screen, customize the IDoc hierarchy item,
using the following parameters.
Partner Number, Partner Type, Partner Role, Message Type, Message Code,
Message Function, Test
For these parameters, see the SAP documentation: IDoc Interface /
Electronic Data Interchange (BC-SRV-EDI) (http://help.sap.com/
saphelp_46c/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/content.htm?
current_toc=/en/dc/6b8a4943d711d1893e0000e8323c4f/plain.htm&
show_children=true).
Object Name
Development object name: the IDoc type, for example ORDERS01
Segment Type
Segment type in IDoc type which represents an item segment (only one item
segment supported)
All information of the incoming email object is logged. This means, all incoming
email data received through the SMTP interface can be viewed in SAPconnect. Later
on, the information can be used, for example, for reporting.
Note: The product standard does not support sending emails back to the
sender or forwarding messages to SAP Business Workplace.
Prerequisites
• The email server must be SMTP-compatible.
• The customized address space for the default domain must match the DNS
address on the external email server.
To enable the incoming email registration, the following customization steps are
necessary.
Note: For further details about incoming SMTP email processing, see the SAP
documentation.
1. To check the customizing of the SMTP service, run the SMICM transaction.
3. If the port is not set to 25, select the SMTP service. In the Service menu, click
Change.
If you want to use the SMTP function, you must adjust the system profile of the SAP
ERP system.
2. Choose the instance profile, click Extended maintenance, and then click
Change.
icm/server_port_<*> = PROT=SMTP,PORT=25
This parameter opens a TCP/IP port for receiving emails through the SMTP
plug-in.
You must create a service user for processing incoming emails in every SAP ERP
system client in which you want to receive emails. Every user that receives emails in
an SAP ERP system requires an Internet email address. This is also used as a sender
address.
2. Create a user with type Service and assign the profile S_A.SCON to this user.
3. On the Address tab, under E-Mail, enter the Internet email address for the user.
Every SAP ERP system client that receives and processes incoming emails must have
an SMTP server. One SMTP server (called SAPconnect) has already been created in
the SICF transaction and is delivered with every SAP ERP system.
1. Run the SICF transaction and open the Virtual Host SAPCONNECT.
Host Data
Enter the sequence number of the is/SMTP/virt_host_<*> parameter from
the profile. For more information, see “Configuring the profile parameters”
on page 75. If you have only created one client and therefore have not
specified this parameter type, enter 0.
Logon Data
Enter the logon data of the system user that you created for the incoming
emails.
Handler List
At position 1, enter CL_SMTP_EXT_SAPCONNECT.
4. For each additional client, create another SMTP server.
Note: You must activate each SMTP server (Service/Virt. Host > Activate)
after creating or changing it. Inactive servers appear dimmed.
You must configure SAPconnect settings for every client that is used for send
processes.
To administer SAPconnect:
3. Default Domain
Define the domain of the SAP ERP system client.
This action has the following consequences:
• The SMTP plug-in logs on to the email server using this domain as the ID.
• The message ID of the outbound emails is assembled with this domain.
• An SAP user might not have an Internet email address. If such a user sends
an email, a sender address consisting of the SAP user name and this domain
is generated.
Each client has an SMTP node. This node is created by the SAP ERP system and
cannot be deleted.
4. Nodes
Enter the specific customizing data like output format for SAP documents and
other types of documents. See details in the SAPconnect documentation (http://
help.sap.com/saphelp_nw70/helpdata/en/af/73563c1e734f0fe10000000a114084/
content.htm).
5. Inbound Processing
You may want incoming emails that have a particular address or particular
content to automatically start a program that processes these emails. In this
case, configure the following on the menu: Settings > Inbound Processing.
Communication Type
Select Internet Mail.
Recipient Address
Enter email address.
Document Class
Enter the * wildcard.
Exit Name
Enter the default framework class name /OTX/PF01_CL_REGISTER_MAIL.
Call Sequence
Enter the call sequence according to your requirements.
For a more detailed description of how to enable the Simple Mail Transfer Protocol
Service in SAP ERP, see the SAP Help: http://help.sap.com/saphelp_nw70/helpdata/
en/af/73563c1e734f0fe10000000a114084/content.htm.
For the registration of documents, the email address is assigned to the handler
process, a channel, and the classification profile.
Recipient Mail
Email address that receives the email. This address is configured within the
SCOT transaction. For more information, see “Administering SAPconnect”
on page 77.
Channel
Enter the ID of the channel that is used for this registration type. For more
information, see “Configuring channels” on page 50.
Handler
Enter the ID of the document handler that represents the processing steps of
the service modules for this document. For more information, see
“Customizing incoming documents through the document handler”
on page 53.
Classify
Enter the Classification ID of the incoming document. For more
information, see “Creating scenario classifications” on page 51.
Document Type
You can configure a document type that is used to archive the leading
application document, for example order or delivery note. To archive any
document, you must implement the Pre Exit Registration.
Attach Body
Select this check box to archive the email body. The email body is archived
according to the format configured in the SAPConnect interface (text/html
mail).
Pre Exit Registration
Enter a function that is executed before the document is registered in
Inbound Configuration. Use the /OTX/PF01_UTIL_EXIT_REG_BEFORE
template. For the email processing function, /OTX/
PF01_UTIL_EXIT_REG_MAIL is delivered to process the relevant archiving of
the various documents (leading document / attachments / mail body). The /
OTX/PF01_UTIL_EXIT_REG_MAIL function archives the leading documents
according to the mime type assigned to the ArchiveLink document type. If
more than one document with the mime type of the leading document
exists, each document is registered of its own.
Past Exit Registration
Enter a function that is executed after the document is registered in Inbound
Configuration. Use the /OTX/PF01_UTIL_EXIT_REG_AFTER template.
Note: The email addresses might be different across the system landscape.
Therefore, the /OTX/PF01_ADM_SMAI transaction is available to adjust the
values in test and production systems. In general, production systems do not
allow any configuration changes. The transaction is protected against a special
administration authorization. For more information, see “Authorizations”
on page 146.
You must link the Document Pipeline processing to the defined function module of
the Inbound Configuration inside SAP ERP. You must set a specific RFC mode that
must match the customizing entry on the remote Document Pipeline.
For details about the Document Pipeline, see OpenText Document Pipelines - Overview
and Import Interfaces (AR-CDP).
Add a new entry to the J_6NGTE26 table with the following values:
RFC_Mode
8
FUNCNAME
/OTX/PF01_UTIL_PIPELINE_INPUT
The Document Pipeline typically requires one COMMANDS and one IXATTR file in
addition to the actual image file (for example image.pdf) and the LOG file. See the
following example:
COMMANDS
R3_CLIENT 800
R3_DESTINATION DW3
USE_VR4WFL 8
DOCTYPE PDF
COMP data PDF image.pdf
ARCHIVID Y4
IXATTR
NEWDOC
ATTRIBUTES /OTX/PS01_T_PLH|MANDT|CC|800|
ATTRIBUTES /OTX/PS01_T_PLH|BLDAT|DD|20141010|
ATTRIBUTES /OTX/PS01_T_PLH|BUKRS|CC|1000|
ATTRIBUTES /OTX/PS01_T_PLH|BUDAT|DD|20141010|
ATTRIBUTES TOAV0|MANDT|CC|800|/OTX/PS01_T_PLH|
ATTRIBUTES TOAV0|AR_OBJECT|CC|/OTX/DN2|/OTX/PS01_T_PLH|
ATTRIBUTES TOAV0|SAP_OBJECT|CC|/OTX/1REG|/OTX/PS01_T_PLH|
ARCHIVIDATTR TOAV0|ARCHIV_ID|CC|%s|/OTX/PS01_T_PLH|
DOCIDATTR TOAV0|ARC_DOC_ID|CC|%s|/OTX/PS01_T_PLH|
The final mapping of the fields to the target business application is done within the
Data Model Configuration. For more information, see “Data model configuration”
on page 98.
For the registration of documents, the ArchiveLink document type is assigned to the
handler process, a channel, and the classification profile.
Document Type
ArchiveLink document type that is used for the registration
Channel
Enter the ID of the channel that is used for this registration type. For more
information, see “Configuring channels” on page 50.
Handler
Enter the ID of the document handler that represents the processing steps of
the service modules for this document. For more information, see
Classify
Enter the Classification ID of the incoming document. For more
information, see “Creating scenario classifications” on page 51.
External Profile
Unique ID to identify the setting and access the setting for the custom
registration type in your custom registration implementation.
Channel
Enter the channel ID that is used for this registration type. For more
information, see “Configuring channels” on page 50.
Module Handler
Enter the handler ID that represents the processing steps of the service
modules for this document. For more information, see “Customizing
incoming documents through the document handler” on page 53.
Classification
Enter the classification ID of the incoming document. For more information,
see “Creating scenario classifications” on page 51.
Document type
You can configure a document type that is used to archive the leading
application document, for example an order or a delivery note. To archive
any document, you must implement the Pre Exit Registration.
The OCR solution OpenText Business Center Capture for SAP Solutions (Business
Center Capture) can be integrated into Business Center. Business Center Capture
automates the capture of paper documents by using OCR to extract the data.
Business Center Capture uses SAP ERP as backend to store and retrieve image
information through the inbound process.
Using service modules of Inbound Configuration, you can control all tasks that are
related to the following actions of Business Center Capture:
• Storing documents
• Retrieving documents
• Extracting documents
• Validating documents
Steps from the paper invoice to document registration with Business Center
Capture (BCC)
1. SAP ERP calls the scan client through the Early Archiving registration type,
using the OAWD transaction.
2. The scan client deposits the image to the content repository (Archive).
The OAWD transaction creates a registration entry in SAP ERP using the
registration interface class implementation /OTX/PF01_CL_REGISTER_OAWD.
The registration method inserts an entry to tables /OTX/PF01_T_1REG and /OTX/
PF01_T_1IMG and sets status Registered.
Alternative: Incoming email is used for registration of a new document.
3. The document handler (periodic job for report /OTX/PF01_P_IDF_TRIGGER)
processes the required service modules in SAP ERP and sets the status
accordingly.
4. The BCC Extraction service calls the API function /OTX/
PF01_IF_GET_NEW_DOC_LIST using a scheduled batch job on BCC side and gets
new documents for processing:
• Gets all documents in status Ready for OCR extraction along with secure
URL for image and XML document, which will be created by the BCC
Extraction service.
• Updates the document status to Sent to OCR.
5. The BCC Extraction service picks the documents from 3 on page 84 and imports
the corresponding images from the Archive.
6. The Export module of the BCC Extraction service calls the API function /OTX/
PF01_IF_OCR_DATA_UPDATE_N with call point EX:
• Updates the status and OCR data appropriately. This API exports the data to
SAP ERP after completion of the extraction phase. Table /OTX/PF01_T_1EXT
will be updated with extracted data.
• Updates the document status to Extraction Completed.
7. The BCC Extraction service sends the detailed results XML file of the exported
data to the Archive using the URL retrieved from SAP ERP in 4 on page 84. The
BCC Validation engine uses the XML file.
Results for each data exported to SAP ERP are stored in an XML file and
archived.
8. The document handler picks up the registered items with status Wait for
Extraction completed and checks the time elapsed. If it exceeds the configured
time, the status is set to Error.
9. The document handler picks up the registered items with status Extraction
Completed. The document handler checks if validation is required or not. If
validation is required, the status is set to Ready for Validation. If validation is
not required, the document handler will process the corresponding service
modules and trigger the target application.
11. The BCC Validation service picks documents (both image and XML) from the
Archive for each validation document, using the URL retrieved from SAP ERP.
• Updates the status and OCR data appropriately. This API exports the data to
SAP ERP after completion of the validation phase. The /OTX/PF01_T_1EXT
table is updated with validation data.
• Updates the document status to Validation Completed.
13. The document handler picks up registered items with status Wait for
Validation completed, and after elapsed time sets the status to Error.
14. The document handler picks up registered items with status Validation
Completed, processes the corresponding service modules, and triggers the target
application.
To create a validation:
Validation ID
Technical ID of the validation settings
Description
Enter the description of the validation setting.
Validation Determination
Select the determination from the list. The following values are possible:
Validate always
Validation is always active.
Validate never
Validation is not active.
Validate for selected fields
If check fields are missing, validation is run. For more information, see
“Maintaining validation check fields” on page 87.
Validation / Agent Determination
Use this function to control when the validation is run, and also to
determine the validator. Use template function /OTX/
PF01_UTIL_EXIT_VAL_DETERM to create a custom logic.
Step ID
Field counter
Field Name
External field name
Note: You must configure the field name in the same way as it is
delivered (case-sensitive).
Document type
ArchiveLink document type of registration
Validation ID
Enter the validation ID for processing. For more information, see
Validation ID on page 86.
Document Type
ArchiveLink document type
Object Type
Enter the organizational object that must be configured. The following
objects are supported:
• Rule
• Organizational Unit
• Center
• Position
• Work Center
• User
Agent ID
Enter the corresponding agent ID for the related organizational object.
EvalPath
Maintain the evaluation path. A special evaluation path might be required
for specific object types. As long as no special evaluation path has been set
up, the standard evaluation path WF_ORGUS is always used.
2. In the Feedback Overview screen, activate feedback for document types, using
the following parameters.
Document Type
Document type for which feedback shall be activated
Active
In the list, click true or false.
The first time BCC extracts a document of a new document type, the
customizing entry for this document type is automatically created, with Active
set to true.
Reject Reason
Reason code of the rejection
Description
Enter the description of the reject reason.
In Business Center, the look-up for business partners is done on staging tables. A
staging table collects all relevant information of vendor, customer, or company code.
A staging table can also collect information from multiple systems, when BCC is
connected to one SAP ERP system as single point of contact.
The staging tables are filled with corresponding reports, which can be planned as
periodic job on SAP ERP side.
/OTX/PS00_P_IDF_COMP_CODE
Report to fill staging table for company codes
/OTX/PS00_P_IDF_CUSTOMER
Report to fill staging table for customers
/OTX/PS00_P_IDF_VENDOR
Report to fill staging table for vendors
For more information, see “Staging tables for the BCC integration” on page 344.
For more information from BCC side, see Section 4.10 “Configuring a Partner
function” in OpenText Business Center Capture for SAP Solutions - Customization Guide
(CPBC-CGD) and Section 4.12 “Configuring a LookupList function” in OpenText
Business Center Capture for SAP Solutions - Customization Guide (CPBC-CGD).
Look-up fields are used to map the SAP fields of the related data selection fields
structure to the external field names used in the Business Center Capture
application. For more information, see “To map a look-up field:“ on page 93
To create a look-up:
LookUp ID
Describes the technical identification of data search and retrieval in SAP
ERP.
Description
Enter a description of the look-up.
Handler class
You can use the handler class to implement custom logic in your own
handler class for a look-up. The handler class needs to implement the /OTX/
PF01_IF_LOOKUP interface. If no custom handler class is configured, the
standard handler class /OTX/PF01_CL_INTERFACE_LOOKUP is called.
The standard class allows to search entries with selection criteria that is
concatenated by AND. All search criteria is character-based and used with
LIKE.
The function has no special treatment for date or amount values.
1st Character
P fix, indicates a parameter
2nd character
I (Importing) or C (Changing) or E (Exporting)
3rd character
<empty> (variable) or S (structure) or T (table)
LOOKUP_DOWNLOAD
The LOOKUP_DOWNLOAD method provides a look-up processed from Business
Center application to download data.
This method is used in the BCC API function /OTX/
PF01_IF_LOOKUP_DOWNLOAD.
LOOKUP_DOWNLOAD_INIT
The LOOKUP_DOWNLOAD_INIT method initializes the download processed
from Business Center application to download data.
This method is used in the BCC API function /OTX/PF01_IF_LOOKUP_INIT.
LOOKUP_DOWNLOAD_COMPLETE
The LOOKUP_DOWNLOAD_COMPLETE method completes the download
processed from Business Center application to download data.
This method is used in the BCC API function /OTX/
PF01_IF_LOOKUP_COMPLETE.
LOOKUP_VALIDATION
The LOOKUP_VALIDATION method provides a look-up processed from
Business Center Capture validation client.
This method is used in the BCC API function /OTX/PF01_IF_LOOKUP_VAL.
3. In the Look-up Fields Overview screen, configure look-up fields, using the
following parameters.
Field Name
Enter the name of the SAP field of the configured structure. For more
information, see Data selection fields on page 91
Case sensitivity
Select Case-sensitive or Case-invariant from the list.
BCC already provides a search operation for a specific field. For example,
the user can enter search options in the validation client. You can configure
how this search is processed. Either the search is case-sensitive or the search
is case-invariant.
Row number
Enter the column number to identify the related field in BCC.