Skip to Content
Author's profile photo Former Member

End to End File Content Conversion (FCC) Using IFlow in SAP PO 7.4

Hi all,

I am going to share you End to End Configuration of File Content Conversion using IFlow in SAP PO 7.4.

This end to end scenario consist Design(ESR) and configuration(ID) details for File Content Conversion with testing snapshots.

————————————————————————————————————————————————————–

FILE CONTENT CONVERSION SAP PO 7.4


Enterprise Service Repository (ESR) Configuration:

Data Types:-

Source Data Type:

Source Datatype.png

Target Data Type:

Target Datatype.png

Message Type:-

Source Message Type:

Source Messagetype.png

Target Message Type:

Target Messagetype.png

Service Interface:-

Sender Service Interface:

Sender Service Interface.png

Receiver Service Interface:

Receiver Service Interface.png

Message Mapping:-  Reverse Structure One to One Mapping

Message Mapping.png

Operation Mapping:-

Operational Mapping.png

Sender Communication Channel:-

Note: Put Message type as Document Name in communication channel

Sender Communication Channel.png

Sender Communication Channel-Source tab.png

File content conversion parameters for Sender CC:-

Header.fieldFixedLengths

1,5

Header.endSeparator

‘nl’

Header.fieldNames

Key,Emp_ID

Header.keyFieldValue

1

Header.keyFieldlnStructure

ignore

Details.fieldFixedLengths

1,10,7,7,8,5

Details.endSeparator

‘nl’

Details.fieldNames

Key,FirstName,LastName,AccountNo,Amount,RollNo

Details.keyFieldValue

2

Details.keyFieldlnStructure

ignore

Footer.fieldFixedLengths

1,5

Footer.endSeparator

‘nl’

Footer.fieldNames

Key,EOFRecord

Footer.keyFieldValue

3

Footer.keyFieldlnStructure

ignore

Receiver Communication channel:-

Receiver Communication Channel.png


Receiver Communication Channel-Target Tab.png

File content conversion parameters for Receiver CC:-

Header.addHeaderLine

3

Header.headerLine

1

Header.fieldNames

Key,Emp_ID

Header.fieldFixedLengths

1,5

Header.fixedLengthTooShortHandling

Cut

Header.fieldSeparator

/

Header.endSeparator

‘nl’

Details.addHeaderLine

3

Details.headerLine

1

Details.fieldSeparator

Details.endSeparator

‘nl’

Footer.addHeaderLine

3

Footer.headerLine

1

Footer.fieldSeparator

/

Footer.endSeparator

‘nl’

IFlow Configuration:-

Iflow configuration.png

Integrated Configuration:

ICO configuration.png

Receiver -ICO.png


Receiver Interface-ICO.png


Outbound Processing-ICO.png


Testing:

Source File:-

  Please find the source file named SampleData.txt at the end of the blog.

Source File.JPG

Xml File after conversion and mapping:-

Generated XML file.JPG

Processed File:

ProcessedFile.JPG

Note: For finding the detailed parameter list of File Content Conversion please refer the link below:

Converting File Content in the Sender Adapter – SAP XI: Runtime – SAP Library

Converting File Content in the Receiver Adapter – SAP XI: Runtime – SAP Library

Thanks & Regards,

——————————

Abhishek Gupta

SAP PO Developer

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo vinay K
      vinay K

      hi

      i got error

      Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'Details.fieldFixedLengths' or 'Details.fieldSeparator' is missing