‎2015 Nov 28 4:17 PM
Hello Everyone,
I have created a session method and call transaction method in the same program using different radio buttons.
BDC's are created. I'm inserting the session and the session is getting created. But when I run the session, table is not getting updated even though the status of the session is Green and says 'Processed'.
Same BDC works in call transaction and the table is getting updated.
I'm using BDC_OPEN_GROUP, BDC_INSERT and BDC_CLOSE_GROUP.
Any idea as what could be missing.
Thank you for your help.
‎2015 Nov 28 5:28 PM
hi,
can you post the code, so we can look at how you are using BDC_OPEN_GROUP and BDC_INSERT.
thanks!!
‎2015 Nov 28 8:45 PM
Hello Aditya,
Due to security concerns I cannot post the code.
But will let you know as how I have written the code, it as below:
if r_sess = abap_true.
perform open.
perform transaction.
perform close.
endif.
In perform open, BDC_OPEN_GROUP is written. In perform transaction, there is a loop which is reading the data from the file one by one and BDC_INSERT is inside this loop.
Thank you.
‎2015 Nov 29 4:59 AM