How can we put  F4 help for a given filepath

hi all,
my requirement is  if i select one check box and give the file path  using GUI_DOWNLOAD  F.M.  file should be download to specific file. to achieve this i declared like this.
parameters: p_chk1 as checkbox,
                   p_file like rlgrap-filename.
can anybody help me how to write logic for this using F4_help F.M..
in output screen checkbox  and filepath is dispalying but when i check that checkbox and i hv to give filepath in that file parameter using f4 help.
reply me ASAP.
thanks in advance
swathi.

Hi , swathi.
I read your question, and this is my answer.
REPORT  ztest
        MESSAGE-ID Zxxxxx.
*SELECTION-SCREEN DEFINITION
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
  SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: P_CHK1 AS CHECKBOX DEFAULT 'X',
                P_FILE LIKE RLGRAP-FILENAME.
  SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN.
  IF P_CHK1 = 'X' AND P_FILE IS INITIAL.
   MESSAGE Exxx WITH 'xxxx'.
  ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
  CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
       EXPORTING
            mask      = ',.,.'
            static    = 'X'
       CHANGING
            file_name = P_FILE.
  IF SY-SUBRC <> 0.
  HANDLE ERROR
  ENDIF.
Regards,
feng.

Similar Messages

  • How can we provide F4 help for parameter field.

    Hi All,
    How can I provide F4 help for parameter field.
    Regards,
    Amar

    hi,
    different ways of applying search help are :
    you can use anyone:
    1)   CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    or
    2) 
    can follow these simple steps for search help:
    go to se11==> put some name after ticking search help radiobutton==> create==>
    then tick " elementery search help " and press enter ===>then put description and table name in selection method ===>then put the field on which u want search help
    in search help parameter==> tick IMP EXP ==> write 1 in lpos and spos===>save and activate===> double click on table name ===>  select that field and press *search help tab* above===> then copy
    3 )
    methods of applyind search help:
    For search help sometimes we use MATCHCODE----->when we apply it directly to parameter or select option.they are obselete now ii.For search help sometimes we CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' ??------->if we want to populate data of internal table as search help.
    iii.For search help sometimes we declare tablename-fieldname in selection?------>if that field in that table is having seach help or check table ..F4 will be avaliable directly.
    also:
    Fixed value of domain can also work as search help.
    i hope it will help u a lot
    thaks and regards
    rahul sharma

  • How can I put something in for the last Wednesday of every month

    How can I put something in for the last Wednesday of every month

    I don't believe there is such a custom repeat option with the iPhone's Calendar app, but if you are syncing calendar events with a supported calendar app on your computer or syncing calendar events over the air with an email account that supports it with an option to create such a custom repeating event with the online calendar, set up the custom repeating event there.

  • How can I get file list for a given directory?

    Hi,
    How can I get file list for a given directory? Is there a function?
    Thanks.

    Hi friend,
    Try this sample report. It displays all files in a directory.
    While executing give some directory name in input. ex:  C:\
    Mention file type in filter parameter. ex: *.DOC
    REPORT ztests.
    DATA : file_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    DATA : dir_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    PARAMETERS:p_dir(50) TYPE c.
    CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
      EXPORTING
        directory  = p_dir
        filter     = '*.DOC'
      TABLES
        file_table = file_table
        dir_table  = dir_table
      EXCEPTIONS
        cntl_error = 1
        OTHERS     = 2.
    LOOP AT file_table .
      WRITE:/ file_table-pathname.
    ENDLOOP.
    Might be helpful...
    Thanks.....
    Edited by: Guest77 on Feb 11, 2009 5:30 AM

  • How can i get live help for premiere elements 11

    how can i get live help with premiere elements 11

    Click I STILL NEED HELP at this next link for Premiere Elements chat
    -http://helpx.adobe.com/contact.html?product=premiere-elements&topic=activating-my-product- or-serial-number-issues

  • Hi I've got a I phone 5 c how can I put my number for I message instead ov email

    HI I have a I phone5 c how can I put number for I message instead of e mail

    It is there - at the bottom below the section - you can be reached by iMessage at.
    The iPhone's cell phone number is automatically registered with iMessage along with your Apple ID email address.

  • How can I put "Favorites"portlets for various users in a page?

    How can i put in a page two "Favorites" portlets (one for each user that log on into the page and one for each group of users that logon into the page),so each
    user can customize (add favorites,delete favorites,..) it's own "Favorites" portlet and the other "Favorites" portlet is only customizable by a
    group of user,so if the user log on is not in that group can't customize the portlet.

    The favorites portlet is set up to work this way automatically. You put one version on a page, and the customizations are stored for each individual user. So the same portlet displays different favorites based on the logged in user. At this point, there is no way to define favorites for a group.

  • How can I put an icon for a particular site (i.e. The Times) on the desktop

    Under internet explorer I can put an icon on the desktop for a particular site so that my husband can find it easily! He reads the Times on Line but there is a technical problem with using Internet Explorer so we were advised to try Mozilla Firefox. The problem doesn't occur on Firefox but I can't find out how to put an icon on the desktop for him.

    See this support article. <br />
    https://support.mozilla.com/en-US/kb/Creating+a+desktop+shortcut+to+a+web+page

  • How can i put security password for history?

    i want to put password for history..
    so no 1 can delet the history before giving the password.

    That is not possible in Firefox and there are quite a few ways to delete history.
    Best is always to install monitoring software on the OS level or check if the router has such a feature if you want a record of visited websites.
    * https://support.mozilla.org/kb/Parental+controls
    * http://kb.mozillazine.org/Parental_controls

  • How can I search the stage for a given Movieclip and then add all instances of it to an Array? AS3

    I would like to Add multible instances of one Movieclip, (Library Name = Bats | instance name = none), inside of another Movieclip (instance name = back.visuals) // (By HAND) NOT by addChild(mc_name); // Easy
    If anyone could help me out with code to do the next steps:
    Search the Movieclip, (instance name = back.visuals), that contains the Movieclips, (Library Name = Bats | instance name = none), manually added to the stage by hand.
    Then for all instances of this movieclip (Library Name = Bats | instance name = none) add them to an Array.
    Thank You,
    Dyami

    I think we are having some missed communication. I do not wish to Change Flash's IDE or deveolp new features for flash. I was wondering if there was a way to do my question with AS3. something along the lines of :
    var enemyList:Array = new Array;
    for (var index:int = 0;index < back.visuals.numChildren;index++)
        var wall:MovieClip = back.visuals.getChildAt(index) as MovieClip;
    /* Check to see if wall is of a Specfic MovieClip */
    /* if (Above is True){ enemyList.push(wall) };

  • Hello Guys. I had problems in the Computer before and changed my HD. I saved in my all files documents in (Time Capsule). How can I put all my files, pictures documents on my new HD? Please Help. Thank You

    Hello Guys.
    I had problems in the Computer before and changed my HD. I saved in my all files documents in (Time Capsule). How can I put all my files, pictures documents on my new HD?
    Please Help.
    Thank You
    Julio Skov

    Hey
    Thank you very much for replay.
    Would you explain to me how can I do?
    I don't really understand these processes.
    Thak you very much
    Julio

  • How can I put a sign of mine as a Tab sign for my site?

    How can I put a sign of my choice as Tab sign for a site I have created? Thanks in advance -- basifra

    That sure isn't clear. If you want to create a '''favicon''' for your site you can, there are several sites that will help you with that.
    There are at least three linked here:
    :http://dmcritchie.mvps.org/excel/xl2html.htm#html-kit
    Since you don't know the terminology, I guessing you will have to put the reference into each page -- unless you actually do have your own domain/subdomain.
    <link rel="SHORTCUT ICON" href="../excel/favicon.ico">
    it can refer to another site but you should avoid doing that unless the site does not allow you to have a favicon .

  • How can I put my recently purchased iTunes movies on to my thumb drive and WD My Passport external hard drive. My Mac keeps saying "can't be copy because it is too large for the volumes format

    How can I put my recently purchased iTunes movies onto my thumb drive and WD my passport external hard drive.My Mac is saying that can't be copied because it is too large for volumes format

    [file] is too large for the volumes format
    That is usually an indication that the Volume was never Erased or Partitioned for GUID partition table and Mac OS, and is still in a Windows format.
    Mac OS X Extended (journaled) has no such file-size limitations

  • I have three different listings for Bob Seger on my iPod (bob Seger, Bob Seger System and Bob Seger and The Silver Bullet Band) How can I put all 3 in the same artist folder without changing artist name?

    I have three different listings for Bob Seger on my iPod (Bob Seger, Bob Seger System and Bob Seger and The Silver Bullet Band) How can I put all 3 in the same artist folder without changing artist name?

    Can you just create a new "Playlist", name it Bob Seger and drag what you want into the Playlist.
    File/New Playlist

  • Help - I have an apple id account, where is my iPod and iPad registered, but also the iPod of my daughter. How can I make an account for my daughter and keep all the apps she has on her iPod?

    Help - I have an apple id account, where is my iPod and iPad registered, but also the iPod of my daughter. How can I make an account for my daughter and keep all the apps she has on her iPod and in her own iTunes?

    Sorry, content bought with one Apple ID cannot be merged or transferred to another Apple ID.

Maybe you are looking for