Skip to Content
author's profile photo Former Member
Former Member

Reg: Deleting the file stored on the folder

Hi All,

I do have the requirement where I need to download a billing document(scipt) onto the folder in PDF format and then upload the same PDF document to the transaction VF03.

My question is how to delete the downloaded PDF file programatically.

Answers will be rewarded.

Thanks,

Kishore

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 10:51 AM

    use the standard call method:

    CALL METHOD cl_gui_frontend_services=>file_delete

    Plz reward if useful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 10:47 AM

    Use the following command:

    DELETE DATASET dset. Where dset is the filepath and name.

    Regards,

    Kiran Bobbala

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 16, 2008 at 11:32 AM

    Hi Krishna,

    If ur file exist in front end then Use the FM GUI_DELETE_FILE. make sure that file name is case sensitive.

    If it is application server then use DELETE DATASET filepath.

    It will perfectly works fine.

    Thanks,

    Vinod.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.