Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Module processor enhancement with file content conversion

Hi All,

I have a bean (module processor) that converts the a PDF doc to text. I need to use the same bean with file content conversion. Module processor processing sequence is as follows:

1) My Bean: localejbs/myBean

2) Default: localejbs/CallSapAdapter (Bean for file content conversion).

When I tried the same (myBean + File adapter with file content conversion) , it was not working as expected. But the same bean works fine with normal file adapter (myBean + File adapter without file content conversion).

Couldn't figure out the reason. Please help.

Regards,

Ajay.

Former Member
Former Member replied

As the content conversion of the file adapter is done before calling the customer module, it is not possible to use both.

As workaround you can do the file content conversion with help of the MessageTransformBean. In the module chain you put the MessageTransformBean after your module.

Note that the configuration of the MessageTransformBean has to be done like the J2SE sender file adapter:

http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm

You find an example here:

https://websmp206.sap-ag.de/~sapdownload/011000358700001186732005E/HowToConveModuleJMS.pdf

Regards

Stefan

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question