How to download the application file to local file by back ground job?

hi:
  can any one tell me how to download the application file to local file by back ground job? thanks in advance..
Monson

Hi,
In order to download a file from application layer to a local file in background,
first write a report(ZREPORT1) in which do the following steps:
OPEN DATASET g_file_1 FOR INPUT IN TEXT MODE ENCODING DEFAULT.
loop the g_file and append all the data into another internal table.
end of this report you shd have all the data in the application layer file into your internal table.
Now create another report(ZREPORT2) and submit this report in background.
that is,
JOB_OPEN
JOB_SUBMIT and
JOB_CLOSE
and in job_submit submit ZREPORT1 which downloads the file in application layer.
Please reward points if helpful.
Regards,
Arul.

Similar Messages

  • How to download the attachment text to local file.

    Hi Xperts,
    My requirement is at the time of workitem execution, Approver can write the attachment with the reason for Rejection.
    Now, I need to down load that attachment content to local file and then that content needs to be updated in the PO Header changes.
    I can able to get the attachment files' title, size and everything from the DB Table SOOD. But there is no Attachment's content is getting updated in that table.
    Will you pls let me know how to download the content of the attachment to a local file from the sap.
    ThanX in ADvance.
    Krish.

    HI Arghadip Kar,
    By using the Function Module SAP_WAPI_GET_ATTACHMENTS, we can get the Object id of the attachment, but not the content of the Attachment.
    But, my requirement is to get the content of the attachment.
    Best Regards,
    Krishna.

  • How to download the script data into pdf file

    how to download the script data into pdf file
    i have one option to download the script data to pdf file --->rstxpdft4 program.
    i have one doubt how to use this proogram.or any function module to download the script data to pdf file.
    Thanks and regards,
    Sri.

    Hi      Sri Sai,
    I know one method to convert the sapscript to pdf file :
    first generate a Spool Request for the required Sapscript
    then goto transaction SP01 and copy the generated Spool Request number
    now execute the SAP report RSTXPDFT4
    here enter the copied Spool request number and the target directory into the parameters
    execute the report
    required pdf file will be generated into the target directory
    i hope it will help you out
    Please refer this simple program:
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    Reward points if found helpful....
    Cheers,
    Eshwar.

  • How to download the application with my apple ID

    how to download the application with my apple ID

    What have you tried or are you asking how to do it from scratch?
    https://itunes.apple.com/us/app/apple-store/id375380948?mt=8

  • How to download the PO data to excel file

    Hi..
    How to download the SAP purchase order details on EXCEL file.
    Thank and Regards
    Baskaran.P

    Use tables EKKO and EKPO for header and item detail information
    Use the below reports
    Source - SAP Standard Reports - ERP Operations - SCN Wiki
    No
    Broad level Report
    Options available for report execution
    Tcode in SAP
    Remarks
    Used by
    Report area
    1
    Purhase order analysis
    By delivey schedule
    By purchase order details
    By purchase order hostory
    ME80FN
    This report can be used for displaying the information of purchase orders created and the transactions that has taken place.
    Purchase
    Purchase
    2
    Purchase order display
    By supplier
    By material
    By buyer
    By plant
    ME2L
    ME2M
    Facility available to restrict the viewing based on the status of PO viz. Partly received,
    Closed, No GR made
    Bill passing not done , etc.
    Purchase
    Purchase
    3
    Anlysis of order values
    By Material
    By buyer
    By supplier
    ME81N
    Totals analysis
    ABC analysis
    Analysis using comparison period
    Frequency analysis
    Purchase & Finance
    Purchase
    4
    Goods receipt forecast
    By purchase order
    By vendorwise
    By material wise
    ME2V
    Number of anticipated deliveries
    Pruchase & Stores
    Purchase
    5
    Stock lying with subcontractors
    By Supplier
    By material
    ME2O
    Can be useful in deciding which component is to be given to supplier if the procurement is on subcontracting basis. It also helps in giving the visibility of stocks lying at subcontractor.
    Pruchase & Stores
    Purchase
    6
    Monitor supplier confirmation
    By Supplier
    By buyer
    ME2A
    This program is useful especially for imported purchase orders or such cases where the lead time of procurement is very high.
    Purchase & planning
    Purchas

  • How to download the full debug tool installation file?

    HI,
    I only find the installation program for debug tools at http://msdn.microsoft.com/en-us/windows/hardware/hh852365, but this program still needs to connect to Internet for downloading the real installation files. 
    Where is the location to fully download the debug tools installation file? I don't want to download it every time when I need to re-install it.
    thanks
    Ah_Chao|| MCSE,VCP,EMCSAe

    Microsoft, in their unfathomable wisdom, removed the standalone installer of the debugging tools. Now it seems to be available only in the SDK or WDK. So go get one of these kits (even if you do not want), locate the debug tools installer in the downloaded
    stuff and copy it to install on other systems.
    -- pa

  • How to download the SAP client into text file

    Hi,
    I want to download a SAP client to a text file for backup and then upload it again for restoration when needed. Can this be done?

    Hi,
    Regarding which data you want to export, you have to select the corresponding profiles in SCC8:
    If you want to export transaction data & master data (this is together known as application data), then you have to select the appropriate profile. Alongwith application data, customizing data would also be there, because it cant be transferred alone. ALso, you can choose whether to export user data or not.
    But please note that repository data (programs etc) would not be part of this export.
    The transaction is SCC8 for client export.
    For importing you can import like any other transport request.
    For details you could refer to the below link:
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c24c824ba111d189750000e8322d00/frameset.htm
    Thanks & Regards,
    Kunal.

  • Urgent!!!!!!! How to run the application using webui,server files in Jdev

    Hi All,
    I have bit knowledge on OAF
    I have webui,server files which I took from Server
    Now I want to run this application thru Jdeveloper
    How can I do it?
    Please any help would be greatly appreciated
    Best Regards
    HHH

    As told numerous times on this forum, personilization values only affect if at coding level that property is not set, if in controller code initial value property has already been set, then it will take over your personilzation properties. So better check and confirm this!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Parameter in WEBADI How to Download the WebADI Excel File with Parameter

    Experts, How to Download the Oracle Web ADI Excel File followed by entering Parameters which means the spread sheet should display the data dynamically based on the parameter provided by the end user. Can anybody share any hint or idea? Regards, Gaurav Nagpal.

    Can anybody help me please!

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

  • How to give the application server file path in the module pool programming

    Hi,
         Could somebody help me how to provide the application server file path in module pool programming once the logo is uploaded to sap system.
      For eg I have imported a logo name ‘owens’ into sap system by using transaction ‘se78’; now I need to call the path in the below url,
    if container2 is initial.
    CREATE OBJECT CONTAINER2
      EXPORTING
        CONTAINER_NAME              = 'PICTURE_CONTAINER2'.
    CREATE OBJECT PICTURE2
      EXPORTING
        PARENT = CONTAINER2.
    CALL METHOD PICTURE2->SET_DISPLAY_MODE
      EXPORTING
        DISPLAY_MODE = CL_GUI_PICTURE=>display_mode_fit_center
      EXCEPTIONS
        ERROR        = 1.
    CALL METHOD PICTURE2->LOAD_PICTURE_FROM_URL
      EXPORTING
        URL    = " ? "
      EXCEPTIONS
        ERROR  = 1
        Others = 2.
    endif.
    Thanks in advance
    Deepu

    hi Deepu,
    Use FM '/SAPDMC/LSM_F4_FRONTEND_FILE' for fetching the data from the application server path/presentation server path
    Regards,
    Santosh

  • How to Download CS6 applications from the Cloud

    Does anyone know how to download the older CS6 applications from the cloud?
    I cnat find them. They are on the Adobe site, but if you click "download" is says "download them from the cloud... I go to the cloud and dont see them anywhere... What am I missing?

    http://helpx.adobe.com/encore/kb/encore-cs6-installed-cc.html is about Premiere Pro and Encore... I do NOT know if any other CS6 programs are available "free" with CC
    If you wish to BUY any or all CS6 programs go to http://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html?promoid=KFPMZ

  • Oracle WebADI: How to Download the WebADI Excel File with Parameter

    Hello Friends,
    How to Download the Oracle WebADI Excel File with Parameter??
    For Ex: How to download the Employees for Specific Department from Oracle WebADI.
    And After to change the specific changes on Employee Data to Upload.
    Thanks in Advance.

    Hi Team.
    Any Advise on it!!

  • How to download the blocked ALV output to PDF file.

    How to download the blocked ALV output to PDF file.
    I am able to download the BLocked ALV output in PDF format,
    but the each bolck in ALV is displaying different pages of PDF.
    In my report I have 4 block in 1 page, I am able to see the output in PDF but in different page.
    How to avoid the Page-break in PDF.
    Thanks,
    Ravi Yasoda.

    hi,
    I believe that your have 4 containers on the screen with individual ALV display. in this case, there is no way to get combined PDF output to my knowledge.
    However you can use Smartform/Sapscript as output which would allow you to display ALV in blocks and also print it in one.
    Regards,
    Nirmal

  • How to  download the content to a PDF source file.

    Hi All,
    I am using FileDownload UI element in the ADOBE  interactive to download the content to a PDF file.
    Please help me how to download content to a PDF file.
    Thanks,
    Archana.

    hi Archana,
    you will get the byte format of the pdf form the pdf source attribute , create  a resource using that byte data of type pdf as following
    IWDResource iwdResource = WDResourceFactory.createResource(wdcontext.currentContextElement().getPdfSource(), "resource name", WDWebResourceType.PDF);
    create a context element say fileresource of type iwdresource.
    set it's value as following.
        wdContext.currentContextElement().setFileResource(iwdResource);
    and do the following code on the action of the download button.
    public void downloadFile( )
        //@@begin createExternalPopup()
        // get the resource from the context
        IWDResource resource = wdContext.currentContextElement().getFileResource();
        //create an external window. A download dialog should appear
        IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal()) ,"Title");
        //@@end
    with regards
    shanto aloor

Maybe you are looking for