Regarding PC/UNIX File Browsing

Hi All,
I have a issue with PC/UNIX File browsing:
In selection screen for Presentation Server File/Application Server File browsing
i am using below 2 F.M's.
Because they are unrelease F.M's i can't use them anymore.
<b>  a) F4_FILENAME [PC File Browse]
  b)/SAPDMC/LSM_F4_SERVER_FILE [UNIX File Browse]</b>
So can anybody provide me with diffrent F.M's for the same purpose which will do the same functionality.
Please provide me replacement F.M's with same functionaity as above.
Thanks in advance.
Thanks,
Deep.

The FM I use are:
F4_DXFILENAME_TOPRECURSION for browsing the presentation server
and
F4_FILENAME_SERVER for browsing the application server
hope it helps...

Similar Messages

  • Regarding the UNIX files permissions

    Your questions are being deleted each time when you cross-post them again. If you do it once more, your user ID will be deleted as well
    Final Warning
    Hi Experts,
    As we know, a UNIX file will have Read, Write and execute permissions with owner, User and other groups. Can any one explain me the difference between READ and EXECUTE with the reference of ZDIR transaction where we can see different files.
    Thanks in advance.
    Warm regards,
    Harshad.
    Edited by: Julius Bussche on Feb 6, 2009 1:06 PM

    Hi,
    Filesystem doesn't manage permissions; the OS does. For the filesystem, there is only read and write.
    It's up to the OS to decide if it will allow a file to be loaded into memory or not, and it uses the "execute" bit to help make that decision.
    Note that the execute bit is "overloaded" in that it also indicates if a script is runnable directly, or if a directory's contents can be listed.

  • Regarding Application server file path browsing

    Hi All,
    I have a issue regarding Application Server File Path browsing.
    Actually in my selection-screen i will declare a parameter as <b>Application Server File Path</b> now when i press F4 in that field it should be able to browse through <b>Application Server Path's</b>.
    Just like <b>F4_FILENAME</b> in the case of <b>Presentation Server File Path</b> Browsing.
    Can anybody solve my issue.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi Shaik,
    Just copy and paste:
    Here is the code for retrieving list of files contained within specific Application server directory(SAP).
    PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
    include structure salfldir.
    data: end of it_filedir.
    START-OF-SELECTION.
    Get Current Directory Listing for OUT Dir
    call function 'RZL_READ_DIR_LOCAL'
    exporting
    name = p_fdir
    tables
    file_tbl = it_filedir.
    List of files are contained within table it_filedir
    loop at it_filedir.
    write: / it_filedir-NAME.
    endloop.
    Hope this will help you.
    Let me know incase of any concerns.
    EDIT:
    There are few FM for ur refernce :
    RZL_READ_DIR_LOCAL
    SUBST_GET_FILE_LIST Return table with file list for the given directory (pattern allowed)
    F4_DXFILENAME_TOPRECURSION Popup to select one file from the given application server directory
    TH_SERVER_LIST Returns list of application servers.
    EPS_GET_DIRECTORY_LISTING – Lists filenames from the application server .
    Cheers
    Sunny
    Rewrd points, if found helpful
    Message was edited by: Sunny

  • Deleting the data from logical file/unix file

    Hi all.
        I need to delete the all the data from logical file (application server file/unix file).But I dont want to delete the logical file ( only data in the logical file should be deleted, i.e making file empty)
    Thanks in advance.
    Cheers.
    sami

    Hi Sami,
    Refer thsi document https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4d7aeb7d-0c01-0010-fa8a-a4a8e8968a93.
    Regards,
    Flavya

  • Open Cursor Issue because of file browse Item - Is this a Bug in APEX 3.2

    Hi All,
    I am using file browse Item to upload file into the database at two places in my application, but it seems whenever I am submitting those two pages, with file path or without file path, its opening an cursor which remains open after that, because of this open cursor count in the application is getting exceeding every time.
    For testing this I have made an dummy page containing just file browse item and submit button, and still it is increasing the open cursor count.
    Is this a bug in Apex file browse item or there is some other way to handle this.
    Please kindly help me in the above issue as this is affecting the production application.
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on Dec 5, 2010 9:57 PM
    Edited by: user11204334 on Dec 5, 2010 9:58 PM

    Hi,
    One observation, Apex is switching the Session ID after one got killed ? I was working on Apex page with browse Item to test open cursor count,
    after killing the SID (227) on which the open cursor count was getting increase, it APEX automatically switches to new SID(149) for that session.
    Now the problem is even if I have two SID's and one hits the maximum open cursor count, It is not switching to other SID instead the whole application becomes unavailable.
    STATNAME SID VALUE USER
    opened cursors current 20 14 APEX_PUBLIC_USER
    opened cursors current 149 74 APEX_PUBLIC_USER
    opened cursors current 194 71 APEX_PUBLIC_USER
    opened cursors current 211 5 APEX_PUBLIC_USER
    opened cursors current 227 325 APEX_PUBLIC_USER Killed
    opened cursors current 244 15 APEX_PUBLIC_USER
    opened cursors current 20 14 APEX_PUBLIC_USER
    opened cursors current 149 76 APEX_PUBLIC_USER
    opened cursors current 194 71 APEX_PUBLIC_USER
    opened cursors current 211 5 APEX_PUBLIC_USER
    opened cursors current 244 15 APEX_PUBLIC_USER
    Please kindly help in this.
    Thanks in Advance
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on Dec 8, 2010 1:02 AM

  • Dynamic action on File browse change event

    Hi Experts,
    apex version 4.1
    This is what i'm trying to do..
    i have a file browse control and a text field. when user selects a file, selected fiel's name (without file type extension) should be set to text field.
    I tried adding a dynamic action to file browse control's change event and within pl/sql Set Value logic i queried the wwv_flow_files and tried to return the file name it didn't work. i got no data found error. i assumed file is being inserted into wwv_flow_files when a page submission happens.
    In my second approach within the SetValue pl/sql logic i got the file browser control's (by directly accessing field, not by querying wwv_flow_files)value and did some string manipulation and tried to return only the file name. yet i got the same no data found error.
    Any idea how can i implement this ?
    Thanks in advance.
    - kurubaran

    Hi,
    I think PL/SQL approach will not work before you submit data to database.
    Have you think use $v function to get value from file browser?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/javascript_api.htm#BGBGDGIH
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • File browse : How to keep the file path in the file browse field?

    Hello,
    I have
    1) file browse field called P2_FILE_PATH.
    2) a select list with submit : P2_REGION
    If i upload some file d:\abc.gif , then select some region in the P2_REGION,
    P2_FILE_PATH will become empty. But in the session, i can find the blob value. but not the "d:\abc.gif "
    Using the following script I could capture the value of P2_FILE_PATH in a field
    P2_TEST.
    onload="javascript:document.getElementById(P2_FILE_PATH').value = document.getElementById('P2_TEST').value;"
    P2_TEST contains d:\abc.gif .
    How to retain the file path, though some other field is selected and submitted?
    Thanks in advance.
    Regards,
    Archana

    Hello Archana,
    You can't do what you want because of some HTML security restrictions – nothing to do with APEX. As you found out, You can capture the value of this item. You can't set it. After submitting the page, the browser is the one to clear the item.
    The only workaround is to work with AJAX and not submit the page until the end of the user input phase.
    Regards,
    Arie.

  • Problem with special character in Unix file

    Hi All,
    Need a help here. We have unicoded our system recently.
    It's regarding a special character (umlaut) that comes through a 3rd party system to an Unix file. This gets displayed in AL11 file as # instead of ö.
    As our program picks the file from Unix, it also has the # but we want ö.
    We could have done some fixes in our code to fix if AL11 file at least had ö and we got # in our program.
    But it's the other way round. So, how can we get rid of this issue? Please suggest.
    Regards,
    Sanj.

    How Al11 is reading file ? Look for
    OPEN DATASET "yourfilename" IN TEXT MODE ENCODING DEFAULT FOR INPUT
                                  IGNORING CONVERSION ERRORS.
    If the above code is there .. you might need to play with different 'OPEN DATASET " options .
    Also look for Note 1174468 - Non-7bit-ASCII characters used in ABAP Workbench
                       Note 1227961 - Names of text fields with non-7-bit ASCII characters
    Good Luck !
    ^Saquib

  • How to know if a file browser item is not null using javascript fucntion

    Hi
    <br><br>
    I tried to use javascript for validation. I have a file browser item named P55_FILE_NAME and I would like to know if this item is null or not before submit.
    <br>
    I wrote this function :<br><br>
    function validate_import(f_n){<br>
         if (trim(document.getElementByName(f_n).src) == "")<br>
         {<br>
         alert ("File name is empty.");<br>
         document.getElementByName(f_n).focus();<br>
         }<br>
         else{<br>
         doSubmit('SUBMIT');<br>
         }<br>
    } <br><br>
    When I press submit button I got an error, sounds like the src method does not exist in my input item. <br>
    Then, I looked my source page an I found this :<br><br>
    input type="file" name="p_t01" size="30"
    <br><br>
    there is know src method and the name is not P55_FILE_NAME and I don't want to use <b>p_t01</b> that will change.<br>
    <br>
    I need your help.<br>
    Benn

    Hello,
    The p_txx notation is the internal name the ApEx engine attaches to each page item. It starts with p_t01 (for the first item on page) and can end with p_t99 (hence, the max 99 items per page limit). You can see these names in your HTML source code.
    The bug in the File Browse item (fixed in version 2.2) is that the ID of the item is the internal name instead of the item name. Hence, in order to use DOM, you need to use this internal notation.
    If the File Browse item id is p_t01, you can null its content by using something like that (V2.0 notation) :
    html_GetElement('p_t01').value = '';I'm using the same, and similar code, for manipulating this type of item with no problems.
    Please document the use of this workaround, as when you'll upgrade your ApEx system, you will have to change this code back to the standard – item id equal item name.
    (Please follow Scott's advise, and keep your logic connected issues on the same thread. It will get you more quick and accurate help).
    Regards,
    Arie.

  • Unable to Clear File Browse

    Hi ,
    In one of my page I have File Browse item and storage type is WWV_FLOW_FILES.
    by using page process Clear Cache for all items on pages I am clearing all items on this pages. I assign this process to Clear button.
    my requirement is After I chose the file to load  and hit Clear button,  the screen goes blank
    when page goes blank url is looking some thing like this http://172.17.0.135:8080/apexebr/wwv_flow.accept
    I am using Apex 4.1
    Glassfish server
    problem is in every browser.
    db is 11g
    Theme 17
    Please help me regarding this
    Thanks
    Sagar

    Hi,
    as you click brows file and pick your file, and before you submit your page ... the file gets uploaded to Flow_files table.....
    This could be helpful :
    http://docs.oracle.com/cd/E14373_01/appdev.32/e13363/up_dn_files.htm#CJAHDJDA

  • Setting the UNIX file permissions after writing the file to a directory

    Hi Experts,
    Can we set the UNIX file permissions after writing the file to a directory using Receiver File Adpater in SAP PI 7.1 ?
    Thanks in Advance.
    Regards,
    Jyoti

    Hi
    you can use the option "Run Operatiing system Command after File Processing" in the file adapter.
    Thanks
    Rinku Gangwani

  • File Browse filed in the manual tabular form

    Folks,
    I am using Oracle APEX 4.0. I want to create a tabular form with one column as File Browse field.
    I've created form using APEX_ITEM and file browse item using pure HTML tags as we do not have any such item in APEX_ITEM. So these fields are appearing now but how do I save uploaded files in APEX_APPLICATION_FILES and then in my table?
    Thanks in advance for your help.
    Regards,
    Chintan

    ChintanGandhi wrote:
    Can anyone please advice on this?My personal opinion is that tabular forms are evil: +{thread:id=850889}+. Trying to add file browsers to them only makes things much, much worse. (Take a moment to think about this: have you ever seen this kind of UI pattern on any decent website?)
    The advice therefore is to redesign this, build it using standard APEX components (form + report), and enjoy the rest of the weekend.

  • File Browse is emptied after failed validation

    Why does the file browse text box get emptied after a failed validation? Is there any way to prevent this?
    To further explain, create a form on a page with two page items, a text box and a file browse item, then put a not null validation on the text box. When you submit the page with a null text box, but with a file selected for the browse button, then validation catches and throws the error message back to the user when the page refreshes. However, the file browse text box is emptied, and the user has to reselect the file before resubmitting the page.
    Is this a bug, or just the way it is supposed to work? Any way around it?
    Thanks,
    Kris
    Edited by: kshenn on Oct 31, 2008 7:06 AM

    Hello,
    >> Is this a bug, or just the way it is supposed to work?
    This is not a bug. Actually, it has nothing to do with APEX. The behavior of the file browse item is controlled by the HTML standard, which clears the field for security reasons.
    If you pay close attention to Denes example, you’ll see that even when the validation error page is displayed, the file browse item itself is being cleared. The JavaScript generated file path is the one that retain its value. I don’t have access to Denes code, but I’m assuming that in his uploading procedure he’s using the JavaScript generated path.
    >> Any way around it?
    Where the file browse item is concern, no workaround.
    In your specific case, where the validation you need is “not null”, you can create a JavaScript validation, and fire it before submitting the page (as part of the submit button). That way, the browser will not clear the file browse item, because the page will not be submitted without proper values in your items.
    Regards,
    Arie.

  • File Browse Refill in wizard

    Hi All,
    We're doing a wizard kind of thing where users can register for an account. In one of the steps they need to upload a diploma through a file browse item. We upload them to the wwv_flow_files, copy it to an apex_collection and delete it from the wwv_flow_files. After uploading, they continue the wizard. When they push a previous button, they are returning to the page where they can upload the diploma. Everything on that page is still entered, but the file browse item is empty.
    How can we refill the item with the diploma file they selected before?
    We can have a workaround to show the diploma from the collection, but the business wants to see it in the file browse item.
    We are using Application Express 4.0.2.00.07.
    Anyone?
    Regards,
    Jan

    Willeja wrote:
    Hi All,
    We're doing a wizard kind of thing where users can register for an account. In one of the steps they need to upload a diploma through a file browse item. We upload them to the wwv_flow_files, copy it to an apex_collection and delete it from the wwv_flow_files. After uploading, they continue the wizard. When they push a previous button, they are returning to the page where they can upload the diploma. Everything on that page is still entered, but the file browse item is empty.
    How can we refill the item with the diploma file they selected before?You can't. As required by the HTML specification, for security reasons APEX will not render a value in a file browse item on page show. It is not possible to re-render the value.

  • "File Browse" type item: at what point the fields mime_type, file_name, last_update_date get their values?

    Hi there,
    I have an issue with "File Browse" type item, my question is: at what point the fields mime_type, file_name, last_update_date get their values? I want to add them to the collection but if I try to do it in Process "On Submit - After Computations and Validations" the values in those fields are still null (that's for the insert, and for the update they have old values). Also I don't seem to be able to add blob to the collection ("File Browse" type item (which has the source as blob database column) can't be assigned as parameter p_blob001 of APEX_COLLECTION.ADD_MEMBER, error is: PLS-00306: wrong number or types of arguments in call to 'ADD_MEMBER').
    What I am trying to do is this: I have parent table (TABLE1), and child table (TABLE2).  In TABLE2 I store documents. I have a main page that is form on TABLE1, and on it I have button "Add documents" that opens popup window with form on TABLE2. On submit of popup page I want to avoid inserting document into TABLE2, instead I want to send data to the main page (using collection) and insert in only once the main page is submitted.
    I would appreciate any advice on this...
    Thanks,
    Tanya

    Hello Tanya,
    Can you post your PL/SQL code which you are trying?
    Regards,
    Hari

Maybe you are looking for

  • Oh the wonders of Myth TV

    This is what happens when i launch the backend and then proveed to watch tv in the frontend 2004-11-26 16:57:50 mythbackend version: 0.16.20040906-1 www.mythtv.org 2004-11-26 16:57:50 Enabled verbose msgs : important general 2004-11-26 16:57:52 Found

  • I have a Linksys card that I can't get to work on MAC OS 10.3.9

    I have been searching for a way to get a linksys wpc11 card to work on a powerbook g3 running OS 10.3.9. The driver software that came with it only works with windows. I have had this card for awhile and can't get it to work with Mac and don't feel l

  • Dynamic name for new color object?

    Hi Is it possible to create a dynamically named object? e.g. this["colorBtn"+sectionArr[x]] = new Color(mcMenu["btn"+sectionArr[x]]); Thanks in advance Shaun

  • How can I syncronize the analog input?

    The signal coming from the microphone input of the DSP module, displayed on Waveform Graph, is "slipping". How can I syncronize the analog input? Thank you!

  • What happened to the new release link?

    You used to be able to click on New Releases and get a line listing of everything that was added to iTunes for that week and the previous 3 weeks. What happened to that? The whole poing of going on iTunes was to click on bands I hadn't heard of and f