Accessing File in SAP Directory

Hi ,
I want to read and write file from SAP server directory.
Can anybody please guide me how to start with adaptor?
Can FTP adaptor help? And what all settings should I do on both sides PI n SAP?
Thanks in Advance,
Rohan.

It seems that you want to run file to file and file being on the same server in a shared folder...
Use NFS as protocol for accessing the file....but make sure that your system should be on network with IP address...
--->Can FTP adaptor help? And what all settings should I do on both sides PI n SAP?
for using FTP adapter FTP service should be "ON" on your SAP Server...
On both sides configure file adapter as sender as well as receiver..provide the required info.  at communication channel for sending and receiving the file..
Regards,

Similar Messages

  • I want read PDF file from SAP directory and create a spool request or print

    Hi all,
    I want read PDF file from SAP directory and create a spool request or print the pdf through SAP. Can any body  help me in this.
    Also please write to me if its possible to open PDF from SAP directory to adobe pdf reader.
    Thanks in advance,
    Sunny

    Hi Sunny,
    Check these links.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    http://www.erpgenie.com/sap/abap/pdf_creation.htm
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Running the program which saves file in sap directory in background

    Hi guys,
    how to Run the program which saves file in sap directory in background? Thanks!

    Hi Mark,
    AL11 is a transaction that shows your application server something like an windows browser.
    If you want to store file in your application server then you can write a code which uploads the data in to a file on application server.And you can run your code in background also.
    Use function module :SAP_DATA_CONVERT_WRITE_FILE to write file on the application server.
    If you want to upload file manually then use TCODE :CG3Z.
    Hope this will you out.

  • Can't copy file from SAP-directory to FTP server

    Hello,
    I can't copy files from the SAP server to the FTP server. The file is created with OPEN DATASET and CLOSE DATASET commands and is placed in the SAP-directory S:\usr\sap\DEV\DVEBMBGS00\work.
    I can see and read the file with transaction al11, so I know it's there.
    But the FTP command always gives the same error:
    S:\usr\sap\DEV\DVEBMBGS00\work\[FILENAME] errno 22: invalid argument
    I can connect to the FTP, but the put command keeps failing. Somehow, the file in the SAP directory can't be read, it seems, even when
    Any ideas?
    Thanks in advance.
    Dave

    Ok, I found out that I have to use SAPFTPA as RFC destination type, instead of SAPFTP, otherwise the folders can't be located.
    But with SAPFTPA I can't seem to connect to the FTP server. I've tested the connection with sm59 and it works, but for the FTP it doesn't work. When I use SAPFTP as destination type, it still works.
    What can I do?
    Thanks.

  • How to Import file into sap directory.

    Hi all,
    I need to import a .XML file into SAP-BW directory from my local pc.
    By tcod AL11 I can only display all the directories, but I cannot import/upload this file.
    How I Can create my own directory e.g /usr/sap/tmp123
    Help me please.
    thanks.
    Kaustubh.

    Hi Kaustubh,
    Use the FM ARCHIVFILE_CLIENT_TO_SERVER.
    Give Filename + path for both the source and destination and your file will get transferred to the specified directory in AL11.
    But I am not sure about creating your own directory in AL11.
    Reward if helpful.
    Regards
    Hemant Khemani

  • Sap working directory in MS ACCESS FILE

    hi,
    hi, after installing the sap logon it ll create the one MS Access file know, if i open it ll ask the password.
    please help me

    This is the history data of the SAPGUI. Why do you want to change that file?
    Markus

  • CVAPI_DOC_CHECKOUTVIEW - how to check´out files to a SAP directory

    Hello,
    I have an issue with understanding and providing the FM CVAPI_DOC_CHECKOUTVIEW to check out files from KPRO to a SAP directory.
    I use CV120_KPRO_CHECKOUT to checkout files to local PC and this runs fine, but not for checking out files to SAP directories. So I found the API.... FM.
    But I am confused about the data required to run the FM CVAPI_DOC_CHECKOUTVIEW . I tried several times but it does not work either for check out to clnt nor to SAP server.
    Parameters for DOKAR, DOKNR, DOKVR and DOKTL are clear to me. PF-CONTENT_PROVIDE is CLNT for PC check out and SRV for Server checkout. But what about the rest?
    I am not sure how to provide the tables and the fields PF_FTP_DEST / PF_HTTP_DEST / PF_HOSTNAME and the PS_API_CONTROL.
    Can anybody help me with the required import data.
    Best regards
    Dirk

    Hi Dirk.
    We are using bapi to get the document file (original)
    Look our usage of pf_http_dest and pf_ftp_dest.
    CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2'
      EXPORTING
        documenttype       = vl_dokar
        documentnumber     = vl_doknr
        documentpart       = vl_doktl
        documentversion    = vl_dokvr
        getactivefiles     = 'X'
        getdocdescriptions = 'X'
        getdocfiles        = 'X'
      TABLES
        documentfiles      = t_document.
    READ TABLE t_document INTO wa_document INDEX 1.
    CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2'
      EXPORTING
        documenttype    = vl_dokar
        documentnumber  = vl_doknr
        documentpart    = vl_doktl
        documentversion = vl_dokvr
        documentfile    = wa_document
        originalpath    = 'your SAP directory'
        pf_http_dest    = 'SAPHTTPA'
        pf_ftp_dest     = 'SAPFTPA'
    IMPORTING
        return          = wa_return
    TABLES
        documentfiles   = tl_files.
    Darley

  • How to OPEN / Access .SAP files?  .SAP File extension!!

    I have downloaded SAP Classic English Training (CU44), inside the archive are a lot of .SAP files. 
    How do you open / play these files?
    .SAP  -  These are all SAP Education Content. 
    Here is label.asc
    SAP KW 4.0 - 7.0
    Content Update No. 40
    December 2008
    Classical Training Courses: DE/EN
    XML Traing Courses: DE/EN
    Number 51036048_1
    So basically we have a lot of these .SAP files, what do we do with them?  How to access the content that's in them?
    Please help Thanks

    My mistake I miss read your post... usually .SAP files are exports from SAP or shortcuts.... for example if you create a shortcut for a system in your desktop will have a .SAP extention also for example if you export a role to a file in PFCG it will create a file with a .SAP extention.
    I presume this files are meant to be uploaded in some way but you will have to explain your scenario
    Regards
    Juan

  • Error 2 for write/read access to a file. File = /usr/sap/SID/SYS/global/999

    hi
    when i am checking update statistics in  db13  it is not creating any log information, and more over it is creating error in sm21 like
    Error 2 for write/read access to a file. File = /usr/sap/<SID>/SYS/global/999JOBLG/0001X06000603X23459.
    can any one help me.
    regards
    subhani.

    Duplicate post
    Read and Follow the Forum Rules

  • How to store multiple files from SAp in to Application server?

    Hi Guys,
                 Can anybody tell me how to store multiple files from SAP into Application server.in my application i have to get the data from SAP tables BSEG , BKPF , BSAK and BSIK that to daily i have to do.
                Any Logic  or Code for how to do is welcomed.
                        plz help me urgently.
    Thanks,
    Gopi

    Hi,
      directories creates basis. If you have task to store data in application server you already should have information into which folder you have to do it. If you don't have this information because it is just for example training for next task then you can use your personal folder into which you have access. To get list of all available folders please look at attached code and form get_directories (you get the list of folders you see in transaction AL11). But don't forget: If you are using open dataset you have to have rights to access application folder!
    Here you are code which I use to upload text files from local disc into application folder
    Regards,
      Karol
    *& Report  FILE_PC_TO_SAP
    REPORT  FILE_PC_TO_SAP.
    DATA: BEGIN OF searchpoints OCCURS 100,
            DIRNAME(200)     TYPE c, " name of directory.
            sp_name(100)     TYPE c," name of entry. (may end with *)
          END OF searchpoints.
    DATA: BEGIN OF isearchpoints OCCURS 10,
            dirname(75) TYPE c,            " name of directory.
            aliass(75)  TYPE c,            " alias for directory.
            svrname(75) TYPE c,            " svr where directory is availabl
            sp_name(75) TYPE c,            " name of entry. (may end with *)
            sp_cs(10)   TYPE c,            " ContainsString pattern for name
          END OF isearchpoints.
    data: l_file type filetable.
    data: l_rc   type i.
    data: itab   type TABLE OF string.
    data: g_tmp_file_path type rlgrap-filename.
    data: wa_itab type string.
    data: h_destin(100) type c.
    data: dat      type string.
    INITIALIZATION.
    perform get_directories.
    START-OF-SELECTION.
    parameters: in_file type string OBLIGATORY LOWER CASE.
    parameters: destin(100) type c OBLIGATORY LOWER CASE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
       FILENAME                      = in_file
       "FILETYPE                      = 'BIN'
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = ' '
       HEADER_LENGTH                 = 0
       READ_BY_LINE                  = 'X'
       DAT_MODE                      = ' '
      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.
      write: / 'Error during loading input file!'.
    ENDIF.
    if h_destin is INITIAL.
      h_destin = in_file.
    endif.
    CONCATENATE destin h_destin into dat SEPARATED BY '/'.
    *TRANSLATE dat TO UPPER CASE.
    OPEN DATASET dat FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-SUBRC = 0.
      loop at itab into wa_itab.
         TRANSFER: wa_itab TO dat.
      endloop.
      CLOSE DATASET dat.
      write: / 'File uploaded!'.
    ELSE.
      write: / 'Not possible to open dataset'.
    ENDIF.
    at selection-screen on value-request for in_file.
      perform select_input_file_name.
      loop at l_file into g_tmp_file_path.
        move g_tmp_file_path to in_file.
        h_destin = ''.
        SPLIT g_tmp_file_path at '\' into table itab.
        loop at itab into g_tmp_file_path.
          h_destin = g_tmp_file_path.
        endloop.
      endloop.
    at selection-screen on value-request for destin.
      DATA: lt_dfies    TYPE TABLE OF dfies.
      DATA: lwa_dfies   TYPE dfies.
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname    = '/BI0/PCO_AREA'
          lfieldname = 'CO_AREA'
        IMPORTING
          dfies_wa   = lwa_dfies.
      lwa_dfies-tabname = 'searchpoints'.
      lwa_dfies-REPTEXT   = 'Destination directory'.
      lwa_dfies-LENG      = 100.
      lwa_dfies-INTLEN    = 100.
      lwa_dfies-OUTPUTLEN = 100.
      lwa_dfies-fieldname = 'SP_NAME'.
      APPEND lwa_dfies TO lt_dfies.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD = 'SP_NAME'
          DYNPPROG = SY-REPID
          DYNPNR = SY-DYNNR
          DYNPROFIELD = 'destin'
          VALUE_ORG = 'S'
        TABLES
          VALUE_TAB = searchpoints
          FIELD_TAB = lt_dfies
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS = 3.
    *&      Form  select_input_file_name
    *       text
    form select_input_file_name.
    *  call function 'F4_FILENAME'
    *       exporting
    *            program_name  = sy-repid
    *            dynpro_number = sy-dynnr
    *            field_name    = 'PATH'
    *       importing
    *            file_name     = g_tmp_file_path.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
      EXPORTING
      WINDOW_TITLE = 'Please choose a file'
      "default_extension = '*.TXT'
      "default_filename = 'C:\*.txt'
      initial_directory = 'C:\'
      file_filter = '*.*'
      CHANGING
      FILE_TABLE = l_file
      RC = l_RC
      EXCEPTIONS
      FILE_OPEN_DIALOG_FAILED = 1
      CNTL_ERROR = 2
      ERROR_NO_GUI = 3
      NOT_SUPPORTED_BY_GUI = 4
      OTHERS = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endform.                    "select_input_file_name
    *&      Form  WRITE_DB_HOME
    *       Write DB home directory
    *       no parameters
    FORM write_db_home.
      CASE sy-dbsys(3).
        WHEN 'ORA'.
          CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_ORAHOME'
                             ID 'VALUE' FIELD searchpoints-dirname.
    *--- C5056155 Start of ALV -------------------------------*
    *      PERFORM flip_flop(rsora000) USING cflag.
    *      WRITE: / 'DIR_ORAHOME',       30 searchpoints-dirname.
          MOVE: 'DIR_ORAHOME'        TO searchpoints-sp_name.
          APPEND searchpoints.
    *--- C5056155 End   of ALV -------------------------------*
        WHEN 'ADA'.
          CALL 'C_GETENV' ID 'NAME'  FIELD 'DBROOT'
                          ID 'VALUE' FIELD searchpoints-dirname.
    *--- C5056155 Start of ALV -------------------------------*
    *      PERFORM flip_flop(rsora000) USING cflag.
    *      WRITE: / 'DIR_ADA_DBROOT',    30 searchpoints-dirname.
          MOVE: 'DIR_ADA_DBROOT'     TO searchpoints-sp_name.
          APPEND searchpoints.
    *--- C5056155 End   of ALV -------------------------------*
        WHEN 'INF'.
          CALL 'C_GETENV' ID 'NAME'  FIELD 'INFORMIXDIR'
                          ID 'VALUE' FIELD searchpoints-dirname.
    *--- C5056155 Start of ALV -------------------------------*
    *      PERFORM flip_flop(rsora000) USING cflag.
    *      WRITE: / 'DIR_INF_INFORMIXDIR', 30 searchpoints-dirname.
          MOVE: 'DIR_INF_INFORMIXDIR' TO searchpoints-sp_name.
          APPEND searchpoints..
    *--- C5056155 End   of ALV -------------------------------*
        WHEN 'DB6'.
          CALL 'C_GETENV' ID 'NAME'  FIELD 'INSTHOME'
                          ID 'VALUE' FIELD searchpoints-dirname.
          IF sy-subrc = 0.
    *--- C5056155 Start of ALV -------------------------------*
    *        PERFORM flip_flop(rsora000) USING cflag.
    *        WRITE: / 'DIR_DB2_HOME',    30 searchpoints-dirname.
            MOVE: 'DIR_DB2_HOME'       TO searchpoints-sp_name.
            APPEND searchpoints.
    *--- C5056155 End   of ALV -------------------------------*
          ELSE.
            EXIT.
          ENDIF.
        WHEN OTHERS.
          EXIT.
      ENDCASE.
    ENDFORM.                    " WRITE_DB_HOME
    FORM get_directories.
    * get the name and aliases of ALL userdefined directories
      SELECT * FROM user_dir INTO isearchpoints
        WHERE svrname = sy-uname.
        MOVE isearchpoints-dirname to searchpoints-dirname.
        MOVE isearchpoints-aliass  to searchpoints-sp_name.
        APPEND searchpoints.
      ENDSELECT.
      SELECT * FROM user_dir INTO isearchpoints
        WHERE svrname = 'all'.
        MOVE isearchpoints-dirname to searchpoints-dirname.
        MOVE isearchpoints-aliass  to searchpoints-sp_name.
        APPEND searchpoints.
      ENDSELECT.
    * Get DB home
      IF sy-dbsys(3) = 'ADA'.
        PERFORM write_db_home.
      ENDIF.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_ATRA'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_ATRA'           TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_BINARY'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_BINARY'         TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory $DIR_CCMS
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_CCMS'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_CCMS'           TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_CT_LOGGING'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_CT_LOGGING'     TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_CT_RUN'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_CT_RUN'         TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_DATA'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_DATA'           TO searchpoints-sp_name.
      APPEND searchpoints.
    * Get DB home
      IF sy-dbsys(3) = 'DB6'.
        PERFORM write_db_home.
      ENDIF.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_DBMS'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_DBMS'           TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_EXECUTABLE'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_EXECUTABLE'     TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_EXE_ROOT'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_EXE_ROOT'       TO searchpoints-sp_name.
      APPEND searchpoints.
    *get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_GEN'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_GEN'            TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_GEN_ROOT'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_GEN_ROOT'       TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_GLOBAL'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_GLOBAL'         TO searchpoints-sp_name.
      APPEND searchpoints.
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_GRAPH_EXE'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_GRAPH_EXE'      TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_GRAPH_LIB'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_GRAPH_LIB'      TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_HOME'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_HOME'           TO searchpoints-sp_name.
      APPEND searchpoints.
    * Get DB home
      IF sy-dbsys(3) = 'INF'.
        PERFORM write_db_home.
      ENDIF.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_INSTALL'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_INSTALL'        TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_INSTANCE'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_INSTANCE'       TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_LIBRARY'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_LIBRARY'        TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_LOGGING'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_LOGGING'        TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the files written by the memory inspector
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_MEMORY_INSPECTOR'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_MEMORY_INSPECTOR' TO searchpoints-sp_name.
      APPEND searchpoints.
    * Get DB home
      IF sy-dbsys(3) = 'ORA'.
        PERFORM write_db_home.
      ENDIF.
    *get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_PAGING'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_PAGING'         TO searchpoints-sp_name.
      APPEND searchpoints.
    *get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_PUT'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_PUT'            TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_PERF'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_PERF'           TO searchpoints-sp_name.
      APPEND searchpoints.
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_PROFILE'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_PROFILE'        TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_PROTOKOLLS'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_PROTOKOLLS'     TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_REORG'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_REORG'          TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_ROLL'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_ROLL'           TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_RSYN'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_RSYN'           TO searchpoints-sp_name.
      APPEND searchpoints.
    * calculate directory for saphostagent (no sapparam available...)
      IF ( sy-opsys(3) = 'WIN' ) OR ( sy-opsys(3) = 'Win' ).
        DATA: windir_path(64),  programfiles_path(64).
    *   hoping that ProgramFiles is set in service user environment
        CALL 'C_GETENV' ID 'NAME'  FIELD 'ProgramFiles'
                        ID 'VALUE' FIELD programfiles_path.
        IF programfiles_path IS INITIAL.
    *     %ProgramFiles% not available. guess from windir
          CALL 'C_GETENV' ID 'NAME'  FIELD 'windir'
                          ID 'VALUE' FIELD windir_path.
    *     e.g. S:\WINDOWS ==> S:\Program Files
          CONCATENATE windir_path(3) 'Program Files' INTO programfiles_path.
        ENDIF.
        CONCATENATE programfiles_path '\SAP\hostctrl'
                                                 INTO searchpoints-dirname.
      ELSE.
    *   on UNIX, the path is hard coded
        searchpoints-dirname = '/usr/sap/hostctrl'.
      ENDIF.
      MOVE: 'DIR_SAPHOSTAGENT' TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_SAPUSERS'
                         ID 'VALUE' FIELD searchpoints-dirname.
      IF searchpoints-dirname = '.'.
        IF sy-opsys = 'Windows NT'.
          searchpoints-dirname = '.\'.
        ELSE.
          searchpoints-dirname = './'.
        ENDIF.
      ENDIF.
      MOVE: 'DIR_SAPUSERS'       TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_SETUPS'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_SETUPS'         TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_SORTTMP'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_SORTTMP'        TO searchpoints-sp_name.
      APPEND searchpoints.
    *get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_SOURCE'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_SOURCE'         TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_TEMP'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_TEMP'           TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_TRANS'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_TRANS'          TO searchpoints-sp_name.
      APPEND searchpoints.
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_TRFILES'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_TRFILES'        TO searchpoints-sp_name.
      APPEND searchpoints.
    * get name of directory with the error files
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_TRSUB'
                         ID 'VALUE' FIELD searchpoints-dirname.
      MOVE: 'DIR_TRSUB'          TO searchpoints-sp_name.
      APPEND searchpoints.
    *  get the name of the current server.
      CALL 'C_SAPGPARAM' ID 'NAME' FIELD 'rdisp/myname'
                         ID 'VALUE' FIELD searchpoints-dirname.
      data: h_ind type i.
      LOOP AT searchpoints.
        h_ind = sy-tabix.
        IF searchpoints-sp_name IS INITIAL.
          DELETE searchpoints INDEX h_ind.
        ENDIF.
      ENDLOOP.
    ENDFORM.

  • Error when using Channel Migration Tool in SAP Directory Content Migration Tool

    Hi Experts,
    I'm trying to migrate a file receiver channel using the Channel Migration Tool in SAP Directory Content Migration Tool.
    I enter the channel name and then select it or click in "Edit"; I get the bellow error:
    Thanks in advance.
    Su May
    500   Internal Server Error
      SAP NetWeaver Application Server/Java AS
    The initial exception that caused the request to fail, was:
    java.lang.NullPointerException: while trying to invoke the method
    com.sap.pi.tools.dirmig.channel.metadata.SoftwareComponentVersion.getVersion()
    of a null object returned from
    com.sap.pi.tools.dirmig.channel.metadata.AdapterMetadataFactory.getLatestSWCV(java.lang.String)
    at
    com.sap.tc.pi.tools.dirmig.wd.wd.comp.channelmigration.ChannelSelectionView.onActionChannelTableSelect(ChannelSelectionView.java:548)
    at
    com.sap.tc.pi.tools.dirmig.wd.wd.comp.channelmigration.wdp.InternalChannelSelectionView.wdInvokeEventHandler(InternalChannelSelectionView.java:486)
    at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:75)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:159)
    ... 56 more
      See full
    exception chain for details.
    Failed to process request. Please contact your system
    administrator.
    While processing the current request, an exception occured which could not be handled
    by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the
    cause of the problem, please contact your system administrator. To facilitate
    analysis of the problem, keep a copy of this error page. Hint: Most browsers
    allow to select all content, copy it and then paste it into an empty document
    (e.g. email or simple text file).
    For further information about the Web Dynpro error page, error
    analysis and a description of well-known error situations, see SAP note
    1113811.
      Correction Hints
    Exception
    could be caused by the development component: sap.com/tc~pi~tools~dirmig~wd
    Note: The above hints are only a guess. They
    are automatically derived from the exception that occurred and therefore can't
    be guaranteed to address the original problem in all cases.
    System Environment
    Client
    Web Dynpro Client Type
    AJAX Client
    User agent
    Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1;
      Trident/5.0)
    Client Type
    msie 
    Client Type Profile
    ie6
    ActiveX
    enabled
    Java Applets
    enabled
    Accessibility mode
    disabled
    Inline CSS
    false
    Validate by rendering
    true
    Server
    Web Dynpro Runtime
    vendor: 'sap.com', name: 'tc/wd/webdynpro', scV: 'sap.com',
      scN: 'WD-RUNTIME', location: 'SAP AG', counter: '7.4008.20140808120905.0000',
      R: '7.40', SP: '8', PL: '0', change number: '613920', codeline:
      NW731CORE_13_REL
    J2EE Engine
    7.40.3301.367419.20140806095041
    System ID (SID)
    Server Node ID
    |6080050|60800|Server 00
      00_60800|douaklsappod.douglas.local/10.2.0.87|SERVER|RUNNING
    Java VM
    SAP Java Server VM, version:6.1.071 24.55-b08, vendor: SAP AG
    Operating system
    Windows Server 2008 R2, version: 6.1, architecture: amd64
    Application
    Java EE Application (deployable object)
    sap.com/tc~pi~tools~dirmig~wd
    Web Dynpro Application
    DirectoryCockpit
    Request URI
    /webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd/DirectoryCockpit
    Version
    vendor: 'sap.com', name: 'tc/pi/tools/dirmig/wd', scV:
      'sap.com', scN: 'SOAMON', location: 'SAP AG', counter:
      '7.4008.20140828111619.0000', R: '7.40', SP: '8', PL: '0', change number: '9' 
    Web Dynpro Code Generation Infos
    sap.com/tc~pi~tools~dirmig~wd
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd:
      SapDictionaryGenerationCore
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:01:39+0000, changelist=402811, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd:
      SapDictionaryGenerationTemplates
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:02:11+0000, changelist=402811, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd: SapGenerationFrameworkCore
      7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T19:41:09+0000, changelist=402838, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd: SapIdeWebDynproCheckLayer
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:25:15+0000, changelist=612716, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd: SapMetamodelCommon
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T19:44:59+0000, changelist=402897, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd: SapMetamodelCore
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL, buildtime=2014-08-22T19:42:52+0000,
      changelist=402897, host=vmw5876, is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd: SapMetamodelDictionary
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T19:51:47+0000, changelist=402813, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd: SapMetamodelWebDynpro
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:03:52+0000, changelist=612717, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd: SapWebDynproGenerationCore
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:25:48+0000, changelist=612716, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd:
      SapWebDynproGenerationTemplates
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:25:36+0000, changelist=612716, host=vmw5876,
      is-central=true)
    WD web module
      webdynpro/resources/sap.com/tc~pi~tools~dirmig~wd: SapWebDynproRuntimeGen
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:22:51+0000, changelist=612719, host=vmw5876,
      is-central=true)
       sap.com/tc~wd~api
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapDictionaryGenerationCore
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:01:39+0000, changelist=402811, host=vmw5876,
      is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapDictionaryGenerationTemplates
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:02:11+0000, changelist=402811, host=vmw5876,
      is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapGenerationFrameworkCore
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL, buildtime=2014-08-22T19:41:09+0000,
      changelist=402838, host=vmw5876, is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapIdeWebDynproCheckLayer
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:25:15+0000, changelist=612716, host=vmw5876,
      is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapMetamodelCommon
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T19:44:59+0000, changelist=402897, host=vmw5876,
      is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapMetamodelCore
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T19:42:52+0000, changelist=402897, host=vmw5876,
      is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapMetamodelDictionary
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T19:51:47+0000, changelist=402813, host=vmw5876,
      is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapMetamodelWebDynpro 
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:03:52+0000, changelist=612717, host=vmw5876,
      is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapWebDynproGenerationCore
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:25:48+0000, changelist=612716, host=vmw5876,
      is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapWebDynproGenerationTemplates
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL, buildtime=2014-08-22T20:25:36+0000,
      changelist=612716, host=vmw5876, is-central=true)
    WD web module webdynpro/resources/sap.com/tc~wd~api:
      SapWebDynproRuntimeGen
    7.4008.20140806095041.0000 (release=NW731CORE_13_REL,
      buildtime=2014-08-22T20:22:51+0000, changelist=612719, host=vmw5876,
      is-central=true)
    Detailed Error Information
    Detailed Exception Chain 
      java.lang.NullPointerException:
    while trying to invoke the method
    com.sap.pi.tools.dirmig.channel.metadata.SoftwareComponentVersion.getVersion()
    of a null object returned from
    com.sap.pi.tools.dirmig.channel.metadata.AdapterMetadataFactory.getLatestSWCV(java.lang.String)
    at
    com.sap.tc.pi.tools.dirmig.wd.wd.comp.channelmigration.ChannelSelectionView.onActionChannelTableSelect(ChannelSelectionView.java:548)
    at
    com.sap.tc.pi.tools.dirmig.wd.wd.comp.channelmigration.wdp.InternalChannelSelectionView.wdInvokeEventHandler(InternalChannelSelectionView.java:486)
    at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:75)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:159)
    at
    com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:94)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
    at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
    at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:515)
    at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:58)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1671)
    at
    com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1485)
    at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:908)
    at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:880)
    at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:357)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)
    at
    com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at
    com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:101)
    at
    com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at
    com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at
    com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at
    com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at
    com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at
    com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at
    com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at
    com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at
    com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at
    com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

    Hi,
    Go to NWA>Configuration>Infrastructure>Java System Properties, Click on the Applications tab and search tc~pi~tools~dirmig~wd & Start Application as shown in below screenshot.
    I am not sure but you can try this if it helps.
    Regards,
    Dipen.

  • Data Services XI3.1 function module files for SAP R/3 is not working

    Hi guys,
    Thank you for the quick response so far. I am very grateful to you all. 
    I got an issue and will try to explain as detail as I could and 
    hope ur guys won't mind. :P
    I pass the functions module to SAP tech guy to install to SAP using CTS 
    method, and using 900086.R63 file type because my chinese client is 
    running SAP on unicode environment.
    My DS installed on my laptop client; job server plus db2 is on HP 
    unix. SAP is on another HP Unix server. The function module I used is 
    supplied from Data Services XI3.1.
    Anyway, the installation is successfully done with GUI wizard windows of 
    SAP Workbench instead of tp command line method.
    1)However, I checked the ZAW0 function group, I opened and can't see any functions
    listed under it, although the table structures ZACTA, ZTAB2048 and other items
    were created.
    2)So I tried to create SAP Datastore, Transport Target, etc and tried to 
    extract file. It failed and log said "can't open file --- 
    /db2/temp/curcode.txt". I checked and SAP working directory /db2/temp didn't have 
    curcode.txt, because the result file supposed to be extracted and stored there. 
    The SAP tech guy checked SAP and cant find generated ABAP program of 
    ZCURCD is running anyway, although my local CURCD ABAP program is 
    created.
    3)Is it the 900086.R63 not complete? Is my function installation correct? I could view data
    on datastore, but just cant run job to extract. Another non-unidcode 900200.S08 group
    has larger file sizes. Should I try to install also this 900200.S08 files? Will it corrupt SAP
    and cause system errors?
    4)After that, I had tried to install the functions manually into ZAW0 
    one by one using cut and paste, however after that, I cant view the data view anymore with 
    error. Besides, I tried to run Check on the functions and they all returned 
    syntax errors, so I cant Activate any of them with SAP. Maybe dependency is missing??
    Then, I deleted the manually installed functions and can view data again, but just cant extract 
    data by job.
    5)Another side issue is all these SAP datastore creation and viewing is  
    through DI 11.5 old installation. The new Data Services X3.1 unable to 
    create datastore with database error, although the function module 
    installed is came from Data Services. Does anyone know the issue?
    Thank you very much to read it patiently. :P

    Hi,
    Thank you for the informative link. It did help a lot in solving the problem.
    (1) to (4) --- The Sap tech guy didnt install the function programs correctly, and he redo the transport again using CTS. Now I can see all the functions inside the function group ZAW0. While for the problem of cannot generate extracted file to SAP working directory for downloading, it is due to unix directory access permission setting. And also have to include the ftp username into SAPSYS user group as the help link suggested.
    (5) For this problem, I reinstalled again the DS with all required components like Server Manager. The network technical guy helped me with the first installation, and the installation was not complete. So now the issue is solved, I can create R/3 Datastore with DS.

  • Unable to access application /usr/sap/ SID /DVEBMGS42/exe/jlaunch

    I have a SAP System which has AS-ABAP installed.
    I am in the process of isntalling java add in . I am getting the following error .Pls help
    Unable to access application /usr/sap/<SID>/DVEBMGS42/exe/jlaunch
    I logged in as root user and also as <SID>adm , but did not work
    Please help

    if u r on a unix platform go  to the directory /usr/sap/<SID>/DVEBMGS42/exe/ and see for the permisions using ls-l
    if there are permisiions missing try giving them
    u can use # chmod 777 *
    but this will access to all files to every user in the system.
    Edited by: jet l.....i on Feb 8, 2008 3:24 PM

  • Can not get access files from Windows 7 to Claims-based file authorization share

    We have AD level 2012R2, DCs running 2012R2 of course, and we have clustered File Server (3 FSNodes running 2012R2).
    We enabled 2 policies 
    KDC Support for claim
    Kerberos support for claim
    We created 1 claim type in ADAC (For example "Division" Source Property). Filled this property to all IT AD Accounts by our value "IT"
    On FS made a share folder ITDivision:
    - set permissions  Domain Users can Modify if User.Division equals "IT"
    so on Windows 8 IT Users can access files on this share and on Windows 7 they cant
    =\ . We know from many presentations about Dynamic Access Control that File Server must enroll user claims if client do not support this claims (Service-for-User-To-Self)

    Hi,
    >>so on Windows 8 IT Users can access files on this share and on Windows 7 they cant
    =\ . We know from many presentations about Dynamic Access Control that File Server must enroll user claims if client do not support this claims (Service-for-User-To-Self)
    How is it going? Was there any error message? As far as I know, Dynamic Access Control (DAC) should work for downlevel clients. It’s backwards compatible. As Florain explains in the following blog:
    For non-Windows 8 and non-Windows Server 2012 boxes accessing DAC-protected file shares, the users do not carry any claims. For them, the Server 2012-based file share will query Active Directory and proxy the claims request to figure out what claims
    the user and machine bring. The file server checks in the name of the user, whether they should have claims. With that information, the file server evaluates the access to the file share. So yeah – DAC works for downlevel clients, too. It’s backwards compatible.
    And totally transparent to Windows 7.
    Questions regarding Dynamic Access Control (FAQ)
    http://www.frickelsoft.net/blog/?p=293
    In addition, regarding dynamic access control, the following blog can also be referred to for more information.
    Dynamic Access Control in Windows Server 2012
    http://www.infoq.com/news/2012/10/Dynamic-Access-Control
    Please Note: Since the above two website are not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Frank Shen

  • File to dinamic directory

    Hi all.
    i have an XML that contain:
    FILE:Sales.xml
    Directory:c:\new folder
    Name: Rodrigo
    LastName: Suarez
    Age: 21
    I must map it to an another File to c:\new folder\Sales.xml
    my problem is File and Directory is dinamic--> Directory an File can change
    Any Idea How can i do it??
    Thanks & Regads
    Rodrigo

    hi Jin
    im trayin do a UDF enconding, but in dont know how to do that. I Created a User Function.
    Imports: com.sap.aii.mapping.api.DynamicConfigurationKey;com.sap.aii.mapping.api.DynamicConfiguration;
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keyF = DynamicConfigurationKey.create( URLFile, "FileName");
    DynamicConfigurationKey keyD = DynamicConfigurationKey.create( URLFile, "Directory");
    String valueOld = conf.get(keyF);
    String valueOldD = conf.get(keyD);
    if (valueOld != null) {
        String valueNew = valueOld.replaceAll("Sender.xml",file);
        conf.put(keyF, valueNew);
    if (valueOldD != null) {
        String valueNewD = valueOldD.replaceAll("/IN",dir);
        conf.put(keyD, valueNewD);
    return name;
    URLFile: http://sap.com/xi/XI/System/File.
    I dont know if the logic of function is right.
    I made a Test in XI and the result was this:
    Compilation of dynamic_directory_MM successful Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._dynamic_directory_MM_ method FileCOutput$[http://sap.com/xi/XI/System/File, Sales.xml, c:/, Rodrigo, com.sap.aii.mappingtool.tf3.rt.Context@9159fe] com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._dynamic_directory_MM_ method FileCOutput$[http://sap.com/xi/XI/System/File, Sales.xml, c:/, Rodrigo, com.sap.aii.mappingtool.tf3.rt.Context@9159fe]
    Regards
    RP

Maybe you are looking for

  • Images that refuse to be published!

    I have 5 jpg images on my dreamweaver page that show up fine. Those 5 jpg images are uploaded in my public HTML folder for my website, ubt when I load my website that page keeps coming up with little red x's instead of the uploaded images. Can anyone

  • Using ImageIcon load an image

    Hi I'm having a lot of trouble getting the below code to work. Its copied out of my textbook and its supposed to load an image using the getImage method in the ImageIcon class. The strange thing is I have gotten this to work before, but after I insta

  • Communications behind CSS11501

    Hello all, I have two 11501s that are currently running in ASR mode. All is working great with that. I now have a need for some of the servers to communicate with each other behind the CSS's as well. So, I have traffic from: a)Internet to VIP address

  • Beehive Group - Returned mail: see transcript for details

    Hi All I am owner of "[email protected]" Beehive Group Mailing List Since last week , Email sent by team members to "[email protected]" is not getting delivered ! Error The original message was received at Tue, 7 Feb 2012 03:54:54 -0600 from abhmt119

  • OADP-MSS Reports-Report selection drop down

    All Experts, I am publishing few important reports in MSS portal where Teamviewer option is major challenge for me. I can publish the team viewer dropdown in the defined  selection criteria option with the help of OADP org. structure view node. Now I