File not getting created in a different server

My requirement.
I have written a code in the BI system and now need to write an empty file (say a.done)in a directory /interfaces of PI system.
I wrote using open data set and close data set however the file (a.done) is not getting created in the PI system even though the directory /interfaces exist.
When I give any directory of that of BI system ,the file(a.done) is getting created i.e the file is getting created on the same server and not on the different server.
Is there any function module or any other way for the file to get generated in the PI system.
Please explain with an example.
Regards,
Vish

Try to use  search FTP in se37 or checkout the below FM
CALL FUNCTION 'EPS_FTP_MPUT'
  EXPORTING
    RFC_DESTINATION            =
*   FILE_MASK                  = ' '
*   LOCAL_DIRECTORY            = ' '
*   REMOTE_DIRECTORY           = ' '
*   OVERWRITE_MODE             = ' '
*   TEXT_MODE                  = ' '
*   TRANSMISSION_MONITOR       = 'X'
*   RECORDS_PER_TRANSFER       = 10
*   MONITOR_TITLE              =
*   MONITOR_TEXT1              =
*   MONITOR_TEXT2              =
*   PROGRESS_TEXT              =
* IMPORTING
*   LOCAL_DIRECTORY            =
*   REMOTE_DIRECTORY           =
*   LOCAL_SYSTEM_INFO          =
*   REMOTE_SYSTEM_INFO         =
* TABLES
*   FILE_LIST                  =
* EXCEPTIONS
*   CONNECTION_FAILED          = 1
*   INVALID_VERSION            = 2
*   INVALID_ARGUMENTS          = 3
*   GET_DIR_LIST_FAILED        = 4
*   FILE_TRANSFER_FAILED       = 5
*   STOPPED_BY_USER            = 6
*   OTHERS                     = 7
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Similar Messages

  • File not getting created at the Reciever

    Hi All,
    I have implemented a simeple file to file scenario. The file is getting deleted from the source directory but is not getting created in the target directory. It shows a checkered flag in SXMB_MONI . When i do Communication Channel monitoring for the reciever Comm. Channel, it shows no messsages .
    I have refreshed the Cache in Integration directory. it is still not working.
    I tried using a different Communication channel with the Mail adapter that is working fine.
    I cant figure out what the problem is please help.
    Many Thanks,
    Neha

    Hi! Neha,
    Here i want to add some points :
    Even I faced same problem in project....... then I followed this procedure...
    My scenario is FILE TO RFC via FTP Server in file adapter.
    Here issue is file is picking from FTP and showing success in MONI but data is not reaching to BW system..
    Most of the times I checked and I did successfully.
    Main issue are due to:::
    1. Check Queues in Inbound queue SMq2
    2. Trace teh step by step in message flow in message monitoring that means check whether message flows
            from a) Intergration Engine
                   b) Adapter Engine..
    3. Check and trace the flow in Message monitoring in Run Time work Bench
    4. Check Status of Receiver communication Channel in Communication channel Monitoring
    5) Check whether Business Services are Scheduled in Availability Time planning or not
    6  Also Check in Visual admin whether the services are released or not if any others are might using the same servivcees and cahnnels and suppose if they are scheduled or not
    7. Do Cache Refresh mainly SXI CACHE, ADAPTER ENGINE CACHE
    8 Finally if still not resolved J2EE ENgine SOFT Restart..instead of doing restarting entire XIengine server.
    Once the Server is started then defintely all the messages if suppose if 40 messages are picked from source directory and not reached to Target then all those definetely 100% become success and reached
    Note:: All above needs to check only if development part is correctly configured.
    Also check the Receiver target and sender directory Permissions in FTP Server i.e., rwx permissions okay
    Thanks
    Amar Srinivas Eli
    Reward Points if useful

  • Empty files are getting created at receiver FTP server

    Hi Experts,
    I have an Idoc to File scenario where I am sending an XML file to receiver FTP server.
    Scenario is working fine but sometimes an empty file is getting generated at receiver FTP server.
    I have already selected ignore empty file at receiver channel so issue is not within PI system configuration.
    When I checked the message log I can see that almost all the files are getting created successfully without any issues, but
    for some files/messages I can see that there are below error logs.
    "Transmitting the message to endpoint <local> using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not get FTP connection from connection pool (1 connections) within 5,000 milliseconds; increase the number of available connections"
    "Exception caught by adapter framework: Could not get FTP connection from connection pool (1 connections) within 5,000 milliseconds; increase the number of available connections."
    And after there is again success message log in the same message and it creating a file successfully during that time stamp.
    but the third party is sometime receiving empty file which I am not able to find in any trace or log (my file name is SD_timestamp.xml).
    Can you please let me know what is the solution and what adjustments FTP server need to do in order to resolve this issue.
    Thanks in advance.
    Regards,
    Rahul Kulkarni

    The error you are getting that says "Could not get FTP connection from connection pool (1 connections) within 5,000 milliseconds; increase the number of available connections" has probably nothing to do with the empty files problem.
    I second Hareesh Gampa that you first should try "temporary file creation". You might also need to tell the FTP owner that he should only pick up files with that are written completely and that do comply with a negotiated file name schema. The temp file should have another schema of course then. He should not pick up just every file that is written. See here for details
    http://help.sap.de/saphelp_nw74/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
    HTH
    Cheers
    Jens

  • .xel file not getting created

    Hi All,
    I am using 9.1.0.2 version. I archived the xel.log file as it was getting very bigger in size after stopping oim_server through Weblogic console.
    I expected that after I start the oim_server all log files will get created automatically.
    I see some log files got created when I started OIM application but not xel.log.
    Should I create it manually or should it get created automatically?
    Thanks in advance,
    Manohar

    Open log.properties file. You can see entry for xel.log file. Create this file manually and restart OIM server. Make sure you create it manually using the same user, using which you are starting servers.
    Alternativley, in log.properties configure loggers and provide there path.xel.log in case entry for xel.log is not there.
    regards,
    GP

  • Silent Installation - Respond file not getting created !!!

    Hi,
    I am trying to create a respond file by running the installation as follows
    ./runInstaller -ignoreSysPrereqs -record -destinationFile /backup/ORA_DOWNLOADS/9201.rsp
    ignoreSysPrereqs is used because we have Sun Solaris 5.10 which is not in oraparam.ini.
    I am installing 9.2.0.1 Please do not ask why 9.2.0.1 now.
    Now the problem is my respond file is not getting created when I run the install. Does the respond file gets created after the installation is complete? I do not want to end up doing installation at one server without the respond file.
    Please help.
    Thanks,
    Ankit.

    Hm, you might be hitting a bug. Need to check my archive of historic Oracle events (means, I'll get back when I have looked through my notes in a few hours or more).

  • File not getting created in Target Directory..........

    Hi All,
               We are trying a IDOC-File scenario & trying to create a XML file on the receiver side........All the mappings have been checked & everything is working fine.It shows success in SXMB_MONI. But the file is not getting created at the target directory..... Checked the component Monitoring and message  monitoring as well, which is also successful...
    What could be the reason of such behaviour, and is there a way to track the where the target file is getting placed?
    Please Help
    Regards,
    Jayashri

    >
    Jayashri Rade wrote:
    > Hi All,
    >            We are trying a IDOC-File scenario & trying to create a XML file on the receiver side........All the mappings have been checked & everything is working fine.It shows success in SXMB_MONI. But the file is not getting created at the target directory..... Checked the component Monitoring and message  monitoring as well, which is also successful...
    i
    Did you check the receiver communication channel in communication channel monitoring?
    Are there any errors?

  • IDOC File target - file not getting created

    I am using Realtime job for sending idoc from data services to sap. I am using idoc message as source, query and idoc file as target transform in the data flow. I have following settings in IDOC file as target
    Idoc file : /tmp/costcentertest.txt
    Idoc type: COSMAS01
    Data store name: DS_SAP
    Application server: saptest
    When i send the idoc I can load the data into table or create the file in /tmp directory. After changing target to idoc file and entering the above settings i don't see any file getting created. I do see idoc was received from we05 and also show green in data management console.
    I was checking if i have to change something or missing some steps.

    Hi Satheesh
    Check whether the order qty field is there in flat file or not. Second if the data is there then it is getting uploaded
    in read the file or not. Subsequently in converted data . When the mapping  is correct and  data is getting populated
    in read file and converted file it will get uploaded. Hope it will help you.
    Thanks
    Sushant

  • Cannot add mailbox database copy to DR site - .edb file not getting created

    I have a DR site setup that I want copies of 4 of my mailbox databases.  3 of the mailbox databases copied over successfully but the last and largest one which is really not that large 69Gbs keeps failing when i Update the database copy.  Seems
    to not be creating the .edb file.  Is there another way to get the .edb file over to the server, possibly manually copying it then doing and update database copy?  I have my backups turned off on all the servers that have the mailbox role on it now
    thinking that was causing some issues with the database copy?  Any suggestions is appreciated, thanks.
    Michael Duhon

    Yes manually copy the edb file and paste them in the DR server . Then try to update with for the incremental of database copy. Verify the database is clean shutdown that you are moving to the DR site.
    What error message it throws when you performing update the database copy
    Exchange Queries

  • JAR file not getting created

    Hi All,
    i have to develop a JAVA mapping JAR file using SAX parser.
    So for this in Netweaver Developer Studio, i created a new EJB project. in the ejbModule, i created a package and a JAVA class in it. But the problem is the JAVA class is not showing in EJBCandidates - so i am unable to add it to ejb-jar.xml file.............
    Can anybody suggest why the JAVA class file is not appearing in EJBCandidates..........
    Thanks,
    Rajeev Gupta

    > Hi All,
    >
    > i have to develop a JAVA mapping JAR file using SAX
    > parser.
    > So for this in Netweaver Developer Studio, i created
    > a new EJB project. >
    Rajeeev
    <b>For a JAVA MAPPING in the NWDS , you need not ceate an EJB Project.</b>
    <b>Just use NEW--> JAVA Project</b> and then define a class that implements Stream Transfomratiom Interface in thsi project.
    DO you coding in the execute mthod , and then finally , create a JAR file for this class / Project and then import it in your mapping uinder Imported Archives
    Regards,
    Bhavesh

  • File not getting created

    Hi Frnds,
    I have a Idoc to file scenario,
    Iam getting  following error in RWB
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing
    Following are the FCC configured:
    Record.fieldFixedLengths     2,4,4,10,2,20,8
    Record.fieldNames     RecordType,CompanyCode,OrderType,OrderNo,HoldCode,HoldCodeDesc,ReleasedDate
    Record.endSeparator     'nl'
    Please can anybody help in resolving this issue.

    These are some of the very important content conversion parameters :
    1)NameA.endSeparator= 'nl'
    2)NameA.fieldNames=a,b,c...
    3)NameA.fieldSeparator= ;
    The above 3 parameters are important and almost mandatory.Your error clearly mentions missing out of        ' fieldSeparator ' .           
    NameA.fixedFieldLengths can also be included........
    Some other important FCC parameters are :
    4)NameA.addHeaderLine = 0
    5)NameA.fixedFieldLengths = 10,10
    Hope this information is effective and useful........
    Award points if helpful
    Regards  : Deepika Kuppachari

  • DME files not getting stored in Appl Server .

    Hi All ,
        Please help me to solve this issue ..
         My DME files is not getting stored in the application server directory created by me , rather it is getting stored in the
        TEMP folder of the application server . How Can I store the DME output files in my application server , please let me know if I have missed any steps .
    Regards,
    Ranjita

    Hi,
    FUNCTION YFI_PAYMEDIUM_DMEE_20_F2.
    ""Global Interface:
    *"  IMPORTING
    *"     VALUE(I_FPAYH) LIKE  FPAYH STRUCTURE  FPAYH
    *"     VALUE(I_FPAYHX) LIKE  FPAYHX STRUCTURE  FPAYHX
    *"     VALUE(I_FORMAT_PARAMS) LIKE  FPM_SELPAR-PARAM
    *"     VALUE(I_FILENAME) LIKE  REGUT-FSNAM
    *"     VALUE(I_XFILESYSTEM) TYPE  DFILESYST
    *"  TABLES
    *"      T_FILE_OUTPUT STRUCTURE  FPM_FILE
    *"  CHANGING
    *"     REFERENCE(C_FILENAME) LIKE  REGUT-FSNAM
    put filename
      DATA: Y_FILENAME TYPE REGUT-FSNAM,
            T_FILENAME TYPE STANDARD TABLE OF REGUT-FSNAM WITH HEADER LINE,
    structures filled by application program
                L_FPAYH  TYPE FPAYH,
    *structure for bank data
      L_BANKDATA TYPE YFI_BANK_AD_DATA,
    *date
       W_DATE(10) TYPE C,
    *counter
       W_CHAR(3) TYPE N,
    *dot
       W_DOT(1) TYPE C VALUE '.',
       W_LEN TYPE I,
       W_POS TYPE I.
    fill strutures of payment documents
      L_FPAYH   = I_FPAYH.
    Get the Client code( Source Code )
    based on the Company code ,House Bank and Bank Id
      SELECT SINGLE * FROM YFI_BANK_AD_DATA
      INTO CORRESPONDING FIELDS OF L_BANKDATA
      WHERE Z_BUKRS  = L_FPAYH-ZBUKR AND
      Z_BANK = L_FPAYH-HBKID AND Z_BANKID = L_FPAYH-HKTID.
    *today's date
      W_DATE = SY-DATUM.
    *make file name as per bank
    IF L_FPAYH-HBKID cp 'HSP01*'.
    IF L_FPAYH-HBKID cp 'HS*'.
       CONCATENATE '/data/fi/epay/hsp01_int/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) w_date(4) L_FPAYH-LAUFI
            '.___' INTO Y_FILENAME.
    CONCATENATE '/data/fi/epay/pearl2/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) w_date(4) L_FPAYH-LAUFI
             '.___' INTO Y_FILENAME.
    ELSE.
       CONCATENATE '/data/fi/epay/icp01/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) W_DATE+2(2) '.___' INTO Y_FILENAME.
      ENDIF.
    *is there any entry for given key
      SELECT COUNT( * ) FROM REGUT WHERE DWNAM LIKE Y_FILENAME .
    *if none
      IF SY-SUBRC <> 0.
    *this wud be first file - remove % from file name
        W_LEN = STRLEN( Y_FILENAME ) - 22.
        Y_FILENAME = Y_FILENAME+22(W_LEN).
       IF L_FPAYH-HBKID cp 'HSP01*'.
        IF L_FPAYH-HBKID cp 'HS*'.
         CONCATENATE '/data/fi/epay/hsp01_int/' Y_FILENAME INTO Y_FILENAME.
    CONCATENATE '/data/fi/epay/pearl2/' Y_FILENAME INTO Y_FILENAME.
       ELSE.
         CONCATENATE '/data/fi/epay/icp01/' Y_FILENAME INTO Y_FILENAME.
        ENDIF.
        SPLIT Y_FILENAME AT W_DOT INTO Y_FILENAME W_CHAR.
        W_CHAR = '001'.
    *if yes
      ELSE.
    *existing file name
        SELECT DWNAM FROM REGUT INTO TABLE T_FILENAME WHERE DWNAM LIKE Y_FILENAME
        AND DWNAM NE SPACE.
    *get file name with max counter
        LOOP AT T_FILENAME.
          Y_FILENAME = T_FILENAME.
          DO.
            SEARCH Y_FILENAME FOR '\'.
            IF SY-FDPOS = 0.
              EXIT.
            ELSE.
              W_POS = SY-FDPOS + 1.
              W_LEN = STRLEN( Y_FILENAME ) - W_POS.
              Y_FILENAME = Y_FILENAME+W_POS(W_LEN).
              MODIFY T_FILENAME FROM Y_FILENAME .
            ENDIF.
          ENDDO.
        ENDLOOP.
        SORT T_FILENAME DESCENDING.
        READ TABLE T_FILENAME INDEX 1.
        Y_FILENAME = T_FILENAME.
    *increment the counter by 1.
        SPLIT Y_FILENAME AT W_DOT INTO Y_FILENAME W_CHAR.
        TRY.
            W_CHAR = W_CHAR + 1.
          CATCH CX_SY_CONVERSION_NO_NUMBER.
    *-- Make it first file
           W_CHAR = '001'.
        ENDTRY.
      ENDIF.
    *put file name
      CONCATENATE Y_FILENAME  W_DOT  w_char INTO Y_FILENAME.
    *export to ABAP memory id will be used by filename node in header
      EXPORT Y_FILENAME TO MEMORY ID 'Y_DMEE_FILENAME'.
    CONCATENATE '/data/fi/' y_filename INTO y_filename.
      C_FILENAME = Y_FILENAME.
    *}   INSERT
    ENDFUNCTION.

  • Java file is not getting created in gen_sqlj

    Hi All
    I have cretaed a EJB dc.
    when I creating a .sqlj file, its corresponding .java fiel is not getting created in gen_sqlj folder.
    what will be the reason for this?
    how to create that?

    I've got the same problem. Is there a solution for that?

  • Attachment not getting created in PI from CRM

    Hi Everyone,
    I am trying to create attachments in PI from CRM but it is not getting created there. I am executing the following steps:
    By default I am getting the attachment data in Binary format so I am using this function module to convert it into XSTRING format.
              CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
                              EXPORTING
                         input_length = lv_input_length
                         first_line   = lv_first_line
                         last_line    = lv_last_line
                       IMPORTING
                         buffer       = lv_xbuffer
                       TABLES
                         binary_tab   = file_content_binary.
       2. Then I am getting the server context and the protocol.
                           obj_server_context = cl_proxy_access=>get_server_context( ).
                           obj_attch_protocol ?= obj_server_context->get_protocol( if_wsprotocol=>attachments ).
    * Assign File naame to STRING Variable
                           lv_name =  lv_filename.
    * Attach file to the service response.
                           obj_attachment = obj_attch_protocol->get_attachment_from_binary(
                                      data = lv_xbuffer
                                      type = if_ai_attachment=>c_mimetype_pdf
                                      name = lv_name ).
                           APPEND obj_attachment TO t_prx_attach.
                           obj_attch_protocol->set_attachments( t_prx_attach ).
       3. Then I am using a proxy class which has Input and Output structures for sending data to PI and getting the response respectively. And then in the end I am calling the proxy and passing the structures.
         With this I am unable to see the attachmenmts in sxmb_moni transaction. Please help.

    Hi Gurus,
    Can you please help with some pointers on this.
    I have used below links as reference for coding.
    Link 1 :
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/3b2a2d45a34a23b75e3b18745c63bc/content.htm
    Link 2:
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/10/19/abap-proxy-protocols-use-cases-and-examples
    After setting attachment(Method SET_ATTACHMENTS) i am not getting any exceptions,but still i am not able to see any attachment created in SXMB_MONI.
    Thanks in Advance,
    Manil.

  • Required attribute not getting created

    Ok, here is a wierd one.
    I have some custom ID management code (an SSO plug-in cert mapper and a WAR file I deploy to OC4J_SECURITY). The application provides a registration process that creates user entries and RADs for Oracle Forms app users. Everything works fine, except that I have found that my RAD creation does not get the orclresourceviewers attribute created automatically.
    This has worked in my IM development farm. The attribute would be created automatically. It was difficult to figure out this was the reason my Forms App Server would fail with the following exception.
    oracle.ldap.util.AccessDeniedException: General Error when performing search: getExtendedProperties [LDAP: error code 50 - Insufficient Access Rights]
    I have gone through the motions of now preparing to query the OID Forms ID so that I can fill in this attribute in my RAD creation class. I still would like to know why this attribute is not getting created for me anymore.
    Any ideas?
    Oh and BTW, it did not help that orclresourceviewers is not documented anywhere I could find (not OID Admin and not Forms Deployment Guide)
    regards,
    tt

    Hi Sandeep.
    Yes, my application entities that I set up to manage a specific realm are used to create all RADs in a particular realm. As part of the setup for this I add these application entitites to the following three realms:
    cn=OracleDASAdminGroup,cn=Groups,cn=OracleContext,dc=<realm_name>,dc=<abc>,dc=<com>
    cn=RealmAdministrators,cn=Groups,cn=OracleContext,dc=<realm_name>,dc=<abc>,dc=<com>
    cn=UserProxyPrivilege,cn=Groups,cn=OracleContext,dc=<realm_name>,dc=<abc>,dc=<com>
    I add to these so that the app entity could create, modify, delete and proxy to any realm user. I had to create an ACI to allow my entities to search and see the Forms Server application entity entry in order to populate orclresourceviewers.
    I just wish I new why orclresourceviewers does not get created automatically. Of course, if I create the RAD in DAS or using the Oracle DynamicResourceCreate option, it is added. It has added it in my own RAD creation code at one point and it stopped for some reason.
    I had to add an LDAP search to my RAD creation code with the possibility of multiple Forms Server entries (Logical Application Group) just in case. Much ado for something that maybe should not have been necessary.
    regards,
    tt

  • Message ID missing and file not getting processed.

    Hi Experts,
    This is regarding an issue in Production system.
    Scenario: File to File.
    SAP PI verison : 7.0
    Interface data coming from B1 system to PI is having an issue.
    PI sender channel picks up the file from B1-FTP server,the file gets archived too, however the message ID is not getting created in communication channel monitoring and message is lost. It is not traceable.
    The message is not processed further, not visible in receiver channel nor in sxi_monitor.
    we have tried cache refresh, adapter metadata refresh, also tried creating new channels however, issue persists intermittently.
    Any help/suggestion would be highly appreciated.
    thanks and regards,
    Praveen T

    Hi Praveen
    Is it possible for you to provide the screenshot of logs from your sender
    communication channel when the file is picked up from the FTP Server?
    Also advise if the FCC is used in the sender channel, if yes check in case
    it is failing.
    Regards
    VJ

Maybe you are looking for

  • Backup problem with LMS 3.0 on Solaris

    Hi All, I'm encountering problems with LMS 3.0 when I try to do a backup. After you hit OK on the window that says "Do you want to backup now?", an error would pop up saying: "Enter a new directory name or ask the system administrator of the Ciscowor

  • New to iPod...need suggestions

    1) How do I put my music in my choice of order within an album? 2) What is the file extension for audiobooks? Any help is appreciated. Crissy

  • Why doesn't my new password work ?

    I have requested and received your instructions for changing my password TWICE !  Each time I made the change and received your email to acknowledge the change.  However, when I try to update Reader, as it appears on my computer dashboard, it will no

  • Issue while updating iPhone 3GS to iOS6

    i updated iPhone 3gs to iOS6 through iTunes. Now when i am trying to activate, it is not connecting to iTunes. iTunes showing error.

  • Intel mac mini reboots itself !

    My intel mac mini seems to reboot itself at odd times.. It will be doing nothing for hours and then i here it reboot. the fan doesnt seem to come on past the really uiet slow speed.. it doesnt seem to be really hot but is warm on the bottom and the a