Application Development and Automation 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: 
Read only

BDC session stops after COMMIT WORK

Former Member
0 Likes
7,606

Hi Experts,

I am trying to run a BDC with session method, but it has COMMIT WORK statement in a standard Function Module of BDC recording. Due to this it comes out without completing the session in SM35.

I have done recording using Continue after Commit work check Box. it is still not working . please help .

5 REPLIES 5
Read only

Former Member
0 Likes
6,111

Hi

but the session is created by a Z-program generated in SM35?

Max

Read only

RaymondGiuseppi
Active Contributor
0 Likes
6,111

Due to technical reason a COMMIT will terminate the transaction during BDC execution. That prevents some transactions to be executed, there are some OSS notes on this problem.

sample:


Reason and Prerequisites

The reason why batch input is not possible for some Personnel Development transactions is the Commit Works that are triggered during transaction processing. These are essential for the complex processing steps.

Solution

Please write a program that provides the required functions.When doing so, use the BAPI's and/or function modules provided in the Personnel Development component.

Regards,

Raymond

Read only

Juwin
Active Contributor
5,903

Pass RACOMMIT as X, when calling the BDC.

Thanks,

Juwin

Read only

0 Likes
5,903

This issue can be resolved through BDC by Following below steps

1) Set up the break point for Function module BDC_RECORD_TRANSACTION

2) Change the RACOMMIT field of strucure L_OPTIONS to X before executing this FM ,then it will allow the recording inspite of commit statement in Program.

Read only

0 Likes
5,074

This was 10 years ago, but thank you. This helped a lot