If sy-subrc ne 0 , then
you can show question popup , has two button
message: "You must close destination file, you close first and click 'OK' "
buttons " OK" , "Cancel"
or message "File Acces denied"
nuttpons: "cancel" "retry"
and you can check ok button click. If ok clicked, you perform function again.
regards
Hakan Er.
from istanbul
On Thu, 02 Dec 2004 02:43:42 -0000, Garret Goh <[EMAIL PROTECTED]> wrote:
>
> Yes. I'm trying to write to an existing file. I'm using
> GUI_DOWNLOAD. This FM give me SY-SUBRC = 15 if the file is opened by
> MS Excel. What I want is to tell users that they have to close the
> file first before the writing is actually made. Telling them later,
> will be too late or rewriting should be performed back again. This
> is not good enough for me. Any other thought?
>
> Regards,
> Garret Goh
>
> --- In [EMAIL PROTECTED], Hakan Noun <[EMAIL PROTECTED]> wrote:
> I think , you try write or something for file, if file is opened
> already error occured you can decide what happened check value
> of sy-subrc .
>
>
>
> On Wed, 01 Dec 2004 09:29:27 -0000, Garret Goh <[EMAIL PROTECTED]>
>
>
> wrote:
>
> Hi all,
>
> Is there any FM to check whether or not an Excel file is opened by
> MS Excel before writing or creation is made.
>
> Thank you.
>
> Regards,
> Garret Goh
>
>
>
>
>
>
>
>
> To unsubscribe from this list, send a to mail to
> [EMAIL PROTECTED] or go to http://groups.yahoo.com/group/ABAP
>
> Comments about the list can be sent to [EMAIL PROTECTED]
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/ABAP/
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
To unsubscribe from this list, send a to mail to
[EMAIL PROTECTED] or go to http://groups.yahoo.com/group/ABAP
Comments about the list can be sent to [EMAIL PROTECTED]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/ABAP/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
