Skip to Content
Former Member
Nov 14, 2012 at 04:54 AM

RFC Program, data not populating in the table


Hi experts,

I am new to SAP R/3. I know basics of abap reports. So i am trying to write a RFC program in se37 to insert the data from external application. I have written the code as below,

DATA: wa TYPE ytable2,

wa_str TYPE ystr_emp_details.

LOOP AT table INTO wa_str.

wa_str-emp_name = wa-ename.

wa_str-emp_mail = wa-emial.

wa_str-emp_addr = wa-eaddr.

INSERT ytable2 FROM wa_str.

CLEAR: wa, wa_str.


There is no error. But the data was not populating in the table. Please help to resolve.

Thanks & Regards

Amarnath M