‎2010 Jan 20 6:54 AM
Hi experts,
i have to transfer the data using bdc_session method...
i have done the following....
perform open_group.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = '400'
DEST = FILLER8
GROUP = 'ZXMD'
HOLDDATE = '20090101'
KEEP = FILLER1
USER = 'ABAP'
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'XK01'
POST_LOCAL = NOVBLOCAL
PRINTING = NOPRINT
SIMUBATCH = ' '
CTUPARAMS = ' '
TABLES
DYNPROTAB = BDCDATA
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
but when i execute the program i get the error'bdc_open_group,create session not allowed,as last session is still active'.
plz help.
thnks n regrads,
Mukesh
‎2010 Jan 20 7:28 AM
‎2010 Jan 20 8:35 AM
‎2010 Jan 21 4:58 AM
Hi,
Try changing the group name ie 'ZXMD' to something new in the FM BDC_OPEN_GROUP.
Hope this helps you.
Regards,
Ranjith Nambiar
‎2010 Jan 21 8:59 AM
Hi
below you have to give KEEP = 'X'.hope ur issue is solved.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = '400'
DEST = FILLER8
GROUP = 'ZXMD'
HOLDDATE = '20090101'
KEEP = FILLER1
USER = 'ABAP'.
Regards
Kiran
‎2010 Jan 21 9:35 AM
thnks all...but the error is still not solved...
the error is...
BDC_OPEN_GROUP,create sesion .ZXBD. not allowed, as last session is still active
‎2010 Jan 21 9:48 AM
‎2010 Jan 26 1:36 PM