EXCEL Web Query  - load into SAP via Web dynpro or standard ABAP

Hi everybody
I was wondering if you can run an EXCEL WEB Query from abap and then upload the data retrieved from the web into SAP using either a web dynpro application or standard SAP.
For standard ABAP one could probably run the EXCEL web query by executing some code such as
call method cl_gui_frontend_services=>execute
exporting
document = 'your excel web query file'.
You could then save the data and using GUI_UPLOAD get it into sap.
I'd really like to do it via a web dynpro application.
Any ideas anyone.
For guys who've never used EXCEL web queries --quite easy.
Open EXCEL
go to Import External Data
Choose New web query
Enter URL of where you want to retrieve your data from such as YAHOO finance etc.
For example to get the components of the Dow Jones Composite Index (^DJA) use this url
http://finance.yahoo.com/q/cp?s=%5EDJA
click the yellow arrow on the table data you want to import. The arrow will turn Green and press IMPORT
Then enter the cell number where you want to start importing data
Hey presto you've got your data from the web.
Cheers
jimbo

when you create a new webquery, in the properties, you can set when the page should refresh (data fetch to happen), you can set that to refresh at file open.
then you can use either OLE or gui_upload to upload the excel to read the data.
have couple of question:
why do you want to choose excel webquery ?=> is it because the ability to get unstructured data from the web?
what sort of data you are trying to read from the web?=> most of data centric sites (forex, stock quotes) will have either RSS feeds or some web APIs to get data which can be easily consumed by ABAP
Regards
Raja

Similar Messages

  • How to build a WEBI query on a SAP NANA OLAP connection?

    hi fellows,
    we all know that a relational connection can be built to SAP HANA database, and we build data foundation, biz layer to publish it to the repository, so that we can create a WEBI report based on a query to visit the universe.
    However, does anybody know how to create a WEBI query on a SAP HANA OLAP connection?  Since we don't need to build any data foundation on it.
    I created a sap hana olap connection, but failed to find anywhere to publish it?  Can anybody help?
    thanks,
    Jennifer

    Hi Jennifer,
    Check SCN thread http://scn.sap.com/thread/3493857.
    Also check below for Creating a SAP Universe on HANA: Best Practics.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00922ede-de2f-2f10-c2aa-f9b0f6495d34?overridelayout=t…
    Regards,
    JC

  • Data load into SAP ECC from Non SAP system

    Hi Experts,
    I am very new to BODS and I have want to load historical data from non SAP source system  into SAP R/3 tables like VBAK,VBAP using BODS, Can you please provide steps/documents or guidelines on how to achieve this.
    Regards,
    Monil

    Hi
    In order to load into SAP you have the following options
    1. Use IDocs. There are several standard IDocs in ECC for specific objects (MATMAS for materials, DEBMAS for customers, etc., ) You can generate and send IDocs as messages to the SAP Target using BODS.
    2. Use LSMW programs to load into SAP Target. These programs will require input files generated in specific layouts generated using BODS.
    3. Direct Input - The direct input method is to write ABAP programs targetting on specific tables. This approach is very complex and hence a lot of thought process needs to be applied.
    The OSS Notes supplied in previous messages are all excellent guidance to steer you in the right direction on the choice of load, etc.,
    However, the data load into SAP needs to be object specific. So targetting merely the sales tables will not help as the sales document data held in VBAK and VBAP tables you mentioned are related to Articles. These tables will hold sales document data for already created articles. So if you want to specifically target these tables, then you may need to prepare an LSMW program for the purpose.
    To answer your question on whether it is possible to load objects like Materials, customers, vendors etc using BODS, it is yes you can.
    Below is a standard list of IDocs that you can use for this purpose to load into SAP ECC system from a non SAP system.
    Customer Master - DEBMAS
    Article Master - ARTMAS
    Material Master - MATMAS
    Vendor Master - CREMAS
    Purchase Info Records (PIR) - INFREC
    The list is endless.........
    In order to achieve this, you will need to get the functional design consultants to provide ETL mapping for the legacy data to IDoc target schema and fields (better to ahve sa tech table names and fields too). You should then prepare the data after putting it through the standard check table validations for each object along with any business specific conversion rules and validations applied. Having prepared this data, you can either generate flat file output for load into SAP using LSMW programs or generate IDoc messages to the target SAPsystem.
    If you are going to post IDocs directly into SAP target using BODS, you will need to create a partner profile for BODS to send IDocs and define the IDocs you need as inbound IDocs. There are few more setings like RFC connectivity, authorizations etc, in order for BODS to successfully send IDocs into the SAP Target.
    Do let me know if you need more info on any specific queries or issues you may encounter.
    kind regards
    Raghu

  • Authorization Check when logon into SAP via ITS

    Hello
    We have implemented Authorization Check after user have logged on to SAP via ITS in this User Exit SUSR0001. It was working fine in 46C version, but after upgrade to ERP 2005, when user logs on into SAP via ITS, this user exits is ignored, while logging normally via SAP GUI; authorization check is performed as before?
    Did anyone else have experienced the same problem?

    From what I understand something on that line changed.  We are still hanging on to our external ITS 6.20 so I am afraid I can not go into details.

  • Decimals cut off loading into Essbase via DIM

    Have you ever run into the issue of small numbers (9 decimals) getting cut off/rounded when loading into Essbase via DIM? When I try to load rates into my Essbase app via DIM they get cut off at 6 decimals even the though the entire rate is 9. For instance, the rate 0.752615338 coming out of the source gets stored in the target as 0.752615. Also, if a load a text file with the 9 digit rate into my target app via DIM it STILL gets cut off. Therefore, I've isolated the issue to the loading of data into the target. I cannot modify the precision, however, for my target. Any thoughts?

    Ha ha!  Oy!  It's like having bees live in your head.  You are correct Russ!  iTunes 11.2.1.  Thanks.  I went to verify the release number and looked right at iTunes and my fingers typed Safari.  Funny how that works.  Back to work!

  • Once the Add-on is loaded into SAP B1 it is genearting follwing the warning message

    Hi Experts ,
    Once the Add-on is loaded into SAP B1 it is genearting follwing the warning message  is "Conversion from string """" to type 'Double' is not valid "
    Please find the attachment
    Thanks for the Support,
    Satish.

    Hi,
    At least one of addon function is to convert a string to number. If that string is empty, it may cause error. Need verification before converting.
    Thanks,
    Gordon

  • Webi query performance in SAP BO 4.0 sp6

    Hello,
    I'm facing an issue with the webi reports in our BI 4 SP6 environment. The webi reports data fetch time is ridiculously slow, where as when these queries are run on Oracle 10g the results are returned much faster as compared to WebI. The same reports used to fetch data faster few months ago when we were on SP4.
    Now my question is what can I do to improve the query data fetch time in webi? Is there some parameter that I can tweak in BO or do I need to add more services? Please suggest. thanks
    Following are the specs of the QA environment:
    We are using a clustered environment with 2 nodes (CUSNWA3T and CUSNWA3U) - these are the names of the nodes. Each node has 12 GB of RAM and each node is a VMware virtual machine running on windows server 2008. Each of these BO servers/nodes is having its own CMS server, I have broken down the APS into sub servers after facing issues with the DSL Bridge service.
    Regards,
    samique

    Andreas,
    thats for reply. Yep I agree with your suggestion about the RAM is there any document that details out how much RAM and processing power is required by SAP BO 4.x?
    I had to turn down the explorer, crystal reports, AJS, Dashboard Services just to provide for the APS. I did break down the APS as well according to a document that I found on SAP site.
    Here is what worked for me: we use DW relational connections for the universes, all our universes are UNX universes. In the connection there are options for: Array bind size, Array Fetch size and pooling timeout. I increased all those, array bind size to 250; Array fetch size to 32670 and pooling timeout to 20 mins and the dba set the ConnectInit to set star schema transformation. Once all these were enabled the report which was loading in 20 mins started refreshing in 6 mins.
    For now things seem to be working fine but I will certainly raise the RAM request to the management but it would help if you could provide with some reference document. Thanks
    Regards,
    samique

  • Webi Query Splitting into 2 different queries

    Hi Guys,
    - We are migrating from 5.1.6 to Xi-R3 environment.
    - We have 2 universes. Let me call them Unv-A and Unv-B.
    - 230 reports point to Unv-A and 22 reports point to Unv-B.
    Unv-B has most of the objects, tables, classes, contexts etc from Unv-A along with some additional or extra objects, tables, classes, joins and contexts.
    We have analysed and merged the two universes Unv-A and Unv-B and named it as Unv-A since we have 230 reports pointing to Unv-A.
    So far so good.
    Now out of the 22 reports which were pointing to Unv-B, 10 reports are WEBI.
    After pointing these 10 webi reports to the universe Unv-A, it is showing multiple queries in the SQL Editor.
    some thing like
    SQL Editor----
      Synchronisation
    Select 1
    Select 2
    and each "Select" displays its own query
    even though the 5.1.6 webi reports has a single query.
    Most of these webi reports are referring to a set of aggregate objects which have the format like
    @Aggregate_Aware(
                  sum(Schema1.table A.Column A),
                  sum(Schema1.table B.Column B),
                  sum(Schema1.table C.Column C),
                  sum(Schema1.tableD.ColumnD)
    The report just picks up the first condition "Schema1.table A.Column A" irrespective of the context we specify and creates a synchronized query.
    The first condition is picked even though the table is not present in the context, and a Synchronized query is created.
    I removed the first condition in the function and checked. It is displaying the desired query and result.
    Would like to know if this is the only method, is it an issue with Aggregate_Aware function or something I am missing.
    Appreciate your help and response,
    Hoping for a quick response and a solution.
    Thank You,
    Arun

    hi arun
    Did you checked for the contexts in the universe accordingly the way you joined the tables.
    if not, name separate context for each groups of joins.
    Regards
    Dineshkumar

  • Create external LDAP authentification to SAP via Web Dynpro

    Hi Guys,
    I have a requirement where I have to create access to SAP via external LDAP authentification. It is similiar how the Enterprise Portal works, but I want to achieve it with out the portal.
    The user will enter his LDAP user and password and I will check via LDAP connector to grant access to SAP.
    The only Problem I have is to switch to SAP user without knowing the SAP Password. Thats why I need external authentification.
    I have been told by an basis expert that I could use java to achieve this. I have also got the java coding what the Enterprise Portal uses.
    Am I on the right way? Can anybody advice me.
    Thanks and best regards
    Ali

    Hi,
    Refer this link and SAP Note
    [SAP GUI for HTML|http://help.sap.com/saphelp_nw04s/helpdata/en/47/4b0902d84818c9e10000000a114a6b/frameset.htm]
    SNote: 517484
    Regards
    Preethish

  • Mass data load into SAP R/3 - with XI?

    Hi guys!
    I have an issue - mass data migration into SAP R/3. Is XI a good solution? It will be about 60GB of data. Or is there a better way of this data load?
    Thanx a lot!
    Olian

    hi,
    SAP doesn't recomment using XI for mass data migration
    and 60 Gb is certainly too much
    use LSMW for that purpose
    Regards,
    michal

  • Loop Through Excel Files and Load into SQL Server Table

    I'm following the example here.
    https://www.youtube.com/watch?v=_B83CPqX-N4
    I'm pretty sure I did all the steps, but for some reason my project is not running.  I'm thinking there is a 32-bit or 64-bit issue lurking in here somewhere.
    Here's my error message.
    SSIS package "C:\Users\Ryan\Documents\Visual Studio 2010\Projects\Loop through Multiple Excel sheets and load them into a SQL Table\Integration Services Project1\Package.dtsx" starting.
    Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    Error: 0xC0209303 at Package, Connection manager "Excel Connection Manager": The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000.
    An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".
    Error: 0xC001002B at Package, Connection manager "Excel Connection Manager": The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
    For more information, see http://go.microsoft.com/fwlink/?LinkId=219816
    Error: 0xC020801C at Data Flow Task, Excel Source [2]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0209303. 
    There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    Error: 0xC0047017 at Data Flow Task, SSIS.Pipeline: Excel Source failed validation and returned error code 0xC020801C.
    Error: 0xC004700C at Data Flow Task, SSIS.Pipeline: One or more component failed validation.
    Error: 0xC0024107 at Data Flow Task: There were errors during task validation.
    SSIS package "C:\Users\Ryan\Documents\Visual Studio 2010\Projects\Loop through Multiple Excel sheets and load them into a SQL Table\Integration Services Project1\Package.dtsx" finished: Failure.
    The program '[5392] DtsDebugHost.exe: DTS' has exited with code 0 (0x0).
    I have 32-bit Excel and 64-bit SQL Server.  Is that the issue?  Can someone tell me what's wrong here?
    Thanks!!
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Sa-weeettttttt!!  Thanks.  I figured that's what it was.  For the benefit of others, this link shows you exactly how to make the modification recommended above.
    http://help.pragmaticworks.com/dtsxchange/scr/FAQ%20-%20How%20to%20run%20SSIS%20Packages%20using%2032bit%20drivers%20on%2064bit%20machine.htm
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Loading scripts - what's the difference between loading into edge via script window and including a script in the html document?

    I have a html page that loading in two edge compositions and an external custom javascript file. The javacsript file includes the bootstrapCallback so I can store references to the loaded compositions and can communicate with them. This seems to work well. The problem have is when I also try and load in a custom plugin javascript files into the edge compositions via the script window inside edge - I don't understand how this works, for example if I load in a custom javascript file into one of the compositions can only that composition use it's funcitionality? Is loading in scripts via edge script window the same as including in html document, I'm confused how the two relate, please help me understand.

    I have a html page that loading in two edge compositions and an external custom javascript file. The javacsript file includes the bootstrapCallback so I can store references to the loaded compositions and can communicate with them. This seems to work well. The problem have is when I also try and load in a custom plugin javascript files into the edge compositions via the script window inside edge - I don't understand how this works, for example if I load in a custom javascript file into one of the compositions can only that composition use it's funcitionality? Is loading in scripts via edge script window the same as including in html document, I'm confused how the two relate, please help me understand.

  • How do I get music loaded into itunes via CD synced into ipad?

    sync seems to only want to load music onto the ipad that was purchased within itunes.  I have a lot of old CDs have loaded into itunes on my macbook pro that have been synced to my ipod, why won't they also sync to the ipad?

    after another trip to the Apple store (just glad there's one close) found out you must configure sync settings for each device attached to your iTunes library. So made the ipad the current device, clicked on Music (on the horizontal menu bar that begins with Summary), selected the desired sync options, synced and now have all my albums on the ipad. only they aren't showing as albums but each individual "song" (even for a symphony)

  • How to get the EXCEL file from web site (b2b) into SAP system?

    Hi Guys,
    I have a requirement of saving the excel file that has been send to SAP system from a B2B site.
    Currently there is a call to the SAP system from the B2B site via an RFC function ,this RFC functions gets the excel file as an input to the SAP system,i need to store this Excel file in the SAP  (as an excel file itself).
    How can i acheive this?
    Please suggest.
    Thanks ,
    Swati

    You can extract a date portion and  assign to the variable and then compare with GETDATE()
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • XML/Web Service Load into Delta queue

    Hello,
    What is the mechanism to push an XML file into the BW delta queue for use by an XML/SOAP or Web service based datasource? There is no XI in the picture so the XI based how/to papers are not germane to this question. The HOWTO paper on XML load has a script for loading an XML file but it errors out on creation of the Activex object, plus it needs XML parser etc. Is there an SAP approved way of routinely loading XML files into the delta queue versus some test script?

    This can be done in BW.
    Try the links given below, also there is a How to document available from SAP on this.
    http://help.sap.com/saphelp_bw33/helpdata/en/9f/9b8f3c855f0454e10000000a11405a/content.htm
    http://www.sapteched.com/presentations/session.asp?sid=140
    Thanks.

Maybe you are looking for

  • Sort the Valuenode records in table

    Hi Experts, Following is the code I wore to retrive and display Portal roles in a table. The context maintained is as follows and got the results properly. I want to know how to sort the table values by Role_Name?. Could some one help me? [Value node

  • Same Batch Number with different characteristics value

    Dear Gurus, I have the following scenerio: The finished goods should be maintain in batch with external number  and at the time of confirming the finished goods in co11n the client want to capture the finished goods value like length, width and diame

  • After updating to 8.1, problems with starting video's

    Hello. I have a new question. After updating a Pavilion 15 Notebook PC from 8.0 to 8.1, and having installed numerous, mostly, security-updates, my computer started  having problems. When I want to play a video on, for example, Utube, it has difficul

  • InterConnect is Dead, Long Live BPEL?

    Hi, I wish to know what the future holds for InterConnect, is BPEL being positioned as a replacement for InterConnect? Or is BPEL being positioned as something different to InterConnect (executing Web Services in a process flow) and InterConnect will

  • ASA5512-IPS with failover - how do you config IPS for config sync and failover

    Hi all, I have a pair of 5512-X's with IPS. The ASA's are configured for failover with active/standby. Is it possible to configure the 5512-IPS is an active/standby state with configuration synchronisation?  I've been unable to locate any configurati