Need to Push data from BI to XI

Hi Experts,
We have a requirement to push data from BI to XI(using Open Hub).
we found some document, in which excute method is selecting from specific open hub table,
we have more than 5 open hub destinations to send data to XI.
do i require to create like this 5 classes or do u have another other method  to create one class
and use it for all objects.
this is the sample code, which give hardcoded open hub name.
DATA:
lt_data TYPE zpushdbpush_table_datarow_tab,
ls_data TYPE zpushdbpush_table_datarow,
ls_applid TYPE zpushdbpush_table_process_id,
l_db_line TYPE /bic/ohnwl_oh_xi,
l_db_tab TYPE TABLE OF /bic/ohnwl_oh_xi.
SELECT * FROM /bic/ohnwl_oh_xi INTO TABLE l_db_tab.
LOOP AT l_db_tab INTO l_db_line.
CLEAR ls_data.
MOVE-CORRESPONDING l_db_line TO ls_data.
APPEND ls_data TO lt_data.
ENDLOOP.
Thank You.
Manjula.B

Hi Manjula,
I'm implementing that soluction... Have you?
Now I'm having problem with the code when says:
lt_data TYPE zpushdbpush_table_datarow_tab,
ls_data TYPE zpushdbpush_table_datarow,
ls_applid TYPE zpushdbpush_table_process_id,
So, when activating that code does not generate... The system return error informing that the TYPE zpushdbpush_table_datarow_tab does not exist... can you help me on that?
With ANY kind of information?
Thanks!
Best regards,
Demétrius

Similar Messages

  • Push data from sap business one to ECC with XI

    Hi,gurus:
    Have you ever configured the scenario?We wanna push data from sap business one to ECC with XI,and vice versa.
    We know that b1i have this funtion,but in our scenario,we need to create some addon table both in b1 and ecc,so does it mean that I can't use b1i in my special scenario?
    We wanna utilize XI to solve our issue,then the scenario may be abapproxy to soap,or soap to abapproxy.But the problem is, how to program in the b1 side both in sender and receiver.Do you have any information about that?

    Xinjiang,
    The method to connect SAP Business One and ECC 6 using XI would be B1iSN2007.  You could of course develop something your self using ABAP, IDoc and the Business One SDK, but B1i does this today and has 6 built in Business Scenarios.  You can of course customize the existing scenarios and/or create your own much easier and faster than creating the whole thing from scratch.
    If you are specifically interested in not using B1i ... you would want to post your question in the XI forum here on SDN.
    Hope that helps,
    Eddy

  • Need to convert  Date from calendar to String in the format dd-mom-yyyy

    Need to convert Date from calendar to String in the format dd-mom-yyyy+..
    This is absolutely necessary... any help plz..
    Rgds
    Arwinder

    Look up the SimpleDateFormat class: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    Arwinder wrote:
    This is absolutely necessary... any help plz..For you maybe, not others. Please refrain from trying to urge others to answer your queries. They'll do it at their own pace ( if at all ).
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • I need to copy data from a table in one database (db1) to another table in

    Hi
    I need to copy data from a table in one database (db1) to another table in another database (db2).
    I am not sure if the table exists in db2,,,if it doesnot it needs to be created as well data also needs to be inserted...
    How am I supposed to this using sql statements..?
    I shall be happy if it is explained SQL also...
    Thanking in advance

    How many rows does the table contains? There are manyway you can achieve this.
    1. export and import.
    2. create a dblink between two databases and use create table as select, if structure doesnot exists in other database, if structure exists, use, insert into table select command.
    example:
    create a dblink in db2 database for db1 database.
    create table table1 as select * from table1@db1 -- when there is no structure present
    -- you need to add constraints manually, if any exists.
    insert into table1 select * from table1@db1 -- when there is structure present.
    If the table contains large volume of data, I would suggest you to use export and import.
    Jaffar

  • I need to pass data from an Access database to Teststand by using the built in Data step types(open data

    base /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1i need to pass data from an Access database to Teststand by using the built in Data step types(open database /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1
    When I tried the same thing on another cmputer the same thing
    happend
    appreiciate u"r help

    base /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1Hello Kitty -
    Certainly it is unusual that you can still see the tables available in your MS Access database but cannot see the columns? I am assuming you are configuring an Open Statement step and are trying to use the ring-control to select columns from your table?
    Can you tell me more about the changes you made to your file when you 'changed' it with MS Access? What version of Access are you using? What happens if you try and manually type in an 'Open Statement Dialog's SQL string such as...
    "SELECT UUT_RESULT.TEST_SOCKET_INDEX, UUT_RESULT.UUT_STATUS, UUT_RESULT.START_DATE_TIME FROM UUT_RESULT"
    Is it able to find the columns even if it can't display them? I am worried that maybe you are using a version of MS Access that is too new for the version of TestSt
    and you are running. Has anything else changed aside from the file you are editing?
    Regards,
    -Elaine R.
    National Instruments
    http://www.ni.com/ask

  • Need to read data from a text file

    I need to read data from a text file and create my own hash table out of it. I'm not allowed to use the built in Java class, so how would I go implementing my own reading method and hash table class?

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Need to POST data from a desktop client to a server.

    Hello all, it's been awhile since I've posted here, so I hope everyone has been doing well.
    I have cross posted this here java - Need to POST data from a client application to my server - Stack Overflow but no answers, and since SO has been extremely slow for the questions I've been asking I am posting here.
    Here is the post:
    I know the title is probably a common question, but I am a bit confused on everything I'm trying to do, so I am trying to piece it together, and figured a common title would be better than a confusing one.
    I am basically developing a web application and one part of that is a file uploader. I am using Apache Commons File Upload via the Streaming API, and that all works fine, except I need to access the file I'm uploading, because that contains data to additional files to upload.  I.e., Read File A, get paths to images, upload images with File A to server and save on server.  The API can be found here http://commons.apache.org/proper/commons-fileupload/streaming.html
    I was told there is a security risk via the web and would be impossible via a browser, since the user needs to select all files to upload, i cannot tell the browser to upload additional files, so I am left with a client side option.
    I am confused if there is a special library I need, or as I have been seeing threads that talk about using the built in UrlConnection Class or http://hc.apache.org/
    I basically need to be able to read the file, which technically gives me a path to a Database on the user's system which I then read to get the additional images.  After I get all of that I then  need to post the data as a multipart form as that is what the FileUpload requires.
    form method="POST" enctype="multipart/form-data" action="fup.cgi">
      File to upload: <input type="file" name="upfile"><br/>
      Notes about the file: <input type="text" name="note"><br/>
      <br/>
      <input type="submit" value="Press"> to upload the file!
    </form>
    This is the example found in the Overview section of the Fileupload which can be accessed from the link above.
    There wouldn't be an issue if the users uploaded all of the data themselves, but since I have to do some of it automatically it causes some "concerns/issues."
    Basically these files are created and packaged from another application, so the images, and the db will always be in the same place, and that file that they are uploading is a file the other program creates, so everything will always be known, I just need to upload it, and then POST it as enctype="multipart/form-data" So that my servlet can read it and save it on my server.
    So I would appreciate it if anyone had any suggestions on where to begin my journey with this.  I have heard of a few applications like curl and wget that are used for this, but those seem to be more C based.  As mentioned earlier it seeems the httpcomponets from apache might work well, but I want to make sure.
    I appreciate all the help, thank you for your time all.

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I have an old Mac Tower.  I need to move data from the unit to an external hard drive. What kind of hard drive do I purchase.  There is not a lot of data to be transferred.

    I have an old Mac Tower.  I need to move data from the unit to an external hard drive.  What kind of of hard drive must I purchase so that it works with the Tower?  There is not a lot to transfer.

    MG,
    What we might need to do is to change the question.  What computer do you plan to use the data on in the future?  For example, if you have a newer tower, just move the hard drive to the new tower.  If you want to use the data, what about an ethernet LAN to get the data over?  If you want to archive the data, how do you store the second drive?  What are your plans for the first drive?  If the new software will not recognize the old file type, the data must be exported.  Just getting files to another hard drive will not finish your journey.
    As Allan said, knowing the exact model and year of your tower is important.  My suggestion is to find a user group near you.  Please post back with more information, including the name of a large city near you.
    For example, our user group just experimented with a 1983 Apple IIc that predates the Mac.  It started right up, read files from 1984  and saved them from a 5.25" floppy to a 3.5" floppy.  That 3.5 floppy will go into a platinum G3 which will read PRODOS files using Apple File Exchange.  That G3, with a USB card, will allow saving the files to a USB flash drive.  But, somewhere along the way, some software has to read the file and convert it to data that is useable by current software.
    Ji~m

  • Push data from BW 3.5 to XI 3.0

    Hi SDN,
    I have to design an interface to push data from an Infospoke of BW to XI which does the necessary mapping and forwards it to a FTP server.
    I am using ABAP proxies to communicate with BW. Can somebody suggest me the approach to push data from BW to XI based on some selection criterion...What sort of development it requires on BW side in order to push the data to XI.

    Siva Devireddy.
    Check this Link
    https://www.sdn.sap.com/irj/sdn/search?searchvisible=false&selectedcustomprops=sdn_product(value=Exchange%20Infrastructure),sdn_product_release(value=3.0)&SearchPluginName=sdn_library.
    Thanks
    sat

  • What firewire cable do I need to transfer data from a 2010 macbook to 2014 macbook

    What firewire cable do I need to transfer data from a 2010 macbook to 2014 macbook

    You would need a Firewire 800-800 (9-pin) cable and a Thunderbolt to Firewire adaptor.
    Matt

  • Need to read data from pipe separated file using POJO?

    Hi,
    I need to read data from pipe separated file using POJO.
    There is config.properties file which consists of the
    data mapping.
    Can you help me with sample code or help?
    Regards
    Regards
    Taton
    Edited by: Taton on Mar 7, 2009 4:41 PM

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to push data from primary mdf file to seconday ndf files

    how to push data from primary mdf file to seconday ndf files
    rathnakar

    I'd try them over here.
    SQL Server forums on MSDN
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • I need to import data from a CSV file to an Oracle table

    I need to import data from a CSV file to an Oracle table. I'd prefer to use either SQL Developer or SQL Plus code.
    As an example, my target database is HH910TS2, server is ADDb0001, my dB login is em/em, the Oracle table is AE1 and the CSV file is AECSV.
    Any ideas / help ?

    And just for clarity, it's good to get your head around some basic concepts...
    user635625 wrote:
    I need to import data from a CSV file to an Oracle table. I'd prefer to use either SQL Developer or SQL Plus code.SQL Developer is a GUI front end that submits code to the database and displays the results. It does not have any code of it's own (although it may have some "commands" that are SQL Developer specific)
    SQL*Plus is another front end (character based rather than GUI) that submits code to the database and displays the results. It also does not have code of it's own although there are SQL*Plus commands for use only in the SQL*Plus environment.
    The "code" that you are referring to is either SQL or PL/SQL, so you shouldn't limit yourself to thinking it has to be for SQL Developer or SQL*Plus. There are many front end tools that can all deal with the same SQL and/or PL/SQL code. Focus on the SQL and/or PL/SQL side of your coding and don't concern yourself with limitations of what tool you are using. We often see people on here who don't recognise these differences and then ask why their code isn't working when they've put SQL*Plus commands inside their PL/SQL code. ;)

  • Need to Get Data From Siebel On Demand ( I am new to Siebel Please Help)

    Hi All,
    I have a project in which i need to get data from Siebel On Demand and Automate this process.
    I have downloaded the Custom WSDL file and the Schema file from Oracle Siebel On Demand. I am using IDE WSAD and when i import these files into WSAD i am getting an error stating the schema definitions are wrong. Can anyone help me.....
    I need to complete it asap....
    Edited by: user491578 on Nov 11, 2008 6:50 PM

    You should probably ask Advantech. This question really has nothing to do with LabVIEW SE or NI-ELVIS. You could try posting to the LabVIEW board but there have only ever been two posts regarding 'advantech 4716'.

  • Push data from XI to BW 3.1c ??

    Hi Gurus,
    Can anyone tell me, is it possible to push data from XI to BW 3.1c for a Non-SAP Source System?? and how ?
    any document links are welcome. [email protected]
    Cheers
    Praveen
    Message was edited by:
            Praveen Vujjini

    Praveen,
    3.1C supports XML datasources - you can use that to push data from XI to 3.1C...
    Arun
    Hope it helps...

Maybe you are looking for