SAP ECC Configuration

This setting determines if your project connects to SAP ECC. In order for this to work, you must be using SAP ECC version 4.6c or newer.

These settings are not available in the Kofax hosted multi-tenant Azure environment.

The settings at the top of the form that are related to the connection to your SAP ECC system are applied immediately. This ensure that a change in password or IP address of the server does not cause problems with documents that are already in-progress.

All other settings are applied to new documents only. Documents that are already in-progress use the settings that were in-place when their processing began.

The following settings are available:

Setting

Description

Availability

Connect To SAP ECC

If selected, Kofax AP Agility connects to SAP ECC. (Default: Cleared)

Always.

Application Server

The name or IP address of the SAP ECC application server. Use this setting when connecting to the application server only, and not the message server.

Only available when Connect To SAP ECC is selected.

System Number

The two digit SAP ECC system number for connections to the application server. Use this setting when connecting to the application server only, and not the message server.

Only available when Connect To SAP ECC is selected.

Language

The two character language code for the SAP ECC logon language.

Only available when Connect To SAP ECC is selected.

Client

The three-digit SAP ECC client number.

Only available when Connect To SAP ECC is selected.

Message Server

The SAP ECC message server. Use this setting when connecting to the message server only, and not the application server.

Only available when Connect To SAP ECC is selected.

Group Name

The SAP ECC group name. Use this setting when connecting to the message server only, and not the application server.

Only available when Connect To SAP ECC is selected.

System Name

The three-character SAP ECC system name.

Only available when Connect To SAP ECC is selected.

SAP ECC Router

The SAP ECC router web path.

Only available when Connect To SAP ECC is selected.

User

The SAP ECC logon user name. This can be set within the project file for additional security.

Only available when Connect To SAP ECC is selected.

Password

The SAP ECC logon user password. You can set this via the SetSAPPassword user exit.

Alternatively, leave this field blank and supply an encrypted password in the Encrypted SAP ECC Password setting below.

Only available when Connect To SAP ECC is selected.

Use SNC

If selected, several other SNC settings available to configure SNC.

Only available when Connect To SAP ECC is selected.

SNC SSO

If selected, SSO is used for SNC.

Only available when Connect To SAP ECC and Use SNC are selected.

SNC Library Path

Enter a value that reference a 64-bit library. The referenced DLL must be located in this path on all servers that host the Kofax TotalAgility Core Worker, Transformation Server, or the web server.

If this setting is left blank, the path is taken from the %SNC_LIB% environment variable.

Only available when Connect To SAP ECC and Use SNC are selected.

SNC My Name

Enter the name for your SNC connection. (Optional)

Only available when Connect To SAP ECC and Use SNC are selected.

SNC Partner Name

Enter a partner name for SNC. (Mandatory)

Only available when Connect To SAP ECC and Use SNC are selected.

SNC Quality of Service

Select one of the following values from the list.

  • Authentication only.

  • Authentication and integration protection.

  • Authentication, integrity protection, and privacy protection (encryption).

  • Default value defined by back-end system. (Default: Selected)

  • Maximum value that the current security product supports.

Only available when Connect To SAP ECC and Use SNC are selected.

PO Lookup

The name of the SAP ECC BAPI/RFC-enabled function module used to lookup the purchase order. The interface of the function should match the BAPI_PO_GETDETAIL call.

Only available when Connect To SAP ECC is selected.

Invoice Post

The name of the SAP ECC BAPI/RFC-enabled function module used to post an invoice. The interface of the function should match the BAPI_INCOMINGINVOICE_CREATE call.

Only available when Connect To SAP ECC is selected.

FB60 Invoice Park

The name of the SAP ECC BAPI/RFC-enabled function module used to park an FI invoice via FB60/FV60. The interface of the function should match the BAPI_INCOMINGINVOICE_PARK call.

Only available when Connect To SAP ECC is selected.

Invoice Park

The name of the SAP ECC BAPI/RCF-enabled function module used to park an invoice. The interface of the function should match the BAPI_INCOMINGINVOICE_PARK call.

Only available when Connect To SAP ECC is selected.

Company Lookup

The name of the SAP ECC BAPI/RFC-enabled function module used to lookup the purchase order. The interface of the function should match the BAPI_COMPANYCODE_GETDETAIL call.

Only available when Connect To SAP ECC is selected.

Entry Sheet Lookup

The name of the SAP ECC BAPI/RFC-enabled function module used to lookup the service entry sheet for SR-IV purchase orders. The interface of the function should match the BAPI_ENTRYSHEET_GETDETAIL call.

Only available when Connect To SAP ECC is selected.

RFC Read Table Function

The name of the SAP ECC RFC-enabled function that is used to perform SAP ECC lookups. This should have the same interface as the RFC_READ_TABLE call. If no function is specified, RFC_READ_TABLE is used by default.

Only available when Connect To SAP ECC is selected.

Create SAP ECC Documents

If selected, an SAP ECC document is created during export. Kofax AP Agility default is to try and post the invoice in SAP ECC. (Default: Cleared)

Only available when Connect To SAP ECC is selected.

Log SAP ECC Export

If selected, tracking statements are added to the log file. These entries show data that passes to and from calls to the SAP ECC document posting and parking BAPIs. (Default: Selected)

Only available when Connect To SAP ECC is selected.

Log SAP ECC Master Data

Select to include the company data, PO data, plant data, and UOM conversion rules in the log when the log level is set to Debug. (Default: Cleared)

Only available when Connect To SAP ECC is selected.

Always Park Invoice

If selected, Kofax AP Agility will always parks the invoice in SAP ECC and never attempts a post. (Default: Cleared)

Only available when Connect To SAP ECC is selected.

Park Invoice

If selected, parked invoices can be created in the event where a posted MM document cannot be created. (Default: Selected)

Only available when Connect To SAP ECC is selected.

Park With Lines

If selected, parked invoices are created with line item information found during the line pairing operation. (Default: Selected)

Only available when Connect To SAP ECC is selected.

Always Park FI

If selected, non-purchase order invoices (FI) are always parked. (Default: Selected)

Only available when Connect To SAP ECC is selected.

Park FI To FB60

If selected, documents are parked to FB60 using the custom BAPI_PO_GETDETAIL SAP ECC function. (Default: Selected)

Only available when Connect To SAP ECC is selected.

Park MM If Downpayment

If selected, Kofax AP Agility parks an MM invoice if the vendor has a down payment against it. (Default: Cleared)

Only available when Connect To SAP ECC is selected.

MM Invoice Doc Type

The SAP ECC document type for MM invoices, such as RE or RN. (Default: RE)

Only available when Connect To SAP ECC is selected.

FI Invoice Doc Type

The SAP ECC document type for FI invoices, such as KR. (Default: KR)

Only available when Connect To SAP ECC is selected.

MM Credit Doc Type

The SAP ECC document type for MM credit memos, such as RE or RN. (Default: RE)

Only available when Connect To SAP ECC is selected.

FI Credit Doc Type

The SAP ECC document type for FI credit memos, such as KG. (Default: KG)

Only available when Connect To SAP ECC is selected.

Activate SAP ECC Failure User Exit

If selected and the solution export involves creating a document in SAP ECC, the export fails automatically if no SAP ECC document is created beforehand. (Default: Cleared)

The SAPPostingFailure user exit is available for a developer to create their own alternative export if the SAP ECC posting/parking fails without sending the document to a failed export status.

Only available when Connect To SAP ECC is selected.

Read Entry Sheet

If selected, Kofax AP Agility reads the service entry sheet details from SAP ECC. (Default: Selected)

This setting must be selected if the implementation involves SR-IV purchase orders, or there are multiple account assignments on non SR-IV purchase orders.

Only available when Connect To SAP ECC is selected.

Valid Fiscal Markup Conditions

A comma-separated list of valid SAP ECC condition types that indicate a fiscal markup. If Kofax AP Agility books an invoice line to a purchase order line that has a condition in this list behind it, Kofax AP Agility creates two invoice lines. For these lines, the amount is pro-rated based on the condition value, in relation to the total order value of the purchase order line. (Default: Blank)

Only available when Connect To SAP ECC is selected.

Create Link To External Archive

If selected, the link to the image in an external third-party archive is added as an attachment to a posted or parked invoice. (Default: Cleared)

Only available when Connect To SAP ECC is selected.

Destination Archive

The SAP ECC archive or content repository ID as displayed in SAP ECC transaction OAC0. This represents the archive where the image resides in an early archiving scenario, or the image that needs archived in a late archiving scenario. (Default: Blank)

If the archive ID varies dramatically depending on the document, rather than processing that document, the destination archive ID is mapped from the image filename via the Settings > Invoice Processing > Global Settings > Import Settings.

If a destination archive retrieved from the filename can be obtained through the mapping in the Settings > Invoice Processing > Global Settings > Import Settings, it overrides this setting.

Only available when Connect To SAP ECC is selected.

Archive Via SAP ECC

Select this in a late archiving scenario where Kofax AP Agility is responsible for placing the image into an archive via SAP ECC. It is mandatory that the archiving function is installed on the SAP ECC system. (Default: Cleared)

Only available when Connect To SAP ECC is selected.

Archive As PDF

If selected, Kofax AP Agility archives a document as a PDF, regardless of the original document file type. (Default: Cleared)

Only available when Connect To SAP ECC and Archive Via SAP ECC are selected.

SAP ECC Archiving Function

The name of the SAP ECC RFC enabled function module provided by Kofax AP Agility. It is used to archive the image into the destination archive. This is used in the late archiving scenario. (Default: Z_BW_LATE_ARCHIVE)

Only available when Connect To SAP ECC and Archive Via SAP ECC are selected.

Activate SAP ECC Archiving User Exit

If selected, Kofax AP Agility runs the code in the SAPArchiving user exit in order to archive the image via SAP ECC, instead of the standard system function. (Default: Cleared)

A destination archive is needed for this to occur, either derived from the filename mapping in the Settings > Invoice Processing > Global Settings > Import Settings, or the value in the Destination Archive setting above.

The Archive As PDF and SAP ECC Archiving Function settings above do not apply if the user exit is being used.

Only available when Connect To SAP ECC and Archive Via SAP ECC are selected.

MM Invoice Object

The SAP ECC workflow document type that is used for MM invoices when creating an invoice attachment. (Default: MMILOGINV)

Only available when Connect To SAP ECC is selected.

MM Credit Object

The SAP ECC workflow document type used for MM invoices when creating an invoice attachment. (Default: MMILOGCRD)

Only available when Connect To SAP ECC is selected.

FI Invoice Object

The SAP ECC workflow document type used for FI invoices when creating an invoice attachment. (Default: FIINVOICE)

Only available when Connect To SAP ECC is selected.

FI Credit Object

The SAP ECC workflow document type used for FI invoices when creating an invoice attachment. (Default: FICREDIT)

Only available when Connect To SAP ECC is selected.

Always Send Withholding Tax

If selected, withholding tax information is always be sent to SAP ECC via the BAPI call at the time or export, regardless if a withholding tax amount has been captured from the document. If more than one active withholding tax code exists on the vendor master, the document is parked. (Default: Cleared)

Only available when Connect To SAP ECC is selected.

Convert WBS Elements

If selected, Kofax AP Agility converts the external WBS element retrieved from the lookup, to the purchase order account assignment in SAP ECC, to the internal WBS element required for invoice posting. (Default: Cleared)

The call to SAP ECC uses the RFC_READ_TABLE BAPI call, although this can be changed using the RFC Read Table Function setting above. This parameter is called once per WBS element that needs converted. Hence, for an invoice with multiple account assignments with multiple WBS elements, it will be called once per WBS element.

Only available when Connect To SAP ECC is selected.

Downpayment SGL Codes

This is a list of the single character SAP ECC special general ledger indicators that are used to denote a down-payment. The list does not need to be separated by any special characters. (Default: A)

Only available when Connect To SAP ECC is selected.

The following buttons are available at the bottom of the window:

Button

Description

Save

Saves your changes and the window is closed.

Reload

Deletes any unsaved changes and resets the field values back to the last saved settings.

Test

Uses the values entered above to test your SAP ECC connection.

For successful connections, a Test Passed window indicates if the connection is successful.

If there are any issues with the connection, a Connection Failed message with further details is displayed.