cancel
Showing results for 
Search instead for 
Did you mean: 

PDF creation scenario in PI 7.1 usign Apache FOP 0.95

roger_gomez
Active Participant
0 Kudos

Hi Gurus,

I have the next scenario to be configured in SAP PI 7.1: Flat File --> PDF. I would like to use the XML transformation utilities provided by Apache FOP 0.95 (http://xml.apache.org/fop/).

I'm triying to do it following the next blogs: ( [https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2072] [original link is broken] [original link is broken] [original link is broken]; and [https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14363] [original link is broken] [original link is broken] [original link is broken]; ). But I need further information to make this working.

Have somebody configured successfully this scenario in 7.1 and guide me step by step?

My bigger doubts are:

1. Is it correct to import the .jar FOP files from lib downloaded folder using Imported Archive tool in ESR? Some errors are triggered because duplicate classes.

2. There is a link for a tweaked FOP XSD schema for the target message but this seems that cannot be imported to PI 7.1 as is. Some errors are prompted when I try to import it using External Definitions tool in ESR. Have somebody tweacked the current version from FOP 0.95? If yes, could you share it or guide me to make the same?

3. About the module processor exit bean, what I have to do with the code provided by 2072 blog. I understood that this have to be JAVA compiled and upload to PI server. Is this correct? Could you please guide me taking into account that I'm abaper? How to configure the comunication channel to make it working?

Thanks in advanced.

Roger

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Roger,

I have worked on this requirement.

We have to use Custom Adapter Modules.

refer this blog [https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11835] [original link is broken] [original link is broken] [original link is broken];

For working on PI 7.1 with custom Adapter Modules we need NWDS CE version .

The first part in Krishna's blog u are refering is the data structure of the source type, Second is the xslt mapping between source and target which need to be selected while creation operation mapping. we have to import this to the PI system as external archive.

The last part of the Krishna's blog is the code used in creating of custom adapter modules. we need to call these module on the receiver side communication channel. For creation of modules use NWDS CE version . U shud attach the jar file to the EJB module created.

The jar file which are specified are missing few classes.. U need to use the jar files which hav all the classes required for conversion. We can know the required jar files with exact classes when we read the log files created while deployement error.

chk this link will be helpful

[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0205c42-5e86-2b10-b183-afc655b07f3f]

-


> The .jar files are used in NWDS for creation of custom modules and not imported as external archive in ESR.

Regards,

Syed

former_member91687
Active Contributor
0 Kudos

Hi,

Could you let us know if you were able to import the FOP xsd in PI 7.1? facing a stack overflow error while doing the same, are any modifications required to be done on the tweaked XSD before importing into PI 7.1 external definition?

Thanks,

Chandra