cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module for File Adapter

Former Member
0 Kudos

I have a scenario where I have 2 related files (text file and a pdf file) for the message. I need to enhance the payload (content conversion from text file) with the size of the pdf file. I have developed a adapter module for this and it is working fine if there is 1 set of text and pdf file. But if there are more than 1 set of files, it is processing the first set and giving the below error for other files.

"Error: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback."

Regards

Yogesh

Accepted Solutions (0)

Answers (4)

Answers (4)

ravi_raman2
Active Contributor
0 Kudos

Do you have any more info on the error, Can you add trace to the code..

Regards

Ravi Raman

former_member187563
Contributor
0 Kudos

Hi,

after picking the first file,i think your adapter is going to rollback since its not getting other set of files.You can increase the waiting time of your adapter in the RWB and check whether its working properly or not.And you can increase the polling interval of your file adapter.

regards,

ujjwal kumar

Former Member
0 Kudos

i think my issue is more related to setting the transactions in the Adapter module.

former_member183906
Active Contributor
0 Kudos

check this thread :