SAP XI/PI – Invoice Attachment Transfer from ARIBA to VIM

The documents that are connected to the invoice in the Ariba Network system should be transferred to the VIM system via PI Integration as part of the Ariba Supplier Invoice process. From there, the attachment can be viewed from the VIM workspace transaction /OPT/VIM_WP.

Only Ariba network PDF invoices are accepted by VIM, allowing them to accurately supply goods, materials, and services. Beginning with Ariba cloud integration version CI9, Ariba supports BASE64-encoded data and has included a document transfer feature.

PI Mappings and UDF’s Used:

PI mappings for attachment fields in IDOC

Below UDF’s are used in PI Mappings

1. GETATTACHMENTATTRIBUTES

2. GETATTACHMENTCONTENT

3. SPLITATTACHMENTCONTENT

S/4HANA Setting up:

The comprehensive setup instructions needed to activate the document transfer feature are listed below.

Step 1: Create custom document types beginning with Z in t-code OAC2, as indicated below.

Step 2: Next, link these custom document types to the business entity using t-code OAC3.

Type of Object: /OPT/V1001
Type of Document: Z_DOC
Link Condition: X
Link Condition: X
CA Storage System (It is “MA” according to guidelines; client-to-client variations may occur. Basis designed the storage system name as CA.)
url: TOA01
Retention as of: Null or blank

The aforementioned procedures will be carried out by BASIS, although BASIS needs feedback from the technical team.

Step 3: Ariba offers a single standard IDOC extension/ARBA/INVOICE for handling invoice attachments.

Set up WE81’s extension/ARBA/INVOICE against the INVOIC message type.

Improving the VIM Class to Manage ARIBA Documents:

As can be seen below, a Registration ID was formed in VIM against the IDoc once it had been successfully generated.

If the VIM process code is set in the WE20 partner profile, the same registration ID (ex:344) ought to show up in the VIM inbound work place tcode /OTX/PF03_WP.

After submitting the registration ID on tcode /OTX/PF03_WP, a DP document will be generated in the VIM workspace.

Standard Ariba document archiving can be triggered via the VIM class /OTX/PS03_CL_VIM_MODULE_IDOPDF method PROCESS_MODULE. This method can also be used to archive bespoke documents attached from the Ariba network.

Reading attachment content from IDOC and manually putting it in the CA content repository is how all Ariba invoices are automatically generated, following the same procedure as ordinary Ariba documents.

You can access the ARIBA documents that are connected here. Only PDF documents are supported by VIM.

Please feel free to ask questions in the space provided below if you need any help understanding any of the tutorial’s sections. We make an effort to respond to every question.

Please share your thoughts.

Let’s Web Dynpro. Part IV

The Future of Media Consumption: What Tech Buyers Expect in 2024 and Beyond…

Building Interactive Forms with Adobe LiveCycle Designer
oracle dba architecture interview questions

Related Posts

How to Open Fiori App Directly with Pre-Filled Data from Backend in Advance SAPUI5 – 17?

We frequently state that while requirements are endless, thought is crucial. The essentials must be clarified so that the challenging real-time requirements can be easily met. An example of an…

SAPUI5 Responsive Table Data Export to CSV File (Advance SAPUI5 Part-27)

One common use case is exporting table data locally to a CSV file. I’ll walk through this functionality of the SAP M table—also known as the responsive table—in this blog…

Leave a Reply

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

You Missed

How to Open Fiori App Directly with Pre-Filled Data from Backend in Advance SAPUI5 – 17?

  • By Varad
  • February 1, 2025
  • 19 views
How to Open Fiori App Directly with Pre-Filled Data from Backend in Advance SAPUI5 – 17?

SAPUI5 Responsive Table Data Export to CSV File (Advance SAPUI5 Part-27)

  • By Varad
  • January 31, 2025
  • 40 views
SAPUI5 Responsive Table Data Export to CSV File (Advance SAPUI5 Part-27)

Advanced SAPUI5 – 21: Custom Button Control with Drag and Drop

  • By Varad
  • January 30, 2025
  • 43 views
Advanced SAPUI5 – 21: Custom Button Control with Drag and Drop

Part 25 of “Advanced SAPUI5: Working with GRID Table in SAPUI5”

  • By Varad
  • January 29, 2025
  • 47 views
Part 25 of “Advanced SAPUI5: Working with GRID Table in SAPUI5”

UI5 Tooling: Create UI5 Applications with Your Favorite Editor – 1

  • By Varad
  • January 28, 2025
  • 56 views
UI5 Tooling: Create UI5 Applications with Your Favorite Editor – 1

Part 31 of Advance SAPUI5: Using VizFrame Charts in SAPUI5

  • By Varad
  • January 27, 2025
  • 47 views
Part 31 of Advance SAPUI5: Using VizFrame Charts in SAPUI5