‎2008 May 20 12:48 PM
Hi all,
In my prog(BDC) i have included BDCRECX1.
While running it in session mode its giving error like no batch session opened?
Sachin.
‎2008 May 20 12:53 PM
Hi Sachin,
I think you have not properly used the BDC_OPEN_GROUP and the rest of the function modules properly.
Please check them.And if you still have the problesm send me the code.
Reward if useful.
Thanks & Regards,
khan.
‎2008 May 20 12:53 PM
Hi Sachin,
I think you have not properly used the BDC_OPEN_GROUP and the rest of the function modules properly.
Please check them.And if you still have the problesm send me the code.
Reward if useful.
Thanks & Regards,
khan.
‎2008 May 20 1:00 PM
Hi Sachin,
Check whether u have given all parameters correctly.
Check out this sample code.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
DEST = FILLER8
group = p_group
HOLDDATE = FILLER8
keep = 'X'
user = sy-uname
RECORD = FILLER1
PROG = SY-CPROG
IMPORTING
QID =
EXCEPTIONS
client_invalid = 1
destination_invalid = 2
group_invalid = 3
group_is_locked = 4
holddate_invalid = 5
internal_error = 6
queue_error = 7
running = 8
system_lock_error = 9
user_invalid = 10
OTHERS = 11
.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Try this and get back to me incase of any queries.
Dont forget to reward points if found useful.
Thanks,
Satyesh
‎2008 May 20 1:02 PM
Check the Hold parameter in BDC_Open_group .
Give the value for it as sy-datum .
‎2008 May 20 1:07 PM
Hello all,.
BDCRECX1 is a standard one which maintain both CALL TRANSACTION and SESSIOn?
Sachin.
‎2008 May 20 1:11 PM
try to see if that include is activated also check the selection and text elements if they are activated .