Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Session method not working

Former Member
0 Likes
688


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.

3 REPLIES 3
Read only

Former Member
0 Likes
646

hi,

can you post the code, so we can look at how you are using BDC_OPEN_GROUP and BDC_INSERT.

thanks!!

Read only

0 Likes
646

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.

Read only

0 Likes
646

hello Vinod,

have you checked the log in SM35?

thanks!!