10-01-2008 10:21 AM
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.
10-01-2008 10:42 AM
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.
10-01-2008 10:43 AM
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.