2009 Apr 08 6:23 AM
Hi,
Im trying asynchronous RFC. Please find my code for getting material record based on matnr.
In debug mode im getting results in my internal table but once i execute the program no data is displaying. I've searched the blogs and threads but didnt get any helpful result..
paramaters : pmatnr like mara-matnr.
CALL FUNCTION 'ZRFC_GET_DATA'
Starting new task 'TASK1'
DESTINATION 'RFC1'
Performing get_data on end of task.
Exporting
p_matnr = pmatnr.
wait until '1' seconds.
loop at itab.
write 😕 itab-matnr, itab-meins,itab-matkl,itab-mbrsh.
endloop.
Form get_data using task1.
receive results from 'ZRFC_GET_DATA'
tables
it_mara = itab.
Endform.
Please help me out..
Thanks
Mallika
2009 Apr 08 6:27 AM
hey sorry guys...its working earlier i missed out WAIT UP TO '1' Seconds.
now the data is displaying.
thanks,
mallika
hey sorry guys...its working earlier i missed out WAIT UP TO '1' Seconds.
now the data is displaying.
thanks,
mallika
2009 Apr 08 6:27 AM
hey sorry guys...its working earlier i missed out WAIT UP TO '1' Seconds.
now the data is displaying.
thanks,
mallika
2009 Apr 08 1:06 PM
hi mallika,
Use wait up to '1' seconds for making ur calling system to wait till that time in order to get the response for that called system. So in order to see the result you use the until condition.
thanks
swapna
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |