09-29-2008 12:38 PM
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
10-01-2008 12:19 PM
Did you close the BDC session?
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
not_open = 1
queue_error = 2
OTHERS = 3.
10-03-2008 12:29 PM
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
10-06-2008 3:41 AM
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.
10-06-2008 3:41 AM
10-06-2008 3:26 PM
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
10-06-2008 8:09 PM
Hi,
Use date conversion function modules.
CONVERT_DATE_TO_INTERNAL
or
CONVERT_DATE* (Use suitable one)
/Kiran
10-07-2008 12:46 PM