Execute Open Hub destination(OHD) using ABAP

Dear Experts,
We are using OHD to export data form BW into an application server.As per teh requirement Process chain is not used to execute the OHD.
The DTP for the same is execurted using ABAP OOPs ( abap report,).
The output from an OHD is a file format in the application server. I have a requiremnet to capture error during generating a file in the application server. say for eg if the file is not generated because of space issue , then this error has to be captured in the ABAP report..
I feel for capturing error which occurs during file generation, one has to capture the complete flow of, data getting into OHD and then generating a file in the application server (using OHD) , in the ABAP report( using ABAP class methods)
Is anybody aware of teh standard class methods used to capture teh flow of open hub so taht I can display the errors on teh screen...
Help appreciated,,,,,
Obliged,
KT..

I'm pretty sure you're in the wrong forum. from the header of this forum:
This forum is dedicated to the SAP BusinessObjects BI Solution Architecture...
Please see if you can find a more appropriate ABAP forum
Ludek

Similar Messages

  • Can Open Hub Destinations be used with Multiproviders?

    We're looking to export data from a multiprovider, using Open Hub Destinations, however when I try to create the OHD, Multiprovider does not show up as an object type.  I've tried entering Infocube, but then when I search for the multiprovider, it is not on the list.
    We are using BW 7.0.
    Thank you

    Hi Michael,
    No MultiProviders cant be used as a source for an Open Hub Destinations.
    BI objects such as InfoCubes, DataStore objects, InfoObjects (attributes or texts), and InfoSets can be used.
    Chk this help link.
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/58e1cdbed430d9e10000000a11466f/frameset.htm
    Regards,
    Mansi

  • I am getting an dump while executing open hub destination?

    I did happened to delete a filed in the open hub and then activated and re-ran it i am getting the following error!!
    error  analysis
    You attempted to assign a field to a typed field symbol,
    but the field does not have the required type.
    open hub is active, dtp is active and transformations is active too but still the same!!
    Can anyone advise me on this!!
    thanks
    pooja

    Hi,
    See in
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Open Hub Destination
    Open Hub Destination: Part 1
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/m-o/open%20hub%20destination%3a%20part%201.pdf
    Open Hub Destination: Part 2
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/m-o/open%20hub%20destination%3a%20part%202.pdf
    Analysis Process Designer (APD)
    Analysis Process Designer (APD): Part - 1
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f06353dd-1fe3-2c10-7197-dd1a2ed3893e?quicklink=index&overridelayout=true 
    Analysis Process Designer (APD): Part - 2
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/analysis%20process%20designer%20(APD)%20Part%20-%202.pdf 
    Analysis Process Designer (APD): Part - 3
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/analysis%20process%20designer%20(APD)%3a%20Part%20-%203.pdf
    Thanks
    Reddy

  • DTP Delta request for open hub destination.

    Hi expert,
    As you know, In BW 7.0, open hub destination is used for open hub service, and you can create tranformation/DTP for the destination. and in some case the DTP delta is enabled.
    my questions are
    1) in the context menu of open hub destination, I did not find something like manage, which could list all the DTP request executed for this open hub destination..but for normal infocube or ods, you can find a list.
    2) if the DTP could enable the delta, where can I delete the latest delta request, and have a new load..
    3) I assume the DTP could be excuted with batch integrated with process chain by process type 'DTP', right ? if the destination type is third party tool, can it also be integrated with process chain ?
    4) can give some obvious difference of InfoSpoke and open hub destination in terms of advantage and disadvantage..
    Thanks a lot for the feedback.
    Best Regards,
    Bin

    Hi ,
    Please look at the links below . hope it helps .
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d063282b-937d-2b10-d9ae-9f93a7932403?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e830a690-0201-0010-ac86-9689620a8bc9?QuickLink=index&overridelayout=true
    Regards
    Santosh

  • What's the difference between Infospokes and Open Hub Destination in BI 7?

    I understand the API that a 3rd party tool uses to get data our of BW using infospokes.    Is it the same API that a 3rd party tools such as MS-SSIS uses?   Supposedly  that software only communicates with an OH Destination and not Infospokes.   So apparently is does use a different API.   If that's the case, where can I find documentation on that API for OH Destintations?

    Open Hub Destination (OHD) replaced InfoSpokes as of BI 7 SPS 6, for Open Hub Service. Existing InfoSpokes can be used still, but it's recommended that any new retractions be created as an Open Hub Desitnation, because it exposes more functionality (e.g. Transformations and functionalities with DTPs).
    Here's a document on [Open Hub Service - 3rd Party Integration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/com.sap.km.cm.docs/library/icc/bw-ohs%20open%20hub%20service%2c%20third-party%20integration.pdf] (see Page 7). Hope this helps.
    Edited by: Dennis Scoville on Aug 3, 2009 1:45 PM

  • Open Hub Destination - Transport Error

    Hi,
    Following error occured while transporting the Open Hub Destination(OHD)  to QA.
    Created OHD using Logical file as File type.
    Syntax group: WINDOWS NT.
    Transport Error Log:
    Start of the after-import method RS_DEST_AFTER_IMPORT for object type(s) DEST (Activation Mode)
    Application server bidwXXX does not exist.
    Start of the after-import method RS_DEST_AFTER_IMPORT for object type(s) DEST (Delete Mode)
    Errors occurred during post-handling RS_AFTER_IMPORT for DEST L
    RS_AFTER_IMPORT belongs to package RS
    The errors affect the following components:
       BW-WHM (Warehouse Management)
    are we missing anything configuration here?
    Regards

    Ananda,
    This is my file path in Dev:
    D:\usr\sap\<SYSID>\DVEBMGS00\work\<FILENAME> in this path i have mentioned BWD instead of <SYSID> initially, it failed so i thought i would give a try by giving the parameter <SYSID> instead of BWD, even that failed.
    When i have transported OHD with the path D:\usr\sap\<SYSID>\DVEBMGS00\work\<FILENAME> it was created in QA in the same directory as mentioned in Dev.So i believe i have the right file path in QA.
    Thanks.

  • Open Hub Destination problem

    Hi
    I have created open hub destination(OHD) on a cube and then getting file in CSV format on application server.
    I have to move this file to BPC but problem is wen run DTP in OHD it generated 2 files one with header and other with data
    How can i make it to generate one file with header and then data in it???
    How can i send this file automatically to BPC server( BPC is Microsoft version not netweaver one).

    Hi Sadik
    BPC is very new in market and there is not much help and yes it has base on MS SQL but thing is all data load is via CSV files only not thru direct table and stuff.
    I have tried making DB connect but i m not able to make RFC connection and there is no basis support I have in my project.
    I have solved my problem but there is a small stuck up. I am downloading data from internal table into file but this code is dumping file into my local machine. I want the file to be directly dumped into the application server.
    Following is the code:
    CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
    EXPORTING
      file_name = 'C:\Test' ????????? [This is the main problem]
    *file_name = 'DIR_HOME  E:\usr\sap\BDV\DVEBMGS30\work\ZBPC_1000' "set this for application server location
    CREATE_PIVOT = 0
    DATA_SHEET_NAME = ' '
    PIVOT_SHEET_NAME = ' '
    PASSWORD = ' '
    PASSWORD_OPTION = 0
    TABLES
    PIVOT_FIELD_TAB =
    data_tab = lt_data_f "internal table with data
    fieldnames = lt_header "internal table with header
    EXCEPTIONS
    file_not_exist = 1
    filename_expected = 2
    communication_error = 3
    ole_object_method_error = 4
    ole_object_property_error = 5
    invalid_filename = 6
    invalid_pivot_fields = 7
    download_problem = 8
    OTHERS = 9
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Edited by: Navneet Thakur on Jul 2, 2009 2:53 PM

  • Hierarchy Extraction using Open hub Destination

    Hi,
    I need to extract hierarchy data for Application code(YAPPLCD) using OHD. In the Hierarchy there are 4 components(Industry, Market, Application Group and Application Code). i need to get all the 3 details for the Application Code(i.e to which Indusrty does it belong, Market and Application Group).But HIerarchy table is having one record for each apllication code, Market, Application Group, Application code.
    How to get relevant data for the application code?
    My file format should be:
    Appl.Code | Appl.Group | Market | Industry.

    Hi Suma...
    The SAP Open Hub service enables you to distribute data from an SAP BI/BW system into external data marts, analytical applications, and other applications. With this, you can ensure controlled distribution using several systems. The central object for the export of data is the InfoSpoke. Using this, you can define the object from which the data comes and into which target it is transferred, leveraging SQL Server Integration Services (SSIS) as the transfer/transform mechanism. 
    SAP BI objects such as InfoCubes, ODS objects, or InfoObjects can act as open hub data sources. You can select database tables or flat files as open hub destinations, and then use those destinations as actual sources within SSIS.  To automate the extraction using SAPu2019s Open Hub Service, youu2019ll need to setup a process chain. Note that both a full and delta modes are also available as the extraction mode.
    As stated already with direct extraction from SAP R/3, once data is extracted out of SAP NetWeaver® BI (SAP BW), the destination of that data could be any relational database (such as SQL Server), and then reports (from SSRS) and multi-dimensional cubes (from SSAS) can be created from that database data.  The resulting SQL Server reports/cubes could then be used within the Microsoft Business Intelligence delivery mechanisms, such as through Excel, SharePoint, PerformancePoint, etc.
    Hope this below link may helpful
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c08b1f70-6fb1-2b10-97a5-df4c503e03cb
    Regards
    Sudheer

  • Use of Open Hub Destination to load data into BPC

    Hi Gurus,
    I want to load the data from SAP BI to BPC (NW version), using Open Hub Destination. I want to know few things about this.
    1) What method should I use? Should I use Destination as Flat Files or Database tables? If Database tables, how can I use this data in the tables in BPC?
    2) If I go for Flat Files, which  is saved in the application server of BI, how can I import those files to BPC and use it using Data Manager?
    3) Also, in case of Flat Files, there are two files which are created. One is the control file and other one is the data file. How can I use both of them? Or can I just use data file without header?
    Your replies will be much appreciated.
    Thanks,
    Abhishek

    Hi Anjali,
    I can use the standard data manager package from BI to BPC, if the CSV file is available in the BPC Server or in case if I am directly extracting from BW object, InfoObject or InfoCube.
    But, since I will be using Open Hub, the output of this can be in a Database Table or a CSV file, preferably in SAP Application Server. In such cases, how can I use the Database table or CSV file in the standard Data Manager Package?
    Thanks for your reply.
    Abhishek

  • Data Extraction in Open Hub Destination using Process Chain

    Hi
    I want to extract data in Open Hub Destination (database table)from Data Store Object(ODS) through Process Chain.
    When i tried to create process chain, i found only one option under Process types - Data export into External System. Here it asks for Infospoke instead of Open Hub Destination.

    Michael is correct and below is the rationale...
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/58e1cdbed430d9e10000000a11466f/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/43/58e1cdbed430d9e10000000a11466f/content.htm</a>
    <b>Integration</b>
    You can use the data transfer process to update data to the open hub destination. The data is transformed in this process. Not all rules types are available in the transformation for an open hub destination: Formulas, reading master data, time conversion, currency translation and unit conversion are not available.
    Hope it Helps
    Chetan
    @CP..

  • Open hub destination with datasource as the source

    Hi,
    I am trying to use the new features of BI for open hub destination where you can use datasource as the source for extraction.
    I have created an infopackage, loaded data to PSA and from there to open hub destination via the DTP.
    When I try to execute the DTP, I get the following error:
    <b>Datapackage processing terminated.
    Error in substep
    You are not authorized to use this transformation.</b>
    I have been able to use the DTP to load open hub destination targets with datastore and infocubes as source.
    Also when we turn on the security trace, it doesn't fail anywhere.
    Has anybody faced a similar problem?
    Any help appreciated,
    Thanks,
    Payal.

    I have created to OHD - one for a 3.5 data source and one for a 7.0 data source (both are different data sources). While creating DTP for the 7.0 data source, it did create a default mapping for transformation.
    But I still get same error in both cases.
    When I create the DTP, it tries to create a transformation. But I get an information message :
    Exception CX_RS_MSG occurred (program: CL_RSBK_PATH==================CP, include: CL_RSBK_PATH==================CM00I, line: 16).
    I can still activate the DTP and when I run it says I don't have authorization to this transformation.
    I think there are issues while creating the transformation, but I don't know what!
    -Payal.

  • SAP BI 7.0 to SAP PI to FTP and with Open Hub Destination ...Help!!!!

    Dear SCN Experts,
    I am currently working on scenario where I have a requirement to push data from SAP BI 7.0 to SAP PI 7.
    And I am using Client proxy for SAP BI to send the data from BI tables to SAP PI and then to write to FTP address.
    Now the challenge I am facing is the ABAP Proxy how to use it with Process Chain and also I am having Open hub destination created for the same.(Specifically with the new version i.e. 7.0)
    Can you atleast make me understand what are the steps involved in this for Client Proxy, Process Chaing, How will proxy trigger and other regarding the same.
    I have searched SDN but got the document having older versions in it. Which doesn't serve the purpose.
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

    Hi Michal,
    Thanks for the reply buddy.
    I know that we can run the scheduled report for the proxy to fetch the report. But the client requirement is to use process chain, Open hub destination which fetches data from the ODS to Ztable created.
    We need to fetch that data from the table via our proxy. I am familiar with that report related method.
    I have one document using the same method but is using Infospoke(which is now obsolete) so have to OHD and also some of the proxy of XI's older version. So is not helping me out.
    Please do the needful. Or can you send me some sample scenario like this with screen shots. It will be a great help.
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

  • Help~open hub destination file is not open error!

    Hi all,
    I met a problem, i tried several times and all got error messages.
    It is about open hub destination, i want to use it to send some files to sever, but when i execute the DTP, i got system dump:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Runtime Errors         DATASET_NOT_OPEN
    Except.                CX_SY_FILE_OPEN_MODE
    Date and Time          26.10.2011 01:18:09
    Short text
        File "I:\usr\sap\Q26\DVEBMGS11\work\ZSS_O0021.CSV" is not open.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_RSB_FILE_APPLSRV===========CP" had to
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I have two open hub, one is fine ,but the rest one always get this error. Help..........

    Thanks! I checked my ID and found that i have the role to access this folder.
    Then i found that our Q system have two servers, A and B, for open hub i should run my process chain in system B, but i forgot that, so i got error. After i changed to sever B, i re-active my open hub and DTP, then re-fresh the process chain and re-executed it again, the error disappeared.

  • Inconsistency with ZPMSENDSTATUS for Open Hub Destination

    Hi Experts,
    I dont know you have come accross this scenario but I will apprecaite all your advice.
    We have APO 7.0 and we are using the BW component to extract data to informatica.
    Our environment is as follow
    SAP SCM 7.0 SP8
    Informatica PWCD 8.1.6 hot fix 13
    1.we have created 5 chains with similar variants for ZPMSENDSTATUS
    2. Each variant relates to a folder and workflow to be executed within informatica
    3. When we execute the chains only two work correctly all the time and 3 fail
    the 3 that are failing are failing within the ZPMSENDSTATUS when running API RSB_API_OHS_DEST_SETPARAMS. This is odd since the other two only differ on the workflow to be executed and obviously on the Open Hub destination. Can anyone provide some advice on this?
    thanks,
    Nat

    Hi Maruthi,
    thanks for your response but here are the details for the variants that are working and failining
    working:
    DEST: < here we have the RFC that relates to the logical system and the program id which is also included in saprfc.ini>
    INFPARA: AERO/APO:WF_SAP_APO_PART_PLATFORM_ABP2_BGA:S_M_SAP_APO_PART_PLATFORM_ABP2
    CONTEXT: OHS API
    OHDEST: <OHDS defined as target>
    Failing:
    DEST: < here we have the RFC that relates to the logical system and the program id which is also included in saprfc.ini>
    INFPARA: AERO/APO:WF_SAP_APO_PART_PLATFORM_ABP4_ATR:S_M_SAP_APO_PART_PLATFORM_ABP4
    CONTEXT: OHS API
    OHDEST: <OHDS defined as target>
    So you see, they all target the same folder only different workflows. Still it works for the first and not for the second.

  • Open hub destination issue

    Hi,
    In our project we have Client Instance (eg: BWPD) and Application server (eg: BWPRD) defined for load balancing.
    We have created open hub and assigned destination server BWPD.
    When i execute the DTP manually in BWPD, it runs succesfully.
    However, the same DTP when placed in the process chain fails with error message :
    No Such File or Directory
    Could not open file D:\usr\sap\BWPD\A01\work\Material on application server
    Error while updating to target ZXXXX.
    Options Tried:
    Schedule process chain in the background server BWPD (same server which has been mentioned in Open hub dest) still DTP failed.
    Tried with Application server it failed.
    Tried with HOST as option it failed.
    couldn't make out what is going wrong. Any thoughts ?
    Regards.

    Hi there,
    found that doc quite useful.
    Maybe could shed some light to your issue.
    [Creating  Open Hub Destination  using a Logical file to extract the data|Creating  Open Hub Destination  using a Logical file to extract the data]
    Also, what OS do you have?
    is the Syntax Group accordingly created ?

Maybe you are looking for

  • Issue with Required field in 11.1.1.4

    I have upgraded my server to 11.1.1.4 and my Jdeveloper to 11.1.1.4. I had already built an application using jdeveloper 11.1.1.3 which I migrated to 11.1.1.4 and deployed in the upgraded server 11.1.1.14. In the application , I have some listbox and

  • [Solved] Running mpd as user mpd with systemd without using mpd.conf

    Maybe this is tivial, but I searched about an hour without any results. I want to run mpd as user mpd. I cant use the mpd config file since mpd set the UID and GID explicitely resulting in mpd not having the necessary supplementary groups to access t

  • Full screen in strobe player context menu

      hi,      i want to add some extra features into strobe media player context menu like scale mode and full screen.. var customContextMenu:ContextMenu;             customContextMenu = new ContextMenu();              var videoFullMode:ContextMenuItem

  • Reg: uploading of Arabic,Chinese,Japanese & Russian txts

    Hi all,    I would like to upload texts in Arabic, Chinese,Japanese and Russian languages as stndard texts using transaction SO10. I tried to upload but only junk values are being uploaded. I think it is a problem with the code page set. can anybody

  • Several content types and default field value

    Hi! I have a document library with several custom content types (derived from standard Document type). One of them (CT1) has field with default value. Other content types must not contain this field. And when I upload document, this field has no defa