2010 Feb 25 6:30 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'
GROUP = 'ZXMD'
KEEP = optional
USER = 'ABAP'
CALL FUNCTION 'BDC_INSERT'
EXPORTING
TCODE = 'FMCIA'
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,
Sreedhar
2010 Feb 25 7:18 AM
Hello,
Please use the EXCEPTIONS after each Function Module call & check the SY-SUBRC after each call. I think one of the FM must be failing.
I think the error message is self-explanatory.
BR,
Suhas
Thank u .
2010 Feb 25 7:05 AM
Hi Sreedhar,
Is your program creating multiple BDC session, if so then check the whether you are creating the session with same name. If you doing so then before creating a new session you should close the previous one.
Regards,
Mrinal
2010 Feb 25 7:18 AM
Hello,
Please use the EXCEPTIONS after each Function Module call & check the SY-SUBRC after each call. I think one of the FM must be failing.
I think the error message is self-explanatory.
BR,
Suhas
2011 Sep 15 10:04 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |