SAP Configuration

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

Important These options are not available in the Azure cloud environment.

Depending on the options selected below, different settings become available.

Connect To SAP

If selected, Invoice Processing Agility connects to SAP.

Application Server

The name or IP address of the SAP application server. Use this only when load balancing is not required.

This option is available only when the Connect To SAP option is selected above.

System Number

The two digit SAP system number for connections. Use this only when load balancing is not required.

This option is available only when the Connect To SAP option is selected above.

Language

The two character language code for the SAP logon language.

This option is available only when the Connect To SAP option is selected above.

Client

The three-digit SAP client number.

This option is available only when the Connect To SAP option is selected above.

Message Server

The SAP message server. Use this only when load balancing is not required.

This option is available only when the Connect To SAP option is selected above.

Group Name

The SAP group name. Use this only when load balancing is not required.

This option is available only when the Connect To SAP option is selected above.

System Name

The three-character SAP system name. Use this only when load balancing is not required.

This option is available only when the Connect To SAP option is selected above.

SAP Router

The SAP router web path.

This option is available only when the Connect To SAP option is selected above.

User

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

This option is available only when the Connect To SAP option is selected above.

Password

The SAP 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 Password setting below.

This option is available only when the Connect To SAP option is selected above.

Encrypted SAP Password

The encrypted password for the SAP logon.

As you type in this password, the individual characters are displayed as expected. However, when you click Save, the password is encrypted and the encrypted password is displayed.

This option is available only when the Connect To SAP option is selected above.

PO Lookup

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

This option is available only when the Connect To SAP option is selected above.

Invoice Post

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

This option is available only when the Connect To SAP option is selected above.

FB60 Invoice Post
The name of the SAP BAPI/RFC-enabled function module used to post an FI invoice via FP60. The interface of the function should match BAPI_ACC_INVOICE_RECEIPT_POST.

This option is available only when the Connect To SAP option is selected above.

FB60 Invoice Park

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

This option is available only when the Connect To SAP option is selected above.

Invoice Park

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

This option is available only when the Connect To SAP option is selected above.

Company Lookup

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

This option is available only when the Connect To SAP option is selected above.

Entry Sheet Lookup

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

This option is available only when the Connect To SAP option is selected above.

RFC Read Table Function

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

This option is available only when the Connect To SAP option is selected above.

Create SAP Documents

If selected, an SAP document is created during export. The system default is to try and post the invoice in SAP.

This option is available only when the Connect To SAP option is selected above.

Log SAP Export

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

This option is available only when the Connect To SAP option is selected above.

Always Park Invoice

If selected, the system will always parks the invoice in SAP and never attempts a post.

This option is available only when the Connect To SAP option is selected above.

Park Invoice

If selected, parked invoices can be created in the event where a posted MM document cannot be created.

This option is available only when the Connect To SAP option is selected above.

Park With Lines

If selected, parked invoices are created with line item information found during the line pairing operation.

This option is available only when the Connect To SAP option is selected above.

Always Park FI

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

This option is available only when the Connect To SAP option is selected above.

Park FI To FB60

If selected, documents are parked to FB60 using the custom BAPI_PO_GETDETAIL SAP function.

This option is available only when the Connect To SAP option is selected above.

Park MM If Downpayment

If selected, the system parks an MM invoice if the vendor has a down payment against it.

This option is available only when the Connect To SAP option is selected above.

MM Invoice Doc Type

The SAP document type for MM invoices, such as "RE" or "RN."

This option is available only when the Connect To SAP option is selected above.

FI Invoice Doc Type

The SAP document type for FI invoices, such as "KR."

This option is available only when the Connect To SAP option is selected above.

MM Credit Doc Type

The SAP document type for MM credit memos, such as "RE" or "RN."

This option is available only when the Connect To SAP option is selected above.

FI Credit Doc Type

The SAP document type for FI credit memos, such as "KG."

This option is available only when the Connect To SAP option is selected above.

Activate SAP Failure User Exit

If selected and the solution export involves creating a document in SAP, the export fails automatically if no SAP document is created beforehand.

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

This option is available only when the Connect To SAP option is selected above.

Read Entry Sheet

If selected, the system reads the service entry sheet details from SAP.

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

This option is available only when the Connect To SAP option is selected above.

Valid Fiscal Markup Conditions

A comma-separated list of valid SAP condition types that indicate a fiscal markup. If the system books an invoice line to a purchase order line that has a condition in this list behind it, the system 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.

This option is available only when the Connect To SAP option is selected above.

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.

This option is available only when the Connect To SAP option is selected above.

Destination Archive

The SAP archive or content repository ID as displayed in SAP 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.

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 Solution Configuration Manager > Global Settings > Import Settings.

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

This option is available only when the Connect To SAP option is selected above.

Archive Via SAP

Select this in a late archiving scenario where Invoice Processing Agility is responsible for placing the image into an archive via SAP. The following prerequisite is mandatory.

  • The archiving function is installed on the client SAP system.

This option is available only when the Connect To SAP option is selected above.

Archive As PDF

If selected, the system archives a document as a PDF, regardless of the original document file type.

This option is available only when the Connect To SAP and Archive Via SAP options are selected above.

SAP Archiving Function

The name of the SAP RFC enabled function module provided by Invoice Processing Agility. It is used to archive the image into the destination archive. This is used in the late archiving scenario.

This option is available only when the Connect To SAP and Archive Via SAP options are selected above.

Activate SAP Archiving User Exit

If selected, the system runs the code in the SAPArchiving user exit in order to archive the image via SAP, instead of the standard system function. A destination archive is needed for this to occur, either derived from the filename mapping in the Solution Configuration Manager > Global Settings > Import Settings, or the value in the Destination Archive setting above.

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

This option is available only when the Connect To SAP and Archive Via SAP options are selected above.

MM Invoice Object

The SAP workflow document type that is used for MM invoices when creating an invoice attachment, such as "MMILOGINV."

This option is available only when the Connect To SAP option is selected above.

MM Credit Object

The SAP workflow document type used for MM invoices when creating an invoice attachment, such as "MMILOGCRD."

This option is available only when the Connect To SAP option is selected above.

FI Invoice Object

The SAP workflow document type used for FI invoices when creating an invoice attachment, such as "FIINVOICE."

This option is available only when the Connect To SAP option is selected above.

FI Credit Object

The SAP workflow document type used for FI invoices when creating an invoice attachment, such as "FICREDIT."

This option is available only when the Connect To SAP option is selected above.

Always Send Withholding Tax

If selected, withholding tax information is always be sent to SAP 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.

This option is available only when the Connect To SAP option is selected above.

Convert WBS Elements

If selected, the system converts the external WBS element retrieved from the lookup, to the purchase order account assignment in SAP, to the internal WBS element required for invoice posting.

The call to SAP uses RFC_READ_TABLE, 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.

This option is available only when the Connect To SAP option is selected above.

Downpayment SGL Codes

This is a list of the single character SAP special general ledger indicators that are used to denote a down-payment. The list does not need to be separated by any special characters. This field displays a common value 'A' by default.

This option is available only when the Connect To SAP option is selected above.