Unable to write to a UNC path from a SAP program

Hi All
We have just migrated our first server in an OS/DB migration from UNIX to Windows and the developers are trying to convert all our jobs/programs in SAP to write to Windows UNC paths instead of unix directories but we cannot get it to write files to the UNC paths.
OS = Win 2008 SR2
DB = Oracle 11.2
SAP = ERP 6 / ECC 6
Example path =
hostname.domainname\directory$
Can anybody help us please.
Thanks
Steve

Thanks Tony & Manuel
We believe that we have checked and rechecked all the necessary permissions on the share itself and we know we can resolve the FQDN from the SAP server. The server team here were able to monitor which user SAP was using to try and access these shares and it turns out to be the service account SAPService<SID>. Which surprised me a bit as I thought it would be <sid>adm. Next we tried logging into the SAP server as SAPService<SID> and mapping the UNC path and we were able to write to it so the inference is that the permissions are OK.
I was wondering if there's something within SAP itself that we need to turn on to make it understand UNC paths. We ran function module EPS_GET_DIRECTORY_LISTING in SE37 and were able to read from the UNC path. But as yet we can't get any of our SAP programs to write to them.
Thanks
Steve

Similar Messages

  • Program  to list all include programs  from the  Sap program list

    My requirement is to display all include programs from the Sap program Table ( D010INC table and TADIR table), From
    here i have to get all include programs.Can anyone give the program code for this requirement

    well, it's your requirement and not ours, so why not try yourself first?

  • Open a file in UNC path from jsp page

    Hi,
    it might be simple but I don't know how i can achieve this,
    I have a UNC path to a remote computer something like this,
    \\ComputerName\SharedFolder\ResourceFileName
    i can open this file from windows by typing the above in Windowes explorer or something like this in browser file://ComputerName/SharedFolder/myfile.txt
    I want a simple jsp page that will have a hyperlink or a button which when clicked should prompt me with a dialog to open/save/cancel the file. it should not open the text fine inside the browser itself. when i click open it should open the file in appropriate viewer(i think this is judged by the mimetypes set on my machine).
    Thanks in Advance.

    khana6454 wrote:
    I want a simple jsp page that will have a hyperlink or a button which when clicked should prompt me with a dialog to open/save/cancel the file. it should not open the text fine inside the browser itself. when i click open it should open the file in appropriate viewer(i think this is judged by the mimetypes set on my machine).You need to set the content disposition to 'attachment' rather than 'inline' (which is default).
    You may find this FileServlet example useful: [http://balusc.blogspot.com/2007/07/fileservlet.html].
    That said, the file needs to be located on the server machine, not on the client machine. If you want to open files from the client machine, rather write a client side application which you can integrate in your webpage, e.g. a signed applet or web start application (jnlp).

  • Obtain UNC path from get_file_name?

    Is there a way of obtaining a UNC pathname from a file returned from get_file_name? For example, if \\dummy is mapped to x: is there a way we can determine \\dummy from x: returned from get_file_name?
    We need this as we need to work with fully qualified path names under Forms 9i.
    Thanks
    Richard

    File f = new File("F:\\121526\\Project\\Images\\juventus.jpg");
    String name = f.getname();or
    String s = "F:\\121526\\Project\\Images\\juventus.jpg";
    String name = s.substring(s.lastIndexOf('\\'));or to be portable
    String s = "F:\\121526\\Project\\Images\\juventus.jpg";
    String name = s.substring(s.lastIndexOf(File.separatorChar));

  • Sharepoint 2013 Does not open files using UNC path from Server

    Hi All,
    Just setup our new 2013 sharepoint intranet site , I tried adding a hyperlink to a document stored on our server using a UNC path file://servername/share/filename.doc but when i click on it it takes me to a blank Webpage in a new tab.
    I have turned on "open client applications" in the site collection features hoping that would help ....buuuuuut it did not.
    Also tried variations in the UNC path eg: \\servername\share\filename.doc etc..
    Any help would be greatly appreciated
    Thanks

    Open start run > type > file://servername/share/filename.doc Does this works
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/63b229de-ce4a-42be-b209-2c0f33d4b0d5/problem-opening-an-access-file-from-a-unc-file-link-in-sharepoint?forum=sharepointgeneralprevious
    Actually the problem I described is an Internet Explorer issue and I will try to get resolution in the appropriate forum.  IE exhibits the described behavior whether the link is in a Sharepoint site page, or in a regular non-Sharepoint web page. 
    Mozilla does not have the issue.
    Check below:
    http://social.msdn.microsoft.com/Forums/en-US/3f2c34cc-5686-4e03-ba26-092aaa29ff33/link-from-document-library-to-unc-path
    If this helped you resolve your issue, please mark it Answered

  • Browsing Unc Path from sharepoint application

    I have a link which will open an unc path in a separate window. I have used simple window.location to open that. But it is not working on NON-IE browser..
    Can anyone help me on that?
    Thanks in Advance..

    >> Any of the above works fine for IE. But it does not work in Mozilla/Google
    Chrome..
    This means that it is not a SharePoint related question, but one of cross-browser compatibility. See here for a similar question where a comment classifies the perceived "correct" behaviour as a security hole: http://stackoverflow.com/questions/19030432/how-do-you-open-a-file-folder-through-a-link-on-website-in-firefox-and-chrome
    cheers, teylyn

  • Use UNC path from Active Directory to derive network home location

    Good Morning
    I am trying to get my Macbooks to conenct to a Windows Server 2003 home directory. I have followed the steps in the following article with no luck:
    http://docs.info.apple.com/article.html?path=serveradmin/10.4/en/c7od49.html
    I can bind to the Microsoft Active Directory with no problems and I can connect to the file share on the server that I want to make the network home location, but I can't get it to work automatically as I would expect it to.
    We will have hundreds of users connecting that will need their home folders redirected to the network folder location.
    Any help would be appreciated.
    Thanks

    I forgot to mention that before upgrading to 10.8.4 the login item below was present:
    Item: SMB://network path
    Kind: Unknown
    After the upgrade:
    Item: Unknown
    Kind: Unknown
    After restart it disappears and never returns (again, this only occurs for admins)

  • Do we write classes in abap seperately from the main program

    For instance following class is designed to capture the click of hotspot and double clicks from a screen layout.  immediately I need it.Thanks everyone.
    Where should I put such a code?
    CLASS lcl_event_handler DEFINITION .
    PUBLIC SECTION .
    METHODS:
    *--Hotspot click control
    handle_hotspot_click
    FOR EVENT hotspot_click OF cl_gui_alv_grid
    IMPORTING e_row_id e_column_id es_row_no ,
    *--Double-click control
    handle_double_click
    FOR EVENT double_click OF cl_gui_alv_grid
    IMPORTING e_row e_column es_row_no.
    PRIVATE SECTION.
    ENDCLASS.
    CLASS lcl_event_handler IMPLEMENTATION .
    *--Handle Hotspot Click
    METHOD handle_hotspot_click .
    PERFORM handle_hotspot_click USING e_row_id e_column_id es_row_no .
    ENDMETHOD .
    *--Handle Double Click
    METHOD handle_double_click .
    PERFORM handle_double_click USING e_row e_column es_row_no  .
    ENDMETHOD .
    ENDCLASS .
    FORM CREATEOBJECT.
    DATA gr_event_handler TYPE REF TO lcl_event_handler .
    *--Creating an instance for the event handler
    CREATE OBJECT gr_event_handler .
    SET HANDLER gr_event_handler->handle_double_click FOR gr_alvgrid .
    SET HANDLER gr_event_handler->handle_hotspot_click FOR gr_alvgrid .
    ENDFORM.
    FORM handle_hotspot_click USING i_row_id TYPE lvc_s_row
    i_column_id TYPE lvc_s_col
    is_row_no TYPE lvc_s_roid.
    READ TABLE zbficheentry_list2 INDEX is_row_no-row_id .
    IF sy-subrc = 0." AND i_column_id-fieldname = 'SEATSOCC'.
    CALL SCREEN 200 . "Details about passenger-seat matching
    ENDIF .
    ENDFORM .
    FORM handle_double_click USING i_row TYPE lvc_s_row
    i_column TYPE lvc_s_col
    is_row_no TYPE lvc_s_roid.
    READ TABLE zbficheentry_list2 INDEX is_row_no-row_id .
    IF sy-subrc = 0." AND i_column-fieldname = 'SEATSOCC' .
    CALL SCREEN 120 . "Details about passenger-seat matching
    ENDIF .
    ENDFORM .

    Hi,
    Check the link,
    Re: hotspot
    Regards,
    Azaz Ali.

  • Use of SUBMIT to retrive data from std SAP program

    Hi .
    We have 1 SAP std program and 1 Z program for asset allocation.We need to combine these report.I need the data of SAP report in Z report. These is one table ITAB_DATA in SAP report which contains all data for display ALV.I want this data in my Z program.
    I have written the following code.
    submit RAGITT_ALV01 via selection-screen
    USING SELECTION-SET 'TEST17247'
    exporting list to memory
    and return.
    if sy-subrc = 0.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        LISTOBJECT       = t_listobject
    EXCEPTIONS
       NOT_FOUND        = 1
       OTHERS           = 2
    I also tried
    FM CALL FUNCTION 'SAVE_LIST'
    FM CALL FUNCTION 'WRITE_LIST'
    But these all FM contains data in different format.
    Can anyone suggest

    hi did nt look back at this thread sorry..
    i n case u have want to have idea
    just excute the code ..
    take a program a.
    REPORT zex8 NO STANDARD PAGE HEADING .
    TABLES : marc.
    PARAMETER : p_matnr LIKE marc-matnr.
    DATA : v1_werks LIKE marc-werks,
           v2_werks LIKE marc-werks.
    DATA : in TYPE i.
    data : begin of itab occurs 0,
           text(256),
           end of itab.
    DATA : BEGIN OF it_marc OCCURS 0,
           matnr LIKE marc-matnr,
           werks LIKE marc-werks,
           END OF it_marc.
    DATA : BEGIN OF jtab OCCURS 0,
           matnr LIKE marc-matnr,
           werks LIKE marc-werks,
           lgort like mard-lgort,
           END OF jtab.
    DATA : listobject LIKE abaplist OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT matnr werks
             FROM marc
             INTO TABLE it_marc
             WHERE matnr EQ p_matnr.
      IF NOT it_marc[] IS INITIAL.
        SORT it_marc BY werks.
        READ TABLE it_marc INDEX 1.
        v1_werks = it_marc-werks.
        in = sy-dbcnt.
        READ TABLE it_marc INDEX in.
        v2_werks = it_marc-werks.
        SUBMIT zex9
               WITH p_matnr EQ p_matnr
               WITH s_werks BETWEEN v1_werks AND v2_werks
               EXPORTING LIST TO MEMORY
               AND RETURN.
        IMPORT listobject FROM MEMORY ID '%_LIST'.
        IF SY-SUBRC <> 0.
        RAISE NOT_FOUND.
      ENDIF.
    CALL FUNCTION 'LIST_TO_ASCI'
    * EXPORTING
    *   LIST_INDEX               = -1
    *   WITH_LINE_BREAK          = ' '
      TABLES
        listasci                 = itab
       LISTOBJECT               = listobject
    EXCEPTIONS
       EMPTY_LIST               = 1
       LIST_INDEX_INVALID       = 2
       OTHERS                   = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    DATA : J TYPE I VALUE 0 ,
           K TYPE I.
    loop at itab.
    J = J + 1.
    IF J > 3 AND ITAB-TEXT NA '---------'.
    jtab-matnr = itab-text+1(18).
    jtab-werks = itab-text+20(4).
    jtab-lgort = itab-text+25(4).
    append jtab.
      clear jtab.
    ENDIF.
    endloop.
    loop at jtab.
      write : / jtab-lgort.
    endloop.         .
    *    CALL FUNCTION 'WRITE_LIST'
    *         EXPORTING
    *              write_only = 'X'
    *         TABLES
    *              listobject = listobject
    *         EXCEPTIONS
    *              empty_list = 1
    *              OTHERS     = 2.
    *    IF sy-subrc <> 0.
    *      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *    ENDIF.
    IF NOT LISTOBJECT IS INITIAL.
        CLEAR LISTOBJECT.
      ENDIF.
    now take one more program as b .
    REPORT zex9 NO STANDARD PAGE HEADING.
    TYPE-POOLS : slis.
    TABLES : marc,
             mard ,
             makt.
    PARAMETERS : p_matnr LIKE marc-matnr.
    SELECT-OPTIONS :s_werks FOR marc-werks.
    DATA : BEGIN OF it_mard OCCURS 0,
           matnr LIKE mard-matnr,
           werks LIKE mard-werks,
           lgort LIKE mard-lgort,
           END OF it_mard.
    DATA : fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE ,
           gd_repid     LIKE sy-repid.
    SELECT matnr werks lgort
           FROM mard
           INTO TABLE it_mard
           WHERE werks IN s_werks
           AND matnr EQ p_matnr.
    fieldcatalog-col_pos = 1.
    fieldcatalog-fieldname = 'MATNR'.
    fieldcatalog-seltext_m   = 'MATERIAL NUMBER'.
    fieldcatalog-outputlen  = 18.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR  fieldcatalog.
    fieldcatalog-col_pos = 2.
    fieldcatalog-fieldname = 'WERKS'.
    fieldcatalog-seltext_m   = 'WERKS'.
    fieldcatalog-outputlen  = 4.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR  fieldcatalog.
    fieldcatalog-col_pos = 3.
    fieldcatalog-fieldname = 'LGORT'.
    fieldcatalog-seltext_m   = 'STORLOC'.
    fieldcatalog-outputlen  = 4.
    APPEND fieldcatalog TO fieldcatalog.
    CLEAR  fieldcatalog.
    gd_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    *   I_INTERFACE_CHECK              = ' '
    *   I_BYPASSING_BUFFER             =
    *   I_BUFFER_ACTIVE                = ' '
       i_callback_program             = gd_repid
    *   I_CALLBACK_PF_STATUS_SET       = ' '
    *   I_CALLBACK_USER_COMMAND        = ' '
    *   I_STRUCTURE_NAME               =
    *   IS_LAYOUT                      =
       it_fieldcat                    = fieldcatalog[]
    *   IT_EXCLUDING                   =
    *   IT_SPECIAL_GROUPS              =
    *   IT_SORT                        =
    *   IT_FILTER                      =
    *   IS_SEL_HIDE                    =
    *   I_DEFAULT                      = 'X'
    *   I_SAVE                         = ' '
    *   IS_VARIANT                     =
    *   IT_EVENTS                      =
    *   IT_EVENT_EXIT                  =
    *   IS_PRINT                       =
    *   IS_REPREP_ID                   =
    *   I_SCREEN_START_COLUMN          = 0
    *   I_SCREEN_START_LINE            = 0
    *   I_SCREEN_END_COLUMN            = 0
    *   I_SCREEN_END_LINE              = 0
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER        =
    *   ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab                       = it_mard
    EXCEPTIONS
       program_error                  = 1
       OTHERS                         = 2
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    u can get the data in to ur calling program ..
    regards,
    VIJay

  • Reading MS Project Data from a SAP program

    I have a requirement to read a Microsoft Project data into SAP.  In other words, the client wants to do his planning in MS Project and then when he has finished, this plan needs to be read into SAP, that is the tasks, start date and end date.
    Has some done this.  Is there a BAPI or anything else that one can use
    Can you help
    Thanks in advance
    Martin

    for this you need to use some third party tools like redwood..
    in my project also when the MS project  finished the redwood take the files and keep the some directries then the XI will take this file and create the idco in SAP..

  • Open 2nd PDF from UNC-path fails

    Hallo,
    I use Adobe Reader 11.0.08 on Windows7 SP1 (Enterprise) and I try to open PDF-files from UNC-path. The first attempt is successful. If Adobe Reader is still opened, the attempt to open a 2nd PDF-file from (same or other) UNC-path in Windows Explorer does not work without any error message. The file does not open.
    The following attempts were successful or not:
    (drive P:\ = \\domain\dfs$)
    Double-click on \\domain\dfs$\path\file1.pdf opens the file.
    Double-click on \\domain\dfs$\path\file2.pdf does not open the file - no error message.
    Double-click on P:\path\file2.pdf opens the file.
    In Adobe Reader File - Open - \\domain\dfs$\path\file2.pdf opens the file too.
    Double-click on \\domain\dfs$\path\file2.pdf opens the file.
    Double-click on \\domain\dfs$\path\file1.pdf does not open the file - no error message.
    Double-click on P:\path\file1.pdf opens the file.
    In Adobe Reader File - Open - \\domain\dfs$\path\file1.pdf opens the file too.
    Double-click on P:\path\file1.pdf opens the file.
    Double-click on \\domain\dfs$\path\file2.pdf does not open the file - no error message.
    Double-click on P:\path\file2.pdf opens the file.
    Double-click on P:\path\file2.pdf opens the file.
    Double-click on \\domain\dfs$\path\file1.pdf does not open the file - no error message.
    Double-click on P:\path\file1.pdf opens the file.
    If Adobe Reader is still opened, but no file is opened:
    Double-click on \\domain\dfs$\path\file1.pdf does not open the file - no error message.
    Double-click on P:\path\file1.pdf opens the file.
    As you can see: If Adobe Reader is still opened, I can't open a PDF-file from UNC-path from Explorer. But that's what we need. Our Frontend-application opens an Explorer window and the user has to choose the PDF-files to open via double-click. It would be a very roundabout way to copy the Location from Explorer to open the file in Adobe Reader. We'd like to open the first and all other files for the same session from Explorer via double-click.
    Sure, if I disable protected mode every attempt works fine but unfortunatelly it is no permitted option to disable protected mode (security policy) - it has to be enabled.
    Each change in "ProtectedModeWhitelistConfig.txt" was not successful. For information its current config that works as mentioned above:
    ; Files Section
    FILES_ALLOW_ANY = \??\UNC\domain\dfs$\*
    (no entries in other sections)
    How can I open every PDF-file for a session from UNC-path via double-click from Explorer if Adobe Reader is still opened ?
    Thanks in advance for any help.
    Lisa

    Hi Lisa,
    Can you please update your Reader to latest version "Adobe Reader 11.0.9" and verify that the issue still occurs.
    Thanks,
    Shakti K

  • Get Adobe Extension Manager app path from registry

    Hi!
    I have been looking to develop an installer that installs my extension through Inno Setup. I want to launch the Adobe Extension Manager as a post install process in the [Run] section of the Inno Setup install process. Now, there can be multiple versions of Extension Manager installed on a machine, the latest version of Extension Manager is launched by default. I want to make sure that the product version chosen by the user during installation launches the corresponding Extension Manager. Eg., if a machine has Photoshop CS5, CS6 installed, and the user chooses Photoshop CS5, then the Extension Manager CS5 should be launched. For this, I want the path to the application. I am unable to get the Extension Manager path from the registry. Please help me with this.
    I am aiming to use this installer on Win XP, 7, Vista (32/64 bit).
    Its urgent...
    Thanks!

    Hi Carl,
    I had looked at the link you posted earlier too.. I see that you had posetd the answer then too! So, I can post my queries to you directly!
    I created a jsx file named "Result.jsx", which I saved in my D drive, with the following code,
    resultFile = new File("D:/result.log");
    resultFile.open("w");
    resultFile.write(BridgeTalk.__diagnostics__);
    resultFile.close();
    If I run this directly from ESTK, there is no problem, and I get the result.log file. I tried to execute this script via command line as shown in the screenshot,
    On executing the above, I got the following error,
    What am I doing wrong? I need to do this urgently. Please suggest a solution..
    Thanks!

  • Could not find (UNC path) Error

    I have a few machines (not all machines) with a single interface that get an error on a bundle, "Unexpected error installing file. Error: Could not find the directory \\172.16.8.34\installs$\ENH-Source", however, from that machine I can manually access that UNC path from a Run line and see the contents just fine. So, what gives?

    Debug log on one offending machine simply says:
    Code:
    [DEBUG] [11/30/2014 23:35:08.893] [1344] [ZenworksWindowsService] [25] [] [Copy Directory] [] [Source directory \\172.16.8.34\installs$\ENH-Source does not exist.] [] []
    [DEBUG] [11/30/2014 23:35:08.905] [1344] [ZenworksWindowsService] [25] [FLastname] [ActionManager] [] [Action handler Copy Directory Action finished processing Copy ENH Source with error: GenericActions.UnexpectedError.] [] []
    But it does exist, and the user can UNC to the path. Again, if the problem was system unable to access the path, I would expect many more (all) my other workstations generating the same error. I do see that the workstation has 2 IP addresses, a 172.16 address which would have access and a 192.168 address that wouldn't be able to. I also see:
    Code:
    The agent service is running, but the request failed for one or more known addresses.
    It's feasible that it's trying to access the path from 192.168 interface and failing, but shouldn't it try/know to use the 172.16 interface?

  • Store unc path in database

    Hi I have an application that needs to store links to files on various servers so I would like to store the unc path in the database - is it possible to get the unc path from the file browse item ?
    I can load the files to the database but these files might change
    Any thoughts

    indhu wrote:
    > storing images into database and latter fetching it shows a error. so
    > what i thought is instead of storing the image directly into the
    > database its better to store the image path. but my problem is how to
    > store the image path into the database?can you give me an example
    Convert it to a string with Path To String conversion function?
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Calling Non SAP programe from SAP program

    Hi Experts...
    Can we cal Non SAP programs Like Windows EXE programs from ABAP programs ?
    If yes Then How .....
    Regards ...
    ..Ashish

    Hi Ashish ,
    Ya we can call a non SAP program from SAP program.
    For example we can call a EXE program from the SAP program using the RFC connection created in SM59.
    In Sm 59 you can create a TCP/IP connection and give the path of the executable there.

Maybe you are looking for

  • How to disable loud speaker beep during install

    Is there a way to disable the the speaker beeping during install? Or at least lower its volume? Its extremely loud. Ive already removed the pcspkr module, but the beeping is still present. (I reinstall arch often and this is why I'm asking )

  • Pocketmac deleted calendar entries on mac and won't sync events with BB Storm.

    I just removed the google sync from my Storm and now Pocketmac is not syncing properly. Basically all my calendar events are still on my Storm (luckily) however pocketmac has now wiped all calendar entries from Entourage! I have tried re-syncing with

  • Need to create a maze?

    I need to create a maze. Is there any classes I can Import? Thanxs

  • Converting/Ripping movies for the Touch

    Hi, I have a Windows Vista PC and an iTouch 3rd gen. I have a few home made movies that are in either avi or wmv format that I would love to convert to be able to download and watch on my iTouch. First - is there any free software out there that will

  • Why is my phone freezing

    I upgraded to ios 5 and now address book, recent calls voice mail  functions are freezing