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: 

Session getting created, but not able to execute the session thru RSBDCSUB

Former Member
0 Kudos

Hi Gurus,

I am using sap standard batch program RFBIBL00.

Session is getting created when i call RFBIBL00.

*But when i call program RSBDCSUB to execute the session, gettin msg sayin "session is locked" *

Can anyone tell me how to unlock session so tht RSBDCSUB can execute the session.

Warm Regards'

Madan.

Edited by: Madan N on Sep 29, 2008 5:08 PM

Edited by: Madan N on Oct 1, 2008 12:47 PM

Edited by: Madan N on Oct 1, 2008 12:49 PM

7 REPLIES 7

Former Member
0 Kudos

Did you close the BDC session?

CALL FUNCTION 'BDC_CLOSE_GROUP'

EXCEPTIONS

not_open = 1

queue_error = 2

OTHERS = 3.

Former Member
0 Kudos

Hi,

Are you passing any "holddate" in BDC_OPEN_GROUP? This locks the session.

In order to unlock go to SM35. select the session and use the menu session-->unlock.

Regds,

Rudra

0 Kudos

Hi Rudra,

Thanx for your time and info.

yeah i was passing the hold-date bgr00-start, so my session was getting locked.

Now i am able to execute the session.

new problem

I am calling the program RFBIBL00 thru Call Transaction

mode.

but i am unable to execute my report. probelm i am facing is that, i am passing date format as in yyyymmdd like 20080816

when i execute the date format is getting changed to 08160832

the year is not in proper format. So i am not able to post any FI documents.

Please let me know how to resolve this issue.

Thanks,

Madan.

Former Member
0 Kudos

still an open question

Former Member
0 Kudos

Hi,

You cannot pass the date in YYYYMMDD format during call transaction. You have to convert it first based on User Settings.

To do this..

Use WRITE <Date in YYYYMMDD format> to <variable>(TYPE CHAR10)

Then pass <variable> to the date field.

Regds,

Rudra

0 Kudos

Hi,

Use date conversion function modules.

CONVERT_DATE_TO_INTERNAL

or

CONVERT_DATE* (Use suitable one)

/Kiran

Former Member
0 Kudos

Hi,

Thanks for your time and info, my problem got solved.