‎2008 Jul 26 7:03 AM
Hi,
I have saved pdf file in application server directory. Now I am reading it and displaying on desktop.For this I did as below.
open dataset p_file1 for input in text mode encoding default.
if sy-subrc eq 0.
do.
read dataset p_file1 into p_file2. " cursor taking much time to proceed further from this line.
if sy-subrc eq 0.
write : p_file2.
endif.
enddo.
else.
message e005(zmsg).
endif.
close dataset p_file1.
In the debugging when the cursor reaches ' read dataset p_file1 into p_file2' line, it is taking much time to proceed further. Why is it so?
‎2008 Jul 26 7:15 AM
Hi,
Use the length addition of Read Dataset statement... Check this link
http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb3d42358411d1829f0000e829fbfe/content.htm
Hope this would help you.
Regards
Narin Nandivada
‎2008 Jul 26 7:15 AM
Hi,
Use the length addition of Read Dataset statement... Check this link
http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb3d42358411d1829f0000e829fbfe/content.htm
Hope this would help you.
Regards
Narin Nandivada