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

Problem in BDC Sessions

Former Member
0 Likes
481

Hi SAP Gurus,

A program creates 4000 sessions with similar name like 'SESSION_NAME' each having 200 records.This BDC updates same Transaction.

I have a another program with parameter as Session name. With this session name i will get all the QUEUE ID's of 4000 sessions and using this ID i submit RSBDCBTC.

Now the problem is that all the sessions run at the same time .

The consequence was that all session ran on errors because they lock each other.

I have used WAIT UPTO 2 SESONDS..But this doesn't work.

Please suggest how to overcome this problem.

Thanks in Advance.

Regards,

Dinakaran.R

Hi SAP Gurus,

A program creates 4000 sessions with similar name like 'SESSION_NAME' each having 200 records.This BDC updates same Transaction.

I have a another program with parameter as Session name. With this session name i will get all the QUEUE ID's of 4000 sessions and using this ID i submit RSBDCBTC.

Now the problem is that all the sessions run at the same time .

The consequence was that all session ran on errors because they lock each other.

I have used WAIT UPTO 2 SESONDS..But this doesn't work.

Please suggest how to overcome this problem.

Thanks in Advance.

Regards,

Dinakaran.R

3 REPLIES 3
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
449

Hi Dinakaran

use:

SUBMIT rsbdcsub

WITH mappe EQ 'MIG_LISTING' " Session Name

WITH von EQ sy-datum " Starting Interval date

WITH bis EQ sy-datum " Closing Interval Date

WITH z_verarb EQ 'X'

WITH logall EQ 'X' " Log Info

AND RETURN .

here even though session name is same by mentioning the Starting Interval Date and Closing Interval date, we can process the 2 created pool sessions successfully.

Feel free to ask any queries regarding this.

Regards,

Kumar

Read only

0 Likes
449

Hi Kumar,

Thanks for your reply.

I used RSBDCSUB as you have mentioned . But still the problem persists.

I had 6 sessions (with same name )each having 10 records.5 were in error and 1 was successfully completed.

Pease suggest .

Waiting for your response as eraly as possible.

Thanks in advance.

Regards,

Dinakaran.R

Read only

0 Likes
449

Hi Dinakaran

Can you check whether in foreground it's working fine or not?

What's the errors you are getting for failed records?

Can you let me know the errors and TC so that I can look into this without fail.

Regards,

Kumar