Download sap query

hello everyone
i have found a link on the sap ftp website contains some links and i want to know if those links contains the sap ERP or not the link is below
ftp://ftp.sap.com/pub/sdn/devkits/netweaver/abap/
thanks in advance

hi
gothry the link.. might be of some use..
Converting SMART FORMS output to PDF format(Program)
http://www.****************/Tutorials/Smartforms/OTF2PDF.htm
Reward if USeful
Thanx & regards.
Naren..

Similar Messages

  • Error 'Unable to open file' when downloading SAP Query to Excel

    Hi all
    I'm running a SAP Query which is set to download straight to a spreadsheet (Pivot Table / Microsoft Excel).  Intermittently it does not work -  apparently at random (at least, I've can't recreate the error at will).
    It does one of the following:
    - Works ok, and creates the pivot table
    - Gives an Excel error message 'Unable to open file', then returns to the 'save the data in a spreadsheet' popup when enter is pressed on the error.
    - Does not issue error message, just goes to the 'save the data in a spreadsheet' popup.
    In the last two cases, the excel pivot table sheet is not created.
    Has anyone seen anything similar, or have any idea as to what is causing the problem?
    Any help gratefully received!
    Not urgent as I've found a way round -  further testing seems to show that I don't get the error is Excel is already open - but in the past I've run many SAP query downloads without needing to open Excel first.  I suppose it's possible that this is just something to do with the Excel setup at the user site
    Message was edited by:
            E Gregory

    Hi,
    Ensure that file name with same name and in same path should not be open while saving the data.
    Award if it helps.
    Jogdand M B

  • SAP Query  output  download to Excel

    Hi  All,
    Once I export/download  Query Output to Excel  the fields are not in the order of  Actul Query output
    <u><i><b>Char fields are treated as Key fields and displayed Left side.</b></i></u>
    As it is a SAP Query where to keep this kind of setting(key columns = 0).?
    Thanks in advance and useful answer will be awarded.
    cheers!!
    Komatsu

    when u download data to excel sheet, u can't handle the data from SAP....The data in excel takes excel properties and accordingly data gets adjusted to the formats of excel.
    If u need formatting u need to use OLE concepts in SAP from which u can set the formats of Excel Sheet.

  • SAP Query  output  download to excel   fields order is different

    Hi All,
    while download Query Output to Excel the fields are not in the order of actual Query output
    Char fields are treated as Key fields and displayed Left side.
    As it is a SAP Query where to keep this kind of setting(key columns = 0).?
    Thanks
    Komatsu

    when u download data to excel sheet, u can't handle the data from SAP....The data in excel takes excel properties and accordingly data gets adjusted to the formats of excel.
    If u need formatting u need to use OLE concepts in SAP from which u can set the formats of Excel Sheet.

  • SAP Query :  Excel sheet  download problem

    Hi,
    While executing a Z SAP query in SQ01 and data is displaying  fine in the ALV format. But when we export the data to excel sheet, every column is appearing twice (repeating only the header,  with empty items)
    something like this......
    Excel sheet...
    Header MATNR  MATNR  MATKX MATKX   LIFNR  LIFNR  KUNNR   KUNNR
    Item     10                       Test                   ABC                ABC
                  20                       Test2                 XYZ                 XYZ
                  30                       Test3                 MNO               MNO
    What can be possible cause of this ? What can be the corrective step to the issue?
    Thanks,
    Jai

    Hi ,
    Please follow the below step .
    In SQ01 --> In the List Display screen --> click on Export --> Local file --> Spread Sheet --> Give the File name and click on generate .
    It s working file . and i can be able to download all the records to excel without any repeatation .
    Thanks
    Pavendhan

  • How to find the report for the SAP query (Query exists in table AQLQCAT)

    Hello Experts,
    I need to find the tables used in the SAP Query but i don't have access to transaction SQ01,SQ02 and SQ03 to check the same.
    Therefore i checked table AQLQCAT and got the SAP Queries in the system. Then searched for the reports that would have been generated for the same passing  AQusergroupquery name*  in transaction SE38.
    But unfortunately the program does not exists for the given paramenter.
    Could you please let me know how to get the report name for the SAP Query.
    Secondly please suggest any other way of checking the tables used in the SAP Query.
    Also the table name from where i can download the SAP Queries.
    Thanks in advance.
    Regards,
    Rahul Sinha

    I suggest you a simple method.
    Execute the query. When the selection screen is showed,  go to menu and click to SYSTEM->STATUS.
    Check the program name and double click it to access the program code.
    Search for tables or functions into the source code in order to understand where data are taken.
    If you do not find anything , go to the program atttribute and check for logic database, sometimes they are used....
    Best regards.

  • To download the query output to falt file

    Hi all,
    i have a query which i know will give more than 65k records as the output for a selection.
    i cannot run this query in excel due to its limitation.
    if i run on web i cannot download this as downloading is happening to excel file only.
    The customer ideally wants to download the query result to a text file(csv,tab-delimited etc) which inturn it will upload to MS-Access.
    How do i achieve this?
    SAP has given response use try using these options:
    1.open interfaces to receive the output of a query via the MDX language.
    2.open hub tool as it is designed for big amounts of data.(i suppose this is not possible as i want to download query output not the data target contents)
    how do i achieve my scenario with option 1?
    Are there any alternatives??
    Any useful help will be rewarded.
    Regards,
    Dhanya.

    hi vivek,
    thnks for the useful reply.
    i have some problem with my ID,hence loggin in through my coleague's ID.
    i will assign u points as i get logged in.
    I did as u said by downloading it to unconverted format.
    the file got download to a text file.where the output has
    1.header rows(10 lines almost)
    2.the values r coming in single quotes e,g:
    '144000023073      'TAAS SETTLEMENT CONV 738 '19333000   '30.09.2006          '0.000
    how can i remove all this?
    Regards,
    Dhanya
    I

  • SAP Query dwonload through report

    Hi All,
    I have a SAP Query. I want to download the output of the SAP query on application server using report.
    please let me know how to use SAP Query in report. Please provide some sample code if you have.

    Do you have option of copying the query to Z report and then incorporate the logic of writing on application server in the Z report...

  • SAP Query format issue (with ABAP list)

    Hi All,
    I had a requirement to remove all unecessary formatting and text from a SAP query report which can be read by a third party software system. We need only Header line and  report data (spaced by Tab).
    I have removed all formatting from the report and changed the output format from "SAP list viewer" to "ABAP list" .
    The issue is that the report shows material number with 12 digits in output but when we download to file then it adds extra six "0" and makes the Material Number field as 18 digit.
    we have already maintained new length as 12 againts the standard length 18 for material number(under field output option)
    Please suggest how to get rid of extra digits generated during downloading.
    Please help,
    Thanks,
    Rohit

    Hi Brad,
    Currently we execute query with SQ01 and from the output screen the user direclty saves the file as "local file..."
    The output format is "abap list". We are able to get the exact format but the only problem is with material number. I cant make changes in the program. Is there a way to download it without changing the 12 character ( as displayed on the report output)
    Thanks for help.
    Rohit

  • SAP Query : Save to file in XLS format in background

    Hello everybody,
    I used the enhancement SQUE0001 for saving result (an XLS file) of SAP query in background.
    I used also the ABAP commands 'OPEN DATASET', 'TRANSFER' and 'CLOSE DATASET' as described in the SAP note 537735.
    The execution of SAP query generated multiple columns. But when I go to see my downloaded file (.xls), all generated columns are condensed into 1  !!!
    How to save the file (.xls) and keep the separated columns, please?
    Thanks for your answers.

    For saving the file in Excel format in the App server you have to first convert the data in XLS format and then use the transfer statement.
    You can either use FM SAP_CONVERT_TO_XLS_FORMAT for that.
    OR
    Create a comma sepreated file which will open in excel.
      open dataset file for output in text mode.
      loop at itab.
        concatenate itab-field1 itab-field2 itab-field2 into str
                      separated by ','.
        transfer str to file.
      endloop.
      close dataset file.

  • SAP Query in Excel

    I actually found what I needed to do this on the forum last week and now I can't duplicate it nor can I find the original forms thread.  I need to get the SAP Query results to a file or to Excel.  The first time I tried this, I executed the query in background, got the spool number then went to SP01.  There I believe it did the following:
    [Execute]
    Selected:  Spool Request / Forward / Export as Text
    At this point, I was presented a popup similiar to when downloading with options: unconverted, spreadsheet, etc.  I selected spreadsheet and everyting went fine.  
    Now when I repeat the process, after I do Spool Request / Forward / Export as Text, the file is automatically written to a text file; I do not get the option to put it in a spread sheet. 
    Please, can someone tell me what I'm doing wrong?  If I hadn't saved the spreadsheet last week, I would have myself convinced I only dreamed that I got it to work.

    You can try this way
    sp01> display spool>spool request> forward> save to local file--> spread sheet
    otherwise try with
    Once you logged in, press Alt+F12 -> Options -> Local Data. Then just press "Clear History" button
    and try spool> forward> write to text

  • VC and SAP Query

    <u><b>System Landscape</b></u>
    NW Sneak Preview Java Edition with EP 6.0 (from SDN)
    VC 6.0, Patch 5
    R/3 Enterprise 4.7 extension set 200 (WAS 6.20)
    <u><b>Scenario</b></u>
    Utilize the BI Kit in VC and use SAP Query from a backend R/3 system to generate VC content.
    <i>(From what I have understood, the BI Kit does not necessarily need BW and can work with a R/3 source)</i>
    <u><b>Questions</b></u>
    (a) Is the assumption correct that the BI Kit can use the SAP Query as a backend to generate content in VC (without a BW system in the landscape)?
    (b) Do I need to install the BI UDI SP stack with the EP in NetWeaver Sneak Preview ?
    (c) What type of systems do I need in the EP ? If I try the "New System" wizard, I do not get an option to connect to a "BI" system. nevertheless, if i try "new from PAR", i have a an option to use "com.sap.portal.systems.BIUDI". Can you help me with the parameters for a PAR - "com.sap.portal.systems.BIUDI" ?
    any other tips / experiences of working with SAP Query and VC are most welcome.
    Regards, Parag.
    Note: I have tried a R/3 system connection and the RFCs are visible in VC

    Thanks a ton Mario, your hints helped me in arriving at the configuration.
    For the sake of completeness, I am listing the steps that led me to a successful config.
    1. Download the BW 3.5 SR1 installation guide from service marketplace
    2. Goto section 6 and perform the steps highlighted for BI Query Connector. Note that if you dont assign a value for the parameter "SERVERGROUP", the default is PUBLIC. So if you have a server with only SPACE (like I had), please do enter "SPACE" for this property.
    3. Edit the services file on the Windows Server and add an entry for your SAP server. For example, my server SID is DEV, hence I inserted the following entry in the service file: sapmsDEV 3600/tcp
    This step is necessary for JCo to work.
    4. Stop and Re-start the BI Query service (using the Visual Administrator)
    5. Test the connection with the following URL - http://<host>:<port>/TSapq/servlet/TestSapq
    This should list you the queries in the SAP system
    6. Open EP (I logged in as admin) and add the system as described in Step 4, section 2.2 of the VC installation guide.
    7. Add permission for "everyone" group to this system
    8. Login to EP with another userid, perform user mapping (personalize option)
    9. Start VC storyboard, login to EP with the other userid (not admin), use Data Service or BI Query Wizard to retreive the queries.
    Why did I have to use another userid ?
    Well, this was because the connection test did not work for me with the admin user, nor was I able to retrieve the queries in VC. Dont know why this didnt work.
    Message was edited by: Parag Jain

  • Reg. SAP Query

    Hi
    I have written an SAP Query for Selection Criteria.
    Example Scenario:
    I want to download list of sales orders in my BAPI.
    The download criteria is maintained as a SAP Query, like, Order Type, Creation Date, Plant etc.
    Can i invoke this query in my report program to fetch the values the user has maintained in the Query Variant?
    Regards
    Meera

    Hi
    I have written an SAP Query for Selection Criteria.
    Example Scenario:
    I want to download list of sales orders in my BAPI.
    The download criteria is maintained as a SAP Query, like, Order Type, Creation Date, Plant etc.
    Can i invoke this query in my report program to fetch the values the user has maintained in the Query Variant?
    Regards
    Meera

  • Error when attempting to download SQ01 query data to Excel

    Hi Experts ,
    I am getting error when attempting to download SQ01 query data to Excel .
    Error message - Contact your system administrator. The following template is missing: sap_om.xls
    Message no. 0K 407
    I have looked through the SAP GUI installation files and can find no record of the missing file
    Help

    Hi
    Please check SAP note 305900 & 803067
    Regards
    Ravinder

  • Error in Excel while exporting from SAP query.

    Hi Gurus,
    While exporting one SAP query to excel the last row/line of information lost partially.
    Means we get some information in the last line of excel but some information is not exported in that same line.
    Can you throw some light on this please....

    Hi
    Due to special Chracters in the Values sometimes this happens when exporting to excel.
    Please download into Unconverted format selection & after downloading Open with excel & save it in excel
    Thanks & Regards
    Kishore

Maybe you are looking for

  • Some keys stopped responding apparently after latest update

    Dear all, all of the sudden, apparently after the latest update, some keys on my native keyboard stop responding from time to time. Mostly I can verify the problem with the a, s, k and l keys. It seems that pressing the combination ctrl+alt solves th

  • Mondo help on this one plz, i spent 20 minutes trying to find out solution

    I had my iPod plugged into my powermac g5, I was putting songs onto it. Then I shut off my computer and went to sleep. I wake up and come to my iPod and there are NO songs on my iPod, NOTHING is there. And when I plug it in iTunes says: "iTunes canno

  • Crystal Report Universe Connection

    Hello, I have a Crystal report developed based on Universe as the data source. Say this report is in Dev environment. Suppose I need to promote this report to Test environment to UAT or production then how is it possible?     I have used import wizar

  • Lost email icon on my home page screen

    I do I get my email icon back on my homescreen

  • Layout of the graphic

    Dear experts, I have a quesiton regarding as the graphic in WAD. Can I put the caracteristic on the Y-Axis and the key figure on the X-Axis? Thanks in advance.