Hi,
Which method are you using in your process . If you are using CALL TRANSACTION method, u can run the BDC in foreground and check the steps, for better understanding as in how the values in the BDCDATA table is being maintained.
Regards,
Mayur Priyan. S
PS: We are unable to view any code attachment. Request you to please upload it.