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

Regarding Pop Up Window

Hi All,

I want a pop up window for saving the output file at the desired location

of user. How can I get the pop up window for "Saving" the file at desired

location.

Thanks in Advance. Pts will be rewarede.

Regards

Jitendra.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 06:28 AM

    Hi Jitendra,

    Use FM <b>F4_Filename</b>

    Using this FM ucan select the location where u want to store the file.

    Regards,

    Hemant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 06:32 AM

    Hi Hemant,

    I know this function module but when this pop up window comes

    it has 2 buttons with lable " Open" and "Cancel".

    I want to have the lable as "Save" and "Cancel".

    How can this be done....

    Thanks & Regards

    Jitendra.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 06:36 AM

    use this FM:

    F4_Filename.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 26, 2007 at 06:48 AM

    hi,

    go through this code

    u can down load to system.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.

    CALL FUNCTION 'F4_FILENAME'

    EXPORTING

    PROGRAM_NAME = SYST-CPROG

    DYNPRO_NUMBER = SYST-DYNNR

    FIELD_NAME = 'P_FILE'

    IMPORTING

    FILE_NAME = P_FILE.

    START-OF-SELECTION.

    FILE = P_FILE.

    CALL FUNCTION 'GUI_UPLOAD'

    EXPORTING

    FILENAME = FILE

    FILETYPE = 'ASC'

    • HAS_FIELD_SEPARATOR = ' '

    • HEADER_LENGTH = 0

    • READ_BY_LINE = 'X'

    • DAT_MODE = ' '

    • IMPORTING

    • FILELENGTH =

    • HEADER =

    TABLES

    DATA_TAB = ITAB

    • EXCEPTIONS

    • FILE_OPEN_ERROR = 1

    • FILE_READ_ERROR = 2

    • NO_BATCH = 3

    • GUI_REFUSE_FILETRANSFER = 4

    • INVALID_TYPE = 5

    • NO_AUTHORITY = 6

    • UNKNOWN_ERROR = 7

    • BAD_DATA_FORMAT = 8

    • HEADER_NOT_ALLOWED = 9

    • SEPARATOR_NOT_ALLOWED = 10

    • HEADER_TOO_LONG = 11

    • UNKNOWN_DP_ERROR = 12

    • ACCESS_DENIED = 13

    • DP_OUT_OF_MEMORY = 14

    • DISK_FULL = 15

    • DP_TIMEOUT = 16

    • OTHERS = 17

    .

    IF SY-SUBRC <> 0.

    • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

    • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    LOOP AT ITAB.

    WRITE:/ ITAB.

    ENDLOOP.

    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.