File Content Conversion In Sap Pi At Receiver

You use the File Adapter with File Content Conversion. The incoming/outgoing file is PGP encrypted and you would like to decrypt it with the PGPDecryption module. The messages in the scenario fail with the following error: Caused by: com.sap.aii.af.lib.mp.module.Modul.

  1. File Content Conversion In Sap Pi At Receiver System
  2. File Content Conversion In Sap Pi At Receiver Free
  3. File Content Conversion In Sap Pi At Receiver Position

SAP PI/PO provides out-of-the-box functionality to handle file content conversion from Flat file to XML and vice versa in File Adapter. This function can only be used if the file isn’t encrypted. For handling File content conversion along with PGP, we need adapter modules and advanced user detail function. In the existing configuration of File Adapter's Content Conversion Tab of File Content Conversion, we have Recordset. Sap integration sap-xi sap-pi asked Jan 24 '19 at 6:47. XI - File Content Conversion. By Punit J, YASH PI Competency Team, Yash Technologies. Description: File Content Conversion is used to convert non-XML file (flat file) to XML file and vice-versa. In this blog, we will see how to convert flat file to XML file when file structure is bit complex.

File Content Conversion In Sap Pi At Receiver

File Content Conversion In Sap Pi At Receiver System

Symptom

You use the File Adapter with File Content Conversion. The incoming/outgoing file is PGP encrypted and you would like to decrypt it with the PGPDecryption module. The messages in the scenario fail with the following error:

Caused by: com.sap.aii.af.lib.mp.module.ModuleException: File is no valid PGP Message, could not apply decryption
at com.sap.aii.adapter.pgp.ejb.api.PGPDecryptionBean.process(PGPDecryptionBean.java:157)


Read more...

Environment

  • SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5
  • SAP Process Integration, secure connectivity add-on

Product

Conversion
SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Process Integration, secure connectivity add-on 1.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1

Keywords

PGPDecryptionBean, PGPDecryption, MessageTransformBean, File is no valid PGP message, File Content Conversion, FCC, File adapter, decryption, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.40, PI 7.40, PO 7.40, Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI, Secure Connectivity Add-on , KBA , BC-XI-CON-SFT , Secure File Transfer Protocol Adapter , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.

XI - File Content Conversion

File Content Conversion In Sap Pi At Receiver Free

File content conversion in sap pi at receiver cable

By Punit J, YASH PI Competency Team, Yash Technologies

File Content Conversion In Sap Pi At Receiver Position

Description: File Content Conversion is used to convert non-XML file (flat file) to XML file and vice-versa. In this blog, we will see how to convert flat file to XML file when file structure is bit complex. For example, when same columns shows different information in different rows.

Business Case: Let’s take an example with file shown below. The file contains employee details. First row contains Header information of Employee (Employee ID and Name), Second and Third row contains his weekly details (Week No, Working Hours in the Week and Wage for the Week), there can be n number of rows for weekly details and Last row contains Employee Monthly Summary (Total hours worked and Total Wage).

Screen shot

Find below the step-by-step procedure to achieve this scenario:

Development on Integration Repository side.

1.Create Data Type.

Here I have added a filed Key in all the records, we will discuss about this field while configuring Sender File Adapter.

2. Create Message Type.

3) Create Message Interface for Sender and Receiver. In this scenario I am using same Message Type for both Sender and Receiver as we are converting flat file to XML file.

4) Create Message Mapping.

Here we don’t have to map the field ‘Key’.

5. Create Interface Mapping.