Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

In BDC, how to continue after commit work

Former Member
0 Kudos

Hi,

I am developing a function module using BDC for a Z - transaction (ZMR0). I recorded the transaction and it(Recording) works fine. I copy pasted the BDC code into my function module.

When I execute my function module, it terminates in the middle. But I need to continue till the end.

Please give me the solution for this issue...

Note :

When I click on "New Recording" button in SHDB transaction, I have an option "Continue after commit" (Check box). I checked it and recorded the transaction.

But I dont know how to implement this in my function module...

Thanks in advance.

2 REPLIES 2

Former Member
0 Kudos

Hi

Trhe better option would be to create a FM from your BDC recording.. There is an option to do this...in SHDB.

Then call that particular FM in ur customized Fm

Regards,

Vishwa.

Former Member
0 Kudos

Hi,

You have done the recording and you have pasted that corresponding code in your program, and you have used a call transaction statement on that transaction, use processing mode as All screens and then you will understand exactly in which it has failed and why it has actually terminated. You might not have handled the sy-subrc correctly.

Thanks,

Mahesh.