GENERATEINg file on utility server process

hi All
i need to know abt the zfile process ie using logical file name
as i am generating a file on utility server
now in FM i gave as Zfile parameter for the utility server path and rest parthe i define in other parameters
like /MM/process etch
but i need to know abt the process as how to define the logical patha in FILe tcode and all the steps and how to take car for Qality and production ...
regards
Arora

> Thanks for the reply. What I understood is ..the script should run of the Non SAP system from where file is coming.
Depends on where the file is put.
> Can you provide the details required from SAP side for this.
> I believe..it should be STARTRFC command...and some function module to change the Idoc status....not sure??
That depends which function module you're calling.
We use a script to get data from an FTP server (from the SAP application server); if the server downloads a file it will be uploaded to the SAP IDOC inbox using startrfc, yes.
What you have call and how you find out whether there's a file or not must be decided at your side, we call it like
$PROGRAM -balanced -3 -d $DEST -u $USER -p $PASSWORD -c $CLIENT \
            -I $LANG -s $DEST -F $FUNCTION -g $LOGONGROUP \
            -h $MSGSERVER -E PATHNAME=$i -E PORT=$PORT
where $PROGRAM is 'startrfc' and $FUNCTION = 'EDI_DATA_INCOMING'.
Markus
Markus

Similar Messages

  • How to delete the Generated files from application server(open hub)?

    hi experts,
    when i try to execute process chain the DTP it is giving below dump. Exception CX_RSBK_REQUEST_LOCKED logged.
    when i execute the DTP manually and trying to delete the previous request, it is giving for dump ITAB_DUPLICATE_KEY.
    so to delete the generated file from application server, how to delete it for specific dates?
    Information on where terminated
    Termination occurred in the ABAP program "GPD6S3OE0BCVGC6L9DBNVYQARZM" - in
    "START_ROUTINE".
    The main program was "RSBATCH_EXECUTE_PROZESS ".
    In the source code you have the termination point in line 2874
    of the (Include) program "GPD6S3OE0BCVGC6L9DBNVYQARZM".
    The program "GPD6S3OE0BCVGC6L9DBNVYQARZM" was started as a background job.
    and when i check the dump it is point out at below code
    " Populate the lookup table for 0STOR_LOC
    SELECT * from /BI0/TSTOR_LOC
    into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
    FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
    STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
    but the programme is syntactically correct only.
    how to rectify the issue.
    regards
    venuscm
    Edited by: venugopal vadlamudi on Sep 28, 2010 1:59 PM

    hi experts,
    We have written start routine to get the storage location text and sending to File located at Application server through OPEN HUB.
    here is the code written in the Transformations
    In the global section
    Text for 0STOR_LOC
        DATA: l_0stor_loc_text TYPE HASHED TABLE OF /bi0/tstor_loc
              WITH UNIQUE KEY stor_loc.
        DATA: l_0stor_loc_text_wa TYPE /bi0/tstor_loc.
    and in the code to get the text
    " Populate the lookup table for 0STOR_LOC
        *SELECT * from /BI0/TSTOR_LOC*
          into CORRESPONDING FIELDS OF table L_0STOR_LOC_TEXT
          FOR ALL ENTRIES IN SOURCE_PACKAGE WHERE
                  STOR_LOC = SOURCE_PACKAGE-STOR_LOC.
    im sure there is problem with the Routine only. i think i need to change the code if so please provide me the modified one.
    thanks
    venuscm
    Edited by: venugopal vadlamudi on Sep 29, 2010 9:37 AM

  • Open hub error when generating file in application server

    Hi, everyone.
    I'm trying to execute an open hub destination that save the result as a file in the application server.
    The issue is: in production environment we have two application servers, XYZ is the database server, and A01 is the application server. When I direct the open hub to save file in A01 all is working fine. But when I change to save to XYZ I´m getting the following error:
    >>> Exception in Substep Start Update...
    Message detail: Could not open file "path and file" on application server
    Message no. RSBO214
    When I use transaction AL11, I can see the file there in XYZ filesystem (with data and time correspondent to execution), but I can´t view the content and size looks like be zero.
    Possible causes I already checked: authorization, disk space, SM21 logs.
    We are in SAP BW 7.31 support package 6.
    Any idea what could be the issue or where to look better?
    Thanks and regards.
    Henrique Teodoro

    Hi, there.
    Posting the resolution for this issue.
    SAP support give directions that solved the problem. No matter in which server (XYZ or A01) I logon or start a process chains, the DTP job always runs in A01 server, and it causes an error since the directory doesn´t exist in server XYZ.
    This occurs because DTP settings for background job was left blank. I follows these steps to solve the problem:
    - open DTP
    - go to "Settings for Batch Manager"
    - in "Server/Host/Group on Which Additional Processes Should Run" I picked the desired server
    - save
    After that, no matter from where I start the open hub extraction, it always runs in specified server and saves the file accordingly.
    Regards.
    Henrique Teodoro

  • Problem while generating file in linux server

    I am generating one text file in windows server by using UTL_FILE .after completion of line it is coming to next line properly.
    When i am generating the same file in linux server by using UTL_FILE. It is not going to next line after the end of file.Instead of that it is showing one BOX symbol .After that it is not moving to next line.it is continuing with that box
    for example:
    I generated the file in Windows server the output is
    "number name age
    number name age
    etc..."
    If I am generating the same file LINUX server the output is
    "number name age 'Box symbol' number name age'Box symbol'etc..."
    please help me out.....i have to submit this job in the next 12 hours....

    M_FIELD_VALUE := SUBSTR(M_FIELD_VALUE,1,C6_REC.DFCS_FIELD_SIZE);
                        IF (NVL(LENGTH(M_ROW_VALUE),0) + NVL(LENGTH(M_FIELD_VALUE),0)) < 32000 THEN
                        M_ROW_VALUE := M_ROW_VALUE || M_FIELD_VALUE;
    END IF;
    END LOOP; End Column Loop D
    UTL_FILE.PUT_LINE(M_FILE_HANDLE,M_ROW_VALUE);------here I am printing the row in text format

  • Error when generating file on the server

    Hello Gurus,
    I have a program created ABAP he reads the attributes of a property, and creates a file hierarchy to load in another feature. The story is that when you try to create the file with the instruction:
    open dataset p_fiche for output in text mode encoding default.
    I am giving this error, that can not generate the file.
    Sy-subrc = 8. At first thought it was because they had no authorization to create files in the path specified, but if I have permission and do not understand it is because the cause of this error.
    Someone can help me?
    Greetings,

    In ur case sy-subrc = 8 means 'Operating system could not open file'
    . Use addition MESSAGE msg with ur OPEN DATASET statement to know the exact reason for this error.
    Regards,
    Joy.

  • How can I save a file in the server?

    Hello,
    I am writing a Java Web Start program that it will generate a html file, how can I save the generated file in the server, fro example, the directory where I stored my JAR files. Because right now, it will create the html file in the local client mahcine instead of the server. Can anyone tell me how can I do this? Thanks you.

    Yeah, thanks but that's not what I was trying to ask.
    I know that you can save and open a document by performing these three steps:
    1. Confirming to save a file to the Downloads folder
    2. Open the download manager by clicking the temporarily green arrow
    3. Clicking on the downloaded file
    What I would like to know is whether or not it is possible to have Firefox open a saved file ''automatically''. At the moment, if I choose to open it automatically, it is only saved to my temp folder.
    It would be great though if it was saved to my Downloads folder ''and'' opened with the respective program on my pc. Is there a way to do this?

  • Error : generate war file for iplanet server 6.5

    I use war file that generate from WSAD V.4 and deploy this war file to iPlanet sun one app server V6.5.
    before deploy to iplanet
    I must use command to generate war file for iplanet server (convert J2EE Archive to IAS Archive)
    but i found problem after use this command
    ./deploycmd -j2ee2ias -f xxxx.war
    com.iplanet.ias.tools.buzz.util.ArchiveHandlerException: invalid EXT descriptor signatureat com.iplanet.ias.tools.buzz.util.ArchiveHandler.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.ArchiveFile.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.iascom.processOption(Unknown Source
    at com.iplanet.ias.tools.buzz.common.iascom.main(Unknown Source)
    Any body please help?
    Thanks alot.

    I use war file that generate from WSAD V.4 and deploy this war file to iPlanet sun one app server V6.5.
    before deploy to iplanet
    I must use command to generate war file for iplanet server (convert J2EE Archive to IAS Archive)
    but i found problem after use this command
    ./deploycmd -j2ee2ias -f xxxx.war
    com.iplanet.ias.tools.buzz.util.ArchiveHandlerException: invalid EXT descriptor signatureat com.iplanet.ias.tools.buzz.util.ArchiveHandler.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.ArchiveFile.<init>(Unknown Source)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.WarArchiveFile.<init>(Unknown Sourc
    e)
    at com.iplanet.ias.tools.buzz.common.iascom.processOption(Unknown Source
    at com.iplanet.ias.tools.buzz.common.iascom.main(Unknown Source)
    Any body please help?
    Thanks alot.

  • Process Chain - Delete File from Application Server

    Hi Gurus,
    Im working with Process chain, and i have a load from a flat file, so my question is :
    How can i delete that file from the application server after was loaded ?
    THANKS IN ADVANCED !!! I REALLY APRECCIATE YOUR HELP.
    Marcos

    hi,
    I have gone through the forum you have posted for deleting files from application server through process chain.
    I have similar reuirement in my project.
    Can you please provide me the solution?
    Your inputs will be highly appreciated.
    Thanks in advance.
    Regards,
    Lavanya.

  • File from application server -Read and process and delete the file .

    Hi All,
             I writing a ZEE program which will read the file from application server(file will be in text delimat format) and moving the data to internal table and uploadind data base.The part which iam facing problem is -
    > I hve read the file from application server like below ,
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
    Spliting part i having problem .i need to seperate each field which is seperate from tab delimite and pass it into respective fields of internal table .
    Second if another file come to the appicaltion server , wether my first file will be there ? or should i need to delete the first file after redaing how should i proceed further ?.
    Regards
    SRIRAM...
    THANKS In ADVANCE

    HI,
    1.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
    DO.
    CLEAR: wa_string, wa_uploadtxt.
    READ DATASET ld_file INTO wa_string.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
    SPLIT wa_string AT cl_abap_char_utilities=>horizontal_tab INTO wa_uploadtxt-name1
    wa_uploadtxt-name2
    wa_uploadtxt-age.
    APPEND  wa_uploadtxt TO itab.
    ENDDO.
    CLOSE DATASET ld_file.
    ENDIF.
    2. If the another file get's generated in the application server with same file name then the data in old file get's over written with the new data. You are not required to delete the file.

  • Process TIFF file from FTP server using File/FTP adapter

    Hi,
    I have a requirement to process a scanned document TIFF file from a directory on an FTP server using the File/FTP adapter and process through XI into a Web Service via a receiver SOAP adapter.
    My question is can the file/FTP adapter be used to process the TIFF file into XI from an FTP server ? Also, what settings need to be made on the file adapter to allow this file to be processed into XI ?
    Thanks in advance
    Colin

    hi colin,
    TIFF is type of image file, it can be converted to binary using java mapping
    refer this pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    regards
    Ramesh P

  • Urgent : Download file from Application Server via Process Chain.

    Hi Experts,
    My requirement is to download the file from Application Server to local work station using an ABAP Program .
    I want including the above ABAP program in a process chain to execute  the program daily,
    I tried to use ARCHIVFILE_SERVER_TO_CLIENT and GUI_DOWNLOAD but unfortunately both the above FM doesn't support to run through Process chain.
    Can any one of you help me to send the code which selects a file from application server, downloads to local system and deletes it.
    Thank you very much for spending your precious time in this regard.

    Hi Sailekha,
    Regarding your case ..
    I suggest you to create the program where it run this function: WS_DOWNLOAD.
    After it, the program is run by your process chain.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for the points you choose to assign.

  • Generating tab delimited file on presentation server

    Hi All,
    I have to generate a tab delimited file on presentation server. The file shouldn't have '#' as separator. Instead it should be separated by TAB (when you press TAB button, some spaces will come naa... like that) ' '. Please advice me how to do this...
    Thanks in Advance,
    Regards,
    Phani

    Hi,
    Check this example..
    DATA: BEGIN OF itab OCCURS 0,
    matnr TYPE matnr,
    werks TYPE werks_d,
    END OF itab.
    itab-matnr = 'ABC'.
    itab-werks = 'ASDF'.
    APPEND itab.
    itab-matnr = 'EFG'.
    itab-werks = 'DHIS'.
    APPEND itab.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    filename = 'C:\test.txt'
    write_field_separator = 'X'
    TABLES
    data_tab = itab
    EXCEPTIONS
    file_write_error = 1
    no_batch = 2
    gui_refuse_filetransfer = 3
    invalid_type = 4
    no_authority = 5
    unknown_error = 6
    header_not_allowed = 7
    separator_not_allowed = 8
    filesize_not_allowed = 9
    header_too_long = 10
    dp_error_create = 11
    dp_error_send = 12
    dp_error_write = 13
    unknown_dp_error = 14
    access_denied = 15
    dp_out_of_memory = 16
    disk_full = 17
    dp_timeout = 18
    file_not_found = 19
    dataprovider_exception = 20
    control_flush_error = 21
    OTHERS = 22.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
    MESSAGE s208(00) WITH 'File downloaded'.
    ENDIF.
    Thanks,
    Naren

  • How to Generate PDF file on the server

    Hello Everybody !
    I Need to generate a PDF File on the server, and I'm usin the command :
    "OPEN DATASET p_path FOR OUTPUT IN BINARY MODE message l_verro .
           LOOP AT t_lines.
             TRANSFER t_lines-tdline TO p_path.
           ENDLOOP.
           CLOSE DATASET p_path.  "
    The File was generated, but is corrupt . Don't Open the file, It's wrong.
    When I use the function GUI_DOWNLOAD the file is generated  right. But in the server not.
    Can someone help me please ??
    Best Regards,
    Wagner Duarte

    Hi.
    did you check this post?
    Download PDF File to SAP Application Server
    It doest the same as you are asking.
          " Write PDF Binary Data to App Server
        OPEN DATASET lv_filename FOR OUTPUT IN BINARY MODE.
        IF sy-subrc = 0.
          LOOP AT lines INTO ls_data.
            TRANSFER ls_data TO lv_filename.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET lv_filename.
    Regards
    Miguel

  • Zend framework files on my server generated by FB4

    I don't want to put all the zend framework files on my server generated by FB4, what is the minimum I need to upload to get the progect to work with the generated php stuff.

    The followng folders have to be present.
    Amf, Config, Db, Loader, Reflection, Server, XmlRpc.
    These folders along with other php files under ZendFramework\library\Zend are minimum things which have to be uploaded for the php project to work fine.
    The total size of the above mentioned folders and files will come upto 2.4 MB.
    However, you might loose some functionality like authentication, session management, etc., which are provided by ZendFramework (if you decide to upload only the above mentioned files and folders). If you are not using such functionalities, you need not upload them, there by minimizing the ZendFramework size.
    Hope this helps.
    Thanks,
    Sudhir

  • Unable to generate WSDL file in quality server in SOAMANAGER

    Hi Experts,
       I have developed a webservice in DEV  and generated the wsdl file in soamanager and it works fine. Now when i transport it to QAS webservice gets transported  ( SE80 i can see it  ) and in soamanager when i go to generate the wsdl file for QAS server it is not allowing me to do it.  In soamanager when you click on 'Open WSDL document for selected binding'  nothing happens. In the same screen it says ''Services: 0 / Endpoints: 0 '' .  
       In SICF i see the webservice name however  below that i dont see any nodes extending  but in DEV i see the client name and once again the webservice name in the below nodes.  It appears as below in DEV
    /default_host/sap/bc/srt/rfc/sap/zfi_customer_balance_sms/555/zfi_customer_balance_sms/
    But in QAS it appears as below
    /default_host/sap/bc/srt/rfc/sap/zfi_customer_balance_sms
    I have also transported the SICF entry to QAS ie right click on the webservice, click on Obj Directory entry  and put it in a TP and transport.  Even then the nodes dont appear in QAS.
    I am doubting wheather some services need to be activated in SICF.  I just need to generate the wsdl file in QAS and later in PRD.
    Any help on this will be greatly appriciated.
    Thanks
    Govind

    Hi Govind,
    To get the web service working in DEV you configured an endpoint for it using SOAMANAGER right?
    You need to do the same endpoint configuration again in QAS & PRD once you transport it there. When you transport the web service between the environments the endpoint configuration in SOAMANAGER isn't transported as well. You need to repeat the configuration exercise each time you transport the web service.
    If you are transporting lots of web services then there is functionality to do mass configuration of these web services.
    Regards, Trevor

Maybe you are looking for

  • My macbook pro no longer detects my camera.

    My macbook pro no longer detects my camera. After downloading thousands of photos, my mac no longer sees my camera.  Nothing has changed.  I have tried restarting the mac, using fresh batteries, different usb ports. When I try to download photos, iph

  • Output of foreach loop is blank

    Hi all, I've been PowerShelling for about a month or two now and picked up a decent amount of knowledge (and enjoying how useful PS is!). However, a script I am writing has me completely stumped. The script prompts the user for a list of usernames wh

  • Here's a tip to get the Mail program in Snow Leopard talking to iCloud

    I don't know what Apple did today, or very recently, but my Snow Leopard systems can no longer get to my email account, which is a MobileMe to iCloud conversion. Its been working just fine prior. It looks like the server names for MobileMe dropped of

  • How would one create a template for articles?

    My website: ModTheBox I have tried finding a tutorial to make a standard template for articles (the updates on the site); without this this standard template (or whatever would need to be created to make it more standard) I have to go through a proce

  • Radeon x1600 and final cut pro

    i installed final cut pro on my mbp and it wont run because it says that the AGP graphics card is missing...so can final cut pro not work on a mbp and is there any way of getting around buying a new graphics card? any ideas? thanks oh and am i missin