Create and send file to front-end for download.

Hi,
In a nutshell I need to give users the possibility to download the contents of a table as a CSV file.
From what is understood, this would happen like this:
1)loop over the context node and write a file (table.csv) with the contents of each cell separated with a semi-colon. (or is there an API available to write the contents of an entire node/table)
2)send this file to the front-end so that a file download automatically begins and user can save it on the hard-disk.
Has someone done this before? If so, is it possible to share the code?
As usual, big points will be awarded.
Thanks!
faB

Hi faB,
Refer "Exporting Context Data into Excel Using the Web Dynpro Binary Cache" by Bertram Ganz. This document will be very much helpful for you in exporting the context data into excel.
You can get the sample code and corresponding documentation from the following link
"Tutorial on Excel Export Using the Web Dynpro Binary Cache - 34"
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on excel export using the web dynpro binary cache - 34.htm
You can also use HSSF API for exporting the context data into excel
"Create an excel file from JAVA using HSSF api" by Prakash Singh
/people/prakash.singh4/blog/2005/03/16/create-an-excel-file-from-java-using-hssf-api
Regards,
Santhosh.C

Similar Messages

  • How to include flex files as front end for struts in myeclipse

    Hi ,
    If any body knows to how t o include flex(Adobe 2) files as front end for struts in myeclipse application.

    <property name="messaging.client.jar.path" value="Location in your local drive" />
    <property name="messaging.client.jar.name" value="nameOfYourFile.jar" />

  • Create a portal/front end for ADF Panels.

    Hi All,
    I have developed an ADF app which consists of several ADF Panels, each ADF Panel allows the user to run a few simple queries against an Oracle database done using ADF view objects and ADF view links and one single ADF application module. I then drag and drop these ADF Panels into a single ADF Form as a runable item bottoms, from within the Form.
    This runs as a client app swing and is not web based.
    Running the ADF Form which as I described earlier includes all my ADF Panels as runable bottoms is extremely slow since Jdev by design loads all these ADF Panels before even user clicks on it, and once you close the ADF Panel that you just run Jdev does a terrible job cleaning the memory and keeps binding open and un-cleared in memory which causes the app to become slower and slower as it is being used.
    I can execute each ADF panel independently outside of the ADF Form and outside of the Jdev without any problem from Windows command line, and all runs much better than putting all these ADF Panels into ADF Form.
    What I am looking to do here is to create a portal/front end for these ADF Panels and allow user to click on a bottom which would then execute the command line for the execution of the ADF panel, very much like when I execute the ADF panel from the Windows command line.
    Any suggestion backed by some documentation or steps I should follow is mostly appreciated.
    Thanks.
    Bobby A.

    Thanks for your time, but I cannot make a front-end in C. It has to be in JSP (or in ASP but I haven't tried yet to program in VBA).
    So that is why I am asking what is the best way of attaching a JSP front-end to the given API.
    PS: Why should I code a .dll to provide a JNI interface for the api? Isn't the JNI interface capable of doing such?

  • How to create Word file and send file in mail as an attachment

    Hi Guys,
    I want to create report which fetech data from table and create word file of the same data and send file in mail as an attachment.

    Hello Sagar,
    Before posting please use GOOGLE,any way it may help u,
    DivulgeSAP: Send email with PDF, ZIP, TXT etc., as attachment from CL_BCS interface
    Thanks
    Sam

  • Can we run in Background job which can pick a file from front end ?

    Hi All,
    I would like to run a report in Background job , for this i need to pick a file from front end services(Local drive or share folder)
    Is there any alternate FM=>GUI_UPLOAD  to upload data from front end services or any other solution for this?
    I am getting error=> "No batch" and " Cannot perform frontend function in batch input mode"
    Could you please help on this ?
    Thanks for your help in advance.
    Regards,
    Prasad.

    Hello Prasad,
    IF you keep your file on a shared folder on your front end, you can access it via OPEN DATASET if your application server has access to that path.
    You can test it out by asking Basis to try and access your front end file from the app server itself.

  • Create a flat file with multiple characters for enclosures

    Hello,
    we use OWB 11g2 (11.2.02).
    Now we try to create a flat file with multiple characters for enclosures. The manual wrote:
    "Enclosures (Left and Right): Some delimited files contain enclosures that denote text strings within a field. If the file contains enclosures, enter an enclosure character in the text box or select one from the list. The list displays commonenclosures. However, you may enter any character. The default for both the left and right enclosure is the double quotation mark ("). You can specify multiple characters and hexadecimal characters as field enclosures."
    But it will not work. The OWB use the first character from the left enclosure definition as left enclosure and the second one as right enclosure !?!
    Did anyone know this behavior? Is there a solution for this problem?
    Thanks and regards
    Norbert

    HI Raghu,
               Use the function module 'GUI_UPLOAD'.
               In that you have to specify the field_separator value = 'X' in export section.
    Regards,
    S.C.K

  • Front End for Upgrade 3.5

    We are upgrading from 3.1 to 3.5. I'm assuming we will need a different front-end for the 3.5 vs. 3.1. Can someone please verify and also is there a easy way to switch between the two front ends in order to connect to both 3.1 and 3.5
    Will reward points as always.
    Richard

    We're in the middle of upgrading from 3.1 SP 22 BW w/6.20 SAPGUI. We've only upgraded a sandbox BW server at this point, but we have upgraded all BW team members with SAPGUI 6.40 FEP 5 and can successfully connect to our 3.5 and 3.1 BWs.

  • Business One and Open Source Web Front-Ends, PHP etc.

    Hi there,
    I am a complete newbie to all things SAP, so please excuse my ignorance.
    I am trying to implement a solution for SAP Business One, including a web front-end for queries and information. The  SAP backend is running on a SQL Server, Windows 2000.
    The catch is, I won't be running the web front-end off a Windows server. I need to find a solution for an Apache server, running (probably) PHP but could be JSP or any other scripting language to access SAP - but it will be running on a separate server, non-windows.
    I have been given examples of people getting access to the DI Server using PHP, but it all involves a call to a COM() function that won't run from anything except a Windows server.
    How can I acheive the same result running a PHP page from an OpenBSD or Linux / Apache server? Is the DI Server the right thing to be looking at, or am I going in completely the wrong direction?
    Any help would be appreciated.
    Thanks,
    Nick.

    post your question in SAP Business One SDK for better response.
    Regards
    Raja

  • Create and send EDM using Adobe MUSE and Business Catalyst.

    There is just one thing missing in my armour as a graphic designer – creating and sending EDMs.
    Given the success of creating websites using Adobe Muse, an EDM functionality would be a fantastic addition to MUSE and Business Catalyst (BC). Imagine this:
    1. I open Adobe Muse.
    2. I select "New EDM"  (instead of "New Site").
    3. I design and build my EDM to spec.
    4. I test my EDM using 'Preview' or a single send to myself.
    5. I publish my EDM to Business Catalyst.
    6. In BC, I review my EDM and add 'FROM NAME', 'FROM EMAIL ADDRESS' and 'SUBJECT'.
    7. I import my database.
    8. I hit SEND!
    After my EDM has gone out, I can review a report in BC - just like any report for a website.
    As a designer that does not know code but can build a website using MUSE - creating an EDM is the one thing I can't personally offer. Using a digital supplier can be expensive and website like Mail Chimp aren't professional enough.
    To the Adobe Muse team, please – for the love of humanity – consider this as viable addition to MUSE. You will save a lot of heart ache and win a lot of hearts.
    Thanks,
    Phil

    Done!
    See here: Create and send EDM using Adobe MUSE and Business Catalyst.

  • How to download free SAP GUI front end for ECC6

    Hi,
    How to download free SAP GUI -Front end for ECC 6
    SD

    Ask your Basis people and they  can give it to u, Its take almost 1 GB  of Space or even u can try in the internert for SAP GUI version for free download. SAP GUI for Windows 7.20 patchlevel  is now available.
    You may download it from the SAP Service Marketplace here.
    Best Regards,

  • Create and send an email as a delegate using EWS Managed API

    Hi All,
    I would like to create and send an email as a delegate using EWS Managed API for that i have crated one user as a delegate to that mailbox owner.
    after adding user as delegate, when i try to create an email The EmailMessage class taking only FolderId as parameter but not taking Mailbox object as parameter. But in web reference they said that EmailMessage taking FolderId and Mailbox object as parameter.
    EmailMessage message = new EmailMessage(service);
    message.Subject = "Company Soccer Team";
    message.Body = "Are you interested in joining?";
    message.ToRecipients.Add("[email protected]");
    message.Save(new FolderId(WellKnownFolderName.Drafts, new Mailbox("[email protected]")));https://msdn.microsoft.com/EN-US/library/office/dn641963(v=exchg.150).aspx#bk_createewsmacould you people please help me on this?ThanksNaresh

    Thanks for reply glen.
    I have added delegate using Add-MailboxPermissions. Now i am able to save an email in mailbox owner drafts
    folder.
    Glen,
     I have a one more question.(I am using EWS Managed API).
    I(owner) have shared my calendar(eg. samplecalenderfolder) with another user(delegate) (i.e.,he is the
    delegate of my mailbox) and i have given only permission to the this folder(samplecalenderfolder)
    only and the permission level is Reviewer.
    if i login with user(i.e.delegate) i am not able to get the shared calendar folders(i.e.,samplecalenderfolder)
    that what i a have shared.
    below is the code snippet i am using to get the calendar folders.
    Folder folder = Folder.Bind(service,WellKnownFolderName.Calendar);
    FindFoldersResults addtionalFolders = service.FindFolders(folder.Id, new FolderView(10));
    could you please tell us how to get the shared calendar folders.
    Thanks
    Naresh

  • How to Clear the history in Front End for one or more users

    Hi All,
    Need small help. Can any body tell how to clear/delete the history for a user in the BW front ends for example for a Query Designer or a Reporting user.
    I tried, but didn't work.
    Thanks for the help.
    Regards,
    Venkat

    Venkat,
    History is stored in DSO 0PERS_BOD. You can do a selective delete of data based on the user name from this DSO to delete history.
    HD

  • How to create and send clob value to SP?

    Hi,
    Does any one of an example of how to create and send
    a clob value(as a IN parameter to storedprocedure) from JAVA to
    the StoredProcedure. I need the JAVA code.
    null

    Hi 
    Following is sample code you can use.
    DECLARE @testID Int
    DECLARE @year int 
    DECLARE @testtype datatype
    SELECT @testtype=testtype from yourTable Where Your condition
    SELECT  @year= year from yourTable Where your conditon (you need to make sure you assign or get @year variable )
    SELECT @testid=id from test where  year=@year and testtype=@testtype)
    Hope this helps
    Regards

  • Create and send email issue with UCCX/IP-IVR 8.0 script

    Hi all,
    I am facing issue with create and send email option with script. In my call flow there is an option to offer call to key in their phone number and script need to pass that phone number to supervisor as an email. I have created the script but every time when I key in the phone number is pass through the unsuccessful node. Please find the script as attachment.
    Thanks and Regards,
    Ashfaque

    Hi How Yee,
    Which version of UCCX/IPIVR you are using and what is the type of license? Because this feature is only supported with Premium License. Please check the UCCX data sheet from the below link.
    http://www.cisco.com/en/US/partner/prod/collateral/voicesw/custcosw/ps5693/ps1846/data_sheet_c78-629807.html
    You will get the information under "Integrated IVR Features with Server Software" of table:4.
    Thanks and Regards,
    Ashfaque.

  • How do I create, and send a group email on my iPhone?

    How do I create, and send a group email from my iPhone 4?

    How to send group email without additional APP
    Just spent an hour on ichat.  Long and short....can't send group email.  The group name appears in the TO: line, but if you click on the group name, only the first email address is blue..the rest are black and will not get the email.  We tired using the CC and BC lines...same result. 
    However here is one solution:
    I sent one email with each of the group (we are only 9 ) in the TO: line.  I included my primary email.  When it came to the iphone, i moved it to one of the subfolders.  (Each account you may have has a list of the inbox at the top and Account at the bottom.  ... that is where you can access the subfolder)
    I moved the email with all names to that subfolder.  I can then, open it ...do a relpy to all and just change the message and subject line.   It is cumbersome, but it does work.  I really think Apple, a company committed to ease of use, needs to review this flaw.  I suspect it may be a bandwidth economy ....  and i feel the pain of the providers...but you did create the beast. 

Maybe you are looking for