‎2006 Dec 04 3:29 PM
Hi All
Just curious about this thing, I am writing internal table inside the file in the using TRANSFER command. Just wanted to know if we can check something like SY_SUBRC in the after the TRANSFER command.
I am not finding it in SAP HELP or F1 either. Is there any other way to do it.
Amol
‎2006 Dec 04 3:30 PM
HI,
You can not use the Sy-SUBRC for Transfer command, transfer doesn't return the Sy-SUBRC
Regards
Sudheer
‎2006 Dec 04 3:32 PM
If you check sy-subrc after the open and close statements, that will be sufficient.
rob
‎2006 Dec 04 3:32 PM
Transfer is used to move data...It doesnot check for sy-subrc...So, u can't use sy-subrc for a transfer command...
‎2006 Dec 04 3:36 PM
Hi Amol,
SY-SUBRC will not be checked for TRANSFER command
suppose say data can be empty sometimes , so if we check sy-subrc here the data may not be transferred
‎2006 Dec 04 3:43 PM
Hi,
open dataset should be checked for sy-subrc .
if the file is open for input or output transfer command
will always work only exception is that user should have access
to write file or read file to application server.
REgards
amole