cancel
Showing results for 
Search instead for 
Did you mean: 

MII 12.2.3 Dynamic Transaction Call

Former Member
0 Kudos

Hi ,

I am having MII 12.2.3 (667).

In one of the transaction , I am using Dynamic Transaction Action Block and mapping all the required input

When I try to run the transaction , It gives an error "Unable to Create Transaction Instance."

I run the same code in different environment, It ran fine.

Is there any specific config/setting that I need to check ?

Regards,

Ketan

former_member741156
Discoverer
0 Kudos

Actually we are also facing the same issue in our system but have no clue why.

Former Member
0 Kudos

I saw your posted comment. Please raise a new question and follow our rules of engagement: https://community.sap.com/resources/rules-of-engagement. I suggest using the "I have a similar question" option under the question to get started. Feel free to take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html. With these tips you'll be able to prepare questions that draw responses from our members.

Best,

Your SAP Community moderator

Accepted Solutions (0)

Answers (4)

Answers (4)

saumya_govil
Active Contributor
0 Kudos

Hi Ketan,

I see that your question is open for sometime now. Do you already have a solution to your problem?

Actually we are also facing the same issue in our system but have no clue why.

Appreciate your help.

Regards,

Saumya Govil

Former Member
0 Kudos

Hi Saumya,

Which MII version you are working on and what is the inline db ?

Regards,

Ketan

saumya_govil
Active Contributor
0 Kudos

Hi Ketan,

Thanks a lot for your reply.

We are on MII version 12.2.5 built 80. The database is Oracle 11.

One thing that we noted that this only happens in case of sub-transaction call. When we remove the call and embed the whole logic directly in the caller transaction, it works fine.

Any suggestions please?

Regards,

Saumya Govil

Former Member

Hi Saumya ,

When ever you make a call to the sub-transaction , set Persist Property to "NEVER" in the link editor.

Let me know if it resolve the issue.

Regards,

Ketan Verma

saumya_govil
Active Contributor
0 Kudos

Hi Ketan,

I tried it and it definitely helps. Thanks a lot!

One strange thing I noted was that I face this error only with few sub-transaction calls where there was a file input/output done.

Just curious to know, did you face similar issue and did setting Persist Property solve it for you as well?

Thanks a lot, really appreciate your help while it is not your issue any more.

Regards,

Saumya Govil

former_member453678
Participant
0 Kudos

Hello,

Setting Persist Property to "NEVER" in the Dynamic Transaction Call solved the issue with me.

Former Member
0 Kudos

Hi ,

The net weaver log says :"Unable to start transaction, Cannot begin ('LocalTransaction(spi)'), while ('LocalTransaction(cci)') is active.","com.sap.xmii.dao.JTAHandler",

Regards

0 Kudos

Hi Ketan,

Can you please look into the document mentioned below and check if you are using in the same way.

Also try to check the output of the transaction in the tracer.

Link - http://scn.sap.com/community/manufacturing/mii/blog/2012/08/08/demonstrating-the-use-of-new-feature-...

Thanks,

Ritim

former_member211944
Active Participant
0 Kudos

Hi Ketan,

Can you share the Net-weaver error logs that you get when you run the transaction.

regards,

Rohit Negi.